From owner-svn-ports-head@freebsd.org Wed Jul 11 06:45:36 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6DDB4103C97C; Wed, 11 Jul 2018 06:45:36 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 233D580DB5; Wed, 11 Jul 2018 06:45:36 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 010D674CB; Wed, 11 Jul 2018 06:45:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6B6jZxs005524; Wed, 11 Jul 2018 06:45:35 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6B6jZ7N005519; Wed, 11 Jul 2018 06:45:35 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201807110645.w6B6jZ7N005519@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 11 Jul 2018 06:45:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474425 - in head/www: . onionshare onionshare/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/www: . onionshare onionshare/files X-SVN-Commit-Revision: 474425 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2018 06:45:36 -0000 Author: yuri Date: Wed Jul 11 06:45:34 2018 New Revision: 474425 URL: https://svnweb.freebsd.org/changeset/ports/474425 Log: New port: www/onionshare: Secure and anonymous file sharing via Tor PR: 225539 Submitted by: Vinícius Zavam Added: head/www/onionshare/ head/www/onionshare/Makefile (contents, props changed) head/www/onionshare/distinfo (contents, props changed) head/www/onionshare/files/ head/www/onionshare/files/patch-setup.py (contents, props changed) head/www/onionshare/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Wed Jul 11 05:50:47 2018 (r474424) +++ head/www/Makefile Wed Jul 11 06:45:34 2018 (r474425) @@ -554,6 +554,7 @@ SUBDIR += nuvolaplayer-yandex-music SUBDIR += nuvolaplayer-youtube SUBDIR += obhttpd + SUBDIR += onionshare SUBDIR += opencart SUBDIR += opera SUBDIR += opera-linuxplugins Added: head/www/onionshare/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/onionshare/Makefile Wed Jul 11 06:45:34 2018 (r474425) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= onionshare +DISTVERSIONPREFIX= v +DISTVERSION= 1.3.1 +CATEGORIES= www python security + +MAINTAINER= egypcio@googlemail.com +COMMENT= Secure and anonymous file sharing via Tor + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= tor:security/tor \ + obfs4proxy:security/obfs4proxy-tor \ + ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}stem>0:security/py-stem@${PY_FLAVOR} + +USES= python:3.4+ pyqt:5 +USE_GITHUB= yes +GH_ACCOUNT= micahflee +USE_PYQT= core gui sip widgets # "sip" should be "sip_build", but "import PyQt5.QtCore" wants "sip". See bug#225040 +USE_PYTHON= distutils autoplist noflavors + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/onionshare/common.py + +.include Added: head/www/onionshare/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/onionshare/distinfo Wed Jul 11 06:45:34 2018 (r474425) @@ -0,0 +1,3 @@ +TIMESTAMP = 1531289450 +SHA256 (micahflee-onionshare-v1.3.1_GH0.tar.gz) = 87e1fa965482064e8c7c8bc32326f5748fd038f7d2af6f51056444db22ef0357 +SIZE (micahflee-onionshare-v1.3.1_GH0.tar.gz) = 436741 Added: head/www/onionshare/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/onionshare/files/patch-setup.py Wed Jul 11 06:45:34 2018 (r474425) @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-07-11 06:12:43 UTC ++++ setup.py +@@ -54,7 +54,7 @@ data_files=[ + (os.path.join(sys.prefix, 'share/onionshare/locale'), file_list('share/locale')), + (os.path.join(sys.prefix, 'share/onionshare/html'), file_list('share/html')), + ] +-if platform.system() != 'OpenBSD': ++if not platform.system().endswith('BSD'): + data_files.append(('/usr/share/nautilus-python/extensions/', ['install/scripts/onionshare-nautilus.py'])) + + setup( Added: head/www/onionshare/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/onionshare/pkg-descr Wed Jul 11 06:45:34 2018 (r474425) @@ -0,0 +1,10 @@ +OnionShare is an open source tool that lets you securely and anonymously +share a file of any size over the Tor network. It works by starting a web +server that is accessible as a Tor onion (hidden) service, and generating +an unguessable URL to access and download the files. + +It doesn't require setting up a server on the Internet somewhere, +on a Virtual Private Server (VPS), or using a third party file-sharing +service. It simply shares files you want over the Tor network. + +WWW: https://onionshare.org