diff options
author | riastradh <riastradh@pkgsrc.org> | 2018-10-23 03:17:22 +0000 |
---|---|---|
committer | riastradh <riastradh@pkgsrc.org> | 2018-10-23 03:17:22 +0000 |
commit | b69c3a0e09f6c1d74ce35d4a0abbc3c343029a12 (patch) | |
tree | a6483f2aa523b5cf85c4a99442aed5d1733059f7 /net | |
parent | ee3289aaf8e7e280265e96804e098f9bb06080fa (diff) | |
download | pkgsrc-b69c3a0e09f6c1d74ce35d4a0abbc3c343029a12.tar.gz |
Import txtorcon-18.3.0, a Twisted tor daemon controller library.
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 3 | ||||
-rw-r--r-- | net/py-txtorcon/DESCR | 9 | ||||
-rw-r--r-- | net/py-txtorcon/Makefile | 35 | ||||
-rw-r--r-- | net/py-txtorcon/PLIST | 139 | ||||
-rw-r--r-- | net/py-txtorcon/distinfo | 6 |
5 files changed, 191 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile index 05fdba99f55..a8a5cd08b1e 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1230 2018/10/23 01:42:34 riastradh Exp $ +# $NetBSD: Makefile,v 1.1231 2018/10/23 03:17:22 riastradh Exp $ # COMMENT= Networking tools @@ -709,6 +709,7 @@ SUBDIR+= py-twisted SUBDIR+= py-twisted-docs SUBDIR+= py-twython SUBDIR+= py-txamqp +SUBDIR+= py-txtorcon SUBDIR+= py-xandikos SUBDIR+= py-zeep SUBDIR+= py-zmq diff --git a/net/py-txtorcon/DESCR b/net/py-txtorcon/DESCR new file mode 100644 index 00000000000..c1f1399a8ea --- /dev/null +++ b/net/py-txtorcon/DESCR @@ -0,0 +1,9 @@ +txtorcon is an implementation of the control-spec for Tor using the +Twisted networking library for Python. + +This is useful for writing utilities to control or make use of Tor in +event-based Python programs. If your Twisted program supports endpoints +(like twistd does) your server or client can make use of Tor +immediately, with no code changes. Start your own Tor or connect to one +and get live stream, circuit, relay updates; read and change config; +monitor events; build circuits; create onion services; etcetera. diff --git a/net/py-txtorcon/Makefile b/net/py-txtorcon/Makefile new file mode 100644 index 00000000000..a4681f8da6f --- /dev/null +++ b/net/py-txtorcon/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 2018/10/23 03:17:22 riastradh Exp $ + +DISTNAME= txtorcon-18.3.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= net python +MASTER_SITES= ${MASTER_SITE_GITHUB:=meejah/} +GITHUB_PROJECT= txtorcon +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://txtorcon.readthedocs.io/ +COMMENT= Twisted Python library for controlling tor daemon +LICENSE= mit + +USE_LANGUAGES= # none + +.include "../../lang/python/pyversion.mk" + +DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=3.6.1:../../devel/py-ZopeInterface +DEPENDS+= ${PYPKGPREFIX}-automat-[0-9]*:../../devel/py-automat +DEPENDS+= ${PYPKGPREFIX}-incremental-[0-9]*:../../devel/py-incremental +.if ${_PYTHON_VERSION} < 33 +DEPENDS+= ${PYPKGPREFIX}-ipaddress>=1.0.16:../../net/py-ipaddress +.endif +DEPENDS+= ${PYPKGPREFIX}-twisted>=15.5.0:../../net/py-twisted + +TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test + +CHECK_INTERPRETER_SKIP+= share/txtorcon/examples/* + +do-test: + cd ${WRKSRC} && py.test-${PYVERSSUFFIX} + +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/py-txtorcon/PLIST b/net/py-txtorcon/PLIST new file mode 100644 index 00000000000..8fbad765301 --- /dev/null +++ b/net/py-txtorcon/PLIST @@ -0,0 +1,139 @@ +@comment $NetBSD: PLIST,v 1.1 2018/10/23 03:17:22 riastradh Exp $ +${PYSITELIB}/twisted/plugins/txtorcon_endpoint_parser.pyo +${PYSITELIB}/twisted/plugins/txtorcon_endpoint_parser.pyc +${PYSITELIB}/twisted/plugins/txtorcon_endpoint_parser.py +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/PKG-INFO +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/SOURCES.txt +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/dependency_links.txt +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/requires.txt +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/top_level.txt +${PYSITELIB}/txtorcon/__init__.py +${PYSITELIB}/txtorcon/__init__.pyo +${PYSITELIB}/txtorcon/__init__.pyc +${PYSITELIB}/txtorcon/_metadata.pyo +${PYSITELIB}/txtorcon/_metadata.pyc +${PYSITELIB}/txtorcon/_microdesc_parser.pyo +${PYSITELIB}/txtorcon/_microdesc_parser.pyc +${PYSITELIB}/txtorcon/addrmap.pyo +${PYSITELIB}/txtorcon/addrmap.pyc +${PYSITELIB}/txtorcon/attacher.pyo +${PYSITELIB}/txtorcon/attacher.pyc +${PYSITELIB}/txtorcon/circuit.pyo +${PYSITELIB}/txtorcon/circuit.pyc +${PYSITELIB}/txtorcon/controller.pyo +${PYSITELIB}/txtorcon/controller.pyc +${PYSITELIB}/txtorcon/controller_py3.pyo +${PYSITELIB}/txtorcon/controller_py3.pyc +${PYSITELIB}/txtorcon/endpoints.pyo +${PYSITELIB}/txtorcon/endpoints.pyc +${PYSITELIB}/txtorcon/interface.pyo +${PYSITELIB}/txtorcon/interface.pyc +${PYSITELIB}/txtorcon/log.pyo +${PYSITELIB}/txtorcon/log.pyc +${PYSITELIB}/txtorcon/onion.pyo +${PYSITELIB}/txtorcon/onion.pyc +${PYSITELIB}/txtorcon/router.pyo +${PYSITELIB}/txtorcon/router.pyc +${PYSITELIB}/txtorcon/socks.pyo +${PYSITELIB}/txtorcon/socks.pyc +${PYSITELIB}/txtorcon/spaghetti.pyo +${PYSITELIB}/txtorcon/spaghetti.pyc +${PYSITELIB}/txtorcon/stream.pyo +${PYSITELIB}/txtorcon/stream.pyc +${PYSITELIB}/txtorcon/testutil.pyo +${PYSITELIB}/txtorcon/testutil.pyc +${PYSITELIB}/txtorcon/torconfig.pyo +${PYSITELIB}/txtorcon/torconfig.pyc +${PYSITELIB}/txtorcon/torcontrolprotocol.pyo +${PYSITELIB}/txtorcon/torcontrolprotocol.pyc +${PYSITELIB}/txtorcon/torinfo.pyo +${PYSITELIB}/txtorcon/torinfo.pyc +${PYSITELIB}/txtorcon/torstate.pyo +${PYSITELIB}/txtorcon/torstate.pyc +${PYSITELIB}/txtorcon/util.pyo +${PYSITELIB}/txtorcon/util.pyc +${PYSITELIB}/txtorcon/web.pyo +${PYSITELIB}/txtorcon/web.pyc +${PYSITELIB}/txtorcon/_metadata.py +${PYSITELIB}/txtorcon/_microdesc_parser.py +${PYSITELIB}/txtorcon/addrmap.py +${PYSITELIB}/txtorcon/attacher.py +${PYSITELIB}/txtorcon/circuit.py +${PYSITELIB}/txtorcon/controller.py +${PYSITELIB}/txtorcon/controller_py3.py +${PYSITELIB}/txtorcon/endpoints.py +${PYSITELIB}/txtorcon/interface.py +${PYSITELIB}/txtorcon/log.py +${PYSITELIB}/txtorcon/onion.py +${PYSITELIB}/txtorcon/router.py +${PYSITELIB}/txtorcon/socks.py +${PYSITELIB}/txtorcon/spaghetti.py +${PYSITELIB}/txtorcon/stream.py +${PYSITELIB}/txtorcon/testutil.py +${PYSITELIB}/txtorcon/torconfig.py +${PYSITELIB}/txtorcon/torcontrolprotocol.py +${PYSITELIB}/txtorcon/torinfo.py +${PYSITELIB}/txtorcon/torstate.py +${PYSITELIB}/txtorcon/util.py +${PYSITELIB}/txtorcon/web.py +share/txtorcon/INSTALL +share/txtorcon/Makefile +share/txtorcon/README.rst +share/txtorcon/TODO +share/txtorcon/apilinks_sphinxext.py +share/txtorcon/avatar.png +share/txtorcon/conf.py +share/txtorcon/examples.rst +share/txtorcon/examples/close_all_circuits.py +share/txtorcon/examples/connect.py +share/txtorcon/examples/disallow_streams_by_port.py +share/txtorcon/examples/dns_lookups.py +share/txtorcon/examples/hidden_echo.py +share/txtorcon/examples/launch_tor.py +share/txtorcon/examples/launch_tor2web.py +share/txtorcon/examples/launch_tor_endpoint.py +share/txtorcon/examples/launch_tor_endpoint2.py +share/txtorcon/examples/launch_tor_unix_sockets.py +share/txtorcon/examples/launch_tor_with_simplehttpd.py +share/txtorcon/examples/minimal_endpoint.py +share/txtorcon/examples/monitor.py +share/txtorcon/examples/readme.py +share/txtorcon/examples/readme3.py +share/txtorcon/examples/stem_relay_descriptor.py +share/txtorcon/examples/stream_circuit_logger.py +share/txtorcon/examples/tor_info.py +share/txtorcon/examples/web_client.py +share/txtorcon/examples/web_client_authenticated.py +share/txtorcon/examples/web_client_custom_circuit.py +share/txtorcon/examples/web_client_treq.py +share/txtorcon/examples/web_onion_service_aiohttp.py +share/txtorcon/examples/web_onion_service_endpoints.py +share/txtorcon/examples/web_onion_service_ephemeral_auth.py +share/txtorcon/examples/web_onion_service_ephemeral_nonanon.py +share/txtorcon/examples/web_onion_service_ephemeral_unix.py +share/txtorcon/examples/web_onion_service_filesystem.py +share/txtorcon/examples/web_onion_service_prop224.py +share/txtorcon/examples/web_onion_service_prop224_endpoints_file.py +share/txtorcon/examples/webui_server.py +share/txtorcon/guide.rst +share/txtorcon/hacking.rst +share/txtorcon/haiku.css +share/txtorcon/index.rst +share/txtorcon/installing.rst +share/txtorcon/interop_asyncio.rst +share/txtorcon/introduction.rst +share/txtorcon/logo.png +share/txtorcon/logo.svg +share/txtorcon/meejah.asc +share/txtorcon/release-checklist.rst +share/txtorcon/releases.rst +share/txtorcon/txtorcon-config.rst +share/txtorcon/txtorcon-controller.rst +share/txtorcon/txtorcon-endpoints.rst +share/txtorcon/txtorcon-interface.rst +share/txtorcon/txtorcon-onion.rst +share/txtorcon/txtorcon-protocol.rst +share/txtorcon/txtorcon-socks.rst +share/txtorcon/txtorcon-state.rst +share/txtorcon/txtorcon-util.rst +share/txtorcon/txtorcon.rst diff --git a/net/py-txtorcon/distinfo b/net/py-txtorcon/distinfo new file mode 100644 index 00000000000..7696553629f --- /dev/null +++ b/net/py-txtorcon/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/10/23 03:17:22 riastradh Exp $ + +SHA1 (txtorcon-18.3.0.tar.gz) = 58b409aa442202675fd9619f82aeae2086356d0e +RMD160 (txtorcon-18.3.0.tar.gz) = fcda362f665b2c889bc5d73c7d8c6269566016de +SHA512 (txtorcon-18.3.0.tar.gz) = 937423c05059b8c8847f12275b4b22cc4982cd32710fa50a0893b180a55716547f6ae37f38c46cbe62513b0463360900a1202fc3e5189cf023abcd637cb5022e +Size (txtorcon-18.3.0.tar.gz) = 385335 bytes |