Date: Fri, 10 May 2013 16:07:27 +0000 (UTC) From: Paul Schmehl <pauls@utdallas.edu> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/178488: security/barnyard2, port update, fix rc script problem Message-ID: <20130510160727.3B45710376D1D@buttercup4.utdallas.edu> Resent-Message-ID: <201305101610.r4AGA0B3064317@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130510160727.3B45710376D1D>