pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Import stem-1.7.0, nyx-2.0.4, and sbws-0.8.0 from the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c7475c54d50
branches:  trunk
changeset: 386529:3c7475c54d50
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Tue Oct 23 01:42:34 2018 +0000

description:
Import stem-1.7.0, nyx-2.0.4, and sbws-0.8.0 from the Tor Project.

stem-1.7.0: Python library for controlling the tor daemon
nyx-2.0.4: curses monitor for the tor daemon
sbws-0.8.0: bandwidth scanner

nyx is a standalone application, so give it a meta-package net/nyx
with no py- prefix.

sbws is a standalone application too but only for designated Tor
plumbers, not for ordinary users, so leave it as py-sbws.

diffstat:

 devel/Makefile             |    3 +-
 devel/py-stem/DESCR        |    1 +
 devel/py-stem/Makefile     |   35 +++++++++
 devel/py-stem/PLIST        |  161 +++++++++++++++++++++++++++++++++++++++++
 devel/py-stem/distinfo     |    6 +
 net/Makefile               |    5 +-
 net/nyx/DESCR              |    5 +
 net/nyx/Makefile           |   20 +++++
 net/py-nyx/DESCR           |    3 +
 net/py-nyx/Makefile        |   28 +++++++
 net/py-nyx/Makefile.common |    6 +
 net/py-nyx/PLIST           |   58 +++++++++++++++
 net/py-nyx/distinfo        |    6 +
 net/py-sbws/DESCR          |   13 +++
 net/py-sbws/Makefile       |   50 +++++++++++++
 net/py-sbws/PLIST          |  173 +++++++++++++++++++++++++++++++++++++++++++++
 net/py-sbws/distinfo       |    6 +
 17 files changed, 577 insertions(+), 2 deletions(-)

diffs (truncated from 681 to 300 lines):

diff -r 756b8b58f21d -r 3c7475c54d50 devel/Makefile
--- a/devel/Makefile    Mon Oct 22 17:33:09 2018 +0000
+++ b/devel/Makefile    Tue Oct 23 01:42:34 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2739 2018/10/21 19:51:45 minskim Exp $
+# $NetBSD: Makefile,v 1.2740 2018/10/23 01:42:34 riastradh Exp $
 #
 
 COMMENT=       Development utilities
@@ -2262,6 +2262,7 @@
 SUBDIR+=       py-singledispatch
 SUBDIR+=       py-sortedcontainers
 SUBDIR+=       py-speaklater
+SUBDIR+=       py-stem
 SUBDIR+=       py-stevedore
 SUBDIR+=       py-stompclient
 SUBDIR+=       py-stsci.distutils
diff -r 756b8b58f21d -r 3c7475c54d50 devel/py-stem/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-stem/DESCR       Tue Oct 23 01:42:34 2018 +0000
@@ -0,0 +1,1 @@
+Stem is a Python library for controlling the tor daemon over a socket.
diff -r 756b8b58f21d -r 3c7475c54d50 devel/py-stem/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-stem/Makefile    Tue Oct 23 01:42:34 2018 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2018/10/23 01:42:34 riastradh Exp $
+
+DISTNAME=      stem-1.7.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    net python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=s/stem/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://stem.torproject.org/
+COMMENT=       Python controller library for the tor daemon
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= # none
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flakes-[0-9]*:../../devel/py-flakes
+
+DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
+DEPENDS+=      ${PYPKGPREFIX}-nacl-[0-9]*:../../security/py-nacl
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
+
+REPLACE_PYTHON+=cache_fallback_directories.py
+REPLACE_PYTHON+=cache_manual.py
+REPLACE_PYTHON+=run_tests.py
+REPLACE_PYTHON+=setup.py
+REPLACE_PYTHON+=tor-prompt
+
+do-test:
+       cd ${WRKSRC} && ./run_tests.py --unit
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 756b8b58f21d -r 3c7475c54d50 devel/py-stem/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-stem/PLIST       Tue Oct 23 01:42:34 2018 +0000
@@ -0,0 +1,161 @@
+@comment $NetBSD: PLIST,v 1.1 2018/10/23 01:42:34 riastradh Exp $
+bin/tor-prompt
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/stem/__init__.py
+${PYSITELIB}/stem/__init__.pyc
+${PYSITELIB}/stem/__init__.pyo
+${PYSITELIB}/stem/cached_fallbacks.cfg
+${PYSITELIB}/stem/cached_manual.sqlite
+${PYSITELIB}/stem/client/__init__.py
+${PYSITELIB}/stem/client/__init__.pyc
+${PYSITELIB}/stem/client/__init__.pyo
+${PYSITELIB}/stem/client/cell.py
+${PYSITELIB}/stem/client/cell.pyc
+${PYSITELIB}/stem/client/cell.pyo
+${PYSITELIB}/stem/client/datatype.py
+${PYSITELIB}/stem/client/datatype.pyc
+${PYSITELIB}/stem/client/datatype.pyo
+${PYSITELIB}/stem/connection.py
+${PYSITELIB}/stem/connection.pyc
+${PYSITELIB}/stem/connection.pyo
+${PYSITELIB}/stem/control.py
+${PYSITELIB}/stem/control.pyc
+${PYSITELIB}/stem/control.pyo
+${PYSITELIB}/stem/descriptor/__init__.py
+${PYSITELIB}/stem/descriptor/__init__.pyc
+${PYSITELIB}/stem/descriptor/__init__.pyo
+${PYSITELIB}/stem/descriptor/certificate.py
+${PYSITELIB}/stem/descriptor/certificate.pyc
+${PYSITELIB}/stem/descriptor/certificate.pyo
+${PYSITELIB}/stem/descriptor/export.py
+${PYSITELIB}/stem/descriptor/export.pyc
+${PYSITELIB}/stem/descriptor/export.pyo
+${PYSITELIB}/stem/descriptor/extrainfo_descriptor.py
+${PYSITELIB}/stem/descriptor/extrainfo_descriptor.pyc
+${PYSITELIB}/stem/descriptor/extrainfo_descriptor.pyo
+${PYSITELIB}/stem/descriptor/hidden_service_descriptor.py
+${PYSITELIB}/stem/descriptor/hidden_service_descriptor.pyc
+${PYSITELIB}/stem/descriptor/hidden_service_descriptor.pyo
+${PYSITELIB}/stem/descriptor/microdescriptor.py
+${PYSITELIB}/stem/descriptor/microdescriptor.pyc
+${PYSITELIB}/stem/descriptor/microdescriptor.pyo
+${PYSITELIB}/stem/descriptor/networkstatus.py
+${PYSITELIB}/stem/descriptor/networkstatus.pyc
+${PYSITELIB}/stem/descriptor/networkstatus.pyo
+${PYSITELIB}/stem/descriptor/reader.py
+${PYSITELIB}/stem/descriptor/reader.pyc
+${PYSITELIB}/stem/descriptor/reader.pyo
+${PYSITELIB}/stem/descriptor/remote.py
+${PYSITELIB}/stem/descriptor/remote.pyc
+${PYSITELIB}/stem/descriptor/remote.pyo
+${PYSITELIB}/stem/descriptor/router_status_entry.py
+${PYSITELIB}/stem/descriptor/router_status_entry.pyc
+${PYSITELIB}/stem/descriptor/router_status_entry.pyo
+${PYSITELIB}/stem/descriptor/server_descriptor.py
+${PYSITELIB}/stem/descriptor/server_descriptor.pyc
+${PYSITELIB}/stem/descriptor/server_descriptor.pyo
+${PYSITELIB}/stem/descriptor/tordnsel.py
+${PYSITELIB}/stem/descriptor/tordnsel.pyc
+${PYSITELIB}/stem/descriptor/tordnsel.pyo
+${PYSITELIB}/stem/directory.py
+${PYSITELIB}/stem/directory.pyc
+${PYSITELIB}/stem/directory.pyo
+${PYSITELIB}/stem/exit_policy.py
+${PYSITELIB}/stem/exit_policy.pyc
+${PYSITELIB}/stem/exit_policy.pyo
+${PYSITELIB}/stem/interpreter/__init__.py
+${PYSITELIB}/stem/interpreter/__init__.pyc
+${PYSITELIB}/stem/interpreter/__init__.pyo
+${PYSITELIB}/stem/interpreter/arguments.py
+${PYSITELIB}/stem/interpreter/arguments.pyc
+${PYSITELIB}/stem/interpreter/arguments.pyo
+${PYSITELIB}/stem/interpreter/autocomplete.py
+${PYSITELIB}/stem/interpreter/autocomplete.pyc
+${PYSITELIB}/stem/interpreter/autocomplete.pyo
+${PYSITELIB}/stem/interpreter/commands.py
+${PYSITELIB}/stem/interpreter/commands.pyc
+${PYSITELIB}/stem/interpreter/commands.pyo
+${PYSITELIB}/stem/interpreter/help.py
+${PYSITELIB}/stem/interpreter/help.pyc
+${PYSITELIB}/stem/interpreter/help.pyo
+${PYSITELIB}/stem/interpreter/settings.cfg
+${PYSITELIB}/stem/manual.py
+${PYSITELIB}/stem/manual.pyc
+${PYSITELIB}/stem/manual.pyo
+${PYSITELIB}/stem/prereq.py
+${PYSITELIB}/stem/prereq.pyc
+${PYSITELIB}/stem/prereq.pyo
+${PYSITELIB}/stem/process.py
+${PYSITELIB}/stem/process.pyc
+${PYSITELIB}/stem/process.pyo
+${PYSITELIB}/stem/response/__init__.py
+${PYSITELIB}/stem/response/__init__.pyc
+${PYSITELIB}/stem/response/__init__.pyo
+${PYSITELIB}/stem/response/add_onion.py
+${PYSITELIB}/stem/response/add_onion.pyc
+${PYSITELIB}/stem/response/add_onion.pyo
+${PYSITELIB}/stem/response/authchallenge.py
+${PYSITELIB}/stem/response/authchallenge.pyc
+${PYSITELIB}/stem/response/authchallenge.pyo
+${PYSITELIB}/stem/response/events.py
+${PYSITELIB}/stem/response/events.pyc
+${PYSITELIB}/stem/response/events.pyo
+${PYSITELIB}/stem/response/getconf.py
+${PYSITELIB}/stem/response/getconf.pyc
+${PYSITELIB}/stem/response/getconf.pyo
+${PYSITELIB}/stem/response/getinfo.py
+${PYSITELIB}/stem/response/getinfo.pyc
+${PYSITELIB}/stem/response/getinfo.pyo
+${PYSITELIB}/stem/response/mapaddress.py
+${PYSITELIB}/stem/response/mapaddress.pyc
+${PYSITELIB}/stem/response/mapaddress.pyo
+${PYSITELIB}/stem/response/protocolinfo.py
+${PYSITELIB}/stem/response/protocolinfo.pyc
+${PYSITELIB}/stem/response/protocolinfo.pyo
+${PYSITELIB}/stem/settings.cfg
+${PYSITELIB}/stem/socket.py
+${PYSITELIB}/stem/socket.pyc
+${PYSITELIB}/stem/socket.pyo
+${PYSITELIB}/stem/util/__init__.py
+${PYSITELIB}/stem/util/__init__.pyc
+${PYSITELIB}/stem/util/__init__.pyo
+${PYSITELIB}/stem/util/conf.py
+${PYSITELIB}/stem/util/conf.pyc
+${PYSITELIB}/stem/util/conf.pyo
+${PYSITELIB}/stem/util/connection.py
+${PYSITELIB}/stem/util/connection.pyc
+${PYSITELIB}/stem/util/connection.pyo
+${PYSITELIB}/stem/util/enum.py
+${PYSITELIB}/stem/util/enum.pyc
+${PYSITELIB}/stem/util/enum.pyo
+${PYSITELIB}/stem/util/log.py
+${PYSITELIB}/stem/util/log.pyc
+${PYSITELIB}/stem/util/log.pyo
+${PYSITELIB}/stem/util/lru_cache.py
+${PYSITELIB}/stem/util/lru_cache.pyc
+${PYSITELIB}/stem/util/lru_cache.pyo
+${PYSITELIB}/stem/util/ordereddict.py
+${PYSITELIB}/stem/util/ordereddict.pyc
+${PYSITELIB}/stem/util/ordereddict.pyo
+${PYSITELIB}/stem/util/ports.cfg
+${PYSITELIB}/stem/util/proc.py
+${PYSITELIB}/stem/util/proc.pyc
+${PYSITELIB}/stem/util/proc.pyo
+${PYSITELIB}/stem/util/str_tools.py
+${PYSITELIB}/stem/util/str_tools.pyc
+${PYSITELIB}/stem/util/str_tools.pyo
+${PYSITELIB}/stem/util/system.py
+${PYSITELIB}/stem/util/system.pyc
+${PYSITELIB}/stem/util/system.pyo
+${PYSITELIB}/stem/util/term.py
+${PYSITELIB}/stem/util/term.pyc
+${PYSITELIB}/stem/util/term.pyo
+${PYSITELIB}/stem/util/test_tools.py
+${PYSITELIB}/stem/util/test_tools.pyc
+${PYSITELIB}/stem/util/test_tools.pyo
+${PYSITELIB}/stem/util/tor_tools.py
+${PYSITELIB}/stem/util/tor_tools.pyc
+${PYSITELIB}/stem/util/tor_tools.pyo
+${PYSITELIB}/stem/version.py
+${PYSITELIB}/stem/version.pyc
+${PYSITELIB}/stem/version.pyo
diff -r 756b8b58f21d -r 3c7475c54d50 devel/py-stem/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-stem/distinfo    Tue Oct 23 01:42:34 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/10/23 01:42:34 riastradh Exp $
+
+SHA1 (stem-1.7.0.tar.gz) = 1d075b54ebd32cf15e470c8f09a596cf8829a172
+RMD160 (stem-1.7.0.tar.gz) = 3f007f598864326a7debfb3b51c50be123f8a111
+SHA512 (stem-1.7.0.tar.gz) = 10750266860f4f90df5d4a3bf24ec68e28d12c84c136c35d2f168f767f4facae3d02cc62dc972a08666689695ea17337a7a6b80ec1c5ed8b9e5035d7417b07f5
+Size (stem-1.7.0.tar.gz) = 2196759 bytes
diff -r 756b8b58f21d -r 3c7475c54d50 net/Makefile
--- a/net/Makefile      Mon Oct 22 17:33:09 2018 +0000
+++ b/net/Makefile      Tue Oct 23 01:42:34 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1229 2018/10/08 14:48:46 adam Exp $
+# $NetBSD: Makefile,v 1.1230 2018/10/23 01:42:34 riastradh Exp $
 #
 
 COMMENT=       Networking tools
@@ -431,6 +431,7 @@
 SUBDIR+=       ntop
 SUBDIR+=       ntopng
 SUBDIR+=       ntp4
+SUBDIR+=       nyx
 SUBDIR+=       obfs4proxy
 SUBDIR+=       ocaml-ipaddr
 SUBDIR+=       ocamlnet
@@ -678,6 +679,7 @@
 SUBDIR+=       py-netaddr
 SUBDIR+=       py-netifaces
 SUBDIR+=       py-netsnmp
+SUBDIR+=       py-nyx
 SUBDIR+=       py-omniORBpy
 SUBDIR+=       py-pcap
 SUBDIR+=       py-portend
@@ -690,6 +692,7 @@
 SUBDIR+=       py-rt
 SUBDIR+=       py-s3cmd
 SUBDIR+=       py-s3transfer
+SUBDIR+=       py-sbws
 SUBDIR+=       py-scp
 SUBDIR+=       py-simplesoap
 SUBDIR+=       py-smb
diff -r 756b8b58f21d -r 3c7475c54d50 net/nyx/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nyx/DESCR     Tue Oct 23 01:42:34 2018 +0000
@@ -0,0 +1,5 @@
+Nyx is a command-line monitor for Tor.  With this you can get detailed
+real-time information about your relay such as bandwidth usage,
+connections, logs, and much more.
+
+This is a meta-package for convenience.
diff -r 756b8b58f21d -r 3c7475c54d50 net/nyx/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nyx/Makefile  Tue Oct 23 01:42:34 2018 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2018/10/23 01:42:34 riastradh Exp $
+
+.include "../../net/py-nyx/Makefile.common"
+
+PKGNAME=       nyx-${VERSION}
+CATEGORIES=    net
+MASTER_SITES=  # empty
+DISTFILES=     # empty
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://nyx.torproject.org/
+COMMENT=       Command-line monitor for the tor daemon
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=      ${PYPKGPREFIX}-nyx>=${VERSION}:../../net/py-nyx
+
+META_PACKAGE=  yes
+



Home | Main Index | Thread Index | Old Index