Blame SOURCES/procmail-3.22-rhconfig.patch

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