pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Import onionbalance-0.1.8, a load-balancing tool f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fd664f35727
branches:  trunk
changeset: 314224:1fd664f35727
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Tue Oct 23 03:18:06 2018 +0000

description:
Import onionbalance-0.1.8, a load-balancing tool for onion services.

diffstat:

 net/Makefile                        |   4 ++-
 net/onionbalance/DESCR              |   6 ++++
 net/onionbalance/Makefile           |  20 +++++++++++++
 net/py-onionbalance/DESCR           |   4 ++
 net/py-onionbalance/Makefile        |  44 ++++++++++++++++++++++++++++++
 net/py-onionbalance/Makefile.common |   6 ++++
 net/py-onionbalance/PLIST           |  54 +++++++++++++++++++++++++++++++++++++
 net/py-onionbalance/distinfo        |   6 ++++
 8 files changed, 143 insertions(+), 1 deletions(-)

diffs (193 lines):

diff -r 560be27f998c -r 1fd664f35727 net/Makefile
--- a/net/Makefile      Tue Oct 23 03:17:22 2018 +0000
+++ b/net/Makefile      Tue Oct 23 03:18:06 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1231 2018/10/23 03:17:22 riastradh Exp $
+# $NetBSD: Makefile,v 1.1232 2018/10/23 03:18:06 riastradh Exp $
 #
 
 COMMENT=       Networking tools
@@ -441,6 +441,7 @@
 SUBDIR+=       oinkmaster
 SUBDIR+=       omniNotify
 SUBDIR+=       omniORB
+SUBDIR+=       onionbalance
 SUBDIR+=       openag
 SUBDIR+=       openconnect
 SUBDIR+=       openh323
@@ -681,6 +682,7 @@
 SUBDIR+=       py-netsnmp
 SUBDIR+=       py-nyx
 SUBDIR+=       py-omniORBpy
+SUBDIR+=       py-onionbalance
 SUBDIR+=       py-pcap
 SUBDIR+=       py-portend
 SUBDIR+=       py-ptt
diff -r 560be27f998c -r 1fd664f35727 net/onionbalance/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/onionbalance/DESCR    Tue Oct 23 03:18:06 2018 +0000
@@ -0,0 +1,6 @@
+The OnionBalance software allows for Tor hidden service requests to be
+distributed across multiple backend Tor instances.  OnionBalance
+provides load-balancing while also making onion services more resilient
+and reliable by eliminating single points-of-failure.
+
+This is a meta-package for convenience.
diff -r 560be27f998c -r 1fd664f35727 net/onionbalance/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/onionbalance/Makefile Tue Oct 23 03:18:06 2018 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2018/10/23 03:18:06 riastradh Exp $
+
+.include "../../net/py-onionbalance/Makefile.common"
+
+PKGNAME=       onionbalance-${VERSION}
+CATEGORIES=    net
+MASTER_FILES=  # empty
+DISTFILES=     # empty
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://onionbalance.readthedocs.org/
+COMMENT=       Tor onion service load balancer
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=      ${PYPKGPREFIX}-onionbalance>=${VERSION}:../../net/py-onionbalance
+
+META_PACKAGE=  yes
+
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 560be27f998c -r 1fd664f35727 net/py-onionbalance/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-onionbalance/DESCR Tue Oct 23 03:18:06 2018 +0000
@@ -0,0 +1,4 @@
+The OnionBalance software allows for Tor hidden service requests to be
+distributed across multiple backend Tor instances.  OnionBalance
+provides load-balancing while also making onion services more resilient
+and reliable by eliminating single points-of-failure.
diff -r 560be27f998c -r 1fd664f35727 net/py-onionbalance/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-onionbalance/Makefile      Tue Oct 23 03:18:06 2018 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2018/10/23 03:18:06 riastradh Exp $
+
+.include "net/py-onionbalance/Makefile.common"
+
+DISTNAME=      onionbalance-${VERSION}
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    net python
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=DonnchaC/}
+GITHUB_PROJECT=        onionbalance
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://onionbalance.readthedocs.io/
+COMMENT=       Tor onion service load balancer
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= # none
+
+DEPENDS+=      ${PYPKGPREFIX}-crypto>=2.6.1:../../security/py-crypto
+DEPENDS+=      ${PYPKGPREFIX}-future>=0.14.0:../../devel/py-future
+DEPENDS+=      ${PYPKGPREFIX}-setproctitle-[0-9]*:../../sysutils/py-setproctitle
+DEPENDS+=      ${PYPKGPREFIX}-stem>=0.4.0:../../devel/py-stem
+DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.11:../../textproc/py-yaml
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
+
+REPLACE_PYTHON+=onionbalance.py
+REPLACE_PYTHON+=docs/conf.py
+
+CHECK_INTERPRETER_SKIP+=       test/scripts/install-chutney.sh
+CHECK_INTERPRETER_SKIP+=       test/scripts/install-tor.sh
+
+do-test:
+       cd ${WRKSRC} && \
+       ${SETENV} PATH=${PATH:Q}:${DESTDIR:Q}${PREFIX:Q}/bin \
+       ${SETENV} PYTHONPATH=${DESTDIR:Q}${PREFIX:Q}/lib/python${PYVERSSUFFIX}/site-packages \
+               py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 560be27f998c -r 1fd664f35727 net/py-onionbalance/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-onionbalance/Makefile.common       Tue Oct 23 03:18:06 2018 +0000
@@ -0,0 +1,6 @@
+# $NetBSD: Makefile.common,v 1.1 2018/10/23 03:18:06 riastradh Exp $
+
+# used by net/onionbalance/Makefile
+# used by net/py-onionbalance/Makefile
+
+VERSION=       0.1.8
diff -r 560be27f998c -r 1fd664f35727 net/py-onionbalance/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-onionbalance/PLIST Tue Oct 23 03:18:06 2018 +0000
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1 2018/10/23 03:18:06 riastradh Exp $
+bin/onionbalance
+bin/onionbalance-config
+${PYSITELIB}/OnionBalance-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO
+${PYSITELIB}/OnionBalance-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
+${PYSITELIB}/OnionBalance-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
+${PYSITELIB}/OnionBalance-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/entry_points.txt
+${PYSITELIB}/OnionBalance-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/requires.txt
+${PYSITELIB}/OnionBalance-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/top_level.txt
+${PYSITELIB}/onionbalance/__init__.py
+${PYSITELIB}/onionbalance/__main__.py
+${PYSITELIB}/onionbalance/__init__.pyo
+${PYSITELIB}/onionbalance/__init__.pyc
+${PYSITELIB}/onionbalance/__main__.pyo
+${PYSITELIB}/onionbalance/__main__.pyc
+${PYSITELIB}/onionbalance/config.pyo
+${PYSITELIB}/onionbalance/config.pyc
+${PYSITELIB}/onionbalance/consensus.pyo
+${PYSITELIB}/onionbalance/consensus.pyc
+${PYSITELIB}/onionbalance/descriptor.pyo
+${PYSITELIB}/onionbalance/descriptor.pyc
+${PYSITELIB}/onionbalance/eventhandler.pyo
+${PYSITELIB}/onionbalance/eventhandler.pyc
+${PYSITELIB}/onionbalance/instance.pyo
+${PYSITELIB}/onionbalance/instance.pyc
+${PYSITELIB}/onionbalance/log.pyo
+${PYSITELIB}/onionbalance/log.pyc
+${PYSITELIB}/onionbalance/manager.pyo
+${PYSITELIB}/onionbalance/manager.pyc
+${PYSITELIB}/onionbalance/scheduler.pyo
+${PYSITELIB}/onionbalance/scheduler.pyc
+${PYSITELIB}/onionbalance/service.pyo
+${PYSITELIB}/onionbalance/service.pyc
+${PYSITELIB}/onionbalance/settings.pyo
+${PYSITELIB}/onionbalance/settings.pyc
+${PYSITELIB}/onionbalance/status.pyo
+${PYSITELIB}/onionbalance/status.pyc
+${PYSITELIB}/onionbalance/util.pyo
+${PYSITELIB}/onionbalance/util.pyc
+${PYSITELIB}/onionbalance/config.py
+${PYSITELIB}/onionbalance/consensus.py
+${PYSITELIB}/onionbalance/data/config.example.yaml
+${PYSITELIB}/onionbalance/data/torrc-instance
+${PYSITELIB}/onionbalance/data/torrc-server
+${PYSITELIB}/onionbalance/descriptor.py
+${PYSITELIB}/onionbalance/eventhandler.py
+${PYSITELIB}/onionbalance/instance.py
+${PYSITELIB}/onionbalance/log.py
+${PYSITELIB}/onionbalance/manager.py
+${PYSITELIB}/onionbalance/scheduler.py
+${PYSITELIB}/onionbalance/service.py
+${PYSITELIB}/onionbalance/settings.py
+${PYSITELIB}/onionbalance/status.py
+${PYSITELIB}/onionbalance/util.py
diff -r 560be27f998c -r 1fd664f35727 net/py-onionbalance/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-onionbalance/distinfo      Tue Oct 23 03:18:06 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/10/23 03:18:06 riastradh Exp $
+
+SHA1 (onionbalance-0.1.8.tar.gz) = e34e8685f1659d4c884d96fa61a60150d062042e
+RMD160 (onionbalance-0.1.8.tar.gz) = 26a7259cdb01486762eeb41ed81539780d5566d5
+SHA512 (onionbalance-0.1.8.tar.gz) = 062d853b8b873ca630bf313bba713e15e0efc8ed32cc16b0c14f7d5675dc5677c5bcc5ea5bd96a5ff5dca3f044cca12b5916161b73e353b09afe5808805207ce
+Size (onionbalance-0.1.8.tar.gz) = 139113 bytes



Home | Main Index | Thread Index | Old Index