ports/154548: Pootle's rc.d script don't take into account a "pootle_flags=" option

Oleksiy Zagorskiy zalex_ua at i.ua
Sun Feb 6 10:00:25 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list