From nobody@FreeBSD.org  Sun Feb  6 09:55:31 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1F7AE1065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Feb 2011 09:55:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 0D7AE8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Feb 2011 09:55:31 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p169tUnh073279
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 6 Feb 2011 09:55:30 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p169tU7X073278;
	Sun, 6 Feb 2011 09:55:30 GMT
	(envelope-from nobody)
Message-Id: <201102060955.p169tU7X073278@red.freebsd.org>
Date: Sun, 6 Feb 2011 09:55:30 GMT
From: Oleksiy Zagorskiy <zalex_ua@i.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Pootle's rc.d script don't take into account a "pootle_flags=" option
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         154548
>Category:       ports
>Synopsis:       textproc/pootle: Pootle's rc.d script don't take into account a "pootle_flags=" option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    skreuzer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 06 10:00:23 UTC 2011
>Closed-Date:    Tue Oct 11 15:17:12 UTC 2011
>Last-Modified:  Tue Oct 11 15:20:04 UTC 2011
>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:

From: Denis Pokataev <catone@cpan.org>
To: bug-followup@FreeBSD.org, zalex_ua@i.ua
Cc:  
Subject: Re: ports/154548: textproc/pootle: Pootle's rc.d script don't take
 into account a "pootle_flags=" option
Date: Mon, 22 Aug 2011 07:49:58 +0700

 Approved, thanks.
 
 -- 
 Regards, Denis.
Responsible-Changed-From-To: freebsd-ports-bugs->skreuzer 
Responsible-Changed-By: skreuzer 
Responsible-Changed-When: Thu Aug 25 03:09:29 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154548 
State-Changed-From-To: open->closed 
State-Changed-By: skreuzer 
State-Changed-When: Tue Oct 11 15:17:10 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154548 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/154548: commit references a PR
Date: Tue, 11 Oct 2011 15:16:29 +0000 (UTC)

 skreuzer    2011-10-11 15:16:15 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/pootle      Makefile 
     textproc/pootle/files pootle.sh.in 
   Log:
   Modify rc script to append options specified in pootle_flags to start command
   
   PR:             ports/154548
   Submitted by:   Oleksiy Zagorskiy <zalex_ua@i.ua>
   Approved by:    Denis Pokataev <catone@cpan.org> (maintainer)
   
   Revision  Changes    Path
   1.17      +1 -0      ports/textproc/pootle/Makefile
   1.5       +2 -2      ports/textproc/pootle/files/pootle.sh.in
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
