From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 27 13:40:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E1651065674 for ; Sat, 27 Jun 2009 13:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 00D5D8FC16 for ; Sat, 27 Jun 2009 13:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5RDe1vg097923 for ; Sat, 27 Jun 2009 13:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5RDe1Ie097922; Sat, 27 Jun 2009 13:40:01 GMT (envelope-from gnats) Resent-Date: Sat, 27 Jun 2009 13:40:01 GMT Resent-Message-Id: <200906271340.n5RDe1Ie097922@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AE0D1065672 for ; Sat, 27 Jun 2009 13:33:02 +0000 (UTC) (envelope-from gslin@colo-p.gslin.org) Received: from colo-p.gslin.org (60-199-248-145.static.tfn.net.tw [60.199.248.145]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE6B8FC15 for ; Sat, 27 Jun 2009 13:33:01 +0000 (UTC) (envelope-from gslin@colo-p.gslin.org) Received: by colo-p.gslin.org (Postfix, from userid 1000) id 119447E81B; Sat, 27 Jun 2009 21:33:00 +0800 (CST) Message-Id: <20090627133300.119447E81B@colo-p.gslin.org> Date: Sat, 27 Jun 2009 21:33:00 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/136090: Update port: www/perlbal: Add rc script X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gea-Suan Lin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2009 13:40:02 -0000 >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: