From owner-svn-ports-all@FreeBSD.ORG Tue Nov 19 16:29:00 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5614F204; Tue, 19 Nov 2013 16:29:00 +0000 (UTC) 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 44FEB2BAE; Tue, 19 Nov 2013 16:29:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAJGT0uu079907; Tue, 19 Nov 2013 16:29:00 GMT (envelope-from gnn@svn.freebsd.org) Received: (from gnn@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAJGSxSN079898; Tue, 19 Nov 2013 16:28:59 GMT (envelope-from gnn@svn.freebsd.org) Message-Id: <201311191628.rAJGSxSN079898@svn.freebsd.org> From: "George V. Neville-Neil" Date: Tue, 19 Nov 2013 16:28:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334328 - in head/sysutils/mbgtools: . 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-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 16:29:00 -0000 Author: gnn Date: Tue Nov 19 16:28:59 2013 New Revision: 334328 URL: http://svnweb.freebsd.org/changeset/ports/334328 Log: Directly add the rc.d script mbgsvcd into the files/ directory rather than copying it from the downloaded tarball. Pointed out by: makc@ Added: head/sysutils/mbgtools/files/mbgsvcd.in (contents, props changed) Modified: head/sysutils/mbgtools/Makefile Modified: head/sysutils/mbgtools/Makefile ============================================================================== --- head/sysutils/mbgtools/Makefile Tue Nov 19 16:16:37 2013 (r334327) +++ head/sysutils/mbgtools/Makefile Tue Nov 19 16:28:59 2013 (r334328) @@ -11,13 +11,8 @@ COMMENT= Drivers and tools for Meinberg LICENSE= BSD -USES= kmod - USE_RC_SUBR= mbgsvcd -.include - -post-extract: - ${CP} ${WRKSRC}/scripts/mbgsvcd ${FILESDIR}/mbgsvcd.in +USES= kmod -.include +.include Added: head/sysutils/mbgtools/files/mbgsvcd.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mbgtools/files/mbgsvcd.in Tue Nov 19 16:28:59 2013 (r334328) @@ -0,0 +1,28 @@ +#!/bin/sh +# +# $Id: mbgsvcd 1.1 2011/07/06 13:26:01 martin TEST $ +# +# $FreeBSD$ +# +# PROVIDE: mbgsvcd +# REQUIRE: DAEMON +# KEYWORD: shutdown + +. /etc/rc.subr + +name="mbgsvcd" +rcvar=`set_rcvar` +command="/usr/local/sbin/${name}" + +load_rc_config $name + +# +# DO NOT CHANGE THESE DEFAULT VALUES HERE +# SET THEM IN THE /etc/rc.conf FILE +# +## utility_enable=${utility_enable-"NO"} +## utility_pidfile=${utility_pidfile-"/var/run/utility.pid"} + +## pidfile="${utility_pidfile}" + +run_rc_command "$1"