aboutsummaryrefslogtreecommitdiff
path: root/mail/procmail
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-03-30 16:35:43 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-03-30 16:35:43 +0000
commit5c4dd558228367d6e4863c0fd94afe2bd45a4d2e (patch)
tree6ca05c435e22ca2391782cc2d4cb52d340ea529e /mail/procmail
parent4555236c482d19b494f34b7b433fd25011c983c6 (diff)
downloadports-5c4dd558228367d6e4863c0fd94afe2bd45a4d2e.tar.gz
ports-5c4dd558228367d6e4863c0fd94afe2bd45a4d2e.zip
Enable LMTP mode
Submitted by: Phillip Oleson <poleson@verio.net>
Notes
Notes: svn path=/head/; revision=77749
Diffstat (limited to 'mail/procmail')
-rw-r--r--mail/procmail/Makefile2
-rw-r--r--mail/procmail/files/patch-ab85
2 files changed, 38 insertions, 49 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile
index d2e670c8c999..24f2ee9ed20d 100644
--- a/mail/procmail/Makefile
+++ b/mail/procmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= procmail
PORTVERSION= 3.22
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
ftp://ftp.psg.com/pub/unix/procmail/ \
diff --git a/mail/procmail/files/patch-ab b/mail/procmail/files/patch-ab
index 6307181b6bbe..96d5e569a002 100644
--- a/mail/procmail/files/patch-ab
+++ b/mail/procmail/files/patch-ab
@@ -1,48 +1,37 @@
-*** config.h.orig Mon Apr 28 04:27:41 1997
---- config.h Wed Apr 22 05:55:53 1998
-***************
-*** 43,51 ****
- >From_ field will be added in the header */
-
- #define TRUSTED_IDS {"root","daemon","uucp","mail","x400","network",\
-! "list","slist","lists","news",0}
-
-! /*#define NO_fcntl_LOCK /* uncomment any of these three if you */
- /*#define NO_lockf_LOCK /* definitely do not want procmail to make */
- /*#define NO_flock_LOCK /* use of those kernel-locking methods */
-
---- 43,51 ----
- >From_ field will be added in the header */
-
- #define TRUSTED_IDS {"root","daemon","uucp","mail","x400","network",\
-! "list","slist","lists","news","majordom","majordomo",0}
-
-! #define NO_fcntl_LOCK /* uncomment any of these three if you */
- /*#define NO_lockf_LOCK /* definitely do not want procmail to make */
- /*#define NO_flock_LOCK /* use of those kernel-locking methods */
-
-***************
-*** 71,81 ****
- is not found, maildelivery will proceed as normal to the default
- system mailbox. */
-
-! #define ETCRC "/etc/procmailrc" /* optional global procmailrc startup
- file (will only be read if procmail
- is started with no rcfile on the command line). */
-
-! #define ETCRCS "/etc/procmailrcs/" /* optional trusted path prefix for
- rcfiles which will be executed with
- the uid of the owner of the rcfile (this only happens if procmail is
- called with the -m option, without variable assignments on the command
---- 71,81 ----
- is not found, maildelivery will proceed as normal to the default
- system mailbox. */
-
-! #define ETCRC "%%PREFIX%%/etc/procmailrc" /* optional global procmailrc startup
- file (will only be read if procmail
- is started with no rcfile on the command line). */
-
-! #define ETCRCS "%%PREFIX%%/etc/procmailrcs/" /* optional trusted path prefix for
- rcfiles which will be executed with
- the uid of the owner of the rcfile (this only happens if procmail is
- called with the -m option, without variable assignments on the command
+--- config.h.orig Tue Sep 11 08:53:50 2001
++++ config.h Sun Mar 30 20:23:47 2003
+@@ -52,7 +52,7 @@
+ is group writable or contained in a group writable home directory
+ if the group involved is the user's default group. */
+
+-/*#define LMTP /* uncomment this if you
++#define LMTP /* uncomment this if you
+ want to use procmail
+ as an LMTP (rfc2033) server, presumably for invocation by an MTA.
+ The file examples/local_procmail_lmtp.m4 contains info on how to
+@@ -75,9 +75,9 @@
+ >From_ field will be added in the header */
+
+ #define TRUSTED_IDS {"root","daemon","uucp","mail","x400","network",\
+- "list","slist","lists","news",0}
++ "list","slist","lists","news","majordom","majordomo",0}
+
+-/*#define NO_fcntl_LOCK /* uncomment any of these three if you */
++#define NO_fcntl_LOCK /* uncomment any of these three if you */
+ /*#define NO_lockf_LOCK /* definitely do not want procmail to make */
+ /*#define NO_flock_LOCK /* use of those kernel-locking methods */
+ /* If you set LOCKINGTEST to a binary number
+@@ -116,11 +116,11 @@
+ is not found, maildelivery will proceed as normal to the default
+ system mailbox. This also must be an absolute path */
+
+-#define ETCRC "/etc/procmailrc" /* optional global procmailrc startup
++#define ETCRC "%%PREFIX%%/etc/procmailrc" /* optional global procmailrc startup
+ file (will only be read if procmail
+ is started with no rcfile on the command line). */
+
+-#define ETCRCS "/etc/procmailrcs/" /* optional trusted path prefix for
++#define ETCRCS "%%PREFIX%%/etc/procmailrcs/" /* optional trusted path prefix for
+ rcfiles which will be executed with
+ the uid of the owner of the rcfile (this only happens if procmail is
+ called with the -m option, without variable assignments on the command