Bug 178488 - security/barnyard2, port update, fix rc script problem
security/barnyard2, port update, fix rc script problem
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Lars Engels
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-10 17:10 UTC by pauls
Modified: 2013-05-10 18:40 UTC (History)
0 users

See Also:


Attachments
barnyard2.diff (536 bytes, patch)
2013-05-10 17:10 UTC, pauls
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pauls 2013-05-10 17:10:00 UTC
	security/barnyard2, port update, fix rc script problem
	position of rc_config was incorrect causing script to ignore /etc/rc.conf
Comment 1 Lars Engels freebsd_committer 2013-05-10 18:35:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lme

I'll take it.
Comment 2 dfilter freebsd_committer 2013-05-10 18:38:14 UTC
Author: lme
Date: Fri May 10 17:38:02 2013
New Revision: 317833
URL: http://svnweb.freebsd.org/changeset/ports/317833

Log:
  Fix rc script.
  
  PR:		ports/178488
  Submitted by:	maintainer

Modified:
  head/security/barnyard2/files/barnyard2.in   (contents, props changed)

Modified: head/security/barnyard2/files/barnyard2.in
==============================================================================
--- head/security/barnyard2/files/barnyard2.in	Fri May 10 17:34:56 2013	(r317832)
+++ head/security/barnyard2/files/barnyard2.in	Fri May 10 17:38:02 2013	(r317833)
@@ -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 @@ rcvar=barnyard2_enable
 command="%%PREFIX%%/bin/barnyard2"
 command_args="-c ${barnyard2_conf} -D"
 
-load_rc_config $name
-
 if [ -n "${barnyard2_rules}" ];then
   _1=$1
   rc=0
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Lars Engels freebsd_committer 2013-05-10 18:38:21 UTC
State Changed
From-To: open->closed

Committed. Thanks!