From nobody Fri Dec 30 13:12:01 2022 X-Original-To: dev-commits-ports-main@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 4Nk5JL1xzjz2lG7V; Fri, 30 Dec 2022 13:12:02 +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 4Nk5JL1VtWz44qH; Fri, 30 Dec 2022 13:12:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672405922; 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=ACebQwwtfCSPwlKn8qHs88+iYaPNNLlP5/Vs5JxRgpY=; b=Kk+YgKVDne1tCNuz/BfcXu0diQGb6DAS01xDlstczL20rod6XbQnwJSxTQ1Zr3v4i1TRd0 1SgqhtF3JFpDhrFEJopoPExk1MxQkih52M5rlPYucoLcx+1n78By6Nmnfd6vZjIHCL/aqB 77BtcCrtmEOqro2M4pBCbXJ7S+CUKr7ubyXErrEtlaFF5hMlAX4szCzopgXhWTpxgQ+NAs OWB6qxnchOU/YmLy+11thHgsrIEOhRmqwk0Q64XmALZSq2vQK7hGVY7+GMavnjIG1py8jt MSiuYyG56/dhHCKqhkyPe2yJdkAaFInFTRLC9oRBYhr+MNrUSC3YvtMJwIZ8ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672405922; 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=ACebQwwtfCSPwlKn8qHs88+iYaPNNLlP5/Vs5JxRgpY=; b=rB/fJqmONkJcMgLT/G/IaCpET1vZ77DgX8+PNThXwaeb5fUXjFDIjjEnxWdKjwaUfC0nud 9ds17PHBaH8eJ3H/9XiwNGi53zw2PBkqZMR+xxSOT5xVEa8z9WaEpUzv9ueAwmGYFPRoML 687k5xKQNn64gYUYHL3rxr4JrQ6SiRVhF5ezBZjX7LoYyJuQru68nJ2xRrOtgOj9k5AfT5 GO8sjCHPL6sPhVVi8QhfrSm23mVYCWAFOqbnfuqLw/SQ3SCHrUYib1mriMHuRYrO/0Ui4m Qm+t0Hzm1Jo5JcRiH3ynTImyD/jvwgNAA4SlilUx0pSX2a5F/mqEpButwCbgxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672405922; a=rsa-sha256; cv=none; b=DKpPEiHp6FAT4PuqgKAMmccjsbRBXr0bB95A1nfK3EW/TxEkCipYYJStwX6pRLyDyZuqDd DN2PU290QxxhjUiPdCUpszvCjDrR7WpkHM3/4EjkpHHDEOCwxwxJuoMHveFhLDxd14e3pK cFt8hG7rpUCcpeRk+k79u/cnIxQnWQZJEOAtKzn7VfZK8t92kYWF9xzb0IDBvablgV6gZB BvlC5kFwaAQPmmOMySUiHbodCvbc3/sdHVWwBgsTpeeUhY+8boIMMWCAtbLqmE8FE2TuxJ aeSt3xrB+iWEXX0e2Hy1Lfk+qs6mX2lDkUGCA0L87xUHHjtiWmwwz7L6rRdCaQ== 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 4Nk5JL0ZmHz18tR; Fri, 30 Dec 2022 13:12:02 +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 2BUDC1lT072377; Fri, 30 Dec 2022 13:12:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BUDC1u3072376; Fri, 30 Dec 2022 13:12:01 GMT (envelope-from git) Date: Fri, 30 Dec 2022 13:12:01 GMT Message-Id: <202212301312.2BUDC1u3072376@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: 6b003a5e7cf7 - main - www/onionshare: update 2.2_8 to 2.6 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 6b003a5e7cf7ecfba10932845c83b4443131570f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by egypcio: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b003a5e7cf7ecfba10932845c83b4443131570f commit 6b003a5e7cf7ecfba10932845c83b4443131570f Author: Vinícius Zavam AuthorDate: 2022-12-30 13:04:31 +0000 Commit: Vinícius Zavam CommitDate: 2022-12-30 13:04:31 +0000 www/onionshare: update 2.2_8 to 2.6 * github.com/onionshare/onionshare/blob/v2.6/CHANGELOG.md * github.com/onionshare/onionshare/compare/v2.2...v2.6 PR: 265955 Sponsored by: TorBSD Diversity Project, TDP Sponsored by: The Tor Project --- www/onionshare/Makefile | 56 ++++++++++++++++++++++++++++++++++++++++--------- www/onionshare/distinfo | 6 +++--- 2 files changed, 49 insertions(+), 13 deletions(-) diff --git a/www/onionshare/Makefile b/www/onionshare/Makefile index 3ce3c3440a5f..8d3c74a60d05 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 diff --git a/www/onionshare/distinfo b/www/onionshare/distinfo index e4662e4fea02..b7e5b197c795 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