Hi, I've got a problem with the fprobe rc script that ignore use my own fprobe_flags in the rc.conf. Here is a small patch that fix this problem. Fix: Applying this patch: #cat patches/ports.fprobe.patch name="%%NAME%%" rcvar=%%NAME%%_enable +load_rc_config $name +: ${fprope_enable:=no} +: ${fprobe_flags:="-i lo0 127.0.0.1:2055"} command="%%PREFIX%%/sbin/fprobe" -command_args="-i lo0 127.0.0.1:2055" pidfile="/var/run/$name.pid" load_rc_config "$name"--WUrQ7Am594xdoB6jaZ5bocjxvPzDTFDXThoeO81TKRWDz0zM Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- net-mgmt/fprobe/files/fprobe.in.orig 2012-12-18 13:50:22.000000000 +0100 +++ net-mgmt/fprobe/files/fprobe.in 2012-12-18 13:51:43.000000000 +0100 @@ -17,9 +17,11 @@
State Changed From-To: open->closed Committed, with minor changes. Thanks!
Author: jadawin Date: Wed Jan 30 16:01:32 2013 New Revision: 311223 URL: http://svnweb.freebsd.org/changeset/ports/311223 Log: - Fix rc script for fprobe_flags PR: ports/174539 Submitted by: Olivier Cochard-Labbe <olivier@cochard.me> Modified: head/net-mgmt/fprobe/files/fprobe.in (contents, props changed) Modified: head/net-mgmt/fprobe/files/fprobe.in ============================================================================== --- head/net-mgmt/fprobe/files/fprobe.in Wed Jan 30 16:01:28 2013 (r311222) +++ head/net-mgmt/fprobe/files/fprobe.in Wed Jan 30 16:01:32 2013 (r311223) @@ -18,11 +18,12 @@ name="%%NAME%%" rcvar=%%NAME%%_enable -command="%%PREFIX%%/sbin/fprobe" -command_args="-i lo0 127.0.0.1:2055" -pidfile="/var/run/$name.pid" - load_rc_config "$name" + : ${fprobe_enable="NO"} +: ${fprobe_flags:="-i lo0 127.0.0.1:2055"} + +command="%%PREFIX%%/sbin/fprobe" +pidfile="/var/run/$name.pid" run_rc_command "$1" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"