From nobody@FreeBSD.org  Fri Jun 12 12:38:36 2009
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 36C78106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 12 Jun 2009 12:38:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 251CF8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 12 Jun 2009 12:38:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5CCcZH1062403
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 12 Jun 2009 12:38:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n5CCcZxq062395;
	Fri, 12 Jun 2009 12:38:35 GMT
	(envelope-from nobody)
Message-Id: <200906121238.n5CCcZxq062395@www.freebsd.org>
Date: Fri, 12 Jun 2009 12:38:35 GMT
From: Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mail/postfix-policyd-weight -- Fix prefix
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: robtone@ek-muc.de

>Number:         135504
>Category:       ports
>Synopsis:       mail/postfix-policyd-weight -- Fix prefix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 12 12:40:03 UTC 2009
>Closed-Date:    Sun Jun 14 20:25:24 UTC 2009
>Last-Modified:  Sun Jun 14 20:30:03 UTC 2009
>Originator:     Martin Tournoij
>Release:        
>Organization:
>Environment:
>Description:
rc startup script has /usr/local hard-coded.
>How-To-Repeat:

>Fix:
--- postfix-policyd-weight/files/policyd-weight.in.orig 2009-06-12 23:32:20.000000000 +0000
+++ postfix-policyd-weight/files/policyd-weight.in      2009-06-12 23:32:39.000000000 +0000
@@ -29,16 +29,16 @@
     *) echo "To make use of $name set $rcvar=\"YES\" in /etc/rc.conf" ;;
 esac

-command="/usr/local/bin/policyd-weight"
+command="%%PREFIX%%/bin/policyd-weight"
 pidfile=/var/run/policyd-weight.pid

 policyd_weight_start() {
-    /usr/local/bin/policyd-weight start
+    %%PREFIX%%/bin/policyd-weight start
 }

 policyd_weight_stop() {
     echo "Stopping $name"
-    /usr/local/bin/policyd-weight -k stop
+    %%PREFIX%%/bin/policyd-weight -k stop
 }

 run_rc_command "$1"


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Jun 12 12:40:15 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: robtone@ek-muc.de
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/135504: mail/postfix-policyd-weight -- Fix prefix
Date: Fri, 12 Jun 2009 12:40:13 UT

 Maintainer of mail/postfix-policyd-weight,
 
 Please note that PR ports/135504 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/135504
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Fri Jun 12 16:37:56 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

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

From: Robert Felber <robtone@ek-muc.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/135504: mail/postfix-policyd-weight -- Fix prefix
Date: Sun, 14 Jun 2009 12:37:18 +0200

 On Fri, Jun 12, 2009 at 12:40:13PM +0000, Edwin Groothuis wrote:
 > Maintainer of mail/postfix-policyd-weight,
 > 
 > Please note that PR ports/135504 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/135504
 
 Approved. Thanks.
 
 -- 
     Robert Felber (PGP: 896CF30B)
     Munich, Germany
State-Changed-From-To: feedback->closed 
State-Changed-By: wxs 
State-Changed-When: Sun Jun 14 20:25:22 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/135504: commit references a PR
Date: Sun, 14 Jun 2009 20:25:27 +0000 (UTC)

 wxs         2009-06-14 20:25:17 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/postfix-policyd-weight/files policyd-weight.in 
   Log:
   - Don't hardcore prefix in RC script.
   
   PR:             ports/135504
   Submitted by:   Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
   Approved by:    Robert Felber <robtone@ek-muc.de> (maintainer)
   
   Revision  Changes    Path
   1.6       +3 -3      ports/mail/postfix-policyd-weight/files/policyd-weight.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:
