pkgsrc/mail/procmail/patches/patch-ab
bouyer 62355b0bfa Update to 3.22.
Changes to procmail:
               - Regression bugs from 3.20:
                  - Broke compilation with K&R compilers
                  - procmail -p -m was overridding PATH
                  - maildir delivery included garbage in filenames
                  - Mismatched HOST in last rcfile didn't discard the message
                  - COMSAT wasn't turned off by an rcfile on the command line
               - Catch overly long command line variable assignments
               - If a command expansion is truncated, set PROCMAIL_OVERFLOW
                 and don't trim trailing (really middle) newlines
               - If the comsat host can't be resolved, set COMSAT to "no"
            Some fixes to the man pages
            More paranoia: start to use strlcpy()
            Generate safe temp and maildir filenames when the hostname
               contains / or : by mapping them to \ooo

I've also seen corrupted From lines (missing F) when I upgraded to 3.21.
Someone reported in the Esd-l mailing list (see
http://www.spconnect.com/pipermail/esd-l/
for archives) that 3.22 solved the problem for him.
2001-11-08 12:05:58 +00:00

19 lines
819 B
Text

$NetBSD: patch-ab,v 1.6 2001/11/08 12:05:59 bouyer Exp $
--- config.h.orig Tue Sep 11 06:53:50 2001
+++ config.h Thu Nov 8 12:45:46 2001
@@ -73,11 +73,12 @@
TRUSTED_IDS should be defined as a comma-separated null-terminated
list of strings; if unauthorised users use the -f option, an extra
>From_ field will be added in the header */
-
+#if 0
#define TRUSTED_IDS {"root","daemon","uucp","mail","x400","network",\
"list","slist","lists","news",0}
+#endif
-/*#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