ports/93692: security/tor-devel
Peter Thoenen
peter.thoenen at yahoo.com
Wed Mar 22 20:50:41 UTC 2006
The following reply was made to PR ports/93692; it has been noted by GNATS.
From: Peter Thoenen <peter.thoenen at yahoo.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/93692: security/tor-devel
Date: Wed, 22 Mar 2006 12:46:09 -0800 (PST)
--0-1147251240-1143060369=:54581
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Id:
Content-Disposition: inline
Not sure when this will ever get closed (going on the 3rd update ;) but
attached is the latest and greatest. Also included some fixes per PR 94621
--0-1147251240-1143060369=:54581
Content-Type: text/plain; name="tor.diff.txt"
Content-Description: 3935507696-tor.diff.txt
Content-Disposition: inline; filename="tor.diff.txt"
diff -ruN tor-devel.orig/Makefile tor-devel/Makefile
--- tor-devel.orig/Makefile Wed Feb 22 06:34:44 2006
+++ tor-devel/Makefile Wed Mar 22 11:18:31 2006
@@ -6,11 +6,11 @@
#
PORTNAME= tor
-PORTVERSION= 0.1.1.13
+PORTVERSION= 0.1.1.16
CATEGORIES= security net
MASTER_SITES= http://tor.eff.org/dist/
PKGNAMESUFFIX= -devel
-DISTNAME= ${PORTNAME}-${PORTVERSION}-alpha
+DISTNAME= ${PORTNAME}-${PORTVERSION}-rc
MAINTAINER= peter.thoenen at yahoo.com
COMMENT= An anonymizing overlay network for TCP
@@ -23,7 +23,6 @@
USE_RC_SUBR= tor
SUB_FILES= pkg-message
-PKG_MESSAGE= ${WRKSRC}/pkg-message
CONFLICTS= tor-[0-9]*
@@ -45,13 +44,10 @@
${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
- @${MKDIR} /var/run/tor
- @${CHOWN} _tor:_tor /var/run/tor
@${TOUCH} /var/log/tor
@${CHOWN} _tor:_tor /var/log/tor
@${MKDIR} /var/db/tor
- @${MKDIR} /var/db/tor/data
- @${CHOWN} -R _tor:_tor /var/db/tor
+ @${CHOWN} _tor:_tor /var/db/tor
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff -ruN tor-devel.orig/distinfo tor-devel/distinfo
--- tor-devel.orig/distinfo Wed Feb 22 06:34:44 2006
+++ tor-devel/distinfo Wed Mar 22 17:23:38 2006
@@ -1,3 +1,3 @@
-MD5 (tor-0.1.1.13-alpha.tar.gz) = 5cdf6c5ed20efd7048ee1257cbcc1b4e
-SHA256 (tor-0.1.1.13-alpha.tar.gz) = cb15a83ed8ad87d67c0685b20a41096c32211f20ae321f39ed110d7ace38e29f
-SIZE (tor-0.1.1.13-alpha.tar.gz) = 756583
+MD5 (tor-0.1.1.16-rc.tar.gz) = 428a3b9623ead8178c5fcba464bce470
+SHA256 (tor-0.1.1.16-rc.tar.gz) = 5cdbb5b79d7f0168ccd83122392114f28c01402ccd2c83b08281e58bcd591e34
+SIZE (tor-0.1.1.16-rc.tar.gz) = 788930
diff -ruN tor-devel.orig/files/pkg-message.in tor-devel/files/pkg-message.in
--- tor-devel.orig/files/pkg-message.in Wed Feb 22 06:34:44 2006
+++ tor-devel/files/pkg-message.in Wed Mar 22 11:20:36 2006
@@ -1,6 +1,5 @@
-=====================================================================================
-
+================================================================================
To enable the tor server, set tor_enable="YES" in your /etc/rc.conf
-and edit %%PREFIX%%/etc/tor/torrc
-
-=====================================================================================
+and edit %%PREFIX%%/etc/tor/torrc. Also note that the rc.subr script overrides
+many torrc options and is tunable. See %%PREFIX%%/etc/rc.d/tor.sh for details
+================================================================================
diff -ruN tor-devel.orig/files/tor.in tor-devel/files/tor.in
--- tor-devel.orig/files/tor.in Wed Feb 22 06:34:44 2006
+++ tor-devel/files/tor.in Wed Mar 22 11:24:40 2006
@@ -12,7 +12,10 @@
# tor_conf (str): Points to your tor conf file
# Default: %%PREFIX%%/etc/tor/torrc
# tor_user (str): Tor Daemon user. Default _tor
-# tor_groupr (str): Tor Daemon group. Default _tor
+# tor_group (str): Tor Daemon group. Default _tor
+# tor_datadir (str): Tor DataDir. Defaults /var/db/tor
+# This will overide your torrc as it is
+# a command line option.
#
. %%RC_SUBR%%
@@ -28,7 +31,7 @@
: ${tor_group="_tor"}
: ${tor_pidfile="/var/run/tor/tor.pid"}
: ${tor_logfile="/var/log/tor"}
-: ${tor_datadir="/var/run/tor"}
+: ${tor_datadir="/var/db/tor"}
required_files=${tor_conf}
required_dirs=${tor_datadir}
--0-1147251240-1143060369=:54581--
More information about the freebsd-ports-bugs
mailing list