Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2012 03:08:14 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303359 - in head/sysutils/mcollective: . files
Message-ID:  <201208300308.q7U38ESV061301@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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"



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