From f012ee36b4e923252bf4d38825f681a0d16f560d Mon Sep 17 00:00:00 2001 From: Clement Laforet Date: Thu, 26 Feb 2004 21:39:56 +0000 Subject: 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/ --- net/pythondirector/Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 net/pythondirector/Makefile (limited to 'net/pythondirector/Makefile') diff --git a/net/pythondirector/Makefile b/net/pythondirector/Makefile new file mode 100644 index 000000000000..1acf189aaeed --- /dev/null +++ b/net/pythondirector/Makefile @@ -0,0 +1,29 @@ +# New ports collection Makefile for: pydirector +# Date created: Thu Feb 26 +# Whom: Clement Laforet +# +# $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 -- cgit v1.2.3