aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp53
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp53')
-rw-r--r--net-mgmt/net-snmp53/Makefile124
-rw-r--r--net-mgmt/net-snmp53/distinfo1
-rw-r--r--net-mgmt/net-snmp53/files/patch-Makefile.top11
-rw-r--r--net-mgmt/net-snmp53/files/patch-aa13
-rw-r--r--net-mgmt/net-snmp53/files/patch-aclocal.m448
-rw-r--r--net-mgmt/net-snmp53/files/patch-al29
-rw-r--r--net-mgmt/net-snmp53/files/patch-diskio.c56
-rw-r--r--net-mgmt/net-snmp53/files/patch-hr_storage.c52
-rw-r--r--net-mgmt/net-snmp53/files/patch-hr_swrun.c84
-rw-r--r--net-mgmt/net-snmp53/files/patch-interfaces.c16
-rw-r--r--net-mgmt/net-snmp53/files/patch-local:Makefile.in11
-rw-r--r--net-mgmt/net-snmp53/files/patch-memory_freebsd2.c11
-rw-r--r--net-mgmt/net-snmp53/files/patch-snmpTCPIPv6Domain.c30
-rw-r--r--net-mgmt/net-snmp53/files/patch-snmpUCDIPv6Domain.c30
-rw-r--r--net-mgmt/net-snmp53/files/patch-snmpd.8.def13
-rw-r--r--net-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c14
-rw-r--r--net-mgmt/net-snmp53/files/snmpd.sh.sample36
-rw-r--r--net-mgmt/net-snmp53/pkg-descr12
-rw-r--r--net-mgmt/net-snmp53/pkg-message23
-rw-r--r--net-mgmt/net-snmp53/pkg-plist291
20 files changed, 0 insertions, 905 deletions
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile
deleted file mode 100644
index cd631c8b6a3a..000000000000
--- a/net-mgmt/net-snmp53/Makefile
+++ /dev/null
@@ -1,124 +0,0 @@
-# New ports collection makefile for: ucd-snmp
-# Date created: 26 June 1996
-# Whom: gpalmer
-#
-# $FreeBSD$
-#
-
-PORTNAME= net-snmp
-PORTVERSION= 5.0.8
-PORTREVISION= 1
-CATEGORIES= net ipv6
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= net-snmp
-
-MAINTAINER= kuriyama@FreeBSD.org
-COMMENT= An extendable SNMP implementation
-
-USE_PERL5= yes
-USE_REINPLACE= yes
-USE_AUTOCONF_VER=213
-USE_LIBTOOL= yes
-INSTALLS_SHLIB= yes
-LIBTOOLFLAGS= --disable-ltlibs --release-ignore
-NO_LATEST_LINK= yes
-
-CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host ucd-snmp/diskio" \
- --with-default-snmp-version="${DEFAULT_SNMP_VERSION}" \
- --with-sys-contact="${NET_SNMP_SYS_CONTACT}" \
- --with-sys-location="${NET_SNMP_SYS_LOCATION}" \
- --with-logfile="${NET_SNMP_LOGFILE}" \
- --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \
- --with-perl-modules \
- --with-gnu-ld --with-libwrap --with-libs="-lkvm -ldevstat"
-.if defined(BATCH)
-CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where
-.else
-IS_INTERACTIVE= yes
-.endif
-_CONFIGURE_ENV= AUTOCONF=${LOCALBASE}/bin/autoconf213 \
- AUTOHEADER=${LOCALBASE}/bin/autoheader213
-
-DEFAULT_SNMP_VERSION?= 3
-NET_SNMP_SYS_CONTACT?= nobody@no.where
-NET_SNMP_SYS_LOCATION?=
-NET_SNMP_LOGFILE?= /var/log/snmpd.log
-NET_SNMP_PERSISTENTDIR?=/var/net-snmp
-
-MAN1= mib2c.1 \
- snmpbulkget.1 snmpbulkwalk.1 snmpcmd.1 snmpconf.1 \
- snmpdelta.1 snmpdf.1 snmpget.1 snmpgetnext.1 snmpinform.1 \
- snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \
- snmptranslate.1 snmptrap.1 snmpusm.1 snmpwalk.1
-MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \
- get_module_node.3 init_mib.3 init_mib_internals.3 mib_api.3 \
- netsnmp_agent.3 netsnmp_bulk_to_next.3 netsnmp_debug.3 \
- netsnmp_example_scalar_int.3 netsnmp_handler.3 \
- netsnmp_instance.3 netsnmp_library.3 \
- netsnmp_mib_handler_methods.3 netsnmp_mib_utilities.3 \
- netsnmp_mode_end_call.3 netsnmp_multiplexer.3 \
- netsnmp_old_api.3 netsnmp_read_only.3 netsnmp_scalar.3 \
- netsnmp_serialize.3 netsnmp_table.3 netsnmp_table_array.3 \
- netsnmp_table_data.3 netsnmp_table_dataset.3 \
- netsnmp_table_iterator.3 netsnmp_todo.3 netsnmp_watcher.3 \
- print_description.3 print_mib.3 print_objid.3 print_value.3 \
- print_variable.3 read_all_mibs.3 read_config.3 read_mib.3 \
- read_module.3 read_module_node.3 read_objid.3 shutdown_mib.3 \
- snmp_agent_api.3 snmp_alarm.3 snmp_api.3 \
- snmp_api_errstring.3 snmp_close.3 \
- snmp_error.3 snmp_free_pdu.3 snmp_open.3 snmp_perror.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_perror.3 \
- snmp_sess_read.3 snmp_sess_select_info.3 \
- snmp_sess_send.3 snmp_sess_session.3 snmp_sess_timeout.3 \
- snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \
- snmp_timeout.3 snmp_trap_api.3
-MAN3PERL= NetSNMP::default_store.3 NetSNMP::ASN.3 NetSNMP::OID.3 \
- NetSNMP::agent::default_store.3 \
- NetSNMP::netsnmp_request_infoPtr.3 \
- NetSNMP::agent.3 SNMP.3
-MAN3PERLPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-_MANPAGES+= ${MAN3PERL:S%^%${MAN3PERLPREFIX}/man/man3/%}
-MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \
- snmptrapd.conf.5 variables.5
-MAN8= snmpd.8 snmptrapd.8
-BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \
- snmpstatus snmptest snmptranslate snmptrap snmpwalk
-SBIN= snmpd snmptrapd
-
-STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 400014
-CONFIGURE_ARGS+= --enable-ipv6 \
- --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix"
-.endif
-
-SHLIB_VERSION= 5
-PLIST_SUB+= shlib=${SHLIB_VERSION}
-
-post-patch:
- @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
- ${WRKSRC}/aclocal.m4
-
-post-configure:
- @${FIND} ${CONFIGURE_WRKSRC}/perl -name Makefile | \
- ${XARGS} ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//'
-
-pre-install:
- -@[ -f ${STARTUP_FILE} ] && \
- (echo "Remove old ${STARTUP_FILE} before install." && exit 1)
-
-post-install:
- @( cd ${PREFIX}/bin && ${STRIP_CMD} ${BIN} )
- @( cd ${PREFIX}/sbin && ${STRIP_CMD} ${SBIN} )
- @${FIND} ${PREFIX}/include/net-snmp ${PREFIX}/share/snmp/mibs -type f \
- | ${XARGS} ${CHMOD} 644
- @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${STARTUP_FILE}
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/net-mgmt/net-snmp53/distinfo b/net-mgmt/net-snmp53/distinfo
deleted file mode 100644
index 28a49985a98c..000000000000
--- a/net-mgmt/net-snmp53/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (net-snmp-5.0.8.tar.gz) = 9fa8555c1a9d68008b3b0df52721ee82
diff --git a/net-mgmt/net-snmp53/files/patch-Makefile.top b/net-mgmt/net-snmp53/files/patch-Makefile.top
deleted file mode 100644
index 33bed26b787a..000000000000
--- a/net-mgmt/net-snmp53/files/patch-Makefile.top
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.top.orig Thu Mar 6 05:08:26 2003
-+++ Makefile.top Sat Mar 29 21:54:50 2003
-@@ -59,7 +59,7 @@
- # generally, LIBCURRENT should stay the same unless major changes occur.
- # Increment REVISION every release.
- # Increment AGE if new stuff is available.
--LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
-+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release $(LIBCURRENT) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
- LIB_EXTENSION = la
- LIB_VERSION =
- LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir)
diff --git a/net-mgmt/net-snmp53/files/patch-aa b/net-mgmt/net-snmp53/files/patch-aa
deleted file mode 100644
index 4d371fdbd56e..000000000000
--- a/net-mgmt/net-snmp53/files/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
---- snmplib/Makefile.in.orig Wed Jul 17 02:50:49 2002
-+++ snmplib/Makefile.in Mon Jul 22 12:24:37 2002
-@@ -140,6 +140,10 @@
-
- libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS}
- $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS}
-+ ld -Bshareable -soname libsnmp.so.4 \
-+ -o libsnmp.so ${OBJS}
-+ ln -f libsnmp.so \
-+ ../libsnmp.so.4
- $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
-
- #how to build dependencies
diff --git a/net-mgmt/net-snmp53/files/patch-aclocal.m4 b/net-mgmt/net-snmp53/files/patch-aclocal.m4
deleted file mode 100644
index c466d9e1f68c..000000000000
--- a/net-mgmt/net-snmp53/files/patch-aclocal.m4
+++ /dev/null
@@ -1,48 +0,0 @@
---- aclocal.m4.orig Tue Sep 18 17:08:01 2001
-+++ aclocal.m4 Mon Jan 21 10:38:40 2002
-@@ -196,8 +196,23 @@
- AC_DEFUN([AC_PROG_LIBTOOL],
- [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
-
-+# Save cache, so that ltconfig can load it
-+AC_CACHE_SAVE
-+
-+# Actually configure libtool. ac_aux_dir is where install-sh is found.
-+CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
-+LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
-+LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
-+DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
-+${CONFIG_SHELL-/bin/sh} %%LOCALBASE%%/share/libtool/ltconfig --no-reexec \
-+$libtool_flags --no-verify --disable-ltlibs --release-ignore %%LOCALBASE%%/share/libtool/ltmain.sh $lt_target \
-+|| AC_MSG_ERROR([libtool configure failed])
-+
-+# Reload cache, that may have been modified by ltconfig
-+AC_CACHE_LOAD
-+
- # This can be used to rebuild libtool when needed
--LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+LIBTOOL_DEPS="--disable-ltlibs --release-ignore %%LOCALBASE%%/share/libtool/ltmain.sh"
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-@@ -224,6 +239,11 @@
- AC_REQUIRE([AC_EXEEXT])dnl
- dnl
-
-+case "$target" in
-+NONE) lt_target="$host" ;;
-+*) lt_target="$target" ;;
-+esac
-+
- _LT_AC_PROG_ECHO_BACKSLASH
- # Only perform the check for file, if the check method requires it
- case $deplibs_check_method in
-@@ -875,7 +895,7 @@
- # All known linkers require a `.a' archive for static linking (except M$VC,
- # which needs '.lib').
- libext=a
--ltmain="$ac_aux_dir/ltmain.sh"
-+ltmain="--disable-ltlibs --release-ignore %%LOCALBASE%%/share/libtool/ltmain.sh"
- ofile="$default_ofile"
- with_gnu_ld="$lt_cv_prog_gnu_ld"
- need_locks="$enable_libtool_lock"
diff --git a/net-mgmt/net-snmp53/files/patch-al b/net-mgmt/net-snmp53/files/patch-al
deleted file mode 100644
index 89187b836b0b..000000000000
--- a/net-mgmt/net-snmp53/files/patch-al
+++ /dev/null
@@ -1,29 +0,0 @@
---- configure.in.orig Tue May 7 08:12:10 2002
-+++ configure.in Mon Jun 24 09:38:33 2002
-@@ -1772,6 +1772,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([
- #ifdef HAVE_SYS_PARAM_H
diff --git a/net-mgmt/net-snmp53/files/patch-diskio.c b/net-mgmt/net-snmp53/files/patch-diskio.c
deleted file mode 100644
index 609168f22e9c..000000000000
--- a/net-mgmt/net-snmp53/files/patch-diskio.c
+++ /dev/null
@@ -1,56 +0,0 @@
---- agent/mibgroup/ucd-snmp/diskio.c.orig Thu Mar 6 07:55:01 2003
-+++ agent/mibgroup/ucd-snmp/diskio.c Sat Mar 29 22:41:29 2003
-@@ -49,7 +49,12 @@
- #endif /* bsdi */
-
- #if defined (freebsd4) || defined(freebsd5)
-+#include <sys/param.h>
-+#if __FreeBSD_version >= 500101
-+#include <sys/resource.h>
-+#else
- #include <sys/dkstat.h>
-+#endif
- #include <devstat.h>
- #endif /* freebsd */
-
-@@ -380,7 +385,11 @@
- }
- memset(stat->dinfo, 0, sizeof(struct devinfo));
-
-+#if defined(freebsd5) && (__FreeBSD_version >= 500107)
-+ if ((devstat_getdevs(NULL, stat)) == -1) {
-+#else
- if ((getdevs(stat)) == -1) {
-+#endif
- fprintf(stderr, "Can't get devices:%s\n", devstat_errbuf);
- return 1;
- }
-@@ -429,6 +438,20 @@
- case DISKIO_DEVICE:
- *var_len = strlen(stat->dinfo->devices[indx].device_name);
- return (u_char *) stat->dinfo->devices[indx].device_name;
-+#if defined(freebsd5) && (__FreeBSD_version >= 500107)
-+ case DISKIO_NREAD:
-+ long_ret = (signed long) stat->dinfo->devices[indx].bytes[DEVSTAT_READ];
-+ return (u_char *) & long_ret;
-+ case DISKIO_NWRITTEN:
-+ long_ret = (signed long) stat->dinfo->devices[indx].bytes[DEVSTAT_WRITE];
-+ return (u_char *) & long_ret;
-+ case DISKIO_READS:
-+ long_ret = (signed long) stat->dinfo->devices[indx].operations[DEVSTAT_READ];
-+ return (u_char *) & long_ret;
-+ case DISKIO_WRITES:
-+ long_ret = (signed long) stat->dinfo->devices[indx].operations[DEVSTAT_WRITE];
-+ return (u_char *) & long_ret;
-+#else
- case DISKIO_NREAD:
- long_ret = (signed long) stat->dinfo->devices[indx].bytes_read;
- return (u_char *) & long_ret;
-@@ -441,6 +464,7 @@
- case DISKIO_WRITES:
- long_ret = (signed long) stat->dinfo->devices[indx].num_writes;
- return (u_char *) & long_ret;
-+#endif
-
- default:
- ERROR_MSG("diskio.c: don't know how to handle this request.");
diff --git a/net-mgmt/net-snmp53/files/patch-hr_storage.c b/net-mgmt/net-snmp53/files/patch-hr_storage.c
deleted file mode 100644
index 1e2e66f97e0a..000000000000
--- a/net-mgmt/net-snmp53/files/patch-hr_storage.c
+++ /dev/null
@@ -1,52 +0,0 @@
---- agent/mibgroup/host/hr_storage.c.orig Thu Jul 4 22:00:31 2002
-+++ agent/mibgroup/host/hr_storage.c Mon Jul 22 14:38:58 2002
-@@ -148,7 +148,7 @@
- #define HRFS_mount mnt_mountp
- #define HRFS_statfs statvfs
-
--#elif defined(HAVE_STATVFS)
-+#elif defined(HAVE_STATVFS) && defined(HAVE_MNTENT)
-
- extern struct mntent *HRFS_entry;
- extern int fscount;
-@@ -563,7 +563,7 @@
- }
- case HRSTORE_UNITS:
- if (store_idx < HRS_TYPE_FS_MAX)
--#if STRUCT_STATVFS_HAS_F_FRSIZE
-+#if defined(STRUCT_STATVFS_HAS_F_FRSIZE) && defined(HAVE_MNTENT)
- long_return = stat_buf.f_frsize;
- #else
- long_return = stat_buf.f_bsize;
-@@ -646,7 +646,15 @@
- i++)
- long_return += mbstat.m_mtypes[i];
- #elif defined(MBSTAT_SYMBOL)
-+#if !defined(__FreeBSD__) || __FreeBSD_version < 500021
- long_return = mbstat.m_mbufs;
-+#elif __FreeBSD_version < 500024
-+ /* mbuf stats disabled */
-+ return NULL;
-+#else
-+ /* XXX TODO: implement new method */
-+ return NULL;
-+#endif
- #elif defined(NO_DUMMY_VALUES)
- return NULL;
- #else
-@@ -704,7 +712,15 @@
- * mbpool.pr_size + (mclpool.pr_nget - mclpool.pr_nput)
- * mclpool.pr_size;
- #elif defined(MBSTAT_SYMBOL)
-+#if !defined(__FreeBSD__) || __FreeBSD_version < 500021
- long_return = mbstat.m_clusters - mbstat.m_clfree; /* unlikely, but... */
-+#elif __FreeBSD_version < 500024
-+ /* mbuf stats disabled */
-+ return NULL;
-+#else
-+ /* XXX TODO: implement new method */
-+ return NULL;
-+#endif
- #elif defined(NO_DUMMY_VALUES)
- return NULL;
- #else
diff --git a/net-mgmt/net-snmp53/files/patch-hr_swrun.c b/net-mgmt/net-snmp53/files/patch-hr_swrun.c
deleted file mode 100644
index a2afd1c61cf3..000000000000
--- a/net-mgmt/net-snmp53/files/patch-hr_swrun.c
+++ /dev/null
@@ -1,84 +0,0 @@
---- agent/mibgroup/host/hr_swrun.c.orig Sat Apr 20 16:30:03 2002
-+++ agent/mibgroup/host/hr_swrun.c Wed Apr 24 01:43:15 2002
-@@ -557,7 +557,11 @@
- strcpy(string, proc_buf->p_user.u_comm);
- #endif
- #elif HAVE_KVM_GETPROCS
-+#if defined(freebsd5) && __FreeBSD_version >= 500014
-+ strcpy(string, proc_table[LowProcIndex].ki_comm);
-+#else
- strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm);
-+#endif
- #elif defined(linux)
- sprintf(string, "/proc/%d/status", pid);
- if ((fp = fopen(string, "r")) == NULL)
-@@ -662,7 +666,11 @@
- *cp1 = 0;
- #endif
- #elif HAVE_KVM_GETPROCS
-+#if defined(freebsd5) && __FreeBSD_version >= 500014
-+ strcpy(string, proc_table[LowProcIndex].ki_comm);
-+#else
- strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm);
-+#endif
- #elif defined(linux)
- sprintf(string, "/proc/%d/cmdline", pid);
- if ((fp = fopen(string, "r")) == NULL)
-@@ -853,7 +861,11 @@
- }
- #else
- #if HAVE_KVM_GETPROCS
-+#if defined(freebsd5) && __FreeBSD_version >= 500014
-+ switch ( proc_table[LowProcIndex].ki_stat ) {
-+#else
- switch (proc_table[LowProcIndex].kp_proc.p_stat) {
-+#endif
- #elif defined(dynix)
- switch (lowpsinfo.pr_state) {
- #elif defined(solaris2)
-@@ -948,9 +960,17 @@
- long_return = proc_buf->p_utime * 100 + proc_buf->p_stime * 100;
- #endif
- #elif HAVE_KVM_GETPROCS
-+#if defined(freebsd5) && __FreeBSD_version >= 500014
-+ /* XXX: Accessing ki_paddr causes sig10 ...
-+ long_return = proc_table[LowProcIndex].ki_paddr->p_uticks +
-+ proc_table[LowProcIndex].ki_paddr->p_sticks +
-+ proc_table[LowProcIndex].ki_paddr->p_iticks; */
-+ long_return = 0;
-+#else
- long_return = proc_table[LowProcIndex].kp_proc.p_uticks +
- proc_table[LowProcIndex].kp_proc.p_sticks +
- proc_table[LowProcIndex].kp_proc.p_iticks;
-+#endif
- #elif defined(linux)
- sprintf(string, "/proc/%d/stat", pid);
- if ((fp = fopen(string, "r")) == NULL)
-@@ -1022,6 +1042,13 @@
- #if defined(freebsd3) && !defined(darwin)
- long_return =
- proc_table[LowProcIndex].kp_eproc.e_vm.vm_map.size / 1024;
-+#elif defined(freebsd5) && __FreeBSD_version >= 500014
-+ /* XXX
-+ long_return = proc_table[LowProcIndex].ki_vmspace->vm_tsize +
-+ proc_table[LowProcIndex].ki_vmspace->vm_ssize +
-+ proc_table[LowProcIndex].ki_vmspace->vm_dsize;
-+ long_return = long_return * (getpagesize() / 1024); */
-+ long_return = 0;
- #else
- long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_tsize +
- proc_table[LowProcIndex].kp_eproc.e_vm.vm_ssize +
-@@ -1299,8 +1326,13 @@
- #elif defined(solaris2)
- return proc_table[current_proc_entry++];
- #elif HAVE_KVM_GETPROCS
-+#if defined(freebsd5) && __FreeBSD_version >= 500014
-+ if ( proc_table[current_proc_entry].ki_stat != 0 )
-+ return proc_table[current_proc_entry++].ki_pid;
-+#else
- if (proc_table[current_proc_entry].kp_proc.p_stat != 0)
- return proc_table[current_proc_entry++].kp_proc.p_pid;
-+#endif
- #else
- if (proc_table[current_proc_entry].p_stat != 0)
- return proc_table[current_proc_entry++].p_pid;
diff --git a/net-mgmt/net-snmp53/files/patch-interfaces.c b/net-mgmt/net-snmp53/files/patch-interfaces.c
deleted file mode 100644
index c9d465c00859..000000000000
--- a/net-mgmt/net-snmp53/files/patch-interfaces.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- agent/mibgroup/mibII/interfaces.c.orig Sat Jun 8 00:18:03 2002
-+++ agent/mibgroup/mibII/interfaces.c Mon Jul 29 12:35:08 2002
-@@ -555,11 +555,9 @@
- ifp->ifm_type));
- }
- }
-- if (have_ifinfo && have_addr) {
-+ if (have_ifinfo) {
- return 0;
-- } else if (have_ifinfo && !(if_msg->ifm_flags & IFF_UP))
-- return 0;
-- else {
-+ } else {
- return -1;
- }
- }
diff --git a/net-mgmt/net-snmp53/files/patch-local:Makefile.in b/net-mgmt/net-snmp53/files/patch-local:Makefile.in
deleted file mode 100644
index 7f648103d7aa..000000000000
--- a/net-mgmt/net-snmp53/files/patch-local:Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- local/Makefile.in.orig Sat Apr 20 16:30:13 2002
-+++ local/Makefile.in Wed Apr 24 01:45:55 2002
-@@ -12,7 +12,7 @@
- # local info
- #
- SNMPCONFPATH=@SNMPCONFPATH@
--PERLSCRIPTS=snmpcheck tkmib mib2c fixproc ipf-mod.pl snmpconf traptoemail
-+PERLSCRIPTS=snmpcheck mib2c fixproc ipf-mod.pl snmpconf traptoemail
- SCRIPTSMADEFORPERL=snmpcheck.made tkmib.made mib2c.made fixproc.made \
- ipf-mod.pl.made snmpconf.made traptoemail.made
- PERLPROG=@PERLPROG@
diff --git a/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c
deleted file mode 100644
index 8ddf778aea0d..000000000000
--- a/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Sat Apr 20 16:30:08 2002
-+++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Wed Apr 24 01:49:01 2002
-@@ -274,7 +274,7 @@
- size_t total_size = sizeof(total);
- int total_mib[] = { CTL_VM, VM_METER };
-
-- long phys_mem;
-+ u_long phys_mem;
- size_t phys_mem_size = sizeof(phys_mem);
- int phys_mem_mib[] = { CTL_HW, HW_USERMEM };
-
diff --git a/net-mgmt/net-snmp53/files/patch-snmpTCPIPv6Domain.c b/net-mgmt/net-snmp53/files/patch-snmpTCPIPv6Domain.c
deleted file mode 100644
index 9a6e083a98bc..000000000000
--- a/net-mgmt/net-snmp53/files/patch-snmpTCPIPv6Domain.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- snmplib/snmpTCPIPv6Domain.c.orig Fri Aug 9 22:57:43 2002
-+++ snmplib/snmpTCPIPv6Domain.c Sun Oct 6 01:07:12 2002
-@@ -62,13 +62,21 @@
- if (to == NULL) {
- return strdup("TCP/IPv6: unknown");
- } else {
-- char addr[INET6_ADDRSTRLEN];
-- char tmp[INET6_ADDRSTRLEN + 8];
-+ char tmp[NI_MAXHOST];
-
-- sprintf(tmp, "[%s]:%hd",
-- inet_ntop(AF_INET6, (void *) &(to->sin6_addr), addr,
-- INET6_ADDRSTRLEN), ntohs(to->sin6_port));
-- return strdup(tmp);
-+/*
-+ * NI_WITHSCOPEID will be obsoleted. But some implementations require
-+ * this flag to retrieve scoped name.
-+ * (2002-07-25: kuriyama@FreeBSD.org)
-+ */
-+#ifndef NI_WITHSCOPEID
-+#define NI_WITHSCOPEID 0
-+#endif
-+ if (getnameinfo(to, sizeof(struct sockaddr_in6), tmp, sizeof(tmp),
-+ NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID)) {
-+ return strdup("UDP/IPv6: unknown");
-+ }
-+ return strdup(tmp);
- }
- }
-
diff --git a/net-mgmt/net-snmp53/files/patch-snmpUCDIPv6Domain.c b/net-mgmt/net-snmp53/files/patch-snmpUCDIPv6Domain.c
deleted file mode 100644
index 6f1f6c4caeed..000000000000
--- a/net-mgmt/net-snmp53/files/patch-snmpUCDIPv6Domain.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- snmplib/snmpUDPIPv6Domain.c.orig Fri Aug 9 22:57:43 2002
-+++ snmplib/snmpUDPIPv6Domain.c Sun Oct 6 18:03:18 2002
-@@ -62,13 +62,21 @@
- if (to == NULL) {
- return strdup("UDP/IPv6: unknown");
- } else {
-- char addr[INET6_ADDRSTRLEN];
-- char tmp[INET6_ADDRSTRLEN + 8];
-+ char tmp[NI_MAXHOST];
-
-- sprintf(tmp, "[%s]:%hd",
-- inet_ntop(AF_INET6, (void *) &(to->sin6_addr), addr,
-- INET6_ADDRSTRLEN), ntohs(to->sin6_port));
-- return strdup(tmp);
-+/*
-+ * NI_WITHSCOPEID will be obsoleted. But some implementations require
-+ * this flag to retrieve scoped name.
-+ * (2002-07-25: kuriyama@FreeBSD.org)
-+ */
-+#ifndef NI_WITHSCOPEID
-+#define NI_WITHSCOPEID 0
-+#endif
-+ if (getnameinfo(to, sizeof(struct sockaddr_in6), tmp, sizeof(tmp),
-+ NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID)) {
-+ return strdup("UDP/IPv6: unknown");
-+ }
-+ return strdup(tmp);
- }
- }
-
diff --git a/net-mgmt/net-snmp53/files/patch-snmpd.8.def b/net-mgmt/net-snmp53/files/patch-snmpd.8.def
deleted file mode 100644
index ac853823ca25..000000000000
--- a/net-mgmt/net-snmp53/files/patch-snmpd.8.def
+++ /dev/null
@@ -1,13 +0,0 @@
---- man/snmpd.8.def.orig Wed Feb 26 04:11:19 2003
-+++ man/snmpd.8.def Sat Mar 29 22:05:07 2003
-@@ -211,6 +211,10 @@
- the error "Error opening specified endpoint". Likewise, since AAL5
- PVC support is only currently available on Linux, it will fail with
- the same error on other platforms.
-+.PP
-+.B snmpd
-+uses libwrap's access control if configured by --with-libwrap.
-+Access control patterns may only reference IP addresses.
-
- .RE
- .SH CONFIGURATION FILES
diff --git a/net-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c b/net-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c
deleted file mode 100644
index 7e64f3979bcf..000000000000
--- a/net-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- agent/mibgroup/ucd-snmp/vmstat_freebsd2.c.orig Thu May 23 17:39:41 2002
-+++ agent/mibgroup/ucd-snmp/vmstat_freebsd2.c Thu Feb 20 08:08:20 2003
-@@ -10,7 +10,11 @@
- #include <sys/param.h>
- #include <sys/time.h>
- #include <sys/proc.h>
-+#if defined(freebsd5) && __FreeBSD_version >= 500101
-+#include <sys/resource.h>
-+#else
- #include <sys/dkstat.h>
-+#endif
- #ifdef freebsd5
- #include <sys/bio.h>
- #endif
diff --git a/net-mgmt/net-snmp53/files/snmpd.sh.sample b/net-mgmt/net-snmp53/files/snmpd.sh.sample
deleted file mode 100644
index a626c9b9e26e..000000000000
--- a/net-mgmt/net-snmp53/files/snmpd.sh.sample
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-
-if [ -z "${source_rc_confs_defined}" ]; then
- if [ -r /etc/defaults/rc.conf ]; then
- . /etc/defaults/rc.conf
- source_rc_confs
- elif [ -r /etc/rc.conf ]; then
- . /etc/rc.conf
- fi
-fi
-
-case "$1" in
-start)
- case "${net_snmpd_enable}" in
- [Yy][Ee][Ss])
- echo -n ' snmpd'
- ${net_snmpd_program:-${PREFIX}/sbin/snmpd} ${net_snmpd_flags}
- ;;
- esac
- ;;
-stop)
- killall snmpd && echo -n ' snmpd'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- ;;
-esac
-
-exit 0
diff --git a/net-mgmt/net-snmp53/pkg-descr b/net-mgmt/net-snmp53/pkg-descr
deleted file mode 100644
index d7c5d86a1b58..000000000000
--- a/net-mgmt/net-snmp53/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-This is UCD SNMP, a derivative of CMU's SNMP package.
-
-Various tools relating to the Simple Network Management Protocol including:
-
- 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://net-snmp.sourceforge.net/
diff --git a/net-mgmt/net-snmp53/pkg-message b/net-mgmt/net-snmp53/pkg-message
deleted file mode 100644
index c33cc3a65658..000000000000
--- a/net-mgmt/net-snmp53/pkg-message
+++ /dev/null
@@ -1,23 +0,0 @@
-**** This port installs snmp daemon, include files and libraries but not
- invoking snmpd by default.
- If you want to invoke snmpd from startup, put these lines into
- /etc/rc.conf.
-
- net_snmpd_enable="YES"
- net_snmpd_flags=""
-
-**** You can specify make variables as:
-
- NET_SNMP_SYS_CONTACT="kuriyama@FreeBSD.org"
- NET_SNMP_SYS_LOCATION="Tokyo, Japan"
- DEFAULT_SNMP_VERSION=3
- NET_SNMP_LOGFILE=/var/log/snmpd.log
- NET_SNMP_PERSISTENTDIR=/var/net-snmp
-
- to define default values (or overwriting defaults). At least
- setting first two variables, you will not be prompted during
- configuration process. Or you can set
-
- BATCH="yes"
-
- to make to avoid interactive configuration. \ No newline at end of file
diff --git a/net-mgmt/net-snmp53/pkg-plist b/net-mgmt/net-snmp53/pkg-plist
deleted file mode 100644
index cd51465a3015..000000000000
--- a/net-mgmt/net-snmp53/pkg-plist
+++ /dev/null
@@ -1,291 +0,0 @@
-bin/encode_keychange
-bin/fixproc
-bin/ipf-mod.pl
-bin/mib2c
-bin/net-snmp-config
-bin/snmpbulkget
-bin/snmpbulkwalk
-bin/snmpcheck
-bin/snmpconf
-bin/snmpdelta
-bin/snmpdf
-bin/snmpget
-bin/snmpgetnext
-bin/snmpinform
-bin/snmpnetstat
-bin/snmpset
-bin/snmpstatus
-bin/snmptable
-bin/snmptest
-bin/snmptranslate
-bin/snmptrap
-bin/snmpusm
-bin/snmpvacm
-bin/snmpwalk
-bin/traptoemail
-etc/rc.d/snmpd.sh
-include/net-snmp/agent/agent_callbacks.h
-include/net-snmp/agent/agent_handler.h
-include/net-snmp/agent/agent_index.h
-include/net-snmp/agent/agent_read_config.h
-include/net-snmp/agent/agent_registry.h
-include/net-snmp/agent/agent_trap.h
-include/net-snmp/agent/all_helpers.h
-include/net-snmp/agent/auto_nlist.h
-include/net-snmp/agent/bulk_to_next.h
-include/net-snmp/agent/debug_handler.h
-include/net-snmp/agent/ds_agent.h
-include/net-snmp/agent/instance.h
-include/net-snmp/agent/mib_module_config.h
-include/net-snmp/agent/mib_module_includes.h
-include/net-snmp/agent/mode_end_call.h
-include/net-snmp/agent/multiplexer.h
-include/net-snmp/agent/net-snmp-agent-includes.h
-include/net-snmp/agent/null.h
-include/net-snmp/agent/old_api.h
-include/net-snmp/agent/read_only.h
-include/net-snmp/agent/scalar.h
-include/net-snmp/agent/serialize.h
-include/net-snmp/agent/set_helper.h
-include/net-snmp/agent/snmp_agent.h
-include/net-snmp/agent/snmp_vars.h
-include/net-snmp/agent/table.h
-include/net-snmp/agent/table_array.h
-include/net-snmp/agent/table_data.h
-include/net-snmp/agent/table_dataset.h
-include/net-snmp/agent/table_iterator.h
-include/net-snmp/agent/var_struct.h
-include/net-snmp/agent/watcher.h
-include/net-snmp/config_api.h
-include/net-snmp/definitions.h
-include/net-snmp/library/README
-include/net-snmp/library/asn1.h
-include/net-snmp/library/callback.h
-include/net-snmp/library/check_varbind.h
-include/net-snmp/library/cmu_compat.h
-include/net-snmp/library/container.h
-include/net-snmp/library/container_binary_array.h
-include/net-snmp/library/data_list.h
-include/net-snmp/library/default_store.h
-include/net-snmp/library/factory.h
-include/net-snmp/library/getopt.h
-include/net-snmp/library/int64.h
-include/net-snmp/library/keytools.h
-include/net-snmp/library/lcd_time.h
-include/net-snmp/library/md5.h
-include/net-snmp/library/mib.h
-include/net-snmp/library/mt_support.h
-include/net-snmp/library/oid_stash.h
-include/net-snmp/library/parse.h
-include/net-snmp/library/read_config.h
-include/net-snmp/library/scapi.h
-include/net-snmp/library/snmp-tc.h
-include/net-snmp/library/snmp.h
-include/net-snmp/library/snmpCallbackDomain.h
-include/net-snmp/library/snmpTCPDomain.h
-include/net-snmp/library/snmpTCPIPv6Domain.h
-include/net-snmp/library/snmpUDPDomain.h
-include/net-snmp/library/snmpUDPIPv6Domain.h
-include/net-snmp/library/snmpUnixDomain.h
-include/net-snmp/library/snmp_alarm.h
-include/net-snmp/library/snmp_api.h
-include/net-snmp/library/snmp_assert.h
-include/net-snmp/library/snmp_client.h
-include/net-snmp/library/snmp_debug.h
-include/net-snmp/library/snmp_enum.h
-include/net-snmp/library/snmp_impl.h
-include/net-snmp/library/snmp_locking.h
-include/net-snmp/library/snmp_logging.h
-include/net-snmp/library/snmp_parse_args.h
-include/net-snmp/library/snmp_secmod.h
-include/net-snmp/library/snmp_transport.h
-include/net-snmp/library/snmpusm.h
-include/net-snmp/library/snmpv3-security-includes.h
-include/net-snmp/library/snmpv3.h
-include/net-snmp/library/system.h
-include/net-snmp/library/tools.h
-include/net-snmp/library/transform_oids.h
-include/net-snmp/library/ucd_compat.h
-include/net-snmp/library/vacm.h
-include/net-snmp/library/winservice.h
-include/net-snmp/machine/generic.h
-include/net-snmp/mib_api.h
-include/net-snmp/net-snmp-config.h
-include/net-snmp/net-snmp-includes.h
-include/net-snmp/output_api.h
-include/net-snmp/pdu_api.h
-include/net-snmp/session_api.h
-include/net-snmp/snmpv3_api.h
-include/net-snmp/system/aix.h
-include/net-snmp/system/bsd.h
-include/net-snmp/system/bsdi.h
-include/net-snmp/system/bsdi3.h
-include/net-snmp/system/bsdi4.h
-include/net-snmp/system/cygwin.h
-include/net-snmp/system/darwin.h
-include/net-snmp/system/dynix.h
-include/net-snmp/system/freebsd.h
-include/net-snmp/system/freebsd2.h
-include/net-snmp/system/freebsd3.h
-include/net-snmp/system/freebsd4.h
-include/net-snmp/system/generic.h
-include/net-snmp/system/hpux.h
-include/net-snmp/system/irix.h
-include/net-snmp/system/linux.h
-include/net-snmp/system/mips.h
-include/net-snmp/system/netbsd.h
-include/net-snmp/system/openbsd.h
-include/net-snmp/system/solaris.h
-include/net-snmp/system/solaris2.6.h
-include/net-snmp/system/solaris2.7.h
-include/net-snmp/system/solaris2.8.h
-include/net-snmp/system/solaris2.9.h
-include/net-snmp/system/sunos.h
-include/net-snmp/system/svr5.h
-include/net-snmp/system/sysv.h
-include/net-snmp/system/ultrix4.h
-include/net-snmp/types.h
-include/net-snmp/utilities.h
-include/net-snmp/varbind_api.h
-include/net-snmp/version.h
-@dirrm include/net-snmp/agent
-@dirrm include/net-snmp/library
-@dirrm include/net-snmp/machine
-@dirrm include/net-snmp/system
-@dirrm include/net-snmp
-lib/libnetsnmp.a
-lib/libnetsnmp.so
-lib/libnetsnmp.so.%%shlib%%
-lib/libnetsnmpagent.a
-lib/libnetsnmpagent.so
-lib/libnetsnmpagent.so.%%shlib%%
-lib/libnetsnmphelpers.a
-lib/libnetsnmphelpers.so
-lib/libnetsnmphelpers.so.%%shlib%%
-lib/libnetsnmpmibs.a
-lib/libnetsnmpmibs.so
-lib/libnetsnmpmibs.so.%%shlib%%
-sbin/snmpd
-sbin/snmptrapd
-share/snmp/mib2c.array-user.conf
-share/snmp/mib2c.column_defines.conf
-share/snmp/mib2c.column_enums.conf
-share/snmp/mib2c.conf
-share/snmp/mib2c.create-dataset.conf
-share/snmp/mib2c.int_watch.conf
-share/snmp/mib2c.iterate.conf
-share/snmp/mib2c.old-api.conf
-share/snmp/mib2c.scalar.conf
-share/snmp/mibs/AGENTX-MIB.txt
-share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt
-share/snmp/mibs/DISMAN-SCRIPT-MIB.txt
-share/snmp/mibs/EtherLike-MIB.txt
-share/snmp/mibs/HCNUM-TC.txt
-share/snmp/mibs/HOST-RESOURCES-MIB.txt
-share/snmp/mibs/HOST-RESOURCES-TYPES.txt
-share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
-share/snmp/mibs/IANA-LANGUAGE-MIB.txt
-share/snmp/mibs/IANAifType-MIB.txt
-share/snmp/mibs/IF-INVERTED-STACK-MIB.txt
-share/snmp/mibs/IF-MIB.txt
-share/snmp/mibs/INET-ADDRESS-MIB.txt
-share/snmp/mibs/IP-FORWARD-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/NET-SNMP-AGENT-MIB.txt
-share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt
-share/snmp/mibs/NET-SNMP-MIB.txt
-share/snmp/mibs/NET-SNMP-TC.txt
-share/snmp/mibs/NOTIFICATION-LOG-MIB.txt
-share/snmp/mibs/RFC-1215.txt
-share/snmp/mibs/RFC1155-SMI.txt
-share/snmp/mibs/RFC1213-MIB.txt
-share/snmp/mibs/RMON-MIB.txt
-share/snmp/mibs/SMUX-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 2>/dev/null || true
-share/snmp/snmpconf-data/snmp-data/authopts
-share/snmp/snmpconf-data/snmp-data/debugging
-share/snmp/snmpconf-data/snmp-data/mibs
-share/snmp/snmpconf-data/snmp-data/output
-share/snmp/snmpconf-data/snmp-data/snmpconf-config
-share/snmp/snmpconf-data/snmpd-data/acl
-share/snmp/snmpconf-data/snmpd-data/basic_setup
-share/snmp/snmpconf-data/snmpd-data/extending
-share/snmp/snmpconf-data/snmpd-data/monitor
-share/snmp/snmpconf-data/snmpd-data/operation
-share/snmp/snmpconf-data/snmpd-data/snmpconf-config
-share/snmp/snmpconf-data/snmpd-data/system
-share/snmp/snmpconf-data/snmpd-data/trapsinks
-share/snmp/snmpconf-data/snmptrapd-data/formatting
-share/snmp/snmpconf-data/snmptrapd-data/snmpconf-config
-share/snmp/snmpconf-data/snmptrapd-data/traphandle
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/default_store.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/default_store.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/autosplit.ix
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/ASN.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/ASN.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/autosplit.ix
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/OID.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/OID.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/autosplit.ix
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/agent.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/agent.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/default_store.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/default_store.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/autosplit.ix
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/autosplit.ix
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/SNMP.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/SNMP.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/autosplit.ix
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle/NetSNMP/.packlist
-%%SITE_PERL%%/%%PERL_ARCH%%/Bundle/Makefile.subs.pl
-%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/default_store.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/ASN.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/OID.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent/netsnmp_request_infoPtr.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent/default_store.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/SNMP.pm
-@dirrm share/snmp/snmpconf-data/snmp-data
-@dirrm share/snmp/snmpconf-data/snmpd-data
-@dirrm share/snmp/snmpconf-data/snmptrapd-data
-@dirrm share/snmp/snmpconf-data
-@dirrm share/snmp/mibs
-@unexec rmdir %D/share/snmp 2>/dev/null || true
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle/NetSNMP
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Bundle 2>/dev/null || true
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP 2>/dev/null || true