From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 10 16:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C8BEEA8E for ; Fri, 10 May 2013 16:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 943025E9 for ; Fri, 10 May 2013 16:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4AGA0VI064318 for ; Fri, 10 May 2013 16:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4AGA0B3064317; Fri, 10 May 2013 16:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 10 May 2013 16:10:00 GMT Resent-Message-Id: <201305101610.r4AGA0B3064317@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Paul Schmehl Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5E207A6C for ; Fri, 10 May 2013 16:08:48 +0000 (UTC) (envelope-from prvs=8352feaa3=root+buttercup4@utdallas.edu) Received: from ip-relay-061.utdallas.edu (ip-relay-061.utdallas.edu [129.110.182.17]) by mx1.freebsd.org (Postfix) with ESMTP id 16972402 for ; Fri, 10 May 2013 16:08:47 +0000 (UTC) Received: from unknown (HELO mx31.utdallas.edu) ([10.110.20.31]) by ip-relay-061.utdallas.edu with ESMTP; 10 May 2013 11:07:38 -0500 Received: from buttercup4.utdallas.edu (buttercup4.utdallas.edu [10.110.4.132]) by mx31.utdallas.edu (Postfix) with ESMTP id E56D04219B for ; Fri, 10 May 2013 11:07:38 -0500 (CDT) Received: by buttercup4.utdallas.edu (Postfix, from userid 0) id 3B45710376D1D; Fri, 10 May 2013 16:07:27 +0000 (UTC) Message-Id: <20130510160727.3B45710376D1D@buttercup4.utdallas.edu> Date: Fri, 10 May 2013 16:07:27 +0000 (UTC) From: Paul Schmehl To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/178488: security/barnyard2, port update, fix rc script problem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 May 2013 16:10:00 -0000 >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: