From nobody Sat Aug 06 10:53:22 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M0K7l22Tkz4YgyH; Sat, 6 Aug 2022 10:53:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M0K7l1LgCz4FZm; Sat, 6 Aug 2022 10:53:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659783203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zpqgrBAckgXR48CAvCQETT/YAZfzKiqT/mZ/g7C4myA=; b=ek+NBBrkTbgp91HpwGlgluZ9tqVJ0OwhhmhDyfJxBzmmWnS5rKxklm1S+Fq6++bpz0rRsb 68v+hFQZp78gm8bqmX6N4JCWt5PIdotZfymlgSmYbfSNBO7dsHLD2TRvrTzDXg9DLfHTiN RsLi6AZhkBnU8eKIGM9Tw87Q7Le5++VXzEJ9kW0S8hzsNLivP4DeCtfS/4yeEBqCaDY3Yc kN4VOTrXQf1VxVwQ32kE9GkfLuPIp6uBLT7aU0+9yrja+y8NowK5AG/I58H47ZuYxudPH4 wiUryMIh67oJMU5KLjePxYiKhFilsMNwbznR/QPQag32RsloDvw8nmxqMHECpQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M0K7l0P46zW7w; Sat, 6 Aug 2022 10:53:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 276ArMvF022624; Sat, 6 Aug 2022 10:53:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 276ArM8R022623; Sat, 6 Aug 2022 10:53:22 GMT (envelope-from git) Date: Sat, 6 Aug 2022 10:53:22 GMT Message-Id: <202208061053.276ArM8R022623@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Vin=C3=ADcius=20Zavam?= Subject: git: 92c171f2bc1e - main - [NEW] net/py-cepa: Python controller library for Tor List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: egypcio X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 92c171f2bc1eefb871102bf70e6b860b4806596f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659783203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zpqgrBAckgXR48CAvCQETT/YAZfzKiqT/mZ/g7C4myA=; b=LfSUf4O1PfwRjNp0/CnPzIm0fOJpxR9w9iMWlKDF+Wfk6nhMq8sgY81nnI0SyARsObojNM 0dlaUX5BJuWKXLwBvGefHPGaxV2A/sxvQzNlSN3ZuTNYuPuZCy5RQMfah8fIAkcBt5vuhG T2jVyyRNwRe6I+LcdIaTKl6a2hexz9gDZPJref8WyNpnPcdCHYkwaFS4+UmBXooeMHGrnk fB8/R+PG9rBIYGdSBrm9UDbMQI+rKh/b42bSLTX8RYPwOietooSLrSrc/FGMFM3+gbOjZE pt/QDitB0xwcIAX1InCXV9DkTIVsVaHcxG4aeS/OSWdOAVYmVtZL310WvZyHzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659783203; a=rsa-sha256; cv=none; b=azRaFEST9UzN25qyfhzwdT3q7V8h5SVqX/t6gj80XVTG49B7rcV8eKDi2WgS3VmC92MMR1 896XhDCrk1MbDXRKqp2Ro3Wq1QsU6Kc3ZCpqHwi97g+RnX5aHplP9GgDUN/GiGMoHiaHhy SbY762MobZqEvxSeeRMEKo07DDd4HCFVwMgpwM3L7RQW8GkR08rLP/z/YLIResASuuWYgq 3P6VpU6tnWkq7AWzkzeAad+Yc9VhsA0gBiGCCB4/+WOZmoxvcgtR26EMaq2NIwfcs4MWcr g6JNGXYnh6AbNqzGtyxqzp/xDbMIbsztcjl1ILyBqlTWQRsZJSvJI4yMMhq8Zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by egypcio: URL: https://cgit.FreeBSD.org/ports/commit/?id=92c171f2bc1eefb871102bf70e6b860b4806596f commit 92c171f2bc1eefb871102bf70e6b860b4806596f Author: Vinícius Zavam AuthorDate: 2022-08-06 10:49:50 +0000 Commit: Vinícius Zavam CommitDate: 2022-08-06 10:49:50 +0000 [NEW] net/py-cepa: Python controller library for Tor Cepa (short for allium cepa) is a fork of stem that adds support for v3 onion client authentication. With it you can use Tor's control protocol to script against the Tor process, or build things such as Nyx. WWW: https://github.com/onionshare/cepa Sponsored by: TorBSD Diversity Project, TDP Sponsored by: The Tor Project --- net/Makefile | 1 + net/py-cepa/Makefile | 34 ++++++++++++++++++++++++++++++++++ net/py-cepa/distinfo | 3 +++ net/py-cepa/pkg-descr | 7 +++++++ 4 files changed, 45 insertions(+) diff --git a/net/Makefile b/net/Makefile index 8ad763b67768..a081af47e3f6 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1026,6 +1026,7 @@ SUBDIR += py-amqp SUBDIR += py-amqplib SUBDIR += py-avahi + SUBDIR += py-cepa SUBDIR += py-cjdns SUBDIR += py-cloudflare-scrape SUBDIR += py-cloudflare-scrape-js2py diff --git a/net/py-cepa/Makefile b/net/py-cepa/Makefile new file mode 100644 index 000000000000..7eed325fc7d5 --- /dev/null +++ b/net/py-cepa/Makefile @@ -0,0 +1,34 @@ +PORTNAME= cepa +PORTVERSION= 1.8.3 +CATEGORIES= net security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= egypcio@FreeBSD.org +COMMENT= Python controller library for Tor, with v3 onion client auth support + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR}\ + ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} + +TEST_DEPENDS= tor:security/tor \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} + +USES= python:3.6+ shebangfix +USE_PYTHON= distutils autoplist concurrent +NO_ARCH= yes + +SHEBANG_FILES= *.py +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}stem-* + +do-test: + @cd ${WRKSRC} \ + && ${PYTHON_CMD} run_tests.py -a + +.include diff --git a/net/py-cepa/distinfo b/net/py-cepa/distinfo new file mode 100644 index 000000000000..4790cb496f68 --- /dev/null +++ b/net/py-cepa/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1646239491 +SHA256 (cepa-1.8.3.tar.gz) = 1dc6f0b324d37a2ed2ca274648ece8fd2c96a1d2f440f58c0ca17afd4b5ede7a +SIZE (cepa-1.8.3.tar.gz) = 2858826 diff --git a/net/py-cepa/pkg-descr b/net/py-cepa/pkg-descr new file mode 100644 index 000000000000..4df02f739228 --- /dev/null +++ b/net/py-cepa/pkg-descr @@ -0,0 +1,7 @@ +Cepa (short for allium cepa) is a fork of stem that adds support for v3 onion +client authentication. Stem is a Python controller library for Tor. + +With it you can use Tor's control protocol to script against the Tor process, +or build things such as Nyx. + +WWW: https://github.com/onionshare/cepa