svn commit: r303359 - in head/sysutils/mcollective: . files
Steve Wills
swills at FreeBSD.org
Thu Aug 30 03:08:14 UTC 2012
Author: swills
Date: Thu Aug 30 03:08:13 2012
New Revision: 303359
URL: http://svn.freebsd.org/changeset/ports/303359
Log:
- Fix rc script status and restart/shutdown
PR: ports/170980
Reported by: Nicolas Szalay <nicolas.szalay at fotolia.com>
Modified:
head/sysutils/mcollective/Makefile (contents, props changed)
head/sysutils/mcollective/files/mcollectived.in (contents, props changed)
Modified: head/sysutils/mcollective/Makefile
==============================================================================
--- head/sysutils/mcollective/Makefile Thu Aug 30 02:18:32 2012 (r303358)
+++ head/sysutils/mcollective/Makefile Thu Aug 30 03:08:13 2012 (r303359)
@@ -7,7 +7,7 @@
PORTNAME= mcollective
PORTVERSION= 2.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://downloads.puppetlabs.com/${PORTNAME}/
EXTRACT_SUFX= .tgz
@@ -28,6 +28,8 @@ REINPLACE_ARGS= -i ""
SCRIPTS= mco mc-call-agent
+SUB_LIST+= RUBY=${RUBY}
+
do-patch:
@${REINPLACE_CMD} -e "s|/etc/mcollective|${ETCDIR}|" \
${WRKSRC}/bin/mcollectived \
Modified: head/sysutils/mcollective/files/mcollectived.in
==============================================================================
--- head/sysutils/mcollective/files/mcollectived.in Thu Aug 30 02:18:32 2012 (r303358)
+++ head/sysutils/mcollective/files/mcollectived.in Thu Aug 30 03:08:13 2012 (r303359)
@@ -25,6 +25,6 @@ load_rc_config "${name}"
pidfile="/var/run/${name}.pid"
command="%%PREFIX%%/sbin/${name}"
command_args="-p $pidfile"
-procname="ruby"
+command_interpreter=%%RUBY%%
run_rc_command "$1"
More information about the svn-ports-head
mailing list