diff options
author | tron <tron@pkgsrc.org> | 1998-02-27 23:11:39 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-02-27 23:11:39 +0000 |
commit | df3003768d7aabee54a5348c7a0eea264ff14e19 (patch) | |
tree | 111e2e6ee7b4767256ccac60cdc69e3a695f8051 /mail/procmail/patches | |
parent | 7e3d43d6bb401a8e29bc99d90c2c17e626ecbe6c (diff) | |
download | pkgsrc-df3003768d7aabee54a5348c7a0eea264ff14e19.tar.gz |
Initial import of FreeBSD's "procmail" port.
Diffstat (limited to 'mail/procmail/patches')
-rw-r--r-- | mail/procmail/patches/patch-aa | 50 | ||||
-rw-r--r-- | mail/procmail/patches/patch-ab | 44 | ||||
-rw-r--r-- | mail/procmail/patches/patch-ac | 21 | ||||
-rw-r--r-- | mail/procmail/patches/patch-ad | 12 |
4 files changed, 127 insertions, 0 deletions
diff --git a/mail/procmail/patches/patch-aa b/mail/procmail/patches/patch-aa new file mode 100644 index 00000000000..6258b85dcd3 --- /dev/null +++ b/mail/procmail/patches/patch-aa @@ -0,0 +1,50 @@ +*** Makefile.orig Mon Apr 28 04:27:40 1997 +--- Makefile Wed May 14 18:16:50 1997 +*************** +*** 2,8 **** + + # BASENAME should point to where the whole lot will be installed + # change BASENAME to your home directory if need be +! BASENAME = /usr + # For display in the man pages + VISIBLE_BASENAME= $(BASENAME) + +--- 2,8 ---- + + # BASENAME should point to where the whole lot will be installed + # change BASENAME to your home directory if need be +! BASENAME = $(PREFIX) + # For display in the man pages + VISIBLE_BASENAME= $(BASENAME) + +*************** +*** 53,59 **** +--- 53,63 ---- + + # Makefile.0 - mark, don't (re)move this, a sed script needs it + ++ .if defined(PACKAGE_BUILDING) ++ LOCKINGTEST=/tmp . ++ .else + LOCKINGTEST=__defaults__ ++ .endif + + #LOCKINGTEST=/tmp . # Uncomment and add any directories you see fit. + # If LOCKINGTEST is defined, autoconf will NOT +*************** +*** 86,92 **** + #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized + + # The place to put your favourite extra cc flag +! CFLAGS0 = -O #$(GCC_WARNINGS) + LDFLAGS0= -s + # Read my libs :-) + LIBS= +--- 90,96 ---- + #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized + + # The place to put your favourite extra cc flag +! CFLAGS0 = #-O #$(GCC_WARNINGS) + LDFLAGS0= -s + # Read my libs :-) + LIBS= diff --git a/mail/procmail/patches/patch-ab b/mail/procmail/patches/patch-ab new file mode 100644 index 00000000000..be45797a7c3 --- /dev/null +++ b/mail/procmail/patches/patch-ab @@ -0,0 +1,44 @@ +*** config.h.bak Mon Oct 30 05:09:07 1995 +--- config.h Wed Aug 28 17:10:52 1996 +*************** +*** 45,51 **** + #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 */ + +--- 45,51 ---- + #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 */ + +*************** +*** 69,79 **** + 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 +--- 69,79 ---- + is not found, maildelivery will proceed as normal to the default + system mailbox. */ + +! #define ETCRC "/usr/local/etc/procmailrc" /* optional global procmailrc startup + file (will only be read if procmail + is started with no rcfile on the command line). */ + +! #define ETCRCS "/usr/local/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 diff --git a/mail/procmail/patches/patch-ac b/mail/procmail/patches/patch-ac new file mode 100644 index 00000000000..8c4b0761768 --- /dev/null +++ b/mail/procmail/patches/patch-ac @@ -0,0 +1,21 @@ +*** initmake.bak Thu Apr 3 05:58:37 1997 +--- initmake Wed May 14 18:27:56 1997 +*************** +*** 380,387 **** + test -z "$MAKE" && echo "MAKE = make" >>_Makefile + test a"$cc" != a"$CC" && echo "CC = $cc" >>_Makefile + +! echo "CFLAGS = \$(CFLAGS1)$CFLAGS" >>_Makefile +! echo "LDFLAGS = \$(LDFLAGS1)$LDFLAGS" >>_Makefile + echo >>_Makefile + + MANSS="" +--- 380,387 ---- + test -z "$MAKE" && echo "MAKE = make" >>_Makefile + test a"$cc" != a"$CC" && echo "CC = $cc" >>_Makefile + +! echo "CFLAGS += \$(CFLAGS1)$CFLAGS" >>_Makefile +! echo "LDFLAGS += \$(LDFLAGS1)$LDFLAGS" >>_Makefile + echo >>_Makefile + + MANSS="" diff --git a/mail/procmail/patches/patch-ad b/mail/procmail/patches/patch-ad new file mode 100644 index 00000000000..c73f9f9373c --- /dev/null +++ b/mail/procmail/patches/patch-ad @@ -0,0 +1,12 @@ +*** src/recommend.c.bak Wed Apr 2 07:15:45 1997 +--- src/recommend.c Tue Jun 17 21:48:49 1997 +*************** +*** 23,29 **** + { fprintf(stderr,"Please run this program via 'make recommend'\n"); + return EX_USAGE; + } +- strchr(mailspooldir,'\0')[-1]='\0'; /* strip last character */ + for(p=checkf;*p;p++) + if(!stat(*p,&stbuf)&&stbuf.st_mode&S_ISGID) + { if(stbuf.st_mode&S_ISGID) +--- 23,28 ---- |