ports/162188: [PATCH] mail/postgrey: [SUMMARIZE CHANGES]
Martin Matuska
mm at FreeBSD.org
Mon Oct 31 09:30:16 UTC 2011
>Number: 162188
>Category: ports
>Synopsis: [PATCH] mail/postgrey: [SUMMARIZE CHANGES]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 31 09:30:15 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Martin Matuska
>Release: FreeBSD 9.0-RC1 amd64
>Organization:
>Environment:
System: FreeBSD box.vx.sk 9.0-RC1 FreeBSD 9.0-RC1 #0: Fri Oct 21 09:24:45 CEST 2011
>Description:
Add variables to rc script so users don't need to cope with postgrey_flags:
postgrey_listen - port or unix socket to listen on
postgrey_privs - user and group to change to
postgrey_dbdir - database directory
Remove /var/db/postgrey from pkg-plist as this is a user-specified path
Port maintainer (ports.maintainer at evilphi.com) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- postgrey-1.34_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/postgrey/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile 20 Oct 2011 21:12:06 -0000 1.30
+++ Makefile 31 Oct 2011 09:26:15 -0000
@@ -7,6 +7,7 @@
PORTNAME= postgrey
PORTVERSION= 1.34
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/ \
http://postgrey.schweikert.ch/pub/old/
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/mail/postgrey/pkg-plist,v
retrieving revision 1.8
diff -u -r1.8 pkg-plist
--- pkg-plist 27 Oct 2007 18:33:58 -0000 1.8
+++ pkg-plist 31 Oct 2011 09:26:15 -0000
@@ -6,4 +6,3 @@
etc/postfix/dist-postgrey_whitelist_recipients
etc/postfix/dist-postgrey_whitelist_clients
@dirrmtry etc/postfix
- at unexec rmdir /var/db/postgrey 2>/dev/null || true
Index: files/postgrey.in
===================================================================
RCS file: /home/pcvs/ports/mail/postgrey/files/postgrey.in,v
retrieving revision 1.5
diff -u -r1.5 postgrey.in
--- files/postgrey.in 17 Aug 2010 23:52:34 -0000 1.5
+++ files/postgrey.in 31 Oct 2011 09:26:15 -0000
@@ -38,8 +38,11 @@
postgrey_enable=${postgrey_enable:-"NO"}
postgrey_greylist_header=${postgrey_greylist_header:-"X-Greylist: delayed %t seconds by postgrey-%v at %h\; %d"}
postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"}
-postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \
- --inet=10023 -d --user=%%USER%% --group=%%GROUP%% --dbdir=/var/db/postgrey \
+postgrey_listen=${postgrey_listen:-"--inet=10023"}
+postgrey_privs=${postgrey_privs:-"--user=%%USER%% --group=%%GROUP%%"}
+postgrey_dbdir=${postgrey_dbdir:"/var/db/postgrey"}
+postgrey_flags=${postgrey_flags:-"-d --pidfile=${postgrey_pidfile} \
+ ${postgrey_listen} -d ${postgrey_privs} --dbdir=${postgrey_dbdir} \
--x-greylist-header=${postgrey_greylist_header}"}
pidfile="${postgrey_pidfile}"
--- postgrey-1.34_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list