mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Add LICENSE
- Use PYDISTUTILS_AUTOPLIST - Use USES=twisted - Bump PORTREVISION for dependency change - Reformat pkg-descr
This commit is contained in:
parent
9719dade66
commit
5c273c38ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363570
@ -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
|
||||
USE_PYDISTUTILS=yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
USES= twisted:run
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -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,
|
||||
- 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
|
||||
* 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
|
||||
- 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/
|
||||
|
@ -1,38 +0,0 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user