diff options
Diffstat (limited to 'net-mgmt/net-snmp/files')
-rw-r--r-- | net-mgmt/net-snmp/files/freebsd4.h | 1 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-aa | 13 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-ab | 40 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-ad | 29 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-af | 14 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-ag | 11 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-ah | 8 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-ak | 21 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-al | 29 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-am | 12 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-an | 12 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/snmpd.sh.sample | 20 |
12 files changed, 0 insertions, 210 deletions
diff --git a/net-mgmt/net-snmp/files/freebsd4.h b/net-mgmt/net-snmp/files/freebsd4.h deleted file mode 100644 index e0774c7e4cd6..000000000000 --- a/net-mgmt/net-snmp/files/freebsd4.h +++ /dev/null @@ -1 +0,0 @@ -#include "freebsd3.h" diff --git a/net-mgmt/net-snmp/files/patch-aa b/net-mgmt/net-snmp/files/patch-aa deleted file mode 100644 index ce70b47986cb..000000000000 --- a/net-mgmt/net-snmp/files/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ ---- 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)$(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)$(SHLIB_VERSION) - - installdirs: diff --git a/net-mgmt/net-snmp/files/patch-ab b/net-mgmt/net-snmp/files/patch-ab deleted file mode 100644 index 4658da4119df..000000000000 --- a/net-mgmt/net-snmp/files/patch-ab +++ /dev/null @@ -1,40 +0,0 @@ ---- 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 -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- 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 -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- 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 -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- 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 -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H diff --git a/net-mgmt/net-snmp/files/patch-ad b/net-mgmt/net-snmp/files/patch-ad deleted file mode 100644 index 6f28af0a528f..000000000000 --- a/net-mgmt/net-snmp/files/patch-ad +++ /dev/null @@ -1,29 +0,0 @@ ---- 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) || defined(freebsd5) -+ 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) || defined(freebsd5) -+ 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-mgmt/net-snmp/files/patch-af b/net-mgmt/net-snmp/files/patch-af deleted file mode 100644 index 546933895230..000000000000 --- a/net-mgmt/net-snmp/files/patch-af +++ /dev/null @@ -1,14 +0,0 @@ ---- 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,11 @@ - 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(freebsd5, 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_arch_require(freebsd5, ucd-snmp/memory_freebsd2) - config_add_mib(UCD-SNMP-MIB) diff --git a/net-mgmt/net-snmp/files/patch-ag b/net-mgmt/net-snmp/files/patch-ag deleted file mode 100644 index 4f8dbd1fe650..000000000000 --- a/net-mgmt/net-snmp/files/patch-ag +++ /dev/null @@ -1,11 +0,0 @@ ---- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 -+++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 -@@ -4,7 +4,7 @@ - #include <netinet/in.h> - - /* uncomment if you don't have in_addr_t in netinet/in.h */ --/* typedef u_int in_addr_t; */ -+typedef u_int in_addr_t; - - #include <ucd-snmp/asn1.h> - #include <ucd-snmp/snmp_api.h> diff --git a/net-mgmt/net-snmp/files/patch-ah b/net-mgmt/net-snmp/files/patch-ah deleted file mode 100644 index b80222ba72eb..000000000000 --- a/net-mgmt/net-snmp/files/patch-ah +++ /dev/null @@ -1,8 +0,0 @@ ---- local/tkmib.orig Wed Jul 21 19:06:52 1999 -+++ local/tkmib Sat Aug 28 02:37:57 1999 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -w -+#!/usr/bin/perl -w - - require 5; - diff --git a/net-mgmt/net-snmp/files/patch-ak b/net-mgmt/net-snmp/files/patch-ak deleted file mode 100644 index 7ca23e85b748..000000000000 --- a/net-mgmt/net-snmp/files/patch-ak +++ /dev/null @@ -1,21 +0,0 @@ ---- agent/Makefile.in.old Tue May 16 19:58:54 2000 -+++ agent/Makefile.in Tue May 16 20:00:26 2000 -@@ -51,10 +51,18 @@ - - libucdagent.$(SHLIB_EXTENSION)$(SHLIB_VERSION): ${LIBAGENTOBJS} libucdmibs.$(SHLIB_EXTENSION)$(SHLIB_VERSION) - $(SHLIB_LD_CMD) libucdagent.$(SHLIB_EXTENSION)$(SHLIB_VERSION) ${LIBAGENTOBJS} $(SHLIB_LD_LIBS) -+ ld -Bshareable -soname libucdagent.$(SHLIB_EXTENSION)$(SHLIB_VERSION) \ -+ -o libucdagent.$(SHLIB_EXTENSION) ${LIBAGENTOBJS} -+ ln -f libucdagent.$(SHLIB_EXTENSION) \ -+ libucdagent.$(SHLIB_EXTENSION)$(SHLIB_VERSION) - $(RANLIB) libucdagent.$(SHLIB_EXTENSION)$(SHLIB_VERSION) - - libucdmibs.$(SHLIB_EXTENSION)$(SHLIB_VERSION): ${MIBOBJS} - $(SHLIB_LD_CMD) libucdmibs.$(SHLIB_EXTENSION)$(SHLIB_VERSION) ${MIBOBJS} $(SHLIB_LD_LIBS) -+ ld -Bshareable -soname libucdmibs.$(SHLIB_EXTENSION)$(SHLIB_VERSION) \ -+ -o libucdmibs.$(SHLIB_EXTENSION) ${MIBOBJS} -+ ln -f libucdmibs.$(SHLIB_EXTENSION) \ -+ libucdmibs.$(SHLIB_EXTENSION)$(SHLIB_VERSION) - $(RANLIB) libucdmibs.$(SHLIB_EXTENSION)$(SHLIB_VERSION) - - clean: diff --git a/net-mgmt/net-snmp/files/patch-al b/net-mgmt/net-snmp/files/patch-al deleted file mode 100644 index c2464056b6bc..000000000000 --- a/net-mgmt/net-snmp/files/patch-al +++ /dev/null @@ -1,29 +0,0 @@ ---- configure.in~ Sat May 6 01:46:26 2000 -+++ configure.in Wed May 17 11:09:08 2000 -@@ -1286,6 +1286,26 @@ - AC_CACHE_CHECK(type of rtentry structure,ac_cv_RTENTRY_TYPE, - [ - -+dnl 4.4 compatible but renamed on FreeBSD -+AC_TRY_COMPILE([ -+#include <sys/types.h> -+#define KERNEL -+#define _KERNEL -+#include <sys/socket.h> -+#undef KERNEL -+#undef _KERNEL -+#include <net/route.h> -+],[ -+ -+#ifndef STRUCT_RTENTRY_HAS_RT_DST -+#define rt_dst rt_nodes->rn_key -+#endif -+ -+ struct rtentry rt; -+ rt.rt_nodes[0].rn_bit = 1; -+ rt.rt_dst; -+ ], ac_cv_RTENTRY_TYPE="BSD-4.4") -+ - dnl 4.4 compat - AC_TRY_COMPILE([ - #include <sys/types.h> diff --git a/net-mgmt/net-snmp/files/patch-am b/net-mgmt/net-snmp/files/patch-am deleted file mode 100644 index 0ad08d546705..000000000000 --- a/net-mgmt/net-snmp/files/patch-am +++ /dev/null @@ -1,12 +0,0 @@ ---- agent/mibgroup/ucd-snmp/vmstat_freebsd2.c~ Sat Dec 18 08:41:14 1999 -+++ agent/mibgroup/ucd-snmp/vmstat_freebsd2.c Wed May 17 11:18:59 2000 -@@ -9,6 +9,9 @@ - #include <sys/time.h> - #include <sys/proc.h> - #include <sys/dkstat.h> -+#ifdef freebsd5 -+#include <sys/bio.h> -+#endif - #include <sys/buf.h> - #include <sys/uio.h> - #include <sys/namei.h> diff --git a/net-mgmt/net-snmp/files/patch-an b/net-mgmt/net-snmp/files/patch-an deleted file mode 100644 index 8153ba8c5653..000000000000 --- a/net-mgmt/net-snmp/files/patch-an +++ /dev/null @@ -1,12 +0,0 @@ ---- agent/mibgroup/ucd-snmp/memory_freebsd2.c~ Tue Mar 14 06:27:00 2000 -+++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Wed May 17 11:19:23 2000 -@@ -10,6 +10,9 @@ - #include <sys/time.h> - #include <sys/proc.h> - #include <sys/dkstat.h> -+#ifdef freebsd5 -+#include <sys/bio.h> -+#endif - #include <sys/buf.h> - #include <sys/uio.h> - #include <sys/namei.h> diff --git a/net-mgmt/net-snmp/files/snmpd.sh.sample b/net-mgmt/net-snmp/files/snmpd.sh.sample deleted file mode 100644 index 71f8b504ce81..000000000000 --- a/net-mgmt/net-snmp/files/snmpd.sh.sample +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - [ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && echo -n ' snmpd' - ;; -stop) - killall snmpd && echo -n ' snmpd' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 |