ports/94976: Add rc.d script for net/pen

Dominic Marks dom at helenmarks.co.uk
Sun Mar 26 20:20:23 UTC 2006


>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:



More information about the freebsd-ports-bugs mailing list