www/onionshare: fix DEPRECATED deps, and update pluggable transports
* fix DEPRECATED flag, by using a more reliable Python module; * used pycryptodome instead of cryptography to keep compatibility; * update pluggable transports support by adding snowflake. PR: 260897, 262503, 265390 Reported by: yuri@, ruben <ruben % verweg.com>, chris <chris % crvintel.com> Sponsored by: TorBSD Diversity Project, TDP Sponsored by: The Tor Project
This commit is contained in:
parent
d8108ed17f
commit
d0aab7f46d
2 changed files with 11 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= onionshare
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSIONPREFIX=v
|
||||
DISTVERSION= 2.2
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= www python security
|
||||
|
||||
MAINTAINER= egypcio@FreeBSD.org
|
||||
|
@ -10,22 +10,21 @@ COMMENT= Secure and anonymous file sharing via Tor
|
|||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
DEPRECATED= Depends on expired security/py-pycrypto
|
||||
EXPIRATION_DATE=2022-09-30
|
||||
|
||||
RUN_DEPENDS= tor:security/tor \
|
||||
RUN_DEPENDS= meek-client:security/meek \
|
||||
obfs4proxy:security/obfs4proxy-tor \
|
||||
snowflake-client:security/snowflake-tor \
|
||||
tor:security/tor \
|
||||
${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}Flask-HTTPAuth>=0:security/py-flask-httpauth@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}stem>=0:security/py-stem@${PY_FLAVOR}
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= cpe python:3.5+ pyqt:5
|
||||
USES= cpe python:3.6+ pyqt:5
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= micahflee
|
||||
USE_PYQT= pyqt5 sip
|
||||
USE_PYTHON= distutils autoplist noflavors
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1571236020
|
||||
SHA256 (micahflee-onionshare-v2.2_GH0.tar.gz) = 7173863d7582b05aa8fd0d2207236e3cbbb38d854aad65e3b98ec5baad521fc2
|
||||
SIZE (micahflee-onionshare-v2.2_GH0.tar.gz) = 3319589
|
||||
TIMESTAMP = 1659784168
|
||||
SHA256 (onionshare-onionshare-v2.2_GH0.tar.gz) = 7173863d7582b05aa8fd0d2207236e3cbbb38d854aad65e3b98ec5baad521fc2
|
||||
SIZE (onionshare-onionshare-v2.2_GH0.tar.gz) = 3319589
|
||||
|
|
Loading…
Reference in a new issue