ports/136090: Update port: www/perlbal: Add rc script
Gea-Suan Lin
gslin at gslin.org
Sat Jun 27 13:40:02 UTC 2009
>Number: 136090
>Category: ports
>Synopsis: Update port: www/perlbal: Add rc script
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 27 13:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD colo-p.gslin.org 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Jan 31 21:46:23 UTC 2009 root at gslin:/usr/obj/usr/src/sys/KERNEL i386
>Description:
- Add rc script.
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/www/perlbal/Makefile perlbal/Makefile
--- /usr/ports/www/perlbal/Makefile 2009-06-26 19:51:46.000000000 +0800
+++ perlbal/Makefile 2009-06-27 21:31:02.000000000 +0800
@@ -7,6 +7,7 @@
PORTNAME= Perlbal
PORTVERSION= 1.72
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= p5-
@@ -21,6 +22,7 @@
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
+USE_RC_SUBR= perlbal
MAN1= perlbal.1
MAN3= Perlbal.3 \
diff -ruN /usr/ports/www/perlbal/files/perlbal.in perlbal/files/perlbal.in
--- /usr/ports/www/perlbal/files/perlbal.in 1970-01-01 08:00:00.000000000 +0800
+++ perlbal/files/perlbal.in 2009-06-27 21:31:36.000000000 +0800
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: perlbal
+# REQUIRE: DAEMON
+
+. "%%RC_SUBR%%"
+
+name="perlbal"
+command="%%PREFIX%%/bin/perlbal"
+
+load_rc_config "$name"
+: ${perlbal_enable="NO"}
+: ${perlbal_flags="-f /usr/local/etc/perlbal.conf &"}
+
+run_rc_command "$1"
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list