From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 27 10:10:10 2011 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 3D6C6106566B for ; Tue, 27 Dec 2011 10:10:10 +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 183158FC17 for ; Tue, 27 Dec 2011 10:10:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBRAA9nA032061 for ; Tue, 27 Dec 2011 10:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBRAA93Q032060; Tue, 27 Dec 2011 10:10:09 GMT (envelope-from gnats) Resent-Date: Tue, 27 Dec 2011 10:10:09 GMT Resent-Message-Id: <201112271010.pBRAA93Q032060@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, Takefu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBDC5106566B for ; Tue, 27 Dec 2011 10:05:04 +0000 (UTC) (envelope-from takefu@airport.fm) Received: from ae-osaka.co.jp (unknown [IPv6:2001:3e0:4ec:a000::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7101D8FC15 for ; Tue, 27 Dec 2011 10:05:04 +0000 (UTC) Received: from ae-osaka.co.jp (localhost.ae-osaka.co.jp [127.0.0.1]) by ae-osaka.co.jp (Postfix) with ESMTP id D352211443; Tue, 27 Dec 2011 19:05:02 +0900 (JST) Received: from [IPv6:2001:3e0:4ec:a011:1d24:bd9:5ccd:2e9] (unknown [IPv6:2001:3e0:4ec:a011:1d24:bd9:5ccd:2e9]) by ae-osaka.co.jp (Postfix) with ESMTPSA id B54D511440; Tue, 27 Dec 2011 19:05:02 +0900 (JST) Message-Id: <4EF9984E.50304@airport.fm> Date: Tue, 27 Dec 2011 19:05:02 +0900 From: Takefu To: freebsd-gnats-submit@FreeBSD.org In-Reply-To: <201112270956.pBR9uanA028044@unbound.local.ae-osaka.co.jp> References: <201112270956.pBR9uanA028044@unbound.local.ae-osaka.co.jp> Cc: bc979@lafn.org Subject: ports/163639: [PATCH] mail/qpopper: use RC_SUBR X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 10:10:10 -0000 >Number: 163639 >Category: ports >Synopsis: [PATCH] mail/qpopper: use RC_SUBR >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: Tue Dec 27 10:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Takefu >Release: FreeBSD 8.2-RELEASE-p5 amd64 >Organization: FOX Amateur Radio Club >Environment: >Description: - add USE_RC_SUBR with WITH_STANDALONE_MODE - fix pkg-desc Port maintainer (bc979@lafn.org) is cc'd. >How-To-Repeat: >Fix: --- qpopper.patch begins here --- diff -ruN /usr/ports/mail/qpopper/Makefile mail/qpopper/Makefile --- /usr/ports/mail/qpopper/Makefile 2011-07-18 16:22:38.000000000 +0900 +++ mail/qpopper/Makefile 2011-12-27 18:40:41.000000000 +0900 @@ -119,6 +119,7 @@ # without inetd. .if defined(WITH_STANDALONE_MODE) CONFIGURE_ARGS+= --enable-standalone +USE_RC_SUBR= ${PORTNAME} .endif # The default is to build without SSL/TLS support. diff -ruN /usr/ports/mail/qpopper/files/qpopper.in mail/qpopper/files/qpopper.in --- /usr/ports/mail/qpopper/files/qpopper.in 1970-01-01 09:00:00.000000000 +0900 +++ mail/qpopper/files/qpopper.in 2011-12-27 18:42:27.000000000 +0900 @@ -0,0 +1,26 @@ +#!/bin/sh +# +# $FreeBSD$ + +# PROVIDE: qpopper +# REQUIRE: NETWORKING SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown + +# +# Add the following lines to /etc/rc.conf to enable qpopper: +# qpopper_enable="YES" +# + +qpopper_enable=${qpopper_enable-"NO"} +qpopper_flags=${qpopper_flags-""} + +. /etc/rc.subr + +name=qpopper +rcvar=`set_rcvar` +command=%%PREFIX%%/libexec/qpopper +command_args="${qpopper_flags}" + +load_rc_config $name +run_rc_command "$1" diff -ruN /usr/ports/mail/qpopper/pkg-descr mail/qpopper/pkg-descr --- /usr/ports/mail/qpopper/pkg-descr 2010-07-21 16:56:52.000000000 +0900 +++ mail/qpopper/pkg-descr 2011-12-27 18:55:25.000000000 +0900 @@ -1,8 +1,6 @@ -This is a POP 3 server useful for dealing with remote mail reader clients -such as Eudora. One of the 4.1a2 patches has been included so that -home-dir-misc actually works. The option and patch for IPv6 have been removed -as it they are not up to date for 4.0.9. +Qpopper is the most widely-used server for the POP3 protocol +(this allows users to access their mail using any POP3 client). Don't forget to edit /etc/inetd.conf to enable the server after installation. -WWW: http://www.eudora.com/products/unsupported/qpopper/index.html +WWW: http://www.eudora.com/products/unsupported/qpopper/ --- qpopper.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: