summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwrstuden <wrstuden@pkgsrc.org>2001-08-30 23:31:30 +0000
committerwrstuden <wrstuden@pkgsrc.org>2001-08-30 23:31:30 +0000
commit991275fc043e30dfc334aa414c068b941184817e (patch)
tree9bdbe7ecf388d9e5a8fad11594133f55d0ff1f4a /net
parent7e9cb805aa24b0bdc883f0d18999a020d49d083a (diff)
downloadpkgsrc-991275fc043e30dfc334aa414c068b941184817e.tar.gz
Bring ucd-snmp-current back to life. This is a package of ucd-snmp
4.2.1, the latest release of the net-snmp project (the name change is still in progress).
Diffstat (limited to 'net')
-rw-r--r--net/ucd-snmp-current/Makefile74
-rw-r--r--net/ucd-snmp-current/distinfo8
-rw-r--r--net/ucd-snmp-current/files/snmpd.sh37
-rw-r--r--net/ucd-snmp-current/files/snmptrapd.sh32
-rw-r--r--net/ucd-snmp-current/patches/patch-aa155
-rw-r--r--net/ucd-snmp-current/patches/patch-ab31
-rw-r--r--net/ucd-snmp-current/patches/patch-af49
-rw-r--r--net/ucd-snmp-current/patches/patch-ag16
-rw-r--r--net/ucd-snmp-current/pkg/DESCR14
-rw-r--r--net/ucd-snmp-current/pkg/PLIST166
10 files changed, 582 insertions, 0 deletions
diff --git a/net/ucd-snmp-current/Makefile b/net/ucd-snmp-current/Makefile
new file mode 100644
index 00000000000..c6dd727f68b
--- /dev/null
+++ b/net/ucd-snmp-current/Makefile
@@ -0,0 +1,74 @@
+# $NetBSD: Makefile,v 1.11 2001/08/30 23:31:30 wrstuden Exp $
+#
+
+DISTNAME= ucd-snmp-4.2.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/} \
+ ftp://ucd-snmp.ucdavis.edu/ \
+ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
+ ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://net-snmp.sourceforge.net/
+COMMENT= Extensible SNMP implementation
+
+BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
+
+BUILD_DEFS+= USE_INET6
+
+USE_BUILDLINK_ONLY=
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+#CPPFLAGS+= -I${BUILDLINK_DIR}/include
+#LDFLAGS+= -L${BUILDLINK_DIR}/lib
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-defaults --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers} --with-logfile="/var/log/snmpd"
+CONFIGURE_ARGS+=--with-mib-modules="smux host"
+# NOTE: if you do not allow dummy values some tools such as
+# scotty/tkined may ignore results when they shouldn't.
+CONFIGURE_ARGS+=--with-dummy-values
+# NOTE: without this the default is USER@DOMAINNAME of the package builder
+CONFIGURE_ARGS+=--with-sys-contact="default_user@contact.domain"
+CONFIGURE_ARGS+=--with-sys-location="defaultlocation"
+CONFIGURE_ARGS+=--enable-shared
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
+CONFIGURE_ARGS+=--enable-ipv6
+.else
+CONFIGURE_ARGS+=--disable-ipv6
+.endif
+
+# this might make it easier to use scotty's mibs, and local ones too
+CONFIGURE_ARGS+=--with-mibdirs="${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm2.1.10/mibs:${PREFIX}/lib/tnm2.1.8/mibs:/usr/local/share/snmp/mibs"
+
+# deal with libwrap bogosity by providing these variables to programs which
+# do not supply them:
+post-extract:
+ @${ECHO} 'int allow_severity, deny_severity;' >${WRKSRC}/snmplib/libwrap.c
+
+pre-configure:
+ cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
+
+post-build:
+ ${SED} 's,@PREFIX@,${PREFIX},g' < ${FILESDIR}/snmpd.sh > ${WRKDIR}/snmpd
+ ${SED} 's,@PREFIX@,${PREFIX},g' < ${FILESDIR}/snmptrapd.sh > ${WRKDIR}/snmptrapd
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucd-snmp
+ ${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${PREFIX}/share/examples/ucd-snmp
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/snmp/dlmod
+ ${INSTALL_SCRIPT} ${WRKDIR}/snmpd ${PREFIX}/etc/rc.d
+ ${INSTALL_SCRIPT} ${WRKDIR}/snmptrapd ${PREFIX}/etc/rc.d
+
+.if (${OPSYS} == "NetBSD")
+CFLAGS+= -Dnetbsd1
+.endif
+
+.include "../../security/openssl/buildlink.mk" # USE_SSL= yes
+.include "../../security/tcp_wrappers/buildlink.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ucd-snmp-current/distinfo b/net/ucd-snmp-current/distinfo
new file mode 100644
index 00000000000..c68ebd1247c
--- /dev/null
+++ b/net/ucd-snmp-current/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.4 2001/08/30 23:31:30 wrstuden Exp $
+
+SHA1 (ucd-snmp-4.2.1.tar.gz) = a335b207640597a3b6f035ee49823ba701042ef9
+Size (ucd-snmp-4.2.1.tar.gz) = 1565813 bytes
+SHA1 (patch-aa) = 06033a8596a74f16702f844c3a7848a1d96f3ed4
+SHA1 (patch-ab) = a4bd7337b6c57791d5d0ab936d0fac6c2b1bd497
+SHA1 (patch-af) = eb2fd9cfd1830e9a931bcd712a83938bc04dca42
+SHA1 (patch-ag) = 4e51af5d595d26e4b641757ad27737af76286893
diff --git a/net/ucd-snmp-current/files/snmpd.sh b/net/ucd-snmp-current/files/snmpd.sh
new file mode 100644
index 00000000000..887202a7b8c
--- /dev/null
+++ b/net/ucd-snmp-current/files/snmpd.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+# $NetBSD: snmpd.sh,v 1.1 2001/08/30 23:31:30 wrstuden Exp $
+
+# PID file:
+PF=/var/run/snmpd.pid
+
+
+if [ -f /etc/snmp/snmpd.conf ]
+then
+ SNMPD_CFG="-c /etc/snmp/snmpd.conf"
+fi
+
+case $1 in
+start)
+ if [ -x @PREFIX@/sbin/snmpd ]
+ then
+ echo -n ' snmpd'
+ @PREFIX@/sbin/snmpd -s -P ${PF} -A ${SNMPD_CFG}
+ fi
+ ;;
+stop)
+ if [ -f ${PF} ]; then
+ kill `cat ${PF}`
+ rm -f ${PF}
+ else
+ echo "$0: snmpd not running or PID not recorded!" 1>&2
+ fi
+ ;;
+restart)
+ sh $0 stop
+ sh $0 start
+ ;;
+*)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+esac
+
diff --git a/net/ucd-snmp-current/files/snmptrapd.sh b/net/ucd-snmp-current/files/snmptrapd.sh
new file mode 100644
index 00000000000..58a87832109
--- /dev/null
+++ b/net/ucd-snmp-current/files/snmptrapd.sh
@@ -0,0 +1,32 @@
+#! /bin/sh
+#
+# $NetBSD: snmptrapd.sh,v 1.1 2001/08/30 23:31:30 wrstuden Exp $
+
+# PID file:
+PF=/var/run/snmptrapd.pid
+
+
+case $1 in
+start)
+ if [ -x @PREFIX@/sbin/snmptrapd ]
+ then
+ echo -n ' snmptrapd'
+ @PREFIX@/sbin/snmptrapd -s -l 1 -u ${PF}
+ fi
+ ;;
+stop)
+ if [ -f ${PF} ]; then
+ kill `cat ${PF}`
+ rm -f ${PF}
+ else
+ echo "$0: snmptrapd not running or PID not recorded!" 1>&2
+ fi
+ ;;
+restart)
+ sh $0 stop
+ sh $0 start
+ ;;
+*)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+esac
diff --git a/net/ucd-snmp-current/patches/patch-aa b/net/ucd-snmp-current/patches/patch-aa
new file mode 100644
index 00000000000..e5c37e7f2d3
--- /dev/null
+++ b/net/ucd-snmp-current/patches/patch-aa
@@ -0,0 +1,155 @@
+$NetBSD: patch-aa,v 1.3 2001/08/30 23:31:30 wrstuden Exp $
+
+--- configure.in.orig Tue Jan 30 15:10:50 2001
++++ configure.in Tue Jan 30 15:16:46 2001
+@@ -1011,23 +1011,23 @@
+ dnl
+ dnl now check for rpm using the appropriate db library
+ dnl
+-AC_CHECK_LIB(rpm, rpmdbOpen,[
+- AC_DEFINE(HAVE_LIBRPM)
+- LIBS="-lrpm $LIBS"
+- CFLAGS="$CFLAGS -I/usr/include/rpm"
+-],,-lz)
++#AC_CHECK_LIB(rpm, rpmdbOpen,[
++# AC_DEFINE(HAVE_LIBRPM)
++# LIBS="-lrpm $LIBS"
++# CFLAGS="$CFLAGS -I/usr/include/rpm"
++#],,-lz)
+
+ dnl
+ dnl now check for rpm using the appropriate db library
+ dnl
+-if test x$ac_cv_lib_rpm_rpmdbOpen = xno; then
+- unset ac_cv_lib_rpm_rpmdbOpen
+- AC_CHECK_LIB(rpm, rpmdbOpen,[
+- AC_DEFINE(HAVE_LIBRPM)
+- LIBS="-lrpm -lpopt $LIBS"
+- CFLAGS="$CFLAGS -I/usr/include/rpm"
+- ],,-lpopt -lz)
+-fi
++#if test x$ac_cv_lib_rpm_rpmdbOpen = xno; then
++# unset ac_cv_lib_rpm_rpmdbOpen
++# AC_CHECK_LIB(rpm, rpmdbOpen,[
++# AC_DEFINE(HAVE_LIBRPM)
++# LIBS="-lrpm -lpopt $LIBS"
++# CFLAGS="$CFLAGS -I/usr/include/rpm"
++# ],,-lpopt -lz)
++#fi
+
+
+ dnl Replace `main' with a function in -lkstat:
+@@ -1053,7 +1053,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 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 pwd.h grp.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 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 pwd.h grp.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
+@@ -1061,7 +1061,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
+@@ -1314,11 +1314,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)
+
+@@ -1332,11 +1328,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>
+ ],[
+
+@@ -1356,11 +1348,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;
+@@ -1413,11 +1401,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;
+@@ -1437,11 +1421,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_unit)
+
+@@ -1450,11 +1430,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_refcnt)
+
+@@ -1463,11 +1439,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_hash)
+
+@@ -1476,11 +1448,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_use)
+
diff --git a/net/ucd-snmp-current/patches/patch-ab b/net/ucd-snmp-current/patches/patch-ab
new file mode 100644
index 00000000000..b1450ef061d
--- /dev/null
+++ b/net/ucd-snmp-current/patches/patch-ab
@@ -0,0 +1,31 @@
+$NetBSD: patch-ab,v 1.3 2001/08/30 23:31:30 wrstuden Exp $
+
+--- snmplib/Makefile.in.orig Tue Jan 30 15:26:05 2001
++++ snmplib/Makefile.in Tue Jan 30 15:27:03 2001
+@@ -40,7 +40,7 @@
+ snmp_debug.c tools.c snmp_logging.c \
+ snmpv3.c snmpusm.c lcd_time.c keytools.c \
+ scapi.c callback.c default_store.c snmp_alarm.c mt_support.c \
+- snprintf.c strtol.c strtoul.c
++ snprintf.c strtol.c strtoul.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 \
+@@ -49,7 +49,7 @@
+ snmpv3.o snmpusm.o lcd_time.o keytools.o \
+ scapi.o callback.o default_store.o snmp_alarm.o \
+ mt_support.o \
+- snprintf.o strtol.o strtoul.o
++ snprintf.o strtol.o strtoul.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 \
+@@ -58,7 +58,7 @@
+ snmpv3.lo snmpusm.lo lcd_time.lo keytools.lo \
+ scapi.lo callback.lo default_store.lo snmp_alarm.lo \
+ mt_support.lo \
+- snprintf.lo strtol.lo strtoul.lo
++ snprintf.lo strtol.lo strtoul.lo libwrap.lo
+
+ # just in case someone wants to remove libtool, change this to OBJS.
+ TOBJS=$(LOBJS)
diff --git a/net/ucd-snmp-current/patches/patch-af b/net/ucd-snmp-current/patches/patch-af
new file mode 100644
index 00000000000..4a34b7201ba
--- /dev/null
+++ b/net/ucd-snmp-current/patches/patch-af
@@ -0,0 +1,49 @@
+$NetBSD: patch-af,v 1.3 2001/08/30 23:31:30 wrstuden Exp $
+
+--- agent/mibgroup/mibII/interfaces.c.orig Tue Jan 30 15:36:04 2001
++++ agent/mibgroup/mibII/interfaces.c Tue Jan 30 15:42:42 2001
+@@ -132,7 +132,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
+@@ -1549,19 +1549,34 @@
+ 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/ucd-snmp-current/patches/patch-ag b/net/ucd-snmp-current/patches/patch-ag
new file mode 100644
index 00000000000..1afe1f720b1
--- /dev/null
+++ b/net/ucd-snmp-current/patches/patch-ag
@@ -0,0 +1,16 @@
+$NetBSD: patch-ag,v 1.3 2001/08/30 23:31:31 wrstuden Exp $
+
+--- agent/mibgroup/mibII/ipAddr.c.orig Tue Jan 30 16:00:58 2001
++++ agent/mibgroup/mibII/ipAddr.c Tue Jan 30 16:07:06 2001
+@@ -243,7 +243,11 @@
+ #if defined(linux) || defined(sunV3)
+ long_return = ntohl(((struct sockaddr_in *) &lowin_ifnet.ifu_broadaddr)->sin_addr.s_addr) & 1;
+ #else
++#ifdef 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
+ #endif
+ return(u_char *) &long_return;
+ case IPADREASMMAX:
diff --git a/net/ucd-snmp-current/pkg/DESCR b/net/ucd-snmp-current/pkg/DESCR
new file mode 100644
index 00000000000..341ba043ea6
--- /dev/null
+++ b/net/ucd-snmp-current/pkg/DESCR
@@ -0,0 +1,14 @@
+This is UCD SNMP, a derivative of CMU's SNMP package.
+
+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.
diff --git a/net/ucd-snmp-current/pkg/PLIST b/net/ucd-snmp-current/pkg/PLIST
new file mode 100644
index 00000000000..16e2df69754
--- /dev/null
+++ b/net/ucd-snmp-current/pkg/PLIST
@@ -0,0 +1,166 @@
+@comment $NetBSD: PLIST,v 1.4 2001/08/30 23:31:31 wrstuden Exp $
+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
+etc/rc.d/snmptrapd
+include/ucd-snmp/agent_index.h
+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_parse_args.h
+include/ucd-snmp/snmp_vars.h
+include/ucd-snmp/snmpusm.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
+lib/libsnmp.a
+lib/libsnmp.la
+lib/libsnmp.so
+lib/libsnmp-0.4.2.1.so
+lib/libucdagent.a
+lib/libucdagent.la
+lib/libucdagent.so
+lib/libucdagent-0.4.2.1.so
+lib/libucdmibs.a
+lib/libucdmibs.la
+lib/libucdmibs.so
+lib/libucdmibs-0.4.2.1.so
+man/man1/snmpbulkget.1
+man/man1/snmpbulkwalk.1
+man/man1/snmpcmd.1
+man/man1/snmpd.1
+man/man1/snmpdelta.1
+man/man1/snmpget.1
+man/man1/snmpgetnext.1
+man/man1/snmpinform.1
+man/man1/snmpnetstat.1
+man/man1/snmpset.1
+man/man1/snmpstatus.1
+man/man1/snmptable.1
+man/man1/snmptest.1
+man/man1/snmptranslate.1
+man/man1/snmptrap.1
+man/man1/snmpusm.1
+man/man1/snmpwalk.1
+man/man3/default_store.3
+man/man3/mib_api.3
+man/man3/read_config.3
+man/man3/snmp_agent_api.3
+man/man3/snmp_alarm.3
+man/man3/snmp_api.3
+man/man3/snmp_close.3
+man/man3/snmp_free_pdu.3
+man/man3/snmp_open.3
+man/man3/snmp_read.3
+man/man3/snmp_select_info.3
+man/man3/snmp_send.3
+man/man3/snmp_sess_api.3
+man/man3/snmp_sess_async_send.3
+man/man3/snmp_sess_close.3
+man/man3/snmp_sess_error.3
+man/man3/snmp_sess_init.3
+man/man3/snmp_sess_open.3
+man/man3/snmp_sess_read.3
+man/man3/snmp_sess_select_info.3
+man/man3/snmp_sess_send.3
+man/man3/snmp_sess_session.3
+man/man3/snmp_sess_timeout.3
+man/man3/snmp_timeout.3
+man/man3/snmp_trap_api.3
+man/man5/snmp.conf.5
+man/man5/snmp_config.5
+man/man5/snmpd.conf.5
+man/man5/snmptrapd.conf.5
+man/man5/variables.5
+man/man8/snmptrapd.8
+sbin/snmpd
+sbin/snmptrapd
+share/examples/ucd-snmp/EXAMPLE.conf
+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 /bin/rm -f %D/share/snmp/mibs/.index
+@dirrm share/snmp/mibs
+@dirrm share/snmp
+@dirrm share/examples/ucd-snmp
+@exec /bin/mkdir -p %D/lib/snmp/dlmod
+@dirrm lib/snmp/dlmod
+@dirrm lib/snmp
+@dirrm include/ucd-snmp