ports/180182: mail/postgrey rc.d script missing rcvar
Doug Barton
dougb at dougbarton.us
Mon Jul 1 21:10:00 UTC 2013
>Number: 180182
>Category: ports
>Synopsis: mail/postgrey rc.d script missing rcvar
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 01 21:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Doug Barton
>Release: DNA
>Organization:
AAAG
>Environment:
DNA
>Description:
In r319058 madpilot inappropriate removed the rcvar assignment in this script, causing it to start unconditionally.
>How-To-Repeat:
Install the port, restart the system
>Fix:
Apply the following patch:
Patch attached with submission follows:
Index: postgrey.in
===================================================================
--- postgrey.in (revision 322145)
+++ postgrey.in (working copy)
@@ -1,12 +1,12 @@
#!/bin/sh
+
# $FreeBSD$
#
-
# PROVIDE: postgrey
# REQUIRE: LOGIN
# BEFORE: mail
# KEYWORD: shutdown
-
+#
# Add the following lines to /etc/rc.conf to enable postgrey:
#
# postgrey_enable (bool) Set to 'YES' to enable
@@ -25,6 +25,7 @@
. /etc/rc.subr
name=postgrey
+rcvar=postgrey_enable
load_rc_config $name
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list