aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cfengine3
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2011-03-13 09:21:18 +0800
committercy <cy@FreeBSD.org>2011-03-13 09:21:18 +0800
commit467e1e4dd0c9bde44cceb39c7578f1c0570598cd (patch)
treebb7b4f1f2741592ed83e87abc06500ec74a902a1 /sysutils/cfengine3
parent583797aaecd418f1694f01cd3fa3a52e966092e9 (diff)
downloadfreebsd-ports-gnome-467e1e4dd0c9bde44cceb39c7578f1c0570598cd.tar.gz
freebsd-ports-gnome-467e1e4dd0c9bde44cceb39c7578f1c0570598cd.tar.zst
freebsd-ports-gnome-467e1e4dd0c9bde44cceb39c7578f1c0570598cd.zip
Replace dashes ("-") in rc scripts with underbars ("_").
PR: 155495 Submitted by: arin Atanasov Nikolov <dnaeon@gmail.com>
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