Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2009 21:33:00 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/136090: Update port: www/perlbal: Add rc script
Message-ID:  <20090627133300.119447E81B@colo-p.gslin.org>
Resent-Message-ID: <200906271340.n5RDe1Ie097922@freefall.freebsd.org>

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

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



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