Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2006 21:11:17 +0100 (BST)
From:      Dominic Marks <dom@helenmarks.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94976: Add rc.d script for net/pen
Message-ID:  <20060326201117.AADD51705A@mail.helenmarks.co.uk>
Resent-Message-ID: <200603262020.k2QKKJeb001459@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94976
>Category:       ports
>Synopsis:       Add rc.d script for net/pen
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 26 20:20:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Marks
>Release:        FreeBSD 5.5-PRERELEASE i386
>Organization:
>Environment:
	
>Description:
Add an rc.d script for pen.
	
>How-To-Repeat:
N/A
	
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/pen/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	19 Mar 2006 15:38:02 -0000	1.23
+++ Makefile	26 Mar 2006 20:09:03 -0000
@@ -17,6 +17,7 @@
 
 GNU_CONFIGURE=		yes
 USE_OPENSSL=		yes
+USR_RC_SUBR=		yes
 CONFIGURE_ARGS=		--with-daemon --with-docdir=${DOCSDIR} \
 			--with-ssl=${OPENSSLBASE} --with-kqueue
 
Index: files/pen.sh.in
===================================================================
RCS file: files/pen.sh.in
diff -N files/pen.sh.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pen.sh.in	26 Mar 2006 20:09:03 -0000
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: pen
+# REQUIRE: NETWORKING SERVERS
+# BEFORE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following line to /etc/rc.conf to enable pen:
+#
+# pen_enable="YES"
+#
+
+. %%RC_SUBR%%
+
+name=pen
+rcvar=`set_rcvar`
+
+command=%%PREFIX%%/bin/pen
+
+pen_enable=${pen_enable:-"NO"}
+pen_flags=${pen_flags:-""}
+
+load_rc_config $name
+run_rc_command "$1"




>Release-Note:
>Audit-Trail:
>Unformatted:



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