ports/129253: [PATCH] security/tor: Fix startup script
Renato Botelho
garga at FreeBSD.org
Fri Nov 28 11:50:04 UTC 2008
>Number: 129253
>Category: ports
>Synopsis: [PATCH] security/tor: Fix startup script
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 28 11:50:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Renato Botelho
>Release: FreeBSD 8.0-CURRENT i386
>Organization:
FreeBSD.org
>Environment:
System: FreeBSD botelhor.bplab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #27 r185293: Tue Nov 25 10:50:29 BRST
>Description:
- 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.
Port maintainer (miwi at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- tor-0.2.0.32_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/tor/Makefile,v
retrieving revision 1.44
diff -u -u -r1.44 Makefile
--- Makefile 25 Nov 2008 18:12:51 -0000 1.44
+++ Makefile 28 Nov 2008 11:46:04 -0000
@@ -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/ \
Index: files/tor.in
===================================================================
RCS file: /home/pcvs/ports/security/tor/files/tor.in,v
retrieving revision 1.5
diff -u -u -r1.5 tor.in
--- files/tor.in 25 Nov 2008 18:12:51 -0000 1.5
+++ files/tor.in 28 Nov 2008 11:46:04 -0000
@@ -37,7 +37,7 @@
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"
--- tor-0.2.0.32_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list