aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cfengine3
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2011-03-13 01:21:18 +0000
committerCy Schubert <cy@FreeBSD.org>2011-03-13 01:21:18 +0000
commitcce8218e40b01b6660819337868a89e44062b838 (patch)
tree046a57380757df765e21c1cab46ea3671da0e152 /sysutils/cfengine3
parenta4fa73683bbea114344b98dc7a0f32a485e1c86f (diff)
downloadports-cce8218e40b01b6660819337868a89e44062b838.tar.gz
ports-cce8218e40b01b6660819337868a89e44062b838.zip
Replace dashes ("-") in rc scripts with underbars ("_").
PR: 155495 Submitted by: arin Atanasov Nikolov <dnaeon@gmail.com>
Notes
Notes: svn path=/head/; revision=270774
Diffstat (limited to 'sysutils/cfengine3')
-rw-r--r--sysutils/cfengine3/Makefile1
-rw-r--r--sysutils/cfengine3/files/cf-execd.in8
-rw-r--r--sysutils/cfengine3/files/cf-serverd.in8
3 files changed, 9 insertions, 8 deletions
diff --git a/sysutils/cfengine3/Makefile b/sysutils/cfengine3/Makefile
index bedc1ea5c8aa..0f7b52b3ab8d 100644
--- a/sysutils/cfengine3/Makefile
+++ b/sysutils/cfengine3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cfengine
PORTVERSION= 3.1.4
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.cfengine.org/tarballs/
diff --git a/sysutils/cfengine3/files/cf-execd.in b/sysutils/cfengine3/files/cf-execd.in
index cf3267f2961f..59803d5f7e15 100644
--- a/sysutils/cfengine3/files/cf-execd.in
+++ b/sysutils/cfengine3/files/cf-execd.in
@@ -8,18 +8,18 @@
#
# Add the following line to /etc/rc.conf[.local] to enable cf-execd(8)
#
-# cf-execd_enable (bool): Set to "NO" by default.
+# cf_execd_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable cf-execd.
-# cf-execd_flags (str): Custom additional arguments to be passed
+# cf_execd_flags (str): Custom additional arguments to be passed
# to cf-execd (default empty).
#
. /etc/rc.subr
-name="cf-execd"
+name="cf_execd"
rcvar=${name}_enable
-command="%%PREFIX%%/sbin/${name}"
+command="%%PREFIX%%/sbin/cf-execd"
load_rc_config $name
diff --git a/sysutils/cfengine3/files/cf-serverd.in b/sysutils/cfengine3/files/cf-serverd.in
index df5f4e8116d5..6f2ac493fbd0 100644
--- a/sysutils/cfengine3/files/cf-serverd.in
+++ b/sysutils/cfengine3/files/cf-serverd.in
@@ -8,18 +8,18 @@
#
# Add the following line to /etc/rc.conf[.local] to enable cf-serverd(8)
#
-# cf-serverd_enable (bool): Set to "NO" by default.
+# cf_serverd_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable cf-serverd.
-# cf-serverd_flags (str): Custom additional arguments to be passed
+# cf_serverd_flags (str): Custom additional arguments to be passed
# to cf-serverd (default empty).
#
. /etc/rc.subr
-name="cf-serverd"
+name="cf_serverd"
rcvar=${name}_enable
-command="%%PREFIX%%/sbin/${name}"
+command="%%PREFIX%%/sbin/cf-serverd"
load_rc_config $name