aboutsummaryrefslogtreecommitdiff
path: root/security/tor
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2008-11-28 14:45:59 +0000
committerRenato Botelho <garga@FreeBSD.org>2008-11-28 14:45:59 +0000
commitf81d32631290248503d693e41af4c9e71c36c1e4 (patch)
treea02cb8b474b9df8a28d0b9824eb404ca4b3adba5 /security/tor
parenta930b9898662ee72dbb2c75de6f9c8e47d48f9d0 (diff)
downloadports-f81d32631290248503d693e41af4c9e71c36c1e4.tar.gz
ports-f81d32631290248503d693e41af4c9e71c36c1e4.zip
- Remove --User param from initialization since rc(8) uses su(1) when a var
${name}_user is defined (su -m user). When --User param is defined in this scenario, tor don't start because when you use --User param you must to start it with root user. PR: ports/129253 Submitted by: garga Approved by: miwi (maintainer)
Notes
Notes: svn path=/head/; revision=223492
Diffstat (limited to 'security/tor')
-rw-r--r--security/tor/Makefile2
-rw-r--r--security/tor/files/tor.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/tor/Makefile b/security/tor/Makefile
index e3ca033619eb..3039745dd28d 100644
--- a/security/tor/Makefile
+++ b/security/tor/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tor
DISTVERSION= 0.2.0.32
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security net
MASTER_SITES= http://www.torproject.org/dist/ \
http://tor.cypherpunks.at/dist/ \
diff --git a/security/tor/files/tor.in b/security/tor/files/tor.in
index 1e99ca4ee204..1d6fd92816c7 100644
--- a/security/tor/files/tor.in
+++ b/security/tor/files/tor.in
@@ -37,7 +37,7 @@ 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} --Log notice\ file\ ${tor_logfile}"
+command_args="-f ${tor_conf} --PidFile ${tor_pidfile} --RunAsDaemon 1 --DataDirectory ${tor_datadir} --Log notice\ file\ ${tor_logfile}"
extra_commands="log"
log_cmd="${name}_log"