From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 28 11:50:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80F2E106564A for ; Fri, 28 Nov 2008 11:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F3488FC1B for ; Fri, 28 Nov 2008 11:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mASBo4af028960 for ; Fri, 28 Nov 2008 11:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mASBo4D8028959; Fri, 28 Nov 2008 11:50:04 GMT (envelope-from gnats) Resent-Date: Fri, 28 Nov 2008 11:50:04 GMT Resent-Message-Id: <200811281150.mASBo4D8028959@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Renato Botelho Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FA611065677 for ; Fri, 28 Nov 2008 11:48:29 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from capeta.freebsdbrasil.com.br (capeta.freebsdbrasil.com.br [201.48.151.3]) by mx1.freebsd.org (Postfix) with SMTP id 6B7048FC08 for ; Fri, 28 Nov 2008 11:48:28 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: (qmail 52712 invoked from network); 28 Nov 2008 09:48:27 -0200 Received: by simscan 1.1.0 ppid: 52693, pid: 52699, t: 3.6437s scanners: clamav: 0.91.1/m: spam: 3.1.1 Received: from unknown (HELO botelhor.bluepex.com) (garga@189.19.84.134) by capeta.freebsdbrasil.com.br with SMTP; 28 Nov 2008 09:48:23 -0200 Received: (qmail 11127 invoked by uid 1001); 28 Nov 2008 09:48:25 -0200 Message-Id: <20081128114825.11126.qmail@botelhor.bluepex.com> Date: 28 Nov 2008 09:48:25 -0200 From: Renato Botelho To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: miwi@FreeBSD.org Subject: ports/129253: [PATCH] security/tor: Fix startup script X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2008 11:50:04 -0000 >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@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: