From owner-svn-ports-head@FreeBSD.ORG Thu Oct 24 11:35:05 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 17304BB0; Thu, 24 Oct 2013 11:35:04 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4571B2650; Thu, 24 Oct 2013 11:35:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9OBZ4M5043012; Thu, 24 Oct 2013 11:35:04 GMT (envelope-from feld@svn.freebsd.org) Received: (from feld@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9OBZ32p043010; Thu, 24 Oct 2013 11:35:03 GMT (envelope-from feld@svn.freebsd.org) Message-Id: <201310241135.r9OBZ32p043010@svn.freebsd.org> From: Mark Felder Date: Thu, 24 Oct 2013 11:35:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331477 - in head/sysutils/mptd: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 11:35:05 -0000 Author: feld Date: Thu Oct 24 11:35:03 2013 New Revision: 331477 URL: http://svnweb.freebsd.org/changeset/ports/331477 Log: STAGE support Fix incorrect path in rc script Approved by: swills (mentor) Modified: head/sysutils/mptd/Makefile head/sysutils/mptd/files/mptd.in Modified: head/sysutils/mptd/Makefile ============================================================================== --- head/sysutils/mptd/Makefile Thu Oct 24 11:34:55 2013 (r331476) +++ head/sysutils/mptd/Makefile Thu Oct 24 11:35:03 2013 (r331477) @@ -3,6 +3,7 @@ PORTNAME= mptd PORTVERSION= 0.01 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ @@ -12,8 +13,7 @@ COMMENT= Monitoring daemon for mpt RAID USE_RC_SUBR= mptd PLIST_FILES+= sbin/mptd -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mptd ${PREFIX}/sbin/mptd + ${INSTALL_PROGRAM} ${WRKSRC}/mptd ${STAGEDIR}${PREFIX}/sbin/mptd .include Modified: head/sysutils/mptd/files/mptd.in ============================================================================== --- head/sysutils/mptd/files/mptd.in Thu Oct 24 11:34:55 2013 (r331476) +++ head/sysutils/mptd/files/mptd.in Thu Oct 24 11:35:03 2013 (r331477) @@ -19,9 +19,9 @@ stop_cmd="killall -9 mptd > /dev/null 2> mptd_start() { - if [ -x "%%PREFIX%%/bin/mptd" -a -e "/dev/mpt0" ]; then + if [ -x "%%PREFIX%%/sbin/mptd" -a -e "/dev/mpt0" ]; then echo "Starting mptd." - %%PREFIX%%/bin/mptd ${raid_alert_mailto} + %%PREFIX%%/sbin/mptd ${raid_alert_mailto} fi }