rc startup script has /usr/local hard-coded. Fix: -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"--pMU0kt7yEcEEnusIH4dtVwVf3jc6uNqyqdhUNlVVLwp7ZGIf Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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
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
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->wxs I'll take it.
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 Committed. Thanks!
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"