Date: Thu, 31 Jul 2014 10:40:22 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363570 - head/net/pythondirector Message-ID: <201407311040.s6VAeMgN013190@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Jul 31 10:40:21 2014 New Revision: 363570 URL: http://svnweb.freebsd.org/changeset/ports/363570 QAT: https://qat.redports.org/buildarchive/r363570/ Log: - Add LICENSE - Use PYDISTUTILS_AUTOPLIST - Use USES=twisted - Bump PORTREVISION for dependency change - Reformat pkg-descr Deleted: head/net/pythondirector/pkg-plist Modified: head/net/pythondirector/Makefile head/net/pythondirector/pkg-descr Modified: head/net/pythondirector/Makefile ============================================================================== --- head/net/pythondirector/Makefile Thu Jul 31 10:32:42 2014 (r363569) +++ head/net/pythondirector/Makefile Thu Jul 31 10:40:21 2014 (r363570) @@ -3,22 +3,24 @@ PORTNAME= pydirector PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= SF/pythondirector/pythondirector/pythondirector-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= TCP load balancer written in Python -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted +LICENSE= MIT -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PORTDOCS= * +USE_PYTHON= yes +USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST= yes +USES= twisted:run -OPTIONS_DEFINE= DOCS +PORTDOCS= * post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk> Modified: head/net/pythondirector/pkg-descr ============================================================================== --- head/net/pythondirector/pkg-descr Thu Jul 31 10:32:42 2014 (r363569) +++ head/net/pythondirector/pkg-descr Thu Jul 31 10:40:21 2014 (r363570) @@ -1,20 +1,18 @@ -This is a pure-python TCP load balancer. It takes inbound TCP -connections and connects them to one of a number of backend servers. +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 - * separate 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 +- async i/o based, so much less overhead than fork/thread based balancers. Can + use either twisted or python's standard asyncore library (twisted is + recommended, and asyncore support will be removed in a future version). +- 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 (see a sample) +- 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407311040.s6VAeMgN013190>