freebsd-ports/net/pythondirector/Makefile
Clement Laforet f012ee36b4 Add python director 0.0.7.
This is a pure-python TCP load balancer. It takes inbound TCP
connections and connects them to one of a number of backend servers.

Features:
    * async i/o based, so much less overhead than fork/thread based
      balancers.
    * Multiple scheduling algorithms (random, round robin, leastconns,
      leastconns+roundrobin)
    * If a server fails to answer, it's removed from the pool - the
      client that failed to connect gets transparently failed over to a
      new host.
    * xml based configuration file
    * seperate management thread that periodically re-adds failed hosts
      if they've come back up.
    * optional builtin webserver for admin (sample of the running
      screen)
    * webserver has methods suitable for both interactive and automated
      systems

WWW: http://pythondirector.sourceforge.net/
2004-02-26 21:39:56 +00:00

30 lines
638 B
Makefile

# New ports collection Makefile for: pydirector
# Date created: Thu Feb 26
# Whom: Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pydirector
PORTVERSION= 0.0.7
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pythondirector
MAINTAINER= clement@FreeBSD.org
COMMENT= A TCP load balancer written in Python
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PORTDOCS= *
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>