From 52defd0c167d789ac5506ae97be5f78375f58dd5 Mon Sep 17 00:00:00 2001 From: pascal Date: Mon, 13 Apr 2015 11:34:53 +0000 Subject: [PATCH] Import net/stem; comments/ok benoit@ Stem is a Python controller library that you can use to interact with Tor. With it you can write scripts and applications with capabilities similar to Vidalia and arm. From a technical standpoint, Stem is a Python implementation of Tor's directory and control specifications. --- net/stem/Makefile | 24 ++++++++++++ net/stem/distinfo | 2 + net/stem/pkg/DESCR | 6 +++ net/stem/pkg/PLIST | 95 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 127 insertions(+) create mode 100644 net/stem/Makefile create mode 100644 net/stem/distinfo create mode 100644 net/stem/pkg/DESCR create mode 100644 net/stem/pkg/PLIST diff --git a/net/stem/Makefile b/net/stem/Makefile new file mode 100644 index 00000000000..5707ab00c67 --- /dev/null +++ b/net/stem/Makefile @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/04/13 11:34:53 pascal Exp $ + +COMMENT = Tor controller library + +MODPY_EGG_VERSION = 1.3.0 +DISTNAME = stem-${MODPY_EGG_VERSION} + +CATEGORIES = net + +HOMEPAGE = https://stem.torproject.org + +MAINTAINER = Pascal Stumpf + +# GPLv3 +PERMIT_PACKAGE_CDROM = Yes + +EXTRACT_SUFX = .tar.bz2 + +MODULES = lang/python +MODPY_PI = Yes + +NO_TEST = Yes + +.include diff --git a/net/stem/distinfo b/net/stem/distinfo new file mode 100644 index 00000000000..3d9fad20ce8 --- /dev/null +++ b/net/stem/distinfo @@ -0,0 +1,2 @@ +SHA256 (stem-1.3.0.tar.bz2) = dw43AVbg6SqYYuRnDuP0rDhXQgBuV4YIUo7hbLq51BY= +SIZE (stem-1.3.0.tar.bz2) = 1481513 diff --git a/net/stem/pkg/DESCR b/net/stem/pkg/DESCR new file mode 100644 index 00000000000..ad614707bef --- /dev/null +++ b/net/stem/pkg/DESCR @@ -0,0 +1,6 @@ +Stem is a Python controller library that you can use to interact +with Tor. With it you can write scripts and applications with +capabilities similar to Vidalia and arm. + +From a technical standpoint, Stem is a Python implementation of +Tor's directory and control specifications. diff --git a/net/stem/pkg/PLIST b/net/stem/pkg/PLIST new file mode 100644 index 00000000000..bba7ace347d --- /dev/null +++ b/net/stem/pkg/PLIST @@ -0,0 +1,95 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2015/04/13 11:34:53 pascal Exp $ +bin/tor-prompt +lib/python${MODPY_VERSION}/site-packages/stem/ +lib/python${MODPY_VERSION}/site-packages/stem-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info +lib/python${MODPY_VERSION}/site-packages/stem/__init__.py +lib/python${MODPY_VERSION}/site-packages/stem/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/stem/connection.py +lib/python${MODPY_VERSION}/site-packages/stem/connection.pyc +lib/python${MODPY_VERSION}/site-packages/stem/control.py +lib/python${MODPY_VERSION}/site-packages/stem/control.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/ +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/__init__.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/export.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/export.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/extrainfo_descriptor.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/extrainfo_descriptor.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/microdescriptor.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/microdescriptor.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/networkstatus.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/networkstatus.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/reader.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/reader.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/remote.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/remote.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/router_status_entry.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/router_status_entry.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/server_descriptor.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/server_descriptor.pyc +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/tordnsel.py +lib/python${MODPY_VERSION}/site-packages/stem/descriptor/tordnsel.pyc +lib/python${MODPY_VERSION}/site-packages/stem/exit_policy.py +lib/python${MODPY_VERSION}/site-packages/stem/exit_policy.pyc +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/ +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/__init__.py +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/arguments.py +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/arguments.pyc +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/autocomplete.py +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/autocomplete.pyc +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/commands.py +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/commands.pyc +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/help.py +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/help.pyc +lib/python${MODPY_VERSION}/site-packages/stem/interpreter/settings.cfg +lib/python${MODPY_VERSION}/site-packages/stem/prereq.py +lib/python${MODPY_VERSION}/site-packages/stem/prereq.pyc +lib/python${MODPY_VERSION}/site-packages/stem/process.py +lib/python${MODPY_VERSION}/site-packages/stem/process.pyc +lib/python${MODPY_VERSION}/site-packages/stem/response/ +lib/python${MODPY_VERSION}/site-packages/stem/response/__init__.py +lib/python${MODPY_VERSION}/site-packages/stem/response/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/stem/response/authchallenge.py +lib/python${MODPY_VERSION}/site-packages/stem/response/authchallenge.pyc +lib/python${MODPY_VERSION}/site-packages/stem/response/events.py +lib/python${MODPY_VERSION}/site-packages/stem/response/events.pyc +lib/python${MODPY_VERSION}/site-packages/stem/response/getconf.py +lib/python${MODPY_VERSION}/site-packages/stem/response/getconf.pyc +lib/python${MODPY_VERSION}/site-packages/stem/response/getinfo.py +lib/python${MODPY_VERSION}/site-packages/stem/response/getinfo.pyc +lib/python${MODPY_VERSION}/site-packages/stem/response/mapaddress.py +lib/python${MODPY_VERSION}/site-packages/stem/response/mapaddress.pyc +lib/python${MODPY_VERSION}/site-packages/stem/response/protocolinfo.py +lib/python${MODPY_VERSION}/site-packages/stem/response/protocolinfo.pyc +lib/python${MODPY_VERSION}/site-packages/stem/socket.py +lib/python${MODPY_VERSION}/site-packages/stem/socket.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/ +lib/python${MODPY_VERSION}/site-packages/stem/util/__init__.py +lib/python${MODPY_VERSION}/site-packages/stem/util/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/conf.py +lib/python${MODPY_VERSION}/site-packages/stem/util/conf.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/connection.py +lib/python${MODPY_VERSION}/site-packages/stem/util/connection.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/enum.py +lib/python${MODPY_VERSION}/site-packages/stem/util/enum.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/log.py +lib/python${MODPY_VERSION}/site-packages/stem/util/log.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/lru_cache.py +lib/python${MODPY_VERSION}/site-packages/stem/util/lru_cache.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/ordereddict.py +lib/python${MODPY_VERSION}/site-packages/stem/util/ordereddict.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/proc.py +lib/python${MODPY_VERSION}/site-packages/stem/util/proc.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/str_tools.py +lib/python${MODPY_VERSION}/site-packages/stem/util/str_tools.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/system.py +lib/python${MODPY_VERSION}/site-packages/stem/util/system.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/term.py +lib/python${MODPY_VERSION}/site-packages/stem/util/term.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/test_tools.py +lib/python${MODPY_VERSION}/site-packages/stem/util/test_tools.pyc +lib/python${MODPY_VERSION}/site-packages/stem/util/tor_tools.py +lib/python${MODPY_VERSION}/site-packages/stem/util/tor_tools.pyc +lib/python${MODPY_VERSION}/site-packages/stem/version.py +lib/python${MODPY_VERSION}/site-packages/stem/version.pyc