ports/178488: security/barnyard2, port update, fix rc script problem

Paul Schmehl pauls at utdallas.edu
Fri May 10 16:10:00 UTC 2013


>Number:         178488
>Category:       ports
>Synopsis:       security/barnyard2, port update, fix rc script problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 10 16:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Paul Schmehl
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
The University of Texas at Dallas
>Environment:
System: FreeBSD hostname.utdallas.edu 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:
	security/barnyard2, port update, fix rc script problem
	position of rc_config was incorrect causing script to ignore /etc/rc.conf
>How-To-Repeat:
	
>Fix:

	

--- barnyard2.diff begins here ---
Index: files/barnyard2.in
===================================================================
--- files/barnyard2.in	(revision 317824)
+++ files/barnyard2.in	(working copy)
@@ -24,6 +24,9 @@
 
 name="barnyard2"
 rcvar=barnyard2_enable
+
+load_rc_config $name
+
 # set some defaults
 : ${barnyard2_enable="NO"}
 : ${barnyard2_conf="%%PREFIX%%/etc/barnyard2.conf"}
@@ -32,8 +35,6 @@
 command="%%PREFIX%%/bin/barnyard2"
 command_args="-c ${barnyard2_conf} -D"
 
-load_rc_config $name
-
 if [ -n "${barnyard2_rules}" ];then
   _1=$1
   rc=0
--- barnyard2.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list