Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2012 00:28:43 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302142 - in head: dns/bindgraph/files mail/couriergraph/files mail/mailgraph/files mail/ovs/files security/amavisd-new/files security/xinetd/files
Message-ID:  <201208060028.q760ShZF057326@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Mon Aug  6 00:28:43 2012
New Revision: 302142
URL: http://svn.freebsd.org/changeset/ports/302142

Log:
  Fix what looks like a copy-paste-o that originated in the same script:
  
  command=foo >/dev/null 2>&1
  	|
  	v
  command=foo
  command_args='>/dev/null 2>&1'
  
  This is clearly what should have been done, for several reasons.
  
  No PORTREVISION bump because the old version simply ignored everything
  after the space, and does not seem to have done any harm. However
  it's good to clean these up so that similar errors aren't pasted into
  a new script where they might actually matter.

Modified:
  head/dns/bindgraph/files/bindgraph.in
  head/mail/couriergraph/files/couriergraph.in
  head/mail/mailgraph/files/mailgraph.in
  head/mail/ovs/files/ovs.in
  head/security/amavisd-new/files/amavisd.in
  head/security/xinetd/files/xinetd.in

Modified: head/dns/bindgraph/files/bindgraph.in
==============================================================================
--- head/dns/bindgraph/files/bindgraph.in	Sun Aug  5 23:19:36 2012	(r302141)
+++ head/dns/bindgraph/files/bindgraph.in	Mon Aug  6 00:28:43 2012	(r302142)
@@ -15,7 +15,8 @@
 name="bindgraph"
 rcvar=bindgraph_enable
 
-command=%%PREFIX%%/sbin/${name}.pl > /dev/null 2>&1
+command=%%PREFIX%%/sbin/${name}.pl
+command_args='> /dev/null 2>&1'
 command_interpreter=/usr/bin/perl
 stop_postcmd=stop_postcmd
 

Modified: head/mail/couriergraph/files/couriergraph.in
==============================================================================
--- head/mail/couriergraph/files/couriergraph.in	Sun Aug  5 23:19:36 2012	(r302141)
+++ head/mail/couriergraph/files/couriergraph.in	Mon Aug  6 00:28:43 2012	(r302142)
@@ -16,7 +16,8 @@
 name=couriergraph
 rcvar=couriergraph_enable
 
-command=%%PREFIX%%/sbin/couriergraph.pl > /dev/null 2>&1
+command=%%PREFIX%%/sbin/couriergraph.pl
+command_args='> /dev/null 2>&1'
 command_interpreter=/usr/bin/perl
 stop_postcmd=stop_postcmd
 

Modified: head/mail/mailgraph/files/mailgraph.in
==============================================================================
--- head/mail/mailgraph/files/mailgraph.in	Sun Aug  5 23:19:36 2012	(r302141)
+++ head/mail/mailgraph/files/mailgraph.in	Mon Aug  6 00:28:43 2012	(r302142)
@@ -15,7 +15,8 @@
 name="mailgraph"
 rcvar=mailgraph_enable
 
-command=%%PREFIX%%/sbin/${name}.pl > /dev/null 2>&1
+command=%%PREFIX%%/sbin/${name}.pl
+command_args='> /dev/null 2>&1'
 command_interpreter=/usr/bin/perl
 stop_postcmd=stop_postcmd
 

Modified: head/mail/ovs/files/ovs.in
==============================================================================
--- head/mail/ovs/files/ovs.in	Sun Aug  5 23:19:36 2012	(r302141)
+++ head/mail/ovs/files/ovs.in	Mon Aug  6 00:28:43 2012	(r302142)
@@ -15,7 +15,8 @@
 name="ovs"
 rcvar=ovs_enable
 
-command=%%PREFIX%%/sbin/${name}.pl > /dev/null 2>&1
+command=%%PREFIX%%/sbin/${name}.pl
+command_args='> /dev/null 2>&1'
 command_interpreter=/usr/bin/perl
 stop_postcmd=stop_postcmd
 

Modified: head/security/amavisd-new/files/amavisd.in
==============================================================================
--- head/security/amavisd-new/files/amavisd.in	Sun Aug  5 23:19:36 2012	(r302141)
+++ head/security/amavisd-new/files/amavisd.in	Mon Aug  6 00:28:43 2012	(r302142)
@@ -19,7 +19,8 @@
 name=amavisd
 rcvar=amavisd_enable
 
-command=%%PREFIX%%/sbin/amavisd > /dev/null 2>&1
+command=%%PREFIX%%/sbin/amavisd
+command_args='> /dev/null 2>&1'
 required_files=%%PREFIX%%/etc/amavisd.conf
 extra_commands="reload"
 

Modified: head/security/xinetd/files/xinetd.in
==============================================================================
--- head/security/xinetd/files/xinetd.in	Sun Aug  5 23:19:36 2012	(r302141)
+++ head/security/xinetd/files/xinetd.in	Mon Aug  6 00:28:43 2012	(r302142)
@@ -15,7 +15,8 @@
 name=xinetd
 rcvar=xinetd_enable
 
-command=%%PREFIX%%/sbin/xinetd > /dev/null 2>&1
+command=%%PREFIX%%/sbin/xinetd
+command_args='> /dev/null 2>&1'
 pidfile=/var/run/xinetd.pid
 
 xinetd_enable=${xinetd_enable:-"NO"}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208060028.q760ShZF057326>