aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2008-11-28 22:45:59 +0800
committergarga <garga@FreeBSD.org>2008-11-28 22:45:59 +0800
commit71a537d1ddd5ea2ee1d0ecaf51912f5b32812c29 (patch)
treeb155422d0f92f30aba79d10e8a5ccab6566cccb1 /security
parentbbc8318742e390e4c4b19222f61e1121fc368fff (diff)
downloadfreebsd-ports-gnome-71a537d1ddd5ea2ee1d0ecaf51912f5b32812c29.tar.gz
freebsd-ports-gnome-71a537d1ddd5ea2ee1d0ecaf51912f5b32812c29.tar.zst
freebsd-ports-gnome-71a537d1ddd5ea2ee1d0ecaf51912f5b32812c29.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)
Diffstat (limited to 'security')
-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"