54be6b
--- procmail-3.22/Makefile.rhconfig	2001-09-10 22:53:09.000000000 -0600
54be6b
+++ procmail-3.22/Makefile	2003-09-12 07:44:34.000000000 -0600
54be6b
@@ -23,7 +23,7 @@
54be6b
 
54be6b
 # Uncomment to install compressed man pages (possibly add extra suffix
54be6b
 # to the definitions of MAN?DIR and/or MAN?SUFFIX by hand)
54be6b
-#MANCOMPRESS = compress
54be6b
+# MANCOMPRESS = compress
54be6b
 
54be6b
 ############################*#
54be6b
 # Things that can be made are:
54be6b
@@ -55,7 +55,7 @@
54be6b
 
54be6b
 LOCKINGTEST=__defaults__
54be6b
 
54be6b
-#LOCKINGTEST=/tmp .	# Uncomment and add any directories you see fit.
54be6b
+LOCKINGTEST=/tmp .	# Uncomment and add any directories you see fit.
54be6b
 #			If LOCKINGTEST is defined, autoconf will NOT
54be6b
 #			prompt you to enter additional directories.
54be6b
 #			See INSTALL for more information about the
54be6b
@@ -65,7 +65,7 @@
54be6b
 # Only edit below this line if you *think* you know what you are doing #
54be6b
 ########################################################################
54be6b
 
54be6b
-#LOCKINGTEST=100	# Uncomment (and change) if you think you know
54be6b
+LOCKINGTEST=100	# Uncomment (and change) if you think you know
54be6b
 #			it better than the autoconf lockingtests.
54be6b
 #			This will cause the lockingtests to be hotwired.
54be6b
 #			100	to enable fcntl()
54be6b
@@ -74,8 +74,8 @@
54be6b
 #			Or them together to get the desired combination.
54be6b
 
54be6b
 # Optional system libraries we search for
54be6b
-SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun \
54be6b
- -lgen -lsockdns -ldl
54be6b
+SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lsun \
54be6b
+ -lgen -lsockdns
54be6b
 #			-lresolv	# not really needed, is it?
54be6b
 
54be6b
 # Informal list of directories where we look for the libraries in SEARCHLIBS
54be6b
@@ -86,8 +86,8 @@
54be6b
  #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
54be6b
 
54be6b
 # The place to put your favourite extra cc flag
54be6b
-CFLAGS0 = -O #$(GCC_WARNINGS)
54be6b
-LDFLAGS0= -s
54be6b
+CFLAGS0 = $(RPM_OPT_FLAGS) #$(GCC_WARNINGS)
54be6b
+LDFLAGS0= 
54be6b
 # Read my libs :-)
54be6b
 LIBS=
54be6b
 
54be6b
--- procmail-3.22/config.h.rhconfig	2001-09-10 22:53:50.000000000 -0600
54be6b
+++ procmail-3.22/config.h	2003-09-12 07:41:40.000000000 -0600
54be6b
@@ -35,7 +35,8 @@
54be6b
  */
54be6b
 /*#define DEFSPATH	"PATH=/bin:/usr/bin"			/* */
54be6b
 /*#define DEFPATH	"PATH=$HOME/bin:/bin:/usr/bin"		/* */
54be6b
-
54be6b
+#define DEFPATH	"PATH=$HOME/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin"		/* */
54be6b
+ 
54be6b
 /* every environment variable appearing in PRESTENV will be set or wiped
54be6b
  * out of the environment (variables without an '=' sign will be thrown
54be6b
  * out), e.g. you could define PRESTENV as follows:
54be6b
@@ -46,13 +47,13 @@
54be6b
  */
54be6b
 #define PRESTENV	{"IFS","ENV","PWD",0}
54be6b
 
54be6b
-/*#define GROUP_PER_USER			/* uncomment this if each
54be6b
+#define GROUP_PER_USER			/* uncomment this if each
54be6b
 						   user has his or her own
54be6b
 	group and procmail can therefore trust a $HOME/.procmailrc that
54be6b
 	is group writable or contained in a group writable home directory
54be6b
 	if the group involved is the user's default group. */
54be6b
 
54be6b
-/*#define LMTP					/* uncomment this if you
54be6b
+#define LMTP					/* uncomment this if you
54be6b
 						   want to use procmail
54be6b
 	as an LMTP (rfc2033) server, presumably for invocation by an MTA.
54be6b
 	The file examples/local_procmail_lmtp.m4 contains info on how to
54be6b
@@ -79,7 +80,7 @@
54be6b
 
54be6b
 /*#define NO_fcntl_LOCK		/* uncomment any of these three if you	     */
54be6b
 /*#define NO_lockf_LOCK		/* definitely do not want procmail to make   */
54be6b
-/*#define NO_flock_LOCK		/* use of those kernel-locking methods	     */
54be6b
+#define NO_flock_LOCK		/* use of those kernel-locking methods	     */
54be6b
 				/* If you set LOCKINGTEST to a binary number
54be6b
 	than there's no need to set these.  These #defines are only useful
54be6b
 	if you want to disable particular locking styles but are unsure which
54be6b
@@ -91,7 +92,7 @@
54be6b
 	mail present.  procmail automatically suppresses this when it isn't
54be6b
 	needed or under heavy load. */
54be6b
 
54be6b
-/*#define DEFsendmail	"/usr/sbin/sendmail"	/* uncomment and/or change if
54be6b
+#define DEFsendmail	"/usr/sbin/sendmail"	/* uncomment and/or change if
54be6b
 						   the autoconfigured default
54be6b
 	SENDMAIL is not suitable.  This program should quack like a sendmail:
54be6b
 	it should accept the -oi flag (to tell it to _not_ treat a line