summaryrefslogtreecommitdiff
path: root/security/tor-devel
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-07-09 15:20:08 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-07-09 15:20:08 +0000
commit911fc120365d1eeef2539d8a33b0f5fd26ec0739 (patch)
treee44c4e73533dd6a856291e785a7274dc36694d22 /security/tor-devel
parentUse my @FreeBSd.org address. (diff)
Update to 0.1.1.22.
PR: ports/99900 Submitted by: Peter Thoenen <peter.thoenen@yahoo.com> (maintainer)
Notes
Notes: svn path=/head/; revision=167276
Diffstat (limited to 'security/tor-devel')
-rw-r--r--security/tor-devel/Makefile2
-rw-r--r--security/tor-devel/distinfo6
-rw-r--r--security/tor-devel/files/tor.in10
3 files changed, 10 insertions, 8 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile
index 18f7f3ddb78e..67aab8a9f5b2 100644
--- a/security/tor-devel/Makefile
+++ b/security/tor-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tor
-PORTVERSION= 0.1.1.21
+PORTVERSION= 0.1.1.22
CATEGORIES= security net
MASTER_SITES= http://tor.eff.org/dist/ \
http://mirror.onionland.org/dist/
diff --git a/security/tor-devel/distinfo b/security/tor-devel/distinfo
index eade7f003777..c333762fea98 100644
--- a/security/tor-devel/distinfo
+++ b/security/tor-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (tor-0.1.1.21.tar.gz) = 7eea8dbb215d771d275fb42a06f38e76
-SHA256 (tor-0.1.1.21.tar.gz) = 3b8449c1488ef82857b42144cf919a3c6cf1aacd165065904d8e62bc9a8b4437
-SIZE (tor-0.1.1.21.tar.gz) = 833839
+MD5 (tor-0.1.1.22.tar.gz) = c1706f46a96cc7491ff48e41be3c3d0a
+SHA256 (tor-0.1.1.22.tar.gz) = cb15f152ccc1f939a7c0eac42411090f339e33b30563d16e0de7d3f3b84ce011
+SIZE (tor-0.1.1.22.tar.gz) = 841296
diff --git a/security/tor-devel/files/tor.in b/security/tor-devel/files/tor.in
index e99b5c126733..23f0d6de24f6 100644
--- a/security/tor-devel/files/tor.in
+++ b/security/tor-devel/files/tor.in
@@ -6,7 +6,9 @@
# REQUIRE: NETWORKING SERVERS USR
# BEFORE: LOGIN
#
-# Add the following lines to /etc/rc.conf to enable tor
+# Add the following lines to /etc/rc.conf to enable tor.
+# All these options will overide any settings in your local torrc as
+# they are command line options.
#
# tor_enable (bool): Set to "NO" by default
# Set it to "YES" to enable tor
@@ -15,8 +17,7 @@
# tor_user (str): Tor Daemon user. 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.
+# tor_logfile (str): Tor Log File. Defaults /var/log/tor
#
. %%RC_SUBR%%
@@ -36,8 +37,9 @@ load_rc_config ${name}
required_files=${tor_conf}
required_dirs=${tor_datadir}
+pidfile=${tor_pidfile}
command="%%PREFIX%%/bin/${name}"
-command_args="-f ${tor_conf} --pidfile ${tor_pidfile} --runasdaemon 1 --datadirectory ${tor_datadir} --user ${tor_user} --group ${tor_group}"
+command_args="-f ${tor_conf} --pidfile ${tor_pidfile} --runasdaemon 1 --datadirectory ${tor_datadir} --user ${tor_user} --group ${tor_group} --log 'notice file ${tor_logfile}'"
extra_commands="log"
log_cmd="${name}_log"