Date: Tue, 18 Dec 2012 12:59:29 GMT From: Olivier Cochard-Labbe <olivier@cochard.me> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/174539: net-mgmt/fprobe rc script patch Message-ID: <201212181259.qBICxTKM050906@red.freebsd.org> Resent-Message-ID: <201212181300.qBID0008013018@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 174539 >Category: ports >Synopsis: net-mgmt/fprobe rc script patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 18 13:00:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbe >Release: 9.1 >Organization: BSD Router Project >Environment: FreeBSD orange.bsdrp.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 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. >How-To-Repeat: >Fix: Applying this patch: #cat patches/ports.fprobe.patch --- 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 @@ 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" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212181259.qBICxTKM050906>