summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2011-03-05 01:48:11 +0000
committerclsung <clsung@FreeBSD.org>2011-03-05 01:48:11 +0000
commite7fe88f25b6fbc52fb61c0f8d391550230a7c94c (patch)
tree3fb61838c7c00c753c2bca9444579748b63e465d
parentac8771affe722d718484f6cc2b68c1ce76d771f8 (diff)
downloadFreeBSD-ports-e7fe88f25b6fbc52fb61c0f8d391550230a7c94c.zip
FreeBSD-ports-e7fe88f25b6fbc52fb61c0f8d391550230a7c94c.tar.gz
- The %%RC_SUBR%% variable in the rc script source files/chef_client.in isn't getting replaced by default. Rather than adding this variable to SUB_LIST, it makes more sense to explicitly replace it in the source file itself. This is done in numerous other rc script source files as well as in the example in the Porter's Handbook.
- bump PORTREVISION PR: ports/155279 Submitted by: Dimitri Aivaliotis <aglarond_AT_gmail dot com> Approved by: maintainer (Renaud Chaput)
-rw-r--r--sysutils/rubygem-chef/Makefile1
-rw-r--r--sysutils/rubygem-chef/files/chef_client.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/rubygem-chef/Makefile b/sysutils/rubygem-chef/Makefile
index 88a987c..9c9cbfe 100644
--- a/sysutils/rubygem-chef/Makefile
+++ b/sysutils/rubygem-chef/Makefile
@@ -7,6 +7,7 @@
PORTNAME= chef
PORTVERSION= 0.9.12
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= RG
diff --git a/sysutils/rubygem-chef/files/chef_client.in b/sysutils/rubygem-chef/files/chef_client.in
index 2991fa1..924b666 100644
--- a/sysutils/rubygem-chef/files/chef_client.in
+++ b/sysutils/rubygem-chef/files/chef_client.in
@@ -12,7 +12,7 @@
#
# chef_client_enable="YES"
-. %%RC_SUBR%%
+. /etc/rc.subr
name="chef_client"
rcvar=`set_rcvar`
OpenPOWER on IntegriCloud