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.
This commit is contained in:
pascal 2015-04-13 11:34:53 +00:00
parent 1289b2b36e
commit 52defd0c16
4 changed files with 127 additions and 0 deletions

24
net/stem/Makefile Normal file
View File

@ -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 <Pascal.Stumpf@cubes.de>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
EXTRACT_SUFX = .tar.bz2
MODULES = lang/python
MODPY_PI = Yes
NO_TEST = Yes
.include <bsd.port.mk>

2
net/stem/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (stem-1.3.0.tar.bz2) = dw43AVbg6SqYYuRnDuP0rDhXQgBuV4YIUo7hbLq51BY=
SIZE (stem-1.3.0.tar.bz2) = 1481513

6
net/stem/pkg/DESCR Normal file
View File

@ -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.

95
net/stem/pkg/PLIST Normal file
View File

@ -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