From owner-svn-ports-head@FreeBSD.ORG Thu Jul 31 10:40:22 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79CC192F; Thu, 31 Jul 2014 10:40:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 67A6B28A2; Thu, 31 Jul 2014 10:40:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6VAeMir013192; Thu, 31 Jul 2014 10:40:22 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6VAeMgN013190; Thu, 31 Jul 2014 10:40:22 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201407311040.s6VAeMgN013190@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Thu, 31 Jul 2014 10:40:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363570 - head/net/pythondirector X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2014 10:40:22 -0000 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 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/