ports/174539: net-mgmt/fprobe rc script patch

Olivier Cochard-Labbe olivier at cochard.me
Tue Dec 18 13:00:01 UTC 2012


>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 at 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:


More information about the freebsd-ports-bugs mailing list