diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-04-07 16:07:41 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-04-07 16:07:41 +0000 |
commit | 5e751949ffc786d37577691e43c22a9fae7cec9b (patch) | |
tree | 1ccc6091e13567d47fff19962d44cec09fd56078 /net/ucd-snmp/files | |
parent | Add USE_XLIB (diff) |
Upgrade to v3.6.1 and apply some patches. But this version still has
kvm_read() problem on some RELENG_3 system.
No response from: maintainer
PR: ports/7330, ports/8908, ports/8909
Notes
Notes:
svn path=/head/; revision=17692
Diffstat (limited to 'net/ucd-snmp/files')
-rw-r--r-- | net/ucd-snmp/files/freebsd4.h | 1 | ||||
-rw-r--r-- | net/ucd-snmp/files/patch-aa | 17 | ||||
-rw-r--r-- | net/ucd-snmp/files/patch-ab | 24 | ||||
-rw-r--r-- | net/ucd-snmp/files/patch-ad | 29 | ||||
-rw-r--r-- | net/ucd-snmp/files/patch-af | 12 |
5 files changed, 62 insertions, 21 deletions
diff --git a/net/ucd-snmp/files/freebsd4.h b/net/ucd-snmp/files/freebsd4.h new file mode 100644 index 000000000000..e0774c7e4cd6 --- /dev/null +++ b/net/ucd-snmp/files/freebsd4.h @@ -0,0 +1 @@ +#include "freebsd3.h" diff --git a/net/ucd-snmp/files/patch-aa b/net/ucd-snmp/files/patch-aa index 26a99aa30842..ce70b47986cb 100644 --- a/net/ucd-snmp/files/patch-aa +++ b/net/ucd-snmp/files/patch-aa @@ -1,14 +1,13 @@ ---- snmplib/Makefile.in.orig Mon Sep 7 16:19:24 1998 -+++ snmplib/Makefile.in Mon Oct 19 16:16:19 1998 -@@ -23,7 +23,10 @@ - all: $(TARG) +--- snmplib/Makefile.in~ Tue Mar 16 01:49:10 1999 ++++ snmplib/Makefile.in Sat Apr 3 13:30:11 1999 +@@ -41,6 +41,10 @@ - libsnmp.$(SHLIB_EXTENSION): ${OBJS} -- $(SHLIB_LD_CMD) libsnmp.$(SHLIB_EXTENSION) ${OBJS} -+ ld -Bshareable -soname libsnmp.$(SHLIB_EXTENSION).$(SHLIB_VERSION) \ + libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION): ${OBJS} + $(SHLIB_LD_CMD) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) ${OBJS} ++ ld -Bshareable -soname libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) \ + -o libsnmp.$(SHLIB_EXTENSION) ${OBJS} + ln -f libsnmp.$(SHLIB_EXTENSION) \ -+ libsnmp.$(SHLIB_EXTENSION).$(SHLIB_VERSION) - $(RANLIB) libsnmp.$(SHLIB_EXTENSION) ++ libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) + $(RANLIB) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) installdirs: diff --git a/net/ucd-snmp/files/patch-ab b/net/ucd-snmp/files/patch-ab index d48c2330f5cc..4658da4119df 100644 --- a/net/ucd-snmp/files/patch-ab +++ b/net/ucd-snmp/files/patch-ab @@ -1,6 +1,6 @@ ---- agent/mibgroup/ucd-snmp/disk.c.orig Mon Mar 22 20:16:32 1999 -+++ agent/mibgroup/ucd-snmp/disk.c Mon Mar 22 20:20:36 1999 -@@ -76,6 +76,7 @@ +--- agent/mibgroup/ucd-snmp/disk.c~ Fri Mar 5 08:45:00 1999 ++++ agent/mibgroup/ucd-snmp/disk.c Sat Apr 3 13:33:11 1999 +@@ -79,6 +79,7 @@ #define statvfs statfs #endif #if HAVE_VM_SWAP_PAGER_H @@ -8,9 +8,9 @@ #include <vm/swap_pager.h> #endif #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/errormib.c.orig Mon Mar 22 20:22:21 1999 -+++ agent/mibgroup/ucd-snmp/errormib.c Mon Mar 22 20:22:38 1999 -@@ -90,6 +90,7 @@ +--- agent/mibgroup/ucd-snmp/errormib.c~ Tue Mar 2 05:27:30 1999 ++++ agent/mibgroup/ucd-snmp/errormib.c Sat Apr 3 13:33:44 1999 +@@ -93,6 +93,7 @@ #define statvfs statfs #endif #if HAVE_VM_SWAP_PAGER_H @@ -18,9 +18,9 @@ #include <vm/swap_pager.h> #endif #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/extensible.c.orig Mon Mar 22 20:21:49 1999 -+++ agent/mibgroup/ucd-snmp/extensible.c Mon Mar 22 20:22:02 1999 -@@ -78,6 +78,7 @@ +--- agent/mibgroup/ucd-snmp/extensible.c~ Fri Mar 5 08:45:01 1999 ++++ agent/mibgroup/ucd-snmp/extensible.c Sat Apr 3 13:34:13 1999 +@@ -81,6 +81,7 @@ #define statvfs statfs #endif #if HAVE_VM_SWAP_PAGER_H @@ -28,9 +28,9 @@ #include <vm/swap_pager.h> #endif #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/loadave.c.orig Mon Mar 22 20:21:05 1999 -+++ agent/mibgroup/ucd-snmp/loadave.c Mon Mar 22 20:21:21 1999 -@@ -77,6 +77,7 @@ +--- agent/mibgroup/ucd-snmp/loadave.c~ Tue Mar 16 08:21:02 1999 ++++ agent/mibgroup/ucd-snmp/loadave.c Sat Apr 3 13:34:39 1999 +@@ -80,6 +80,7 @@ #define statvfs statfs #endif #if HAVE_VM_SWAP_PAGER_H diff --git a/net/ucd-snmp/files/patch-ad b/net/ucd-snmp/files/patch-ad new file mode 100644 index 000000000000..f47168018a61 --- /dev/null +++ b/net/ucd-snmp/files/patch-ad @@ -0,0 +1,29 @@ +--- agent/mibgroup/mibII/interfaces.c~ Tue Mar 16 08:46:12 1999 ++++ agent/mibgroup/mibII/interfaces.c Sat Apr 3 13:49:28 1999 +@@ -1745,10 +1745,18 @@ + physaddrbuf = 0; + } + ifm = (struct if_msghdr *)rtm; ++#if defined(freebsd3) || defined(freebsd4) ++ if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1); ++ naddrs++; ++#endif + ilen -= ifm->ifm_msglen; + cp += ifm->ifm_msglen; + rtm = (struct rt_msghdr *)cp; + while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) { ++#if defined(freebsd3) || defined(freebsd4) ++ ilen -= rtm->rtm_msglen; ++ cp += rtm->rtm_msglen; ++#else + int is_alias = 0; + ifam = (struct ifa_msghdr *)rtm; + ilen -= sizeof(*ifam); +@@ -1771,6 +1779,7 @@ + } + sa = (struct sockaddr *)cp; + } ++#endif + rtm = (struct rt_msghdr *)cp; + } + } diff --git a/net/ucd-snmp/files/patch-af b/net/ucd-snmp/files/patch-af new file mode 100644 index 000000000000..2f197dc4c0c0 --- /dev/null +++ b/net/ucd-snmp/files/patch-af @@ -0,0 +1,12 @@ +--- agent/mibgroup/ucd_snmp.h.orig Fri Feb 26 03:03:41 1999 ++++ agent/mibgroup/ucd_snmp.h Sun Apr 4 13:52:23 1999 +@@ -18,5 +18,9 @@ + config_arch_require(bsdi3, ucd-snmp/memory) + config_arch_require(linux, ucd-snmp/vmstat) + config_arch_require(freebsd2, ucd-snmp/vmstat_freebsd2) ++config_arch_require(freebsd3, ucd-snmp/vmstat_freebsd2) ++config_arch_require(freebsd4, ucd-snmp/vmstat_freebsd2) + config_arch_require(freebsd2, ucd-snmp/memory_freebsd2) ++config_arch_require(freebsd3, ucd-snmp/memory_freebsd2) ++config_arch_require(freebsd4, ucd-snmp/memory_freebsd2) + config_add_mib(UCD-SNMP-MIB) |