diff options
29 files changed, 66 insertions, 517 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile index 62f62e7..5186049 100644 --- a/net-mgmt/net-snmp-devel/Makefile +++ b/net-mgmt/net-snmp-devel/Makefile @@ -8,9 +8,11 @@ PORTNAME= ucd-snmp PORTVERSION= 4.1.2 CATEGORIES= net ipv6 -MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://ucd-snmp.ucdavis.edu/ \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ +MASTER_SITE_SUBDIR= net-snmp MAINTAINER= billf@FreeBSD.org diff --git a/net-mgmt/net-snmp-devel/pkg-descr b/net-mgmt/net-snmp-devel/pkg-descr index e4aa3d1..d7c5d86 100644 --- a/net-mgmt/net-snmp-devel/pkg-descr +++ b/net-mgmt/net-snmp-devel/pkg-descr @@ -1,18 +1,12 @@ This is UCD SNMP, a derivative of CMU's SNMP package. -From the README: +Various tools relating to the Simple Network Management Protocol including: -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. + An extensible agent + An SNMP library + tools to request or set information from SNMP agents + tools to generate and handle SNMP traps + a version of the unix 'netstat' command using SNMP + a Tk/perl mib browser -WWW: http://ucd-snmp.ucdavis.edu/ +WWW: http://net-snmp.sourceforge.net/ diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 62f62e7..5186049 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -8,9 +8,11 @@ PORTNAME= ucd-snmp PORTVERSION= 4.1.2 CATEGORIES= net ipv6 -MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://ucd-snmp.ucdavis.edu/ \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ +MASTER_SITE_SUBDIR= net-snmp MAINTAINER= billf@FreeBSD.org diff --git a/net-mgmt/net-snmp/pkg-descr b/net-mgmt/net-snmp/pkg-descr index e4aa3d1..d7c5d86 100644 --- a/net-mgmt/net-snmp/pkg-descr +++ b/net-mgmt/net-snmp/pkg-descr @@ -1,18 +1,12 @@ This is UCD SNMP, a derivative of CMU's SNMP package. -From the README: +Various tools relating to the Simple Network Management Protocol including: -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. + An extensible agent + An SNMP library + tools to request or set information from SNMP agents + tools to generate and handle SNMP traps + a version of the unix 'netstat' command using SNMP + a Tk/perl mib browser -WWW: http://ucd-snmp.ucdavis.edu/ +WWW: http://net-snmp.sourceforge.net/ diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile index 62f62e7..5186049 100644 --- a/net-mgmt/net-snmp4/Makefile +++ b/net-mgmt/net-snmp4/Makefile @@ -8,9 +8,11 @@ PORTNAME= ucd-snmp PORTVERSION= 4.1.2 CATEGORIES= net ipv6 -MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://ucd-snmp.ucdavis.edu/ \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ +MASTER_SITE_SUBDIR= net-snmp MAINTAINER= billf@FreeBSD.org diff --git a/net-mgmt/net-snmp4/pkg-descr b/net-mgmt/net-snmp4/pkg-descr index e4aa3d1..d7c5d86 100644 --- a/net-mgmt/net-snmp4/pkg-descr +++ b/net-mgmt/net-snmp4/pkg-descr @@ -1,18 +1,12 @@ This is UCD SNMP, a derivative of CMU's SNMP package. -From the README: +Various tools relating to the Simple Network Management Protocol including: -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. + An extensible agent + An SNMP library + tools to request or set information from SNMP agents + tools to generate and handle SNMP traps + a version of the unix 'netstat' command using SNMP + a Tk/perl mib browser -WWW: http://ucd-snmp.ucdavis.edu/ +WWW: http://net-snmp.sourceforge.net/ diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index 62f62e7..5186049 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/Makefile @@ -8,9 +8,11 @@ PORTNAME= ucd-snmp PORTVERSION= 4.1.2 CATEGORIES= net ipv6 -MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://ucd-snmp.ucdavis.edu/ \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ +MASTER_SITE_SUBDIR= net-snmp MAINTAINER= billf@FreeBSD.org diff --git a/net-mgmt/net-snmp53/pkg-descr b/net-mgmt/net-snmp53/pkg-descr index e4aa3d1..d7c5d86 100644 --- a/net-mgmt/net-snmp53/pkg-descr +++ b/net-mgmt/net-snmp53/pkg-descr @@ -1,18 +1,12 @@ This is UCD SNMP, a derivative of CMU's SNMP package. -From the README: +Various tools relating to the Simple Network Management Protocol including: -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. + An extensible agent + An SNMP library + tools to request or set information from SNMP agents + tools to generate and handle SNMP traps + a version of the unix 'netstat' command using SNMP + a Tk/perl mib browser -WWW: http://ucd-snmp.ucdavis.edu/ +WWW: http://net-snmp.sourceforge.net/ diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index 62f62e7..5186049 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -8,9 +8,11 @@ PORTNAME= ucd-snmp PORTVERSION= 4.1.2 CATEGORIES= net ipv6 -MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://ucd-snmp.ucdavis.edu/ \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ +MASTER_SITE_SUBDIR= net-snmp MAINTAINER= billf@FreeBSD.org diff --git a/net/net-snmp/pkg-descr b/net/net-snmp/pkg-descr index e4aa3d1..d7c5d86 100644 --- a/net/net-snmp/pkg-descr +++ b/net/net-snmp/pkg-descr @@ -1,18 +1,12 @@ This is UCD SNMP, a derivative of CMU's SNMP package. -From the README: +Various tools relating to the Simple Network Management Protocol including: -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. + An extensible agent + An SNMP library + tools to request or set information from SNMP agents + tools to generate and handle SNMP traps + a version of the unix 'netstat' command using SNMP + a Tk/perl mib browser -WWW: http://ucd-snmp.ucdavis.edu/ +WWW: http://net-snmp.sourceforge.net/ diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile index 62f62e7..5186049 100644 --- a/net/net-snmp4/Makefile +++ b/net/net-snmp4/Makefile @@ -8,9 +8,11 @@ PORTNAME= ucd-snmp PORTVERSION= 4.1.2 CATEGORIES= net ipv6 -MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://ucd-snmp.ucdavis.edu/ \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ +MASTER_SITE_SUBDIR= net-snmp MAINTAINER= billf@FreeBSD.org diff --git a/net/net-snmp4/pkg-descr b/net/net-snmp4/pkg-descr index e4aa3d1..d7c5d86 100644 --- a/net/net-snmp4/pkg-descr +++ b/net/net-snmp4/pkg-descr @@ -1,18 +1,12 @@ This is UCD SNMP, a derivative of CMU's SNMP package. -From the README: +Various tools relating to the Simple Network Management Protocol including: -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. + An extensible agent + An SNMP library + tools to request or set information from SNMP agents + tools to generate and handle SNMP traps + a version of the unix 'netstat' command using SNMP + a Tk/perl mib browser -WWW: http://ucd-snmp.ucdavis.edu/ +WWW: http://net-snmp.sourceforge.net/ diff --git a/net/ucd-snmp/Makefile b/net/ucd-snmp/Makefile deleted file mode 100644 index 62f62e7..0000000 --- a/net/ucd-snmp/Makefile +++ /dev/null @@ -1,76 +0,0 @@ -# New ports collection makefile for: ucd-snmp -# Date created: 26 June 1996 -# Whom: gpalmer -# -# $FreeBSD$ -# - -PORTNAME= ucd-snmp -PORTVERSION= 4.1.2 -CATEGORIES= net ipv6 -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/ - -MAINTAINER= billf@FreeBSD.org - -USE_AUTOCONF= yes -INSTALLS_SHLIB= yes -CONFIGURE_ARGS+= --enable-shared -.if defined(BATCH) -CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where -.else -IS_INTERACTIVE= yes -.endif -USE_GMAKE= YES - -MAN1= snmpbulkget.1 snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 \ - snmpgetnext.1 snmpinform.1 snmpnetstat.1 snmpset.1 \ - snmpstatus.1 snmptable.1 snmptest.1 \ - snmptranslate.1 snmptrap.1 snmpwalk.1 snmpcmd.1 snmpusm.1 -MAN3= default_store.3 read_config.3 mib_api.3 snmp_agent_api.3 \ - snmp_alarm.3 snmp_api.3 snmp_close.3 snmp_free_pdu.3 \ - snmp_open.3 snmp_read.3 snmp_select_info.3 snmp_send.3 \ - snmp_sess_api.3 snmp_sess_async_send.3 snmp_sess_close.3 \ - snmp_sess_error.3 snmp_sess_init.3 snmp_sess_open.3 \ - snmp_sess_read.3 snmp_sess_select_info.3 snmp_sess_send.3 \ - snmp_sess_session.3 snmp_sess_timeout.3 snmp_timeout.3 \ - snmp_trap_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 ${OSVERSION} >= 400014 -CONFIGURE_ARGS+= --enable-ipv6 -.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 ) - @( cd ${PREFIX}/lib && ${LN} -f libucdmibs.so.${SHLIB_VERSION} libucdmibs.so ) - @( cd ${PREFIX}/lib && ${LN} -f libucdagent.so.${SHLIB_VERSION} libucdagent.so ) - @${MKDIR} ${PREFIX}/share/examples/ucd-snmp - @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; 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."; \ - ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${STARTUP_FILE}; \ - fi - -.include <bsd.port.post.mk> diff --git a/net/ucd-snmp/distinfo b/net/ucd-snmp/distinfo deleted file mode 100644 index 8b00c91..0000000 --- a/net/ucd-snmp/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ucd-snmp-4.1.2.tar.gz) = 378c8cf99e0845da4662fb72c956d20d diff --git a/net/ucd-snmp/files/freebsd4.h b/net/ucd-snmp/files/freebsd4.h deleted file mode 100644 index e0774c7..0000000 --- a/net/ucd-snmp/files/freebsd4.h +++ /dev/null @@ -1 +0,0 @@ -#include "freebsd3.h" diff --git a/net/ucd-snmp/files/patch-aa b/net/ucd-snmp/files/patch-aa deleted file mode 100644 index ce70b47..0000000 --- a/net/ucd-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/ucd-snmp/files/patch-ab b/net/ucd-snmp/files/patch-ab deleted file mode 100644 index 4a8f9a6..0000000 --- a/net/ucd-snmp/files/patch-ab +++ /dev/null @@ -1,56 +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 -@@ -24,12 +24,12 @@ - #include <sys/vmmeter.h> - #endif - #endif --#if HAVE_SYS_CONF_H --#include <sys/conf.h> --#endif - #if HAVE_SYS_PARAM_H - #include <sys/param.h> - #endif -+#if HAVE_SYS_CONF_H -+#include <sys/conf.h> -+#endif - #if HAVE_ASM_PAGE_H - #include <asm/page.h> - #endif -@@ -86,6 +86,7 @@ - #include <vm/vm.h> - #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/ucd-snmp/files/patch-ad b/net/ucd-snmp/files/patch-ad deleted file mode 100644 index 6f28af0..0000000 --- a/net/ucd-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/ucd-snmp/files/patch-af b/net/ucd-snmp/files/patch-af deleted file mode 100644 index 5469338..0000000 --- a/net/ucd-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/ucd-snmp/files/patch-ag b/net/ucd-snmp/files/patch-ag deleted file mode 100644 index 4f8dbd1..0000000 --- a/net/ucd-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/ucd-snmp/files/patch-ah b/net/ucd-snmp/files/patch-ah deleted file mode 100644 index b80222b..0000000 --- a/net/ucd-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/ucd-snmp/files/patch-ak b/net/ucd-snmp/files/patch-ak deleted file mode 100644 index 7ca23e8..0000000 --- a/net/ucd-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/ucd-snmp/files/patch-al b/net/ucd-snmp/files/patch-al deleted file mode 100644 index c246405..0000000 --- a/net/ucd-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/ucd-snmp/files/patch-am b/net/ucd-snmp/files/patch-am deleted file mode 100644 index 0ad08d5..0000000 --- a/net/ucd-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/ucd-snmp/files/patch-an b/net/ucd-snmp/files/patch-an deleted file mode 100644 index 8153ba8..0000000 --- a/net/ucd-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/ucd-snmp/files/snmpd.sh.sample b/net/ucd-snmp/files/snmpd.sh.sample deleted file mode 100644 index 71f8b50..0000000 --- a/net/ucd-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 diff --git a/net/ucd-snmp/pkg-comment b/net/ucd-snmp/pkg-comment deleted file mode 100644 index fbaaa7a..0000000 --- a/net/ucd-snmp/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -An extendable SNMP implimentation diff --git a/net/ucd-snmp/pkg-descr b/net/ucd-snmp/pkg-descr deleted file mode 100644 index e4aa3d1..0000000 --- a/net/ucd-snmp/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/ucd-snmp/pkg-plist b/net/ucd-snmp/pkg-plist deleted file mode 100644 index f14ce4a..0000000 --- a/net/ucd-snmp/pkg-plist +++ /dev/null @@ -1,105 +0,0 @@ -bin/encode_keychange -bin/snmpbulkget -bin/snmpbulkwalk -bin/snmpcheck -bin/snmpdelta -bin/snmpget -bin/snmpgetnext -bin/snmpinform -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/agent_read_config.h -include/ucd-snmp/agent_registry.h -include/ucd-snmp/agent_trap.h -include/ucd-snmp/asn1.h -include/ucd-snmp/auto_nlist.h -include/ucd-snmp/callback.h -include/ucd-snmp/default_store.h -include/ucd-snmp/ds_agent.h -include/ucd-snmp/header_complex.h -include/ucd-snmp/int64.h -include/ucd-snmp/keytools.h -include/ucd-snmp/mib.h -include/ucd-snmp/mibincl.h -include/ucd-snmp/parse.h -include/ucd-snmp/read_config.h -include/ucd-snmp/scapi.h -include/ucd-snmp/snmp.h -include/ucd-snmp/snmp_agent.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/snmp_logging.h -include/ucd-snmp/snmp_vars.h -include/ucd-snmp/snmpv3.h -include/ucd-snmp/struct.h -include/ucd-snmp/system.h -include/ucd-snmp/tools.h -include/ucd-snmp/transform_oids.h -include/ucd-snmp/ucd-snmp-agent-includes.h -include/ucd-snmp/ucd-snmp-config.h -include/ucd-snmp/ucd-snmp-includes.h -include/ucd-snmp/util_funcs.h -include/ucd-snmp/var_struct.h -include/ucd-snmp/version.h -@dirrm include/ucd-snmp -lib/libsnmp.so -lib/libsnmp.so.%%shlib%% -lib/libucdagent.so -lib/libucdagent.so.%%shlib%% -lib/libucdmibs.so -lib/libucdmibs.so.%%shlib%% -sbin/snmpd -sbin/snmptrapd -share/examples/ucd-snmp/EXAMPLE.conf -share/examples/ucd-snmp/ucdDemoPublic.conf -@dirrm share/examples/ucd-snmp -share/snmp/mibs/DISMAN-SCRIPT-MIB.txt -share/snmp/mibs/EtherLike-MIB.txt -share/snmp/mibs/HOST-RESOURCES-MIB.txt -share/snmp/mibs/HOST-RESOURCES-TYPES.txt -share/snmp/mibs/IANAifType-MIB.txt -share/snmp/mibs/IF-MIB.txt -share/snmp/mibs/IP-MIB.txt -share/snmp/mibs/IPV6-ICMP-MIB.txt -share/snmp/mibs/IPV6-MIB.txt -share/snmp/mibs/IPV6-TC.txt -share/snmp/mibs/IPV6-TCP-MIB.txt -share/snmp/mibs/IPV6-UDP-MIB.txt -share/snmp/mibs/RFC1155-SMI.txt -share/snmp/mibs/RFC1213-MIB.txt -share/snmp/mibs/RMON-MIB.txt -share/snmp/mibs/SNMP-COMMUNITY-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-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-DEMO-MIB.txt -share/snmp/mibs/UCD-DISKIO-MIB.txt -share/snmp/mibs/UCD-DLMOD-MIB.txt -share/snmp/mibs/UCD-IPFWACC-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 |