diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-02-26 21:39:56 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-02-26 21:39:56 +0000 |
commit | f012ee36b4e923252bf4d38825f681a0d16f560d (patch) | |
tree | fc6557b0476ef8b44c1a8af58921b6e47cc462f9 /net/pythondirector | |
parent | 49cf406400afee42f43b30357ef0557115a56e21 (diff) | |
download | ports-f012ee36b4e923252bf4d38825f681a0d16f560d.tar.gz ports-f012ee36b4e923252bf4d38825f681a0d16f560d.zip |
Notes
Diffstat (limited to 'net/pythondirector')
-rw-r--r-- | net/pythondirector/Makefile | 29 | ||||
-rw-r--r-- | net/pythondirector/distinfo | 2 | ||||
-rw-r--r-- | net/pythondirector/pkg-descr | 20 | ||||
-rw-r--r-- | net/pythondirector/pkg-plist | 38 |
4 files changed, 89 insertions, 0 deletions
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 <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> diff --git a/net/pythondirector/distinfo b/net/pythondirector/distinfo new file mode 100644 index 000000000000..14225fc8ee36 --- /dev/null +++ b/net/pythondirector/distinfo @@ -0,0 +1,2 @@ +MD5 (pydirector-0.0.7.tar.gz) = 758281f96dbae20cdf150cb4e1884275 +SIZE (pydirector-0.0.7.tar.gz) = 32559 diff --git a/net/pythondirector/pkg-descr b/net/pythondirector/pkg-descr new file mode 100644 index 000000000000..4ec1405945ab --- /dev/null +++ b/net/pythondirector/pkg-descr @@ -0,0 +1,20 @@ +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/ diff --git a/net/pythondirector/pkg-plist b/net/pythondirector/pkg-plist new file mode 100644 index 000000000000..62609e06969d --- /dev/null +++ b/net/pythondirector/pkg-plist @@ -0,0 +1,38 @@ +bin/pydir.py +%%PYTHON_SITELIBDIR%%/pydirector/__init__.py +%%PYTHON_SITELIBDIR%%/pydirector/__init__.pyc +%%PYTHON_SITELIBDIR%%/pydirector/__init__.pyo +%%PYTHON_SITELIBDIR%%/pydirector/compareconf.py +%%PYTHON_SITELIBDIR%%/pydirector/compareconf.pyc +%%PYTHON_SITELIBDIR%%/pydirector/compareconf.pyo +%%PYTHON_SITELIBDIR%%/pydirector/micropubl.py +%%PYTHON_SITELIBDIR%%/pydirector/micropubl.pyc +%%PYTHON_SITELIBDIR%%/pydirector/micropubl.pyo +%%PYTHON_SITELIBDIR%%/pydirector/pdadmin.py +%%PYTHON_SITELIBDIR%%/pydirector/pdadmin.pyc +%%PYTHON_SITELIBDIR%%/pydirector/pdadmin.pyo +%%PYTHON_SITELIBDIR%%/pydirector/pdconf.py +%%PYTHON_SITELIBDIR%%/pydirector/pdconf.pyc +%%PYTHON_SITELIBDIR%%/pydirector/pdconf.pyo +%%PYTHON_SITELIBDIR%%/pydirector/pdlogging.py +%%PYTHON_SITELIBDIR%%/pydirector/pdlogging.pyc +%%PYTHON_SITELIBDIR%%/pydirector/pdlogging.pyo +%%PYTHON_SITELIBDIR%%/pydirector/pdmain.py +%%PYTHON_SITELIBDIR%%/pydirector/pdmain.pyc +%%PYTHON_SITELIBDIR%%/pydirector/pdmain.pyo +%%PYTHON_SITELIBDIR%%/pydirector/pdmanager.py +%%PYTHON_SITELIBDIR%%/pydirector/pdmanager.pyc +%%PYTHON_SITELIBDIR%%/pydirector/pdmanager.pyo +%%PYTHON_SITELIBDIR%%/pydirector/pdnetwork.py +%%PYTHON_SITELIBDIR%%/pydirector/pdnetwork.pyc +%%PYTHON_SITELIBDIR%%/pydirector/pdnetwork.pyo +%%PYTHON_SITELIBDIR%%/pydirector/pdnetworkasyncore.py +%%PYTHON_SITELIBDIR%%/pydirector/pdnetworkasyncore.pyc +%%PYTHON_SITELIBDIR%%/pydirector/pdnetworkasyncore.pyo +%%PYTHON_SITELIBDIR%%/pydirector/pdnetworktwisted.py +%%PYTHON_SITELIBDIR%%/pydirector/pdnetworktwisted.pyc +%%PYTHON_SITELIBDIR%%/pydirector/pdnetworktwisted.pyo +%%PYTHON_SITELIBDIR%%/pydirector/pdschedulers.py +%%PYTHON_SITELIBDIR%%/pydirector/pdschedulers.pyc +%%PYTHON_SITELIBDIR%%/pydirector/pdschedulers.pyo +@dirrm %%PYTHON_SITELIBDIR%%/pydirector |