summaryrefslogtreecommitdiff
path: root/net/net-snmp-current/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/net-snmp-current/patches')
-rw-r--r--net/net-snmp-current/patches/patch-aa82
-rw-r--r--net/net-snmp-current/patches/patch-ab31
-rw-r--r--net/net-snmp-current/patches/patch-ad13
-rw-r--r--net/net-snmp-current/patches/patch-af51
-rw-r--r--net/net-snmp-current/patches/patch-ag13
-rw-r--r--net/net-snmp-current/patches/patch-ai13
-rw-r--r--net/net-snmp-current/patches/patch-aj82
7 files changed, 0 insertions, 285 deletions
diff --git a/net/net-snmp-current/patches/patch-aa b/net/net-snmp-current/patches/patch-aa
deleted file mode 100644
index b1b608df32f..00000000000
--- a/net/net-snmp-current/patches/patch-aa
+++ /dev/null
@@ -1,82 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/03/14 06:29:03 itojun Exp $
-
---- configure.in.orig Sat Mar 9 09:55:09 2002
-+++ configure.in Thu Mar 14 11:52:35 2002
-@@ -1425,7 +1425,7 @@
- AC_HEADER_STDC
- AC_HEADER_DIRENT
- AC_HEADER_SYS_WAIT
--AC_CHECK_HEADERS(stdarg.h string.h fcntl.h limits.h sys/file.h sys/ioctl.h syslog.h unistd.h netinet/tcpip.h netinet/in.h netinet/ip.h netinet/ip_icmp.h net/if.h netdb.h sys/dmap.h machine/pte.h xti.h sys/sockio.h sys/socket.h sys/un.h fstab.h sys/fs.h mtab.h ufs/fs.h ufs/ffs/fs.h sys/fixpoint.h machine/param.h sys/vm.h vm/vm.h sys/vmmeter.h sys/vmparam.h sys/vmmac.h sys/vmsystm.h sys/mbuf.h sys/time.h sys/swap.h inet/mib2.h sys/statvfs.h sys/vfs.h sys/mnttab.h sys/user.h sys/proc.h sys/select.h mntent.h sys/mntent.h kstat.h utsname.h sys/utsname.h sys/cdefs.h getopt.h locale.h pthread.h sys/loadavg.h regex.h linux/tasks.h pwd.h grp.h utmpx.h)
-+AC_CHECK_HEADERS(stdarg.h string.h fcntl.h limits.h sys/file.h sys/ioctl.h syslog.h unistd.h netinet/tcpip.h netinet/in.h netinet/ip.h netinet/ip_icmp.h net/if.h netdb.h sys/dmap.h machine/pte.h xti.h sys/sockio.h sys/socket.h sys/un.h fstab.h sys/fs.h mtab.h ufs/fs.h ufs/ffs/fs.h sys/fixpoint.h machine/param.h vm/vm.h sys/vmmeter.h sys/vmparam.h sys/vmmac.h sys/vmsystm.h sys/mbuf.h sys/time.h sys/swap.h inet/mib2.h sys/statvfs.h sys/vfs.h sys/mnttab.h sys/user.h sys/proc.h sys/select.h mntent.h sys/mntent.h kstat.h utsname.h sys/utsname.h sys/cdefs.h getopt.h locale.h pthread.h sys/loadavg.h regex.h linux/tasks.h pwd.h grp.h utmpx.h)
- dnl FreeBSD required headers
- AC_CHECK_HEADERS(malloc.h sys/param.h net/if_dl.h sys/sysctl.h stdlib.h net/if_mib.h net/if_types.h net/if_var.h sys/queue.h osreldate.h sys/disklabel.h machine/types.h sys/socketvar.h)
- dnl Linux
-@@ -1433,7 +1433,7 @@
- dnl NetBSD required headers
- AC_CHECK_HEADERS(arpa/inet.h kvm.h sys/pool.h)
- dnl BSDi2 headers
--AC_CHECK_HEADERS(sys/mount.h vm/swap_pager.h ufs/ufs/dinode.h)
-+AC_CHECK_HEADERS(sys/mount.h ufs/ufs/dinode.h)
- dnl BSDi3 headers
- AC_CHECK_HEADERS(sys/stat.h sys/vnode.h ufs/ufs/quota.h ufs/ufs/inode.h)
- dnl irix headers
-@@ -1682,11 +1682,7 @@
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
- ], sockaddr, sa_len, no)
-
- AC_CHECK_STRUCT_FOR([
-@@ -1694,11 +1690,7 @@
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
- ], sockaddr, sa_union.sa_generic.sa_family2, no)
-
- AC_CHECK_STRUCT_FOR([
-@@ -1706,11 +1698,7 @@
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
- #include <net/route.h>
- ], rtentry, rt_dst, no)
-
-@@ -1724,11 +1712,7 @@
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
- #include <net/route.h>
- ],[
-
-@@ -1748,11 +1732,7 @@
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
- #include <net/route.h>
- ],[
- struct rtentry rt;
diff --git a/net/net-snmp-current/patches/patch-ab b/net/net-snmp-current/patches/patch-ab
deleted file mode 100644
index 38e6235bd70..00000000000
--- a/net/net-snmp-current/patches/patch-ab
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/03/14 06:29:03 itojun Exp $
-
---- snmplib/Makefile.in- Thu Mar 14 11:44:11 2002
-+++ snmplib/Makefile.in Thu Mar 14 11:44:36 2002
-@@ -108,7 +108,7 @@
- snprintf.c strtol.c strtoul.c \
- snmp_transport.c @transport_src_list@ \
- snmp_secmod.c @security_src_list@ snmp_version.c \
-- cmu_compat.c ucd_compat.c
-+ cmu_compat.c ucd_compat.c libwrap.c
-
- OBJS= snmp_client.o mib.o parse.o snmp_api.o snmp.o \
- snmp_auth.o asn1.o md5.o snmp_parse_args.o \
-@@ -121,7 +121,7 @@
- snprintf.o strtol.o strtoul.o \
- snmp_transport.o @transport_obj_list@ \
- snmp_secmod.o @security_obj_list@ snmp_version.o \
-- cmu_compat.o ucd_compat.o
-+ cmu_compat.o ucd_compat.o libwrap.o
-
- LOBJS= snmp_client.lo mib.lo parse.lo snmp_api.lo snmp.lo \
- snmp_auth.lo asn1.lo md5.lo snmp_parse_args.lo \
-@@ -134,7 +134,7 @@
- snprintf.lo strtol.lo strtoul.lo \
- snmp_transport.lo @transport_lobj_list@ \
- snmp_secmod.lo @security_lobj_list@ snmp_version.lo \
-- cmu_compat.lo ucd_compat.lo
-+ cmu_compat.lo ucd_compat.lo libwrap.lo
-
- # just in case someone wants to remove libtool, change this to OBJS.
- TOBJS=$(LOBJS)
diff --git a/net/net-snmp-current/patches/patch-ad b/net/net-snmp-current/patches/patch-ad
deleted file mode 100644
index f7e2be88542..00000000000
--- a/net/net-snmp-current/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2002/03/14 06:29:03 itojun Exp $
-
---- agent/mibgroup/host/hr_system.c- Thu Mar 14 11:45:56 2002
-+++ agent/mibgroup/host/hr_system.c Thu Mar 14 11:46:28 2002
-@@ -253,7 +253,7 @@
- #if HAVE_UTMPX_H
- #define setutent setutxent
- #define getutent getutxent
--#define entutent entutxent
-+#define endutent endutxent
- struct utmpx *utmp_p;
- #else
- struct utmp *utmp_p;
diff --git a/net/net-snmp-current/patches/patch-af b/net/net-snmp-current/patches/patch-af
deleted file mode 100644
index 800130e7509..00000000000
--- a/net/net-snmp-current/patches/patch-af
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2002/03/14 06:29:03 itojun Exp $
-
---- agent/mibgroup/mibII/interfaces.c- Thu Mar 14 11:47:07 2002
-+++ agent/mibgroup/mibII/interfaces.c Thu Mar 14 11:49:42 2002
-@@ -166,7 +166,7 @@
- #ifdef freebsd3
- # define USE_SYSCTL_IFLIST
- #else
--# if defined(CTL_NET) && !defined(freebsd2)
-+# if defined(CTL_NET) && !defined(freebsd2) && !defined(netbsd1)
- # ifdef PF_ROUTE
- # ifdef NET_RT_IFLIST
- # ifndef netbsd1
-@@ -1783,19 +1783,36 @@
- cp = strchr(saveName, '\0');
- string_append_int (cp, ifnet.if_unit);
- #endif
-- if (1 || strcmp(saveName,"lo0") != 0) { /* XXX */
-+ if (1) { /* XXX */
- /*
- * Try to find an address for this interface
- */
-
- auto_nlist(IFADDR_SYMBOL, (char *)&ia, sizeof(ia));
-+#ifdef netbsd1
-+ ia = (struct in_ifaddr *)ifnet.if_addrlist.tqh_first;
-+#endif
- while (ia) {
- klookup((unsigned long)ia , (char *)&in_ifaddr, sizeof(in_ifaddr));
-+{
-+#ifdef netbsd1
-+#define CP(x) ((char *)(x))
-+ char *cp; struct sockaddr *sa;
-+ cp = (CP(in_ifaddr.ia_ifa.ifa_addr) - CP(ia)) +
-+ CP(&in_ifaddr); sa = (struct sockaddr *)cp;
-+
-+if (sa->sa_family == AF_INET)
-+#endif
- if (in_ifaddr.ia_ifp == ifnetaddr) {
- has_ipaddr = 1; /* this IF has IP-address */
- break;
- }
-+}
-+#ifdef netbsd1
-+ ia = (struct in_ifaddr *)in_ifaddr.ia_ifa.ifa_list.tqe_next;
-+#else
- ia = in_ifaddr.ia_next;
-+#endif
- }
-
- #if !defined(netbsd1) && !defined(freebsd2) && !defined(openbsd2) && !defined(STRUCT_IFNET_HAS_IF_ADDRLIST)
diff --git a/net/net-snmp-current/patches/patch-ag b/net/net-snmp-current/patches/patch-ag
deleted file mode 100644
index 858f59f26f2..00000000000
--- a/net/net-snmp-current/patches/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2002/03/14 06:29:03 itojun Exp $
-
---- agent/mibgroup/mibII/ipAddr.c.orig Sat Feb 9 00:45:11 2002
-+++ agent/mibgroup/mibII/ipAddr.c Thu Mar 14 12:07:44 2002
-@@ -279,6 +279,8 @@
- long_return = lowin_ifaddr.BcastAddr;
- #elif defined(linux) || defined(sunV3)
- long_return = ntohl(((struct sockaddr_in *) &lowin_ifnet.ifu_broadaddr)->sin_addr.s_addr) & 1;
-+#elif defined(netbsd1)
-+ long_return = ((struct sockaddr_in *) &lowin_ifaddr.ia_broadaddr)->sin_addr.s_addr & 1;
- #else
- long_return = ntohl(((struct sockaddr_in *) &lowin_ifaddr.ia_broadaddr)->sin_addr.s_addr) & 1;
- #endif
diff --git a/net/net-snmp-current/patches/patch-ai b/net/net-snmp-current/patches/patch-ai
deleted file mode 100644
index f1f079b89eb..00000000000
--- a/net/net-snmp-current/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2002/03/14 06:29:03 itojun Exp $
-
---- Makefile.rules- Thu Mar 14 14:42:54 2002
-+++ Makefile.rules Thu Mar 14 14:43:00 2002
-@@ -21,7 +21,7 @@
- done \
- fi
-
--install: installheaders installlibs installprogs $(OTHERINSTALL)
-+install: installheaders installlibs installprogs installsubdirs $(OTHERINSTALL)
-
- installprogs: installbin installsbin
-
diff --git a/net/net-snmp-current/patches/patch-aj b/net/net-snmp-current/patches/patch-aj
deleted file mode 100644
index dcb496176f1..00000000000
--- a/net/net-snmp-current/patches/patch-aj
+++ /dev/null
@@ -1,82 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2002/10/02 22:06:39 wiz Exp $
-
---- configure.orig Sat Mar 9 07:26:54 2002
-+++ configure
-@@ -9167,7 +9167,7 @@ EOF
-
- fi
-
--for ac_hdr in stdarg.h string.h fcntl.h limits.h sys/file.h sys/ioctl.h syslog.h unistd.h netinet/tcpip.h netinet/in.h netinet/ip.h netinet/ip_icmp.h net/if.h netdb.h sys/dmap.h machine/pte.h xti.h sys/sockio.h sys/socket.h sys/un.h fstab.h sys/fs.h mtab.h ufs/fs.h ufs/ffs/fs.h sys/fixpoint.h machine/param.h sys/vm.h vm/vm.h sys/vmmeter.h sys/vmparam.h sys/vmmac.h sys/vmsystm.h sys/mbuf.h sys/time.h sys/swap.h inet/mib2.h sys/statvfs.h sys/vfs.h sys/mnttab.h sys/user.h sys/proc.h sys/select.h mntent.h sys/mntent.h kstat.h utsname.h sys/utsname.h sys/cdefs.h getopt.h locale.h pthread.h sys/loadavg.h regex.h linux/tasks.h pwd.h grp.h utmpx.h
-+for ac_hdr in stdarg.h string.h fcntl.h limits.h sys/file.h sys/ioctl.h syslog.h unistd.h netinet/tcpip.h netinet/in.h netinet/ip.h netinet/ip_icmp.h net/if.h netdb.h sys/dmap.h machine/pte.h xti.h sys/sockio.h sys/socket.h sys/un.h fstab.h sys/fs.h mtab.h ufs/fs.h ufs/ffs/fs.h sys/fixpoint.h machine/param.h vm/vm.h sys/vmmeter.h sys/vmparam.h sys/vmmac.h sys/vmsystm.h sys/mbuf.h sys/time.h sys/swap.h inet/mib2.h sys/statvfs.h sys/vfs.h sys/mnttab.h sys/user.h sys/proc.h sys/select.h mntent.h sys/mntent.h kstat.h utsname.h sys/utsname.h sys/cdefs.h getopt.h locale.h pthread.h sys/loadavg.h regex.h linux/tasks.h pwd.h grp.h utmpx.h
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-@@ -9327,7 +9327,7 @@ else
- fi
- done
-
--for ac_hdr in sys/mount.h vm/swap_pager.h ufs/ufs/dinode.h
-+for ac_hdr in sys/mount.h ufs/ufs/dinode.h
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-@@ -12446,11 +12446,7 @@ cat > conftest.$ac_ext <<EOF
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
-
-
- int main() {
-@@ -12515,11 +12511,7 @@ cat > conftest.$ac_ext <<EOF
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
-
-
- int main() {
-@@ -12584,11 +12576,7 @@ cat > conftest.$ac_ext <<EOF
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
- #include <net/route.h>
-
-
-@@ -12640,11 +12628,7 @@ cat > conftest.$ac_ext <<EOF
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
- #include <net/route.h>
-
- int main() {
-@@ -12678,11 +12662,7 @@ cat > conftest.$ac_ext <<EOF
- #include <sys/param.h>
- #endif
- #include <sys/types.h>
--#define KERNEL
--#define _KERNEL
- #include <sys/socket.h>
--#undef KERNEL
--#undef _KERNEL
- #include <net/route.h>
-
- int main() {