aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp-devel')
-rw-r--r--net-mgmt/net-snmp-devel/Makefile75
-rw-r--r--net-mgmt/net-snmp-devel/distinfo2
-rw-r--r--net-mgmt/net-snmp-devel/files/freebsd4.h1
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-aa13
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-ab40
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-ad29
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-af12
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-ag11
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-ah8
-rw-r--r--net-mgmt/net-snmp-devel/pkg-comment1
-rw-r--r--net-mgmt/net-snmp-devel/pkg-descr18
-rw-r--r--net-mgmt/net-snmp-devel/pkg-plist76
12 files changed, 0 insertions, 286 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
deleted file mode 100644
index 82283d4a27ab..000000000000
--- a/net-mgmt/net-snmp-devel/Makefile
+++ /dev/null
@@ -1,75 +0,0 @@
-# New ports collection makefile for: ucd-snmp
-# Version required: 3.6.1
-# Date created: 26 June 1996
-# Whom: gpalmer
-#
-# $FreeBSD$
-#
-
-DISTNAME= ucd-snmp-4.0.1
-CATEGORIES= net
-MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
- ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
- ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/
-PATCH_SITES= http://ucd-snmp.ucdavis.edu/patches/
-PATCHFILES= 012.patch
-PATCH_DIST_STRIP= -p0 -d ${WRKSRC}/agent
-
-MAINTAINER= gpalmer@FreeBSD.org
-
-CONFIGURE_ARGS= --enable-shared
-
-GNU_CONFIGURE= YES
-.if defined(BATCH)
-CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where
-.else
-IS_INTERACTIVE= yes
-.endif
-#CFLAGS= -g
-
-MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \
- snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \
- snmptranslate.1 snmptrap.1 snmpwalk.1 snmpcmd.1 snmpusm.1
-MAN3= read_config.3 mib_api.3 snmp_api.3 snmp_sess_api.3
-MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \
- snmptrapd.conf.5 variables.5
-MAN8= snmptrapd.8
-BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \
- snmpstatus snmptest snmptranslate snmptrap snmpwalk
-SBIN= snmpd snmptrapd
-
-STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample
-
-.include <bsd.port.pre.mk>
-
-.if ${PORTOBJFORMAT} == "aout"
-BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343"
-.endif
-.if ${OSVERSION} >= 400000
-BROKEN= "Uses the old VM system interfaces"
-.endif
-
-SHLIB_VERSION=4
-PLIST_SUB= shlib=${SHLIB_VERSION}
-
-post-patch:
- @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s
-
-post-install:
- @( cd ${PREFIX}/bin && strip ${BIN} )
- @( cd ${PREFIX}/sbin && strip ${SBIN} )
- @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * )
- @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
- @( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so )
- @${MKDIR} ${PREFIX}/share/examples/ucd-snmp
- @for F in ${WRKSRC}/etc/* ; do \
- ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done
- @if [ ! -f ${STARTUP_FILE} ]; then \
- ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
- ${ECHO} "#!/bin/sh" > ${STARTUP_FILE}; \
- ${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${STARTUP_FILE}; \
- ${CHMOD} 751 ${STARTUP_FILE}; \
- fi
- ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib
-
-.include <bsd.port.post.mk>
diff --git a/net-mgmt/net-snmp-devel/distinfo b/net-mgmt/net-snmp-devel/distinfo
deleted file mode 100644
index 932a6aa7b86a..000000000000
--- a/net-mgmt/net-snmp-devel/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511
-MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15
diff --git a/net-mgmt/net-snmp-devel/files/freebsd4.h b/net-mgmt/net-snmp-devel/files/freebsd4.h
deleted file mode 100644
index e0774c7e4cd6..000000000000
--- a/net-mgmt/net-snmp-devel/files/freebsd4.h
+++ /dev/null
@@ -1 +0,0 @@
-#include "freebsd3.h"
diff --git a/net-mgmt/net-snmp-devel/files/patch-aa b/net-mgmt/net-snmp-devel/files/patch-aa
deleted file mode 100644
index ce70b47986cb..000000000000
--- a/net-mgmt/net-snmp-devel/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-devel/files/patch-ab b/net-mgmt/net-snmp-devel/files/patch-ab
deleted file mode 100644
index 4658da4119df..000000000000
--- a/net-mgmt/net-snmp-devel/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-devel/files/patch-ad b/net-mgmt/net-snmp-devel/files/patch-ad
deleted file mode 100644
index f47168018a61..000000000000
--- a/net-mgmt/net-snmp-devel/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)
-+ 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-mgmt/net-snmp-devel/files/patch-af b/net-mgmt/net-snmp-devel/files/patch-af
deleted file mode 100644
index 2f197dc4c0c0..000000000000
--- a/net-mgmt/net-snmp-devel/files/patch-af
+++ /dev/null
@@ -1,12 +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,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)
diff --git a/net-mgmt/net-snmp-devel/files/patch-ag b/net-mgmt/net-snmp-devel/files/patch-ag
deleted file mode 100644
index 4f8dbd1fe650..000000000000
--- a/net-mgmt/net-snmp-devel/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-devel/files/patch-ah b/net-mgmt/net-snmp-devel/files/patch-ah
deleted file mode 100644
index b80222ba72eb..000000000000
--- a/net-mgmt/net-snmp-devel/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-devel/pkg-comment b/net-mgmt/net-snmp-devel/pkg-comment
deleted file mode 100644
index fbaaa7ab347c..000000000000
--- a/net-mgmt/net-snmp-devel/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-An extendable SNMP implimentation
diff --git a/net-mgmt/net-snmp-devel/pkg-descr b/net-mgmt/net-snmp-devel/pkg-descr
deleted file mode 100644
index e4aa3d1382a3..000000000000
--- a/net-mgmt/net-snmp-devel/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-This is UCD SNMP, a derivative of CMU's SNMP package.
-
-From the README:
-
-This package contains a port and modified code of the CMU 2.1.2.1
-snmp agent. It has been modified to allow extensibility quickly
-and easily. It is far from the best and most configurable systems;
-but hey: its free.
-
-We use this agent here to monitor known system problems before they
-take the machine over. The agent can be easily configured to
-monitor the number of a given process running, run external scripts
-to check and report functional status. Examples: mountd(s) under
-Ultrix 4.3 which tend to fork themselves crazy and eventually fill
-up the process table; On our hp700s, "amd" sometimes stops working,
-HP VUE hangs and fails to start X, etc.
-
-WWW: http://ucd-snmp.ucdavis.edu/
diff --git a/net-mgmt/net-snmp-devel/pkg-plist b/net-mgmt/net-snmp-devel/pkg-plist
deleted file mode 100644
index 5e1fb0b00e9d..000000000000
--- a/net-mgmt/net-snmp-devel/pkg-plist
+++ /dev/null
@@ -1,76 +0,0 @@
-bin/encode_keychange
-bin/snmpbulkwalk
-bin/snmpcheck
-bin/snmpdelta
-bin/snmpget
-bin/snmpgetnext
-bin/snmpnetstat
-bin/snmpset
-bin/snmpstatus
-bin/snmptable
-bin/snmptest
-bin/snmptranslate
-bin/snmptrap
-bin/snmpusm
-bin/snmpwalk
-bin/tkmib
-etc/rc.d/snmpd.sh.sample
-include/ucd-snmp/asn1.h
-include/ucd-snmp/callback.h
-include/ucd-snmp/default_store.h
-include/ucd-snmp/int64.h
-include/ucd-snmp/mib.h
-include/ucd-snmp/parse.h
-include/ucd-snmp/snmp.h
-include/ucd-snmp/snmp_alarm.h
-include/ucd-snmp/snmp_api.h
-include/ucd-snmp/snmp_client.h
-include/ucd-snmp/snmp_debug.h
-include/ucd-snmp/snmp_impl.h
-include/ucd-snmp/system.h
-include/ucd-snmp/ucd-snmp-config.h
-include/ucd-snmp/ucd-snmp-includes.h
-include/ucd-snmp/version.h
-@dirrm include/ucd-snmp
-lib/libsnmp.so
-lib/libsnmp.so.%%shlib%%
-sbin/snmpd
-sbin/snmptrapd
-share/examples/ucd-snmp/README
-share/examples/ucd-snmp/acl.conf
-share/examples/ucd-snmp/context.conf
-share/examples/ucd-snmp/party.conf
-share/examples/ucd-snmp/view.conf
-@dirrm share/examples/ucd-snmp
-share/snmp/mibs/DLMOD-MIB.txt
-share/snmp/mibs/EtherLike-MIB.txt
-share/snmp/mibs/HOST-RESOURCES-MIB.txt
-share/snmp/mibs/IANAifType-MIB.txt
-share/snmp/mibs/IF-MIB.txt
-share/snmp/mibs/IP-MIB.txt
-share/snmp/mibs/IPFWACC-MIB.txt
-share/snmp/mibs/RFC1155-SMI.txt
-share/snmp/mibs/RFC1213-MIB.txt
-share/snmp/mibs/RFC1271-MIB.txt
-share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt
-share/snmp/mibs/SNMP-MPD-MIB.txt
-share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt
-share/snmp/mibs/SNMP-PROXY-MIB.txt
-share/snmp/mibs/SNMP-TARGET-MIB.txt
-share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt
-share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt
-share/snmp/mibs/SNMPv2-CONF.txt
-share/snmp/mibs/SNMPv2-M2M-MIB.txt
-share/snmp/mibs/SNMPv2-MIB.txt
-share/snmp/mibs/SNMPv2-PARTY-MIB.txt
-share/snmp/mibs/SNMPv2-SMI.txt
-share/snmp/mibs/SNMPv2-TC.txt
-share/snmp/mibs/SNMPv2-TM.txt
-share/snmp/mibs/TCP-MIB.txt
-share/snmp/mibs/UCD-SNMP-MIB.txt
-share/snmp/mibs/UDP-MIB.txt
-@unexec rm -f %D/share/snmp/mibs/.index
-@dirrm share/snmp/mibs
-@dirrm share/snmp
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R