Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2011 09:55:30 GMT
From:      Oleksiy Zagorskiy <zalex_ua@i.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154548: Pootle's rc.d script don't take into account a "pootle_flags=" option
Message-ID:  <201102060955.p169tU7X073278@red.freebsd.org>
Resent-Message-ID: <201102061000.p16A0Oqu069186@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154548
>Category:       ports
>Synopsis:       Pootle's rc.d script don't take into account a "pootle_flags=" option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 06 10:00:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Oleksiy Zagorskiy
>Release:        8.1
>Organization:
>Environment:
FreeBSD hostname.ua 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
http://www.freshports.org/textproc/pootle/

Pootle's rc.d script don't take into account a "pootle_flags=" option
>How-To-Repeat:

>Fix:
--        /usr/sbin/daemon -p ${pidfile} -u ${pootle_user} ${command} \
++        /usr/sbin/daemon -p ${pidfile} -u ${pootle_user} ${command} ${pootle_flags} \


Patch attached with submission follows:

--- pootle.sh.in	2010-06-28 20:43:08.000000000 +0300
+++ pootle.sh.in.new	2011-02-06 11:50:47.000000000 +0200
@@ -47,7 +47,7 @@
 
 pootle_start_cmd () {
 	[ -z "${rc_quiet}" ] && echo "Starting ${name}."
-	/usr/sbin/daemon -p ${pidfile} -u ${pootle_user} ${command} \
+	/usr/sbin/daemon -p ${pidfile} -u ${pootle_user} ${command} ${pootle_flags} \
 		>>${pootle_stdout} 2>>${pootle_stderr}
 }
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102060955.p169tU7X073278>