Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2017 02:24:48 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448507 - in head/security/zeronet: . files
Message-ID:  <201708220224.v7M2Om28040874@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Aug 22 02:24:48 2017
New Revision: 448507
URL: https://svnweb.freebsd.org/changeset/ports/448507

Log:
  security/zeronet: Removed the unnecessary TOR option
  
  PR:		221615
  Submitted by:	Yuri Victorovich <yuri@rawbw.com>

Modified:
  head/security/zeronet/Makefile
  head/security/zeronet/files/pkg-message.in

Modified: head/security/zeronet/Makefile
==============================================================================
--- head/security/zeronet/Makefile	Tue Aug 22 02:11:39 2017	(r448506)
+++ head/security/zeronet/Makefile	Tue Aug 22 02:24:48 2017	(r448507)
@@ -4,6 +4,7 @@
 PORTNAME=	zeronet
 PORTVERSION=	0.5.7
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	security net-p2p
 
 MAINTAINER=	yuri@rawbw.com
@@ -13,7 +14,8 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}msgpack-python>0:devel/py-msgpack-python \
-		${PYTHON_PKGNAMEPREFIX}gevent>=1.0.2:devel/py-gevent
+		${PYTHON_PKGNAMEPREFIX}gevent>=1.0.2:devel/py-gevent \
+		${PYTHON_PKGNAMEPREFIX}stem>0:security/py-stem
 
 SUB_FILES=	zeronet-service zeronet-cmd pkg-message
 SUB_LIST=	LOCALBASE=${LOCALBASE} USER=${USER} GROUP=${GROUP}
@@ -27,22 +29,14 @@ GH_ACCOUNT=	HelloZeroNet
 GH_PROJECT=	ZeroNet
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	TOR DEBUG
-TOR_DESC=	Enable TOR anonymity network integration
+OPTIONS_DEFINE=	DEBUG
 
-TOR_RUN_DEPENDS=tor:security/tor \
-		${PYTHON_PKGNAMEPREFIX}stem>0:security/py-stem
 DEBUG_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MTOR}
-USER=		_tor
-GROUP=		_tor
-.else
 USER=		nobody
 GROUP=		nobody
-.endif
 
 do-build:
 	@(cd ${WRKSRC} && \

Modified: head/security/zeronet/files/pkg-message.in
==============================================================================
--- head/security/zeronet/files/pkg-message.in	Tue Aug 22 02:11:39 2017	(r448506)
+++ head/security/zeronet/files/pkg-message.in	Tue Aug 22 02:24:48 2017	(r448507)
@@ -16,10 +16,12 @@ To run ZeroNet commands:
 For example, to create a new ZeroNet site:
 # su -m %%USER%% zeronet siteCreate
 
-For Tor integration (recommended) please have these items:
-* option TOR=on in zeronet package
-* make sure %%LOCALBASE%%/etc/tor/torrc has "ControlPort 9051"
-* make sure tor service runs (service tor start)
+For Tor integration (recommended) please make sure:
+* Tor is installed:
+  # pkg install tor
+* %%LOCALBASE%%/etc/tor/torrc has "ControlPort 9051"
+* Tor service runs:
+  # service tor start
 * zeronet_args in /etc/rc.conf has "--tor enable" or "--tor always"
 
 Without the Tor integration, you need to make sure that your router



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708220224.v7M2Om28040874>