summaryrefslogtreecommitdiff
path: root/mail/sendmail812/patches
diff options
context:
space:
mode:
authoradrianp <adrianp>2004-08-30 19:56:44 +0000
committeradrianp <adrianp>2004-08-30 19:56:44 +0000
commite2d71d130a376c72643b956ac3e7d3b458136870 (patch)
tree8ef324d56277748a198a3189253bad01549180b6 /mail/sendmail812/patches
parentc68158fa54e209cc969bcf7daed15f5f86c4795a (diff)
downloadpkgsrc-e2d71d130a376c72643b956ac3e7d3b458136870.tar.gz
Rename of current sendmail package to sendmail812 to make way for
new sendmail 8.13.x tree in pkgsrc. Changes to the original package include: - Added missing NetBSD CVS tags to some files under files - Path changes in Makefile and Makefile.common to reflect new location under mail/ of this package
Diffstat (limited to 'mail/sendmail812/patches')
-rw-r--r--mail/sendmail812/patches/patch-aa25
-rw-r--r--mail/sendmail812/patches/patch-ab12
-rw-r--r--mail/sendmail812/patches/patch-ac12
-rw-r--r--mail/sendmail812/patches/patch-ad12
-rw-r--r--mail/sendmail812/patches/patch-ae12
-rw-r--r--mail/sendmail812/patches/patch-af14
-rw-r--r--mail/sendmail812/patches/patch-ag38
7 files changed, 125 insertions, 0 deletions
diff --git a/mail/sendmail812/patches/patch-aa b/mail/sendmail812/patches/patch-aa
new file mode 100644
index 00000000000..eba618135db
--- /dev/null
+++ b/mail/sendmail812/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+
+--- devtools/OS/NetBSD.orig 2002-03-21 15:59:25.000000000 -0800
++++ devtools/OS/NetBSD
+@@ -6,13 +6,15 @@ dnl Place personal settings in devtools/
+ define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX')
+ define(`confENVDEF', ` -DNETISO')
+ define(`confDEPEND_TYPE', `CC-M')
+-define(`confSBINGRP', `wheel')
+-define(`confUBINOWN', `root')
+-define(`confUBINGRP', `wheel')
+-define(`confMANOWN', `root')
+-define(`confMANGRP', `wheel')
++define(`confSBINGRP', `${BSD_BINOWN}')
++define(`confSBINGRP', `${BSD_BINGRP}')
++define(`confUBINOWN', `${BSD_BINOWN}')
++define(`confUBINGRP', `${BSD_BINGRP}')
++define(`confMANOWN', `${BSD_MANOWN}')
++define(`confMANGRP', `${BSD_MANGRP}')
+ define(`confMAN1EXT', `0')
+ define(`confMAN3EXT', `0')
+ define(`confMAN4EXT', `0')
+ define(`confMAN5EXT', `0')
+ define(`confMAN8EXT', `0')
++define(`confLDOPTS', `${LDFLAGS}')
diff --git a/mail/sendmail812/patches/patch-ab b/mail/sendmail812/patches/patch-ab
new file mode 100644
index 00000000000..42f5ad729ae
--- /dev/null
+++ b/mail/sendmail812/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+
+--- devtools/OS/SunOS.5.6.orig Fri Mar 22 11:59:26 2002
++++ devtools/OS/SunOS.5.6 Mon Sep 16 15:05:30 2002
+@@ -11,6 +11,7 @@
+ define(`confENVDEF', `-DSOLARIS=20600')
+ define(`confSM_OS_HEADER', `sm_os_sunos')
+ define(`confLIBS', `-lsocket -lnsl -lkstat')
++define(`confLDOPTS', `${LDFLAGS}')
+ define(`confMTCCOPTS', `-D_REENTRANT')
+ define(`confMTLDOPTS', `-lpthread')
+ define(`confMBINDIR', `/usr/lib')
diff --git a/mail/sendmail812/patches/patch-ac b/mail/sendmail812/patches/patch-ac
new file mode 100644
index 00000000000..2e2a0a6ad74
--- /dev/null
+++ b/mail/sendmail812/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+
+--- devtools/OS/SunOS.5.7.orig Fri Mar 22 11:59:26 2002
++++ devtools/OS/SunOS.5.7 Mon Sep 16 15:07:08 2002
+@@ -11,6 +11,7 @@
+ define(`confENVDEF', `-DSOLARIS=20700')
+ define(`confSM_OS_HEADER', `sm_os_sunos')
+ define(`confLIBS', `-lsocket -lnsl')
++define(`confLDOPTS', `${LDFLAGS}')
+ define(`confMTCCOPTS', `-D_REENTRANT')
+ define(`confMTLDOPTS', `-lpthread')
+ define(`confMBINDIR', `/usr/lib')
diff --git a/mail/sendmail812/patches/patch-ad b/mail/sendmail812/patches/patch-ad
new file mode 100644
index 00000000000..5b855e84750
--- /dev/null
+++ b/mail/sendmail812/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+
+--- devtools/OS/SunOS.5.8.orig Fri Mar 22 11:59:26 2002
++++ devtools/OS/SunOS.5.8 Mon Sep 16 15:09:28 2002
+@@ -10,6 +10,7 @@
+ define(`confENVDEF', `-DSOLARIS=20800 -DNETINET6')
+ define(`confSM_OS_HEADER', `sm_os_sunos')
+ define(`confLIBS', `-lsocket -lnsl')
++define(`confLDOPTS', `${LDFLAGS}')
+ define(`confMTCCOPTS', `-D_REENTRANT')
+ define(`confMTLDOPTS', `-lpthread')
+ define(`confMBINDIR', `/usr/lib')
diff --git a/mail/sendmail812/patches/patch-ae b/mail/sendmail812/patches/patch-ae
new file mode 100644
index 00000000000..bd417e49c6e
--- /dev/null
+++ b/mail/sendmail812/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+
+--- devtools/OS/SunOS.5.9.orig Fri Mar 22 11:59:26 2002
++++ devtools/OS/SunOS.5.9 Mon Sep 16 15:11:10 2002
+@@ -10,6 +10,7 @@
+ define(`confENVDEF', `-DSOLARIS=20900 -DNETINET6')
+ define(`confSM_OS_HEADER', `sm_os_sunos')
+ define(`confLIBS', `-lsocket -lnsl')
++define(`confLDOPTS', `${LDFLAGS}')
+ define(`confMTCCOPTS', `-D_REENTRANT')
+ define(`confMTLDOPTS', `-lpthread')
+ define(`confMBINDIR', `/usr/lib')
diff --git a/mail/sendmail812/patches/patch-af b/mail/sendmail812/patches/patch-af
new file mode 100644
index 00000000000..73a1eba9ca6
--- /dev/null
+++ b/mail/sendmail812/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+
+--- sendmail/conf.c.orig Sat Aug 17 02:56:01 2002
++++ sendmail/conf.c Mon Sep 16 15:13:22 2002
+@@ -4352,7 +4352,8 @@
+
+ #if NETINET6
+ if (type == AF_INET6 &&
+- IN6_IS_ADDR_UNSPECIFIED((struct in6_addr *) addr))
++ (IN6_IS_ADDR_UNSPECIFIED((struct in6_addr *) addr) ||
++ IN6_IS_ADDR_LINKLOCAL((struct in6_addr *) addr)))
+ {
+ /* Avoid reverse lookup for IPv6 unspecified address */
+ SM_SET_H_ERRNO(HOST_NOT_FOUND);
diff --git a/mail/sendmail812/patches/patch-ag b/mail/sendmail812/patches/patch-ag
new file mode 100644
index 00000000000..a40a4cf5471
--- /dev/null
+++ b/mail/sendmail812/patches/patch-ag
@@ -0,0 +1,38 @@
+$NetBSD: patch-ag,v 1.1.1.1 2004/08/30 19:56:46 adrianp Exp $
+
+--- include/sm/conf.h.orig 2004-01-07 13:52:16.000000000 +1300
++++ include/sm/conf.h
+@@ -780,7 +780,11 @@ extern unsigned int sleepX __P((unsigned
+ # ifndef LA_TYPE
+ # define LA_TYPE LA_SUBR
+ # endif /* ! LA_TYPE */
++#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
++# define SFS_TYPE SFS_STATVFS /* use <sys/statvfs.h> statfs() impl */
++#else
+ # define SFS_TYPE SFS_MOUNT /* use <sys/mount.h> statfs() impl */
++#endif
+ # define SPT_TYPE SPT_PSSTRINGS /* use PS_STRINGS pointer */
+ # endif /* defined(BSD4_4) && !defined(__bsdi__) && !defined(__GNU__) */
+
+@@ -894,7 +898,11 @@ extern unsigned int sleepX __P((unsigned
+ # ifndef LA_TYPE
+ # define LA_TYPE LA_SUBR
+ # endif /* ! LA_TYPE */
++#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
++# define SFS_TYPE SFS_STATVFS /* use <sys/statvfs.h> statfs() impl */
++#else
+ # define SFS_TYPE SFS_MOUNT /* use <sys/mount.h> statfs() impl */
++#endif
+ # if defined(__NetBSD__) && (NetBSD > 199307 || NetBSD0_9 > 1)
+ # undef SPT_TYPE
+ # define SPT_TYPE SPT_BUILTIN /* setproctitle is in libc */
+@@ -902,6 +910,9 @@ extern unsigned int sleepX __P((unsigned
+ # if defined(__NetBSD__) && ((__NetBSD_Version__ > 102070000) || (NetBSD1_2 > 8) || defined(NetBSD1_4) || defined(NetBSD1_3))
+ # define HASURANDOMDEV 1 /* has /dev/urandom(4) */
+ # endif /* defined(__NetBSD__) && ((__NetBSD_Version__ > 102070000) || (NetBSD1_2 > 8) || defined(NetBSD1_4) || defined(NetBSD1_3)) */
++# if defined(__NetBSD__)
++# define SMRSH_CMDDIR "/usr/libexec/sm.bin"
++# endif /* defined(__NetBSD__) */
+ # if defined(__FreeBSD__)
+ # define HASSETLOGIN 1 /* has setlogin(2) */
+ # if __FreeBSD_version >= 227001