ports/163639: [PATCH] mail/qpopper: use RC_SUBR
Takefu
takefu at airport.fm
Tue Dec 27 10:10:10 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list