From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 9 15:20:01 2007 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 A92BD16A469 for ; Tue, 9 Oct 2007 15:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from nosedive.freebsd.org (nosedive.freebsd.org [IPv6:2001:4f8:fff6::44]) by mx1.freebsd.org (Postfix) with ESMTP id 749BF13C45A for ; Tue, 9 Oct 2007 15:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from nosedive.freebsd.org (gnats@localhost [127.0.0.1]) by nosedive.freebsd.org (8.14.1/8.14.1) with ESMTP id l99FK1Dn021110 for ; Tue, 9 Oct 2007 15:20:01 GMT (envelope-from gnats@nosedive.freebsd.org) Received: (from gnats@localhost) by nosedive.freebsd.org (8.14.1/8.14.1/Submit) id l99FK11K021104; Tue, 9 Oct 2007 15:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 9 Oct 2007 15:20:01 GMT Resent-Message-Id: <200710091520.l99FK11K021104@nosedive.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, TAOKA Fumiyoshi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A3DB16A420 for ; Tue, 9 Oct 2007 15:13:39 +0000 (UTC) (envelope-from fmysh@quad.dyndns.org) Received: from xeon.quad.dyndns.org (unknown [IPv6:2001:240:66e::2]) by mx1.freebsd.org (Postfix) with ESMTP id F027813C4A7 for ; Tue, 9 Oct 2007 15:13:38 +0000 (UTC) (envelope-from fmysh@quad.dyndns.org) Received: by xeon.quad.dyndns.org (Postfix, from userid 1001) id 2515C153449; Wed, 10 Oct 2007 00:13:38 +0900 (JST) Message-Id: <20071009151338.2515C153449@xeon.quad.dyndns.org> Date: Wed, 10 Oct 2007 00:13:38 +0900 (JST) From: TAOKA Fumiyoshi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: TAOKA Fumiyoshi Subject: ports/117052: mail/perdition: add rc.d scripts X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: TAOKA Fumiyoshi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2007 15:20:01 -0000 >Number: 117052 >Category: ports >Synopsis: mail/perdition: add rc.d scripts >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 09 15:20:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: TAOKA Fumiyoshi >Release: >Organization: >Environment: >Description: Add rc.d scripts. Change pid directory to /var/run instead of /usr/local/var/run. Change INSTALL_SHLIB to USE_LDCONFIG. >How-To-Repeat: >Fix: diff -uNr --exclude CVS perdition.orig/Makefile perdition/Makefile --- perdition.orig/Makefile 2007-02-01 11:41:46.000000000 +0900 +++ perdition/Makefile 2007-10-09 20:51:26.000000000 +0900 @@ -29,9 +29,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" BDB_LIB=db3 LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV+= DOCSDIR=${DOCSDIR} -CONFIGURE_ARGS+= --disable-daemon-map +CONFIGURE_ARGS+= --disable-daemon-map --localstatedir=/var -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes +USE_RC_SUBR= perdition perdition.pop3 perdition.pop3s \ + perdition.imap4 perdition.imap4s perdition.imaps ## ## Available knobs: diff -uNr --exclude CVS perdition.orig/files/perdition.imap4.in perdition/files/perdition.imap4.in --- perdition.orig/files/perdition.imap4.in 1970-01-01 09:00:00.000000000 +0900 +++ perdition/files/perdition.imap4.in 2007-10-09 20:44:23.000000000 +0900 @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: perdition_imap4 +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable perdition.imap4 +# +# perdition_imap4_enable="YES" +# +# See perdition(8) for flags +# + +perdition_imap4_enable=${perdition_imap4_enable-"NO"} +perdition_imap4_flags=${perditon_imap4_flags-""} + +. %%RC_SUBR%% + +name="perdition_imap4" +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/perdition.imap4" +pidfile="/var/run/perdition.imap4/perdition.imap4.pid" + +load_rc_config $name + +run_rc_command "$1" diff -uNr --exclude CVS perdition.orig/files/perdition.imap4s.in perdition/files/perdition.imap4s.in --- perdition.orig/files/perdition.imap4s.in 1970-01-01 09:00:00.000000000 +0900 +++ perdition/files/perdition.imap4s.in 2007-10-09 20:44:31.000000000 +0900 @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: perdition_imap4s +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable perdition.imap4s +# +# perdition_imap4s_enable="YES" +# +# See perdition(8) for flags +# + +perdition_imap4s_enable=${perdition_imap4s_enable-"NO"} +perdition_imap4s_flags=${perditon_imap4s_flags-""} + +. %%RC_SUBR%% + +name="perdition_imap4s" +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/perdition.imap4s" +pidfile="/var/run/perdition.imap4s/perdition.imap4s.pid" + +load_rc_config $name + +run_rc_command "$1" diff -uNr --exclude CVS perdition.orig/files/perdition.imaps.in perdition/files/perdition.imaps.in --- perdition.orig/files/perdition.imaps.in 1970-01-01 09:00:00.000000000 +0900 +++ perdition/files/perdition.imaps.in 2007-10-09 20:42:54.000000000 +0900 @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: perdition_imaps +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable perdition.imaps +# +# perdition_imaps_enable="YES" +# +# See perdition(8) for flags +# + +perdition_imaps_enable=${perdition_imaps_enable-"NO"} +perdition_imaps_flags=${perditon_imaps_flags-""} + +. %%RC_SUBR%% + +name="perdition_imaps" +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/perdition.imaps" +pidfile="/var/run/perdition.imaps/perdition.imaps.pid" + +load_rc_config $name + +run_rc_command "$1" diff -uNr --exclude CVS perdition.orig/files/perdition.in perdition/files/perdition.in --- perdition.orig/files/perdition.in 1970-01-01 09:00:00.000000000 +0900 +++ perdition/files/perdition.in 2007-10-09 20:44:45.000000000 +0900 @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: perdition +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable perdition +# +# perdition_enable="YES" +# +# See perdition(8) for flags +# + +perdition_enable=${perdition_enable-"NO"} +perdition_flags=${perdition_flags-""} + +. %%RC_SUBR%% + +name="perdition" +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/${name}" +pidfile="/var/run/perdition/${name}.pid" + +load_rc_config $name + +run_rc_command "$1" diff -uNr --exclude CVS perdition.orig/files/perdition.pop3.in perdition/files/perdition.pop3.in --- perdition.orig/files/perdition.pop3.in 1970-01-01 09:00:00.000000000 +0900 +++ perdition/files/perdition.pop3.in 2007-10-09 20:42:57.000000000 +0900 @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: perdition_pop3 +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable perdition.pop3 +# +# perdition_pop3_enable="YES" +# +# See perdition(8) for flags +# + +perdition_pop3_enable=${perdition_pop3_enable-"NO"} +perdition_pop3_flags=${perditon_pop3_flags-""} + +. %%RC_SUBR%% + +name="perdition_pop3" +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/perdition.pop3" +pidfile="/var/run/perdition.pop3/perdition.pop3.pid" + +load_rc_config $name + +run_rc_command "$1" diff -uNr --exclude CVS perdition.orig/files/perdition.pop3s.in perdition/files/perdition.pop3s.in --- perdition.orig/files/perdition.pop3s.in 1970-01-01 09:00:00.000000000 +0900 +++ perdition/files/perdition.pop3s.in 2007-10-09 20:43:02.000000000 +0900 @@ -0,0 +1,30 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: perdition_pop3s +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable perdition.pop3s +# +# perdition_pop3s_enable="YES" +# +# See perdition(8) for flags +# + +perdition_pop3s_enable=${perdition_pop3s_enable-"NO"} +perdition_pop3s_flags=${perditon_pop3s_flags-""} + +. %%RC_SUBR%% + +name="perdition_pop3s" +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/perdition.pop3s" +pidfile="/var/run/perdition.pop3s/perdition.pop3s.pid" + +load_rc_config $name + +run_rc_command "$1" + >Release-Note: >Audit-Trail: >Unformatted: