FreeBSD Bugzilla – Attachment 239132 Details for
Bug 265955
[PATCH] www/onionshare: update 2.2 to 2.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] www/onionshare: update 2.2 to 2.6
onionshare26.diff (text/plain), 4.20 KB, created by
VinÃcius Zavam
on 2022-12-30 13:07:11 UTC
(
hide
)
Description:
[PATCH] www/onionshare: update 2.2 to 2.6
Filename:
MIME Type:
Creator:
VinÃcius Zavam
Created:
2022-12-30 13:07:11 UTC
Size:
4.20 KB
patch
obsolete
>diff --git a/www/onionshare/Makefile b/www/onionshare/Makefile >index 3ce3c3440..8d3c74a60 100644 >--- a/www/onionshare/Makefile >+++ b/www/onionshare/Makefile >@@ -1,8 +1,8 @@ > PORTNAME= onionshare > DISTVERSIONPREFIX=v >-DISTVERSION= 2.2 >-PORTREVISION= 8 >-CATEGORIES= www python security >+DISTVERSION= 2.6 >+CATEGORIES= www security python >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > > MAINTAINER= egypcio@FreeBSD.org > COMMENT= Secure and anonymous file sharing via Tor >@@ -15,21 +15,57 @@ 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}Flask>=0:www/py-flask@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}atomicwrites>=0:devel/py-atomicwrites@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}cepa>=0:net/py-cepa@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}eventlet>=0:net/py-eventlet@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}flask-socketio>=0:www/py-flask-socketio@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}gevent-websocket>=0:www/py-gevent-websocket@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}onionshare-cli>=0:www/onionshare-cli@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pynacl>=0:security/py-pynacl@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pyside2>=0:devel/pyside2@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}qrcode>=0:textproc/py-qrcode@${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} >+ ${PYTHON_PKGNAMEPREFIX}shiboken2>=0:devel/shiboken2@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}unidecode>=0:converters/py-unidecode@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-qt>=0:devel/py-pytest-qt@${PY_FLAVOR} > >-USES= cpe python:3.6+ pyqt:5 >+USES= cpe python:3.6+ pyqt:5 qt:5 shebangfix xorg > USE_GITHUB= yes > USE_PYQT= pyqt5 sip >-USE_PYTHON= distutils autoplist noflavors >+USE_PYTHON= distutils autoplist >+USE_XORG= x11 xcb >+ >+PYSETUP= ${WRKSRC}/desktop/setup.py >+SHEBANG_FILES= ${WRKSRC}/cli/*.py \ >+ ${WRKSRC}/cli/onionshare_cli/*.py \ >+ ${WRKSRC}/cli/tests/*.py \ >+ ${WRKSRC}/desktop/*.py \ >+ ${WRKSRC}/desktop/scripts/*.py \ >+ ${WRKSRC}/desktop/tests/*.py > > post-patch: >- @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/onionshare/common.py >+ ${RLN} ${WRKSRC}/cli/onionshare_cli ${WRKSRC}/onionshare-cli >+ ${RLN} ${WRKSRC}/desktop/onionshare ${WRKSRC}/onionshare >+ ${REINPLACE_CMD} 's|"onionshare-cli = onionshare_cli:main",||' ${PYSETUP} >+ ${RM} ${WRKSRC}/desktop/package/onionshare-cli.py >+ >+# https://github.com/onionshare/onionshare/blob/main/desktop/tests/run.sh >+do-test: >+ cd ${WRKSRC}/desktop \ >+ && ${PYTHON_CMD} -m pytest -v tests/test_gui_tabs.py \ >+ && ${PYTHON_CMD} -m pytest -v tests/test_gui_share.py \ >+ && ${PYTHON_CMD} -m pytest -v tests/test_gui_receive.py \ >+ && ${PYTHON_CMD} -m pytest -v tests/test_gui_website.py \ >+ && ${PYTHON_CMD} -m pytest -v tests/test_gui_chat.py > > .include <bsd.port.mk> >diff --git a/www/onionshare/distinfo b/www/onionshare/distinfo >index e4662e4fe..b7e5b197c 100644 >--- a/www/onionshare/distinfo >+++ b/www/onionshare/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1659784168 >-SHA256 (onionshare-onionshare-v2.2_GH0.tar.gz) = 7173863d7582b05aa8fd0d2207236e3cbbb38d854aad65e3b98ec5baad521fc2 >-SIZE (onionshare-onionshare-v2.2_GH0.tar.gz) = 3319589 >+TIMESTAMP = 1672155861 >+SHA256 (onionshare-onionshare-v2.6_GH0.tar.gz) = 40006a612a90bf31df697936c26e8dca16384bc8c7ef084ef7b1a21651c84304 >+SIZE (onionshare-onionshare-v2.6_GH0.tar.gz) = 8106401
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265955
:
236021
| 239132