components/procmail/patches/04-procmail-3.22-rhconfig.patch
author Rich Burridge <rich.burridge@oracle.com>
Mon, 03 Dec 2012 19:46:10 -0800
changeset 1069 415af38929a1
parent 1068 components/procmail/patches/procmail-3.22-rhconfig.patch@0b7caaf07429
permissions -rw-r--r--
15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release (fix patching)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1068
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
--- procmail-3.22/Makefile.rhconfig	2001-09-10 22:53:09.000000000 -0600
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
+++ procmail-3.22/Makefile	2003-09-12 07:44:34.000000000 -0600
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
@@ -23,7 +23,7 @@
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
 # Uncomment to install compressed man pages (possibly add extra suffix
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
 # to the definitions of MAN?DIR and/or MAN?SUFFIX by hand)
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
-#MANCOMPRESS = compress
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
+# MANCOMPRESS = compress
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
 ############################*#
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
 # Things that can be made are:
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
@@ -55,7 +55,7 @@
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
 LOCKINGTEST=__defaults__
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
-#LOCKINGTEST=/tmp .	# Uncomment and add any directories you see fit.
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
+LOCKINGTEST=/tmp .	# Uncomment and add any directories you see fit.
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
 #			If LOCKINGTEST is defined, autoconf will NOT
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
 #			prompt you to enter additional directories.
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
 #			See INSTALL for more information about the
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
@@ -65,7 +65,7 @@
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
 # Only edit below this line if you *think* you know what you are doing #
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
 ########################################################################
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
-#LOCKINGTEST=100	# Uncomment (and change) if you think you know
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
+LOCKINGTEST=100	# Uncomment (and change) if you think you know
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
 #			it better than the autoconf lockingtests.
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
 #			This will cause the lockingtests to be hotwired.
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
 #			100	to enable fcntl()
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
@@ -74,8 +74,8 @@
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
 #			Or them together to get the desired combination.
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
 # Optional system libraries we search for
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
-SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun \
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
- -lgen -lsockdns -ldl
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
+SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lsun \
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
+ -lgen -lsockdns
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
 #			-lresolv	# not really needed, is it?
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
 # Informal list of directories where we look for the libraries in SEARCHLIBS
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
@@ -86,8 +86,8 @@
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
  #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
 # The place to put your favourite extra cc flag
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
-CFLAGS0 = -O #$(GCC_WARNINGS)
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
-LDFLAGS0= -s
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
+CFLAGS0 = $(RPM_OPT_FLAGS) #$(GCC_WARNINGS)
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
+LDFLAGS0= 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
 # Read my libs :-)
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
 LIBS=
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
--- procmail-3.22/config.h.rhconfig	2001-09-10 22:53:50.000000000 -0600
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
+++ procmail-3.22/config.h	2003-09-12 07:41:40.000000000 -0600
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
@@ -35,7 +35,8 @@
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
  */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
 /*#define DEFSPATH	"PATH=/bin:/usr/bin"			/* */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
 /*#define DEFPATH	"PATH=$HOME/bin:/bin:/usr/bin"		/* */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
-
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
+#define DEFPATH	"PATH=$HOME/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin"		/* */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
+ 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
 /* every environment variable appearing in PRESTENV will be set or wiped
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
  * out of the environment (variables without an '=' sign will be thrown
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
  * out), e.g. you could define PRESTENV as follows:
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    64
@@ -46,13 +47,13 @@
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    65
  */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    66
 #define PRESTENV	{"IFS","ENV","PWD",0}
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    67
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    68
-/*#define GROUP_PER_USER			/* uncomment this if each
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    69
+#define GROUP_PER_USER			/* uncomment this if each
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    70
 						   user has his or her own
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    71
 	group and procmail can therefore trust a $HOME/.procmailrc that
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    72
 	is group writable or contained in a group writable home directory
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    73
 	if the group involved is the user's default group. */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    74
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    75
-/*#define LMTP					/* uncomment this if you
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    76
+#define LMTP					/* uncomment this if you
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    77
 						   want to use procmail
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    78
 	as an LMTP (rfc2033) server, presumably for invocation by an MTA.
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    79
 	The file examples/local_procmail_lmtp.m4 contains info on how to
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    80
@@ -79,7 +80,7 @@
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    81
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    82
 /*#define NO_fcntl_LOCK		/* uncomment any of these three if you	     */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    83
 /*#define NO_lockf_LOCK		/* definitely do not want procmail to make   */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    84
-/*#define NO_flock_LOCK		/* use of those kernel-locking methods	     */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    85
+#define NO_flock_LOCK		/* use of those kernel-locking methods	     */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    86
 				/* If you set LOCKINGTEST to a binary number
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    87
 	than there's no need to set these.  These #defines are only useful
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    88
 	if you want to disable particular locking styles but are unsure which
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    89
@@ -91,14 +92,14 @@
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    90
 	restriction does not apply to the /etc/procmailrc and
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    91
 	/etc/procmailrcs files) */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    92
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    93
-/*#define NO_NFS_ATIME_HACK	/* uncomment if you're definitely not using
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    94
+#define NO_NFS_ATIME_HACK	/* uncomment if you're definitely not using
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    95
 				   NFS mounted filesystems and can't afford
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    96
 	procmail to sleep for 1 sec. before writing to an empty regular
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    97
 	mailbox.  This lets programs correctly judge whether there is unread
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    98
 	mail present.  procmail automatically suppresses this when it isn't
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    99
 	needed or under heavy load. */
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   100
 
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   101
-/*#define DEFsendmail	"/usr/sbin/sendmail"	/* uncomment and/or change if
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   102
+#define DEFsendmail	"/usr/sbin/sendmail"	/* uncomment and/or change if
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   103
 						   the autoconfigured default
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   104
 	SENDMAIL is not suitable.  This program should quack like a sendmail:
0b7caaf07429 15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   105
 	it should accept the -oi flag (to tell it to _not_ treat a line