[Midnightbsd-cvs] mports [21898] trunk/mail/procmail/files: rename patches to make it easier to find what is what

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Sep 14 08:15:18 EDT 2016


Revision: 21898
          http://svnweb.midnightbsd.org/mports/?rev=21898
Author:   laffer1
Date:     2016-09-14 08:15:18 -0400 (Wed, 14 Sep 2016)
Log Message:
-----------
rename patches to make it easier to find what is what

Added Paths:
-----------
    trunk/mail/procmail/files/patch-Makefile
    trunk/mail/procmail/files/patch-config.h
    trunk/mail/procmail/files/patch-initmake
    trunk/mail/procmail/files/patch-man-procmail.man
    trunk/mail/procmail/files/patch-src-autoconf
    trunk/mail/procmail/files/patch-src-comsat.c
    trunk/mail/procmail/files/patch-src-mailfold.c
    trunk/mail/procmail/files/patch-src-manconf.c
    trunk/mail/procmail/files/patch-src-pipes.c
    trunk/mail/procmail/files/patch-src-procmail.c
    trunk/mail/procmail/files/patch-src-recommend.c

Removed Paths:
-------------
    trunk/mail/procmail/files/patch-aa
    trunk/mail/procmail/files/patch-ab
    trunk/mail/procmail/files/patch-ac
    trunk/mail/procmail/files/patch-ad
    trunk/mail/procmail/files/patch-af
    trunk/mail/procmail/files/patch-ag
    trunk/mail/procmail/files/patch-ah
    trunk/mail/procmail/files/patch-ai
    trunk/mail/procmail/files/patch-aj
    trunk/mail/procmail/files/patch-src:autoconf
    trunk/mail/procmail/files/patch-src:mailfold.c

Copied: trunk/mail/procmail/files/patch-Makefile (from rev 21896, trunk/mail/procmail/files/patch-aa)
===================================================================
--- trunk/mail/procmail/files/patch-Makefile	                        (rev 0)
+++ trunk/mail/procmail/files/patch-Makefile	2016-09-14 12:15:18 UTC (rev 21898)
@@ -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(BATCH)
++ 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=

Deleted: trunk/mail/procmail/files/patch-aa
===================================================================
--- trunk/mail/procmail/files/patch-aa	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-aa	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,50 +0,0 @@
-*** 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(BATCH)
-+ 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=

Deleted: trunk/mail/procmail/files/patch-ab
===================================================================
--- trunk/mail/procmail/files/patch-ab	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-ab	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,37 +0,0 @@
---- 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","mailnull","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

Deleted: trunk/mail/procmail/files/patch-ac
===================================================================
--- trunk/mail/procmail/files/patch-ac	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-ac	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,13 +0,0 @@
---- initmake.orig	Sat Jan 29 09:52:13 2000
-+++ initmake	Sun Aug 27 13:06:14 2000
-@@ -433,8 +433,8 @@
- test -z "$MAKE" && echo "MAKE	= make"			>>_Makefile
- test a"$cc" != a"$CC" && echo "CC	= $cc"		>>_Makefile
- 
--echo "CFLAGS	= \$(CFLAGS1)$CFLAGS"			>>_Makefile
--echo "LDFLAGS	= $LDFLAGS"				>>_Makefile
-+echo "CFLAGS    += \$(CFLAGS1)$CFLAGS"                   >>_Makefile
-+echo "LDFLAGS   += $LDFLAGS"                             >>_Makefile
- echo							>>_Makefile
- 
- MANSS=""

Deleted: trunk/mail/procmail/files/patch-ad
===================================================================
--- trunk/mail/procmail/files/patch-ad	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-ad	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,12 +0,0 @@
-*** 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 ----

Deleted: trunk/mail/procmail/files/patch-af
===================================================================
--- trunk/mail/procmail/files/patch-af	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-af	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,11 +0,0 @@
---- src/pipes.c.bak	Tue Sep 11 08:58:44 2001
-+++ src/pipes.c	Mon Nov 11 02:11:49 2002
-@@ -194,7 +194,7 @@
-      makeblock(&temp,Stdfilled);
-      tmemmove(temp.p,Stdout,Stdfilled);
-      readdyn(&temp,&Stdfilled,Stdfilled+backlen+1);
--     Stdout=realloc(Stdout,&Stdfilled+1);
-+     Stdout=realloc(Stdout,Stdfilled+1);
-      tmemmove(Stdout,temp.p,Stdfilled+1);
-      freeblock(&temp);
-      retStdout(Stdout,pwait&&pipw,!backblock);

Deleted: trunk/mail/procmail/files/patch-ag
===================================================================
--- trunk/mail/procmail/files/patch-ag	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-ag	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,11 +0,0 @@
---- src/manconf.c.orig	Fri Aug 25 11:04:33 2000
-+++ src/manconf.c	Sun Aug 27 13:12:55 2000
-@@ -140,7 +140,7 @@
- sh before procmail ever sees it; it is however a necessary kludge against\1\
- overoptimising sendmail programs:\1");
- #else
--  ps("FW_content","\"|exec @BINDIR@/procmail\"");
-+  ps("FW_content","\"|exec @BINDIR@/procmail || exit 75\"");
-   ps("FW_comment","");
- #endif
- #else

Deleted: trunk/mail/procmail/files/patch-ah
===================================================================
--- trunk/mail/procmail/files/patch-ah	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-ah	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,14 +0,0 @@
---- man/procmail.man.orig	Fri Aug 25 11:04:32 2000
-+++ man/procmail.man	Sun Aug 27 13:21:23 2000
-@@ -690,9 +690,8 @@
- .RE
- .PP
- @CF_procmail@
--In this case your $HOME/@DOT_FORWARD@ (beware, it
--.B has
--to be world readable) file should contain the line below.  Be sure to include
-+In this case your $HOME/@DOT_FORWARD@
-+file should contain the line below.  Be sure to include
- the single and double quotes, and unless you know your site to be running
- smrsh (the SendMail Restricted SHell), it must be an
- .I absolute

Deleted: trunk/mail/procmail/files/patch-ai
===================================================================
--- trunk/mail/procmail/files/patch-ai	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-ai	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,11 +0,0 @@
---- src/procmail.c.bak	Tue Sep 11 08:59:14 2001
-+++ src/procmail.c	Sun Aug  3 05:34:55 2003
-@@ -652,7 +652,7 @@
- 	      nrcond= -1;
- 	   if(tolock)		 /* clear temporary buffer for lockfile name */
- 	      free(tolock);
--	   for(i=maxindex(flags);i;i--)			  /* clear the flags */
-+	   for(i=maxindex(flags);i>=0;i--)                   /* clear the flags */
- 	      flags[i]=0;
- 	   for(tolock=0,locknext=0;;)
- 	    { chp=skpspace(chp);

Deleted: trunk/mail/procmail/files/patch-aj
===================================================================
--- trunk/mail/procmail/files/patch-aj	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-aj	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,11 +0,0 @@
---- src/comsat.c.orig	Tue Sep 11 08:55:46 2001
-+++ src/comsat.c	Wed Nov 17 09:44:12 2004
-@@ -120,7 +120,7 @@
- { int s;const char*p;
-   if(!csvalid||!buf)		  /* is comat on and set to a valid address? */
-      return;
--  if(!*cslgname||strlen(cslgname)+2>linebuf)	       /* is $LOGNAME bogus? */
-+  if(!cslgname||!*cslgname||strlen(cslgname)+2>linebuf)	       /* is $LOGNAME bogus? */
-      return;
-   if(!(p=folder?folder:cslastf))		     /* do we have a folder? */
-      return;

Copied: trunk/mail/procmail/files/patch-config.h (from rev 21896, trunk/mail/procmail/files/patch-ab)
===================================================================
--- trunk/mail/procmail/files/patch-config.h	                        (rev 0)
+++ trunk/mail/procmail/files/patch-config.h	2016-09-14 12:15:18 UTC (rev 21898)
@@ -0,0 +1,37 @@
+--- 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","mailnull","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

Copied: trunk/mail/procmail/files/patch-initmake (from rev 21896, trunk/mail/procmail/files/patch-ac)
===================================================================
--- trunk/mail/procmail/files/patch-initmake	                        (rev 0)
+++ trunk/mail/procmail/files/patch-initmake	2016-09-14 12:15:18 UTC (rev 21898)
@@ -0,0 +1,13 @@
+--- initmake.orig	Sat Jan 29 09:52:13 2000
++++ initmake	Sun Aug 27 13:06:14 2000
+@@ -433,8 +433,8 @@
+ test -z "$MAKE" && echo "MAKE	= make"			>>_Makefile
+ test a"$cc" != a"$CC" && echo "CC	= $cc"		>>_Makefile
+ 
+-echo "CFLAGS	= \$(CFLAGS1)$CFLAGS"			>>_Makefile
+-echo "LDFLAGS	= $LDFLAGS"				>>_Makefile
++echo "CFLAGS    += \$(CFLAGS1)$CFLAGS"                   >>_Makefile
++echo "LDFLAGS   += $LDFLAGS"                             >>_Makefile
+ echo							>>_Makefile
+ 
+ MANSS=""

Copied: trunk/mail/procmail/files/patch-man-procmail.man (from rev 21896, trunk/mail/procmail/files/patch-ah)
===================================================================
--- trunk/mail/procmail/files/patch-man-procmail.man	                        (rev 0)
+++ trunk/mail/procmail/files/patch-man-procmail.man	2016-09-14 12:15:18 UTC (rev 21898)
@@ -0,0 +1,14 @@
+--- man/procmail.man.orig	Fri Aug 25 11:04:32 2000
++++ man/procmail.man	Sun Aug 27 13:21:23 2000
+@@ -690,9 +690,8 @@
+ .RE
+ .PP
+ @CF_procmail@
+-In this case your $HOME/@DOT_FORWARD@ (beware, it
+-.B has
+-to be world readable) file should contain the line below.  Be sure to include
++In this case your $HOME/@DOT_FORWARD@
++file should contain the line below.  Be sure to include
+ the single and double quotes, and unless you know your site to be running
+ smrsh (the SendMail Restricted SHell), it must be an
+ .I absolute

Copied: trunk/mail/procmail/files/patch-src-autoconf (from rev 21896, trunk/mail/procmail/files/patch-src:autoconf)
===================================================================
--- trunk/mail/procmail/files/patch-src-autoconf	                        (rev 0)
+++ trunk/mail/procmail/files/patch-src-autoconf	2016-09-14 12:15:18 UTC (rev 21898)
@@ -0,0 +1,11 @@
+--- src/autoconf.ORI	Sun Oct 30 10:01:45 2005
++++ src/autoconf	Sun Oct 30 10:03:56 2005
+@@ -978,6 +978,7 @@
+ 
+ echo 'Checking realloc implementation'
+ 
++$RM -f _autotst
+ if $MAKE _autotst >$DEVNULL 2>&1
+  test -f _autotst
+ then
+

Copied: trunk/mail/procmail/files/patch-src-comsat.c (from rev 21896, trunk/mail/procmail/files/patch-aj)
===================================================================
--- trunk/mail/procmail/files/patch-src-comsat.c	                        (rev 0)
+++ trunk/mail/procmail/files/patch-src-comsat.c	2016-09-14 12:15:18 UTC (rev 21898)
@@ -0,0 +1,11 @@
+--- src/comsat.c.orig	Tue Sep 11 08:55:46 2001
++++ src/comsat.c	Wed Nov 17 09:44:12 2004
+@@ -120,7 +120,7 @@
+ { int s;const char*p;
+   if(!csvalid||!buf)		  /* is comat on and set to a valid address? */
+      return;
+-  if(!*cslgname||strlen(cslgname)+2>linebuf)	       /* is $LOGNAME bogus? */
++  if(!cslgname||!*cslgname||strlen(cslgname)+2>linebuf)	       /* is $LOGNAME bogus? */
+      return;
+   if(!(p=folder?folder:cslastf))		     /* do we have a folder? */
+      return;

Copied: trunk/mail/procmail/files/patch-src-mailfold.c (from rev 21896, trunk/mail/procmail/files/patch-src:mailfold.c)
===================================================================
--- trunk/mail/procmail/files/patch-src-mailfold.c	                        (rev 0)
+++ trunk/mail/procmail/files/patch-src-mailfold.c	2016-09-14 12:15:18 UTC (rev 21898)
@@ -0,0 +1,12 @@
+--- src/mailfold.c.orig	2001-09-11 08:58:34.000000000 +0400
++++ src/mailfold.c	2010-12-06 12:55:44.000000000 +0300
+@@ -378,7 +378,8 @@
+ 	dfilled=mailread=0;
+      else if(rhead)				/* only read in a new header */
+       { memblk new;
+-	dfilled=mailread=0;makeblock(&new,0);readdyn(&new,&dfilled,0);
++	dfilled=mailread=0;makeblock(&new,0);
++	readdyn(&new,&dfilled,thebody-themail.p);
+ 	if(tobesent>dfilled&&isprivate)		     /* put it in place here */
+ 	 { tmemmove(themail.p+dfilled,thebody,filled-=tobesent);
+ 	   tmemmove(themail.p,new.p,dfilled);

Copied: trunk/mail/procmail/files/patch-src-manconf.c (from rev 21896, trunk/mail/procmail/files/patch-ag)
===================================================================
--- trunk/mail/procmail/files/patch-src-manconf.c	                        (rev 0)
+++ trunk/mail/procmail/files/patch-src-manconf.c	2016-09-14 12:15:18 UTC (rev 21898)
@@ -0,0 +1,11 @@
+--- src/manconf.c.orig	Fri Aug 25 11:04:33 2000
++++ src/manconf.c	Sun Aug 27 13:12:55 2000
+@@ -140,7 +140,7 @@
+ sh before procmail ever sees it; it is however a necessary kludge against\1\
+ overoptimising sendmail programs:\1");
+ #else
+-  ps("FW_content","\"|exec @BINDIR@/procmail\"");
++  ps("FW_content","\"|exec @BINDIR@/procmail || exit 75\"");
+   ps("FW_comment","");
+ #endif
+ #else

Copied: trunk/mail/procmail/files/patch-src-pipes.c (from rev 21896, trunk/mail/procmail/files/patch-af)
===================================================================
--- trunk/mail/procmail/files/patch-src-pipes.c	                        (rev 0)
+++ trunk/mail/procmail/files/patch-src-pipes.c	2016-09-14 12:15:18 UTC (rev 21898)
@@ -0,0 +1,11 @@
+--- src/pipes.c.bak	Tue Sep 11 08:58:44 2001
++++ src/pipes.c	Mon Nov 11 02:11:49 2002
+@@ -194,7 +194,7 @@
+      makeblock(&temp,Stdfilled);
+      tmemmove(temp.p,Stdout,Stdfilled);
+      readdyn(&temp,&Stdfilled,Stdfilled+backlen+1);
+-     Stdout=realloc(Stdout,&Stdfilled+1);
++     Stdout=realloc(Stdout,Stdfilled+1);
+      tmemmove(Stdout,temp.p,Stdfilled+1);
+      freeblock(&temp);
+      retStdout(Stdout,pwait&&pipw,!backblock);

Copied: trunk/mail/procmail/files/patch-src-procmail.c (from rev 21896, trunk/mail/procmail/files/patch-ai)
===================================================================
--- trunk/mail/procmail/files/patch-src-procmail.c	                        (rev 0)
+++ trunk/mail/procmail/files/patch-src-procmail.c	2016-09-14 12:15:18 UTC (rev 21898)
@@ -0,0 +1,11 @@
+--- src/procmail.c.bak	Tue Sep 11 08:59:14 2001
++++ src/procmail.c	Sun Aug  3 05:34:55 2003
+@@ -652,7 +652,7 @@
+ 	      nrcond= -1;
+ 	   if(tolock)		 /* clear temporary buffer for lockfile name */
+ 	      free(tolock);
+-	   for(i=maxindex(flags);i;i--)			  /* clear the flags */
++	   for(i=maxindex(flags);i>=0;i--)                   /* clear the flags */
+ 	      flags[i]=0;
+ 	   for(tolock=0,locknext=0;;)
+ 	    { chp=skpspace(chp);

Copied: trunk/mail/procmail/files/patch-src-recommend.c (from rev 21896, trunk/mail/procmail/files/patch-ad)
===================================================================
--- trunk/mail/procmail/files/patch-src-recommend.c	                        (rev 0)
+++ trunk/mail/procmail/files/patch-src-recommend.c	2016-09-14 12:15:18 UTC (rev 21898)
@@ -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 ----

Deleted: trunk/mail/procmail/files/patch-src:autoconf
===================================================================
--- trunk/mail/procmail/files/patch-src:autoconf	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-src:autoconf	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,11 +0,0 @@
---- src/autoconf.ORI	Sun Oct 30 10:01:45 2005
-+++ src/autoconf	Sun Oct 30 10:03:56 2005
-@@ -978,6 +978,7 @@
- 
- echo 'Checking realloc implementation'
- 
-+$RM -f _autotst
- if $MAKE _autotst >$DEVNULL 2>&1
-  test -f _autotst
- then
-

Deleted: trunk/mail/procmail/files/patch-src:mailfold.c
===================================================================
--- trunk/mail/procmail/files/patch-src:mailfold.c	2016-09-14 12:08:13 UTC (rev 21897)
+++ trunk/mail/procmail/files/patch-src:mailfold.c	2016-09-14 12:15:18 UTC (rev 21898)
@@ -1,12 +0,0 @@
---- src/mailfold.c.orig	2001-09-11 08:58:34.000000000 +0400
-+++ src/mailfold.c	2010-12-06 12:55:44.000000000 +0300
-@@ -378,7 +378,8 @@
- 	dfilled=mailread=0;
-      else if(rhead)				/* only read in a new header */
-       { memblk new;
--	dfilled=mailread=0;makeblock(&new,0);readdyn(&new,&dfilled,0);
-+	dfilled=mailread=0;makeblock(&new,0);
-+	readdyn(&new,&dfilled,thebody-themail.p);
- 	if(tobesent>dfilled&&isprivate)		     /* put it in place here */
- 	 { tmemmove(themail.p+dfilled,thebody,filled-=tobesent);
- 	   tmemmove(themail.p,new.p,dfilled);



More information about the Midnightbsd-cvs mailing list