diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 48edc42d8619..744bd5126b80 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -1,331 +1,330 @@ PORTNAME= snmp -PORTVERSION= 5.9.1 -PORTREVISION= 5 +PORTVERSION= 5.9.4 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \ ZI PKGNAMEPREFIX= net- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} MAINTAINER= zi@FreeBSD.org COMMENT= Extendable SNMP implementation WWW= http://net-snmp.sourceforge.net/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= mips mips64 NOT_FOR_ARCHS_REASON= SSP is currently broken on MIPS OPTIONS_DEFINE= IPV6 MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \ MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS JAIL AX_DISABLE_TRAP \ TLS NEWSYSLOG NOLIBPKG SCTP OPTIONS_DEFAULT=PERL PERL_EMBEDDED DUMMY SMUX NEWSYSLOG OPTIONS_SUB= yes MFD_REWRITES_DESC= Use new MFD rewrites of mib modules PERL_EMBEDDED_DESC= Build embedded perl DUMMY_DESC= Enable dummy values as placeholders TKMIB_DESC= Install graphical MIB browser AX_SOCKONLY_DESC= Disable UDP/TCP transports for agentx AX_DISABLE_TRAP_DESC= Disable agentx subagent code in snmptrapd UNPRIVILEGED_DESC= Allow unprivileged users to execute net-snmp SMUX_DESC= Build with SNMP multiplexing (SMUX) support JAIL_DESC= Options for running snmpd within a jail(8) NEWSYSLOG_DESC= Automatically rotate snmpd.log via newsyslog NOLIBPKG_DESC= Build without libpkg SCTP_DESC= Build with SCTP MIB support -MAKE_JOBS_UNSAFE= yes - -PORTSCOUT= skipv:5.7.2.1 - GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share +USES= cpe libtool perl5 ssl USE_RC_SUBR= snmpd snmptrapd USE_LDCONFIG= yes -USES= cpe libtool perl5 ssl CPE_PRODUCT= net-snmp USE_PERL5= build run USE_CSTD= c99 CFLAGS+= -I${LOCALBASE}/include -I${PKG_PREFIX}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV+= PERLPROG="${PERL}" PSPROG="${PS_CMD}" SED="${SED}" CONFIGURE_ARGS+=--enable-shared --enable-internal-md5 \ --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-gnu-ld --without-libwrap \ --with-ldflags="-lm -lkvm -ldevstat -L${PKG_PREFIX}/lib -L${LOCALBASE}/lib ${LCRYPTO}" SUB_FILES= pkg-message .if !defined(WITHOUT_SSP) CONFIGURE_ARGS+=--with-libs="-lssp_nonshared" .endif .if defined(BATCH) CONFIGURE_ARGS+=--with-defaults .endif TLS_CONFIGURE_ON= --with-security-modules=tsm --with-transports=TLSTCP,DTLSUDP .include .if ${PORT_OPTIONS:MPYTHON} PYDISTUTILS_PKGNAME?= netsnmp-python PYDISTUTILS_PKGVERSION?= 1.0a1 USES+= python RUN_DEPENDS+= ${PY_SETUPTOOLS} BUILD_DEPENDS+= ${PY_SETUPTOOLS} CONFIGURE_ARGS+=--with-python-modules CONFIGURE_ENV+= PYTHONPROG="${PYTHON_CMD}" MAKE_ENV+= PYDISTUTILS_INSTALLARGS="${PYDISTUTILS_INSTALLARGS}" STAGEDIR="${STAGEDIR}" PLIST_SUB+= WITH_PYTHON="" PYTHON_VER=${PYTHON_VER} PLIST_SUB+= PYDISTUTILS_PKGVERSION=${PYDISTUTILS_PKGVERSION} .else PLIST_SUB+= WITH_PYTHON="@comment " .endif CONFIGURE_ARGS+=--with-openssl="${OPENSSLBASE}" .if ${PORT_OPTIONS:MDUMMY} CONFIGURE_ARGS+=--with-dummy-values .endif .if ! ${PORT_OPTIONS:MTKMIB} PLIST_SUB+= WITH_TKMIB="@comment " .else RUN_DEPENDS+= p5-Tk>=0:x11-toolkits/p5-Tk PLIST_SUB+= WITH_TKMIB="" .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+=--with-perl-modules .if ! ${PORT_OPTIONS:MPERL_EMBEDDED} CONFIGURE_ARGS+=--disable-embedded-perl PLIST_SUB+= WITH_PERL_EMBEDDED="@comment " .else CONFIGURE_ARGS+=--enable-embedded-perl PLIST_SUB+= WITH_PERL_EMBEDDED="" .endif PLIST_SUB+= WITH_PERL="" .else USE_PERL5= build CONFIGURE_ARGS+=--disable-embedded-perl --without-perl-modules PLIST_SUB+= WITH_PERL_EMBEDDED="@comment " PLIST_SUB+= WITH_PERL="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USES+= mysql CONFIGURE_ARGS+=--with-mysql CONFIGURE_ENV+= MYSQLCONFIG=${LOCALBASE}/bin/mysql_config .endif .if ${PORT_OPTIONS:MAX_DISABLE_TRAP} CONFIGURE_ARGS+=--disable-snmptrapd-subagent .endif .if ${PORT_OPTIONS:MAX_SOCKONLY} CONFIGURE_ARGS+=--enable-agentx-dom-sock-only .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--enable-ipv6 # --with-transport="UDPIPv6 TCPIPv6" --with-modules=mibII/ipv6" PLIST_SUB+= WITH_IPV6="" .else PLIST_SUB+= WITH_IPV6="@comment " .endif .if ${PORT_OPTIONS:MUNPRIVILEGED} CONFIGURE_ARGS+=--without-root-access .endif SHLIB_VERSION= 40 -SHLIB_VERSION2= .1.0 +SHLIB_VERSION2= .2.1 PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION} SHLIB_VERSION2=${SHLIB_VERSION2} SCRIPTS_SUB= PREFIX=${PREFIX} PERL=${PERL} DEFAULT_SNMP_VERSION?= 3 NET_SNMP_SYS_CONTACT?= nobody@nowhere.invalid NET_SNMP_SYS_LOCATION?= somewhere NET_SNMP_LOGFILE?= /var/log/snmpd.log NET_SNMP_PERSISTENTDIR?=/var/net-snmp NET_SNMP_WITH_MIB_MODULE_LIST+= host disman/event-mib mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio .if ${OPSYS} == FreeBSD NET_SNMP_WITHOUT_MIB_MODULE_LIST+= mibII/ipv6 .endif .if ${PORT_OPTIONS:MSCTP} NET_SNMP_WITH_MIB_MODULE_LIST+= sctp-mib .endif .if ${PORT_OPTIONS:MMFD_REWRITES} CONFIGURE_ARGS+=--enable-mfd-rewrites NET_SNMP_WITH_MIB_MODULE_LIST+= if-mib .endif .if ${PORT_OPTIONS:MJAIL} NET_SNMP_WITHOUT_MIB_MODULE_LIST+= host NET_SNMP_WITHOUT_MIB_MODULE_LIST+= ucd-snmp/memory CONFIGURE_ARGS+= --without-kmem-usage .endif .if ${PORT_OPTIONS:MSMUX} NET_SNMP_WITH_MIB_MODULE_LIST+= smux .else NET_SNMP_WITHOUT_MIB_MODULE_LIST+= smux .endif .if defined(NET_SNMP_WITH_MIB_MODULE_LIST) && \ !empty(NET_SNMP_WITH_MIB_MODULE_LIST) CONFIGURE_ARGS+=--with-mib-modules="${NET_SNMP_WITH_MIB_MODULE_LIST}" .endif .if defined(NET_SNMP_WITHOUT_MIB_MODULE_LIST) && \ !empty(NET_SNMP_WITHOUT_MIB_MODULE_LIST) CONFIGURE_ARGS+=--with-out-mib-modules="${NET_SNMP_WITHOUT_MIB_MODULE_LIST}" .endif BIN_FILES= snmpbulkwalk snmpget snmpgetnext snmpset \ snmpstatus snmptest snmptranslate snmptrap snmpwalk \ snmptable snmpbulkget snmpdelta snmpdf agentxtrap \ snmpps snmpping snmppcap snmpvacm snmpusm \ encode_keychange snmpnetstat LIB_FILES= libnetsnmp.so.${SHLIB_VERSION}${SHLIB_VERSION2} \ libnetsnmpagent.so.${SHLIB_VERSION}${SHLIB_VERSION2} \ libnetsnmpmibs.so.${SHLIB_VERSION}${SHLIB_VERSION2} \ libnetsnmphelpers.so.${SHLIB_VERSION}${SHLIB_VERSION2} \ libnetsnmptrapd.so.${SHLIB_VERSION}${SHLIB_VERSION2} SBIN_FILES= snmpd snmptrapd STARTUP_DIR= ${PREFIX}/etc/rc.d SCRIPT_FILES= snmpcheck.def mib2c fixproc ipf-mod.pl traptoemail .if ${PORT_OPTIONS:MTKMIB} SCRIPT_FILES+= tkmib .endif DOC_FILES= AGENT.txt COPYING FAQ NEWS README \ README.agentx README.krb5 README.snmpv3 README.thread \ agent/mibgroup/README.smux CONFLICTS= ucd-snmp-4.* net-snmp-5.3.* .include .if ${SSL_DEFAULT} != base LCRYPTO= -lcrypto .else LCRYPTO= .endif pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "You may use the following build options:" @${ECHO_MSG} @${ECHO_MSG} "DEFAULT_SNMP_VERSION=\"3\" Default version of SNMP to use." @${ECHO_MSG} "NET_SNMP_SYS_CONTACT=\"${NET_SNMP_SYS_CONTACT}\"" @${ECHO_MSG} " Default system contact." @${ECHO_MSG} "NET_SNMP_SYS_LOCATION=\"${NET_SNMP_SYS_LOCATION}\"" @${ECHO_MSG} " Default system location." @${ECHO_MSG} "NET_SNMP_LOGFILE=\"${NET_SNMP_LOGFILE}\"" @${ECHO_MSG} " Default log file location for snmpd." @${ECHO_MSG} "NET_SNMP_PERSISTENTDIR=\"${NET_SNMP_PERSISTENTDIR}\"" @${ECHO_MSG} " Default directory for persistent data storage." @${ECHO_MSG} "NET_SNMP_WITH_MIB_MODULE_LIST=\"${NET_SNMP_WITH_MIB_MODULE_LIST}\"" @${ECHO_MSG} " MIBs to add to the build." @${ECHO_MSG} "NET_SNMP_WITHOUT_MIB_MODULE_LIST=\"${NET_SNMP_WITHOUT_MIB_MODULE_LIST}\"" @${ECHO_MSG} " MIBs to omit from the build." @${ECHO_MSG} post-patch: @${REINPLACE_CMD} -E -e 's|return pci_lookup_name|disabled broken|g' \ ${WRKSRC}/configure .if ${OPSYS} == FreeBSD || ${SSL_DEFAULT:Mopenssl} @${REINPLACE_CMD} -E -e 's|SSL_library_init|OPENSSL_init_ssl|g' \ ${WRKSRC}/configure .endif @${CP} ${WRKSRC}/include/net-snmp/system/freebsd12.h \ ${WRKSRC}/include/net-snmp/system/freebsd13.h @${CP} ${WRKSRC}/include/net-snmp/system/freebsd14.h \ ${WRKSRC}/include/net-snmp/system/freebsd15.h .for header in darwin7.h darwin8.h darwin9.h darwin10.h darwin11.h darwin12.h \ darwin13.h darwin14.h darwin15.h darwin16.h darwin17.h @${CP} ${WRKSRC}/include/net-snmp/system/darwin.h \ ${WRKSRC}/include/net-snmp/system/${header} .endfor .if ${PORT_OPTIONS:MNOLIBPKG} pre-configure: ${REINPLACE_CMD} \ -e 's|pkg[.]h|ignore-pkg.h|g' \ -e 's|in pkg ;|in ignore-pkg ;|' \ ${WRKSRC}/configure .endif post-configure: @${FIND} ${WRKSRC} -name Makefile | \ ${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|' .for hdr in sys/mbuf.h netinet/in_pcb.h netinet/in_var.h netinet/ip6.h pkg.h @${REINPLACE_CMD} -E -e '\ s!^.*#undef.*(HAVE_${hdr:tu:S/./_/g:S/\//_/g}).*$$!#define \1 1!g' \ ${WRKSRC}/include/net-snmp/net-snmp-config.h .endfor + # Fix after: + # https://github.com/net-snmp/net-snmp/commit/923cb442bbef360de227fbca565710518b5ee8e5 + @${REINPLACE_CMD} -e 's|snmpIPv6BaseDomain.h snmpIPBaseDomain.h|snmpIPv6BaseDomain.h|g' \ + ${WRKSRC}/snmplib/Makefile .if ${PORT_OPTIONS:MPYTHON} @(cd ${WRKSRC}/python; \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} setopt -c bdist_egg \ -o plat-name -s "" --basedir=${WRKSRC}; \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} setopt -c bdist \ -o plat-name -s "" --basedir=${WRKSRC}) .endif post-build: .if ${PORT_OPTIONS:MPERL} ${FIND} ${WRKSRC}/perl -name Makefile | \ ${XARGS} ${REINPLACE_CMD} -E -e '\ s!^(PREFIX) = .*!\1 = ${PREFIX}!; \ s!^(INSTALLMAN3DIR|INSTALLSITEMAN3DIR) = .*!\1 = ${PREFIX}/share/man/man3!; \ s!^(INSTALLSITELIB|INSTALLSITEARCH) = /usr/local/(.*)!\1 = ${PREFIX}/\2!; \ s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \ ' .else ${REINPLACE_CMD} -e 's| perlinstall||' ${WRKSRC}/Makefile .endif post-install: strip-files install-config-files install-doc-files @${MKDIR} ${STAGEDIR}/var/agentx @(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libnetsnmp.so.${SHLIB_VERSION} libnetsnmp.so) @(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libnetsnmpagent.so.${SHLIB_VERSION} libnetsnmpagent.so) @(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libnetsnmphelpers.so.${SHLIB_VERSION} libnetsnmphelpers.so) @(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libnetsnmpmibs.so.${SHLIB_VERSION} libnetsnmpmibs.so) @(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libnetsnmptrapd.so.${SHLIB_VERSION} libnetsnmptrapd.so) .if ${PORT_OPTIONS:MNEWSYSLOG} @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${FILESDIR}/net-snmp.conf ${STAGEDIR}${DATADIR}/newsyslog.conf.sample .endif strip-files: (cd ${STAGEDIR}${PREFIX}/bin; ${STRIP_CMD} ${BIN_FILES}) (cd ${STAGEDIR}${PREFIX}/lib; ${STRIP_CMD} ${LIB_FILES}) (cd ${STAGEDIR}${PREFIX}/sbin; ${STRIP_CMD} ${SBIN_FILES}) install-config-files: ${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${STAGEDIR}${DATADIR}/snmpd.conf.example install-doc-files: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} . for filename in ${DOC_FILES} ${INSTALL_DATA} ${WRKSRC}/${filename} ${STAGEDIR}${DOCSDIR} . endfor .endif # Maintainer's note: # Don't forget to bump library version in these ports. # french/plgrenouille,graphics/hpoj,lang/php4,lang/php5,mail/cyrus-imapd22,mail/cyrus-imapd23,misc/kdeutils3,net-mgmt/braa,net-mgmt/docsis,net-mgmt/mbrowse,net-mgmt/nagios-snmp-plugins,net-mgmt/p5-SNMP-Info,net-mgmt/py-yapsnmp,net-mgmt/sdig,net-mgmt/zabbix,net/cactid,net/wireshark,net/ifstat,net/quagga,net/rtg,print/hplip,security/libfwbuilder,sysutils/apcupsd,sysutils/jailadmin,sysutils/nut .include diff --git a/net-mgmt/net-snmp/distinfo b/net-mgmt/net-snmp/distinfo index 7904c57e50fb..8493e064aaa9 100644 --- a/net-mgmt/net-snmp/distinfo +++ b/net-mgmt/net-snmp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651857991 -SHA256 (net-snmp-5.9.1.tar.gz) = eb7fd4a44de6cddbffd9a92a85ad1309e5c1054fb9d5a7dd93079c8953f48c3f -SIZE (net-snmp-5.9.1.tar.gz) = 6711774 +TIMESTAMP = 1709374659 +SHA256 (net-snmp-5.9.4.tar.gz) = 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 +SIZE (net-snmp-5.9.4.tar.gz) = 6681606 diff --git a/net-mgmt/net-snmp/files/patch-Makefile.in b/net-mgmt/net-snmp/files/patch-Makefile.in index db474f4c3309..34001fe318a6 100644 --- a/net-mgmt/net-snmp/files/patch-Makefile.in +++ b/net-mgmt/net-snmp/files/patch-Makefile.in @@ -1,20 +1,20 @@ ---- Makefile.in.orig 2021-05-25 15:19:35.000000000 -0700 -+++ Makefile.in 2023-09-05 01:13:06.391986000 -0700 -@@ -21,7 +21,7 @@ +--- Makefile.in.orig 2023-08-15 20:32:01 UTC ++++ Makefile.in +@@ -21,7 +21,7 @@ INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi darwin.h dragonfly.h dynix.h \ freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h \ freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd11.h \ - freebsd12.h freebsd13.h freebsd14.h freebsd.h \ + freebsd12.h freebsd13.h freebsd14.h freebsd15.h freebsd.h \ generic.h \ hpux.h irix.h kfreebsd.h linux.h mingw32.h mingw32msvc.h mips.h \ netbsd.h nto-qnx6.h osf5.h \ -@@ -234,7 +234,7 @@ +@@ -234,7 +234,7 @@ pythoninstall: fi pythoninstall: - @(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir --root=$(DESTDIR) --prefix=$(prefix)) ; \ + @(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir --root=$(DESTDIR) --prefix=$(prefix) ${PYDISTUTILS_INSTALLARGS}); \ if test $$? != 0 ; then \ exit 1 ; \ fi diff --git a/net-mgmt/net-snmp/files/patch-agent_mibgroup_hardware_memory_memory__freebsd.c b/net-mgmt/net-snmp/files/patch-agent_mibgroup_hardware_memory_memory__freebsd.c index e5204974a550..700fad67beb9 100644 --- a/net-mgmt/net-snmp/files/patch-agent_mibgroup_hardware_memory_memory__freebsd.c +++ b/net-mgmt/net-snmp/files/patch-agent_mibgroup_hardware_memory_memory__freebsd.c @@ -1,11 +1,11 @@ ---- agent/mibgroup/hardware/memory/memory_freebsd.c.orig 2015-02-20 14:44:47 UTC +--- agent/mibgroup/hardware/memory/memory_freebsd.c.orig 2023-08-15 20:32:01 UTC +++ agent/mibgroup/hardware/memory/memory_freebsd.c -@@ -163,7 +163,7 @@ int netsnmp_mem_arch_load( netsnmp_cache +@@ -164,7 +164,7 @@ int netsnmp_mem_arch_load( netsnmp_cache *cache, void if (!mem->descr) mem->descr = strdup("Cached memory"); mem->units = pagesize; - mem->size = cache_count; + mem->size = cache_count + inact_count; mem->free = 0; } diff --git a/net-mgmt/net-snmp/files/patch-agent_mibgroup_ip-mib_data__access_scalars__sysctl.c b/net-mgmt/net-snmp/files/patch-agent_mibgroup_ip-mib_data__access_scalars__sysctl.c index ce13e2022ab2..63cfa3de192b 100644 --- a/net-mgmt/net-snmp/files/patch-agent_mibgroup_ip-mib_data__access_scalars__sysctl.c +++ b/net-mgmt/net-snmp/files/patch-agent_mibgroup_ip-mib_data__access_scalars__sysctl.c @@ -1,23 +1,23 @@ ---- agent/mibgroup/ip-mib/data_access/scalars_sysctl.c.orig 2021-05-25 15:19:35.000000000 -0700 -+++ agent/mibgroup/ip-mib/data_access/scalars_sysctl.c 2022-09-27 20:25:15.687146000 -0700 +--- agent/mibgroup/ip-mib/data_access/scalars_sysctl.c.orig 2023-08-15 20:32:01 UTC ++++ agent/mibgroup/ip-mib/data_access/scalars_sysctl.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include @@ -16,6 +17,12 @@ #include #include #include + +#if defined(__FreeBSD_version) && __FreeBSD_version > 1400066 +#define IPFRAGTTL 60 /* time to live for frags, slowhz */ +#define PR_SLOWHZ 2 /* 2 slow timeouts per second */ +#define PR_FASTHZ 5 /* 5 fast timeouts per second */ +#endif /* XXX: the values passed to netsnmp_arch_ip_scalars(..) may or may not be * portable to the other BSDs -- it seems to be portable back to FreeBSD 4.x diff --git a/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_ip.c b/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_ip.c index abf6b0ab944a..d2770c1c07e0 100644 --- a/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_ip.c +++ b/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_ip.c @@ -1,16 +1,16 @@ ---- agent/mibgroup/mibII/ip.c.orig 2021-05-25 15:19:35.000000000 -0700 -+++ agent/mibgroup/mibII/ip.c 2022-09-27 20:25:12.959145000 -0700 +--- agent/mibgroup/mibII/ip.c.orig 2023-08-15 20:32:01 UTC ++++ agent/mibgroup/mibII/ip.c @@ -5,6 +5,13 @@ #include #include "mibII_common.h" +#include + +#if defined(__FreeBSD_version) && __FreeBSD_version > 1400066 +#define IPFRAGTTL 60 /* time to live for frags, slowhz */ +#define PR_SLOWHZ 2 /* 2 slow timeouts per second */ +#define PR_FASTHZ 5 /* 5 fast timeouts per second */ +#endif - #if HAVE_SYS_HASHING_H + #ifdef HAVE_SYS_HASHING_H #include diff --git a/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_tcp.c b/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_tcp.c index 4919b4e3c974..af46e3d86d43 100644 --- a/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_tcp.c +++ b/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_tcp.c @@ -1,17 +1,17 @@ ---- agent/mibgroup/mibII/tcp.c.orig 2021-05-25 15:19:35.000000000 -0700 -+++ agent/mibgroup/mibII/tcp.c 2022-09-27 20:36:22.284180000 -0700 +--- agent/mibgroup/mibII/tcp.c.orig 2023-08-15 20:32:01 UTC ++++ agent/mibgroup/mibII/tcp.c @@ -8,6 +8,14 @@ #include #include "mibII_common.h" +#include + +#if defined(__FreeBSD_version) && __FreeBSD_version > 1400066 +#define IPFRAGTTL 60 /* time to live for frags, slowhz */ +#define PR_SLOWHZ 2 /* 2 slow timeouts per second */ +#define PR_FASTHZ 5 /* 5 fast timeouts per second */ +#endif + - #if HAVE_STDLIB_H + #ifdef HAVE_STDLIB_H #include #endif diff --git a/net-mgmt/net-snmp/files/patch-include_net-snmp_system_freebsd15.h b/net-mgmt/net-snmp/files/patch-include_net-snmp_system_freebsd15.h index e29c2648ffef..d81ec27f83d5 100644 --- a/net-mgmt/net-snmp/files/patch-include_net-snmp_system_freebsd15.h +++ b/net-mgmt/net-snmp/files/patch-include_net-snmp_system_freebsd15.h @@ -1,6 +1,6 @@ ---- /dev/null 2023-09-03 22:25:19.482823000 -0700 -+++ include/net-snmp/system/freebsd15.h 2023-09-03 22:24:08.956666000 -0700 +--- include/net-snmp/system/freebsd15.h.orig 2024-03-02 16:01:17 UTC ++++ include/net-snmp/system/freebsd15.h @@ -0,0 +1,3 @@ -+/* freebsd15 is a superset of freebsd14 */ -+#include "freebsd14.h" -+#define freebsd14 freebsd14 ++/* freebsd14 is a superset of freebsd13 */ ++#include "freebsd13.h" ++#define freebsd13 freebsd13 diff --git a/net-mgmt/net-snmp/files/patch-net-snmp-create-v3-user.in b/net-mgmt/net-snmp/files/patch-net-snmp-create-v3-user.in index 7dbc8315504d..360640fe6deb 100644 --- a/net-mgmt/net-snmp/files/patch-net-snmp-create-v3-user.in +++ b/net-mgmt/net-snmp/files/patch-net-snmp-create-v3-user.in @@ -1,19 +1,11 @@ ---- net-snmp-create-v3-user.in.orig 2021-05-25 22:19:35 UTC +--- net-snmp-create-v3-user.in.orig 2023-08-15 20:32:01 UTC +++ net-snmp-create-v3-user.in @@ -3,7 +3,7 @@ # this shell script is designed to add new SNMPv3 users # to Net-SNMP config file. --if @PSCMD@ | egrep ' snmpd *$' > /dev/null 2>&1 ; then +-if @PSCMD@ | @EGREP@ ' snmpd *$' > /dev/null 2>&1 ; then +if @PSCMD@ -J 0 | egrep ' snmpd *$' > /dev/null 2>&1 ; then - echo "Apparently at least one snmpd demon is already running." + echo "Apparently at least one snmpd daemon is already running." echo "You must stop them in order to use this command." exit 1 -@@ -135,6 +135,7 @@ if test ! -d "$outfile"; then - fi - echo "$line" >> "$outfile" - # Avoid that configure complains that this script ignores @datarootdir@ -+datarootdir="@datarootdir@" - echo "@datarootdir@" >/dev/null - outfile="@datadir@/snmp/snmpd.conf" - line="$token $user" diff --git a/net-mgmt/net-snmp/pkg-plist b/net-mgmt/net-snmp/pkg-plist index 15985b9c35e8..8db0b5d8e62a 100644 --- a/net-mgmt/net-snmp/pkg-plist +++ b/net-mgmt/net-snmp/pkg-plist @@ -1,626 +1,623 @@ bin/agentxtrap bin/checkbandwidth bin/encode_keychange bin/fixproc bin/ipf-mod.pl bin/mib2c bin/mib2c-update bin/net-snmp-cert bin/net-snmp-config bin/net-snmp-create-v3-user bin/snmp-bridge-mib bin/snmpbulkget bin/snmpbulkwalk -bin/snmppcap bin/snmpcheck bin/snmpconf bin/snmpdelta bin/snmpdf bin/snmpget bin/snmpgetnext bin/snmpinform bin/snmpnetstat +bin/snmppcap bin/snmpping bin/snmpps bin/snmpset bin/snmpstatus bin/snmptable bin/snmptest -bin/snmptop %%TLS%%bin/snmptls +bin/snmptop bin/snmptranslate bin/snmptrap bin/snmpusm bin/snmpvacm bin/snmpwalk %%WITH_TKMIB%%bin/tkmib bin/traptoemail %%NEWSYSLOG%%@dir etc/newsyslog.conf.d %%NEWSYSLOG%%@sample %%DATADIR%%/newsyslog.conf.sample etc/newsyslog.conf.d/net-snmp.conf 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_module_config.h include/net-snmp/agent/agent_read_config.h include/net-snmp/agent/agent_registry.h include/net-snmp/agent/agent_sysORTable.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/baby_steps.h include/net-snmp/agent/bulk_to_next.h include/net-snmp/agent/cache_handler.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/mfd.h include/net-snmp/agent/mib_module_config.h include/net-snmp/agent/mib_module_includes.h include/net-snmp/agent/mib_modules.h include/net-snmp/agent/mode_end_call.h include/net-snmp/agent/multiplexer.h -include/net-snmp/agent/netsnmp_close_fds.h include/net-snmp/agent/net-snmp-agent-includes.h +include/net-snmp/agent/netsnmp_close_fds.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/row_merge.h include/net-snmp/agent/scalar.h include/net-snmp/agent/scalar_group.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_get_statistic.h include/net-snmp/agent/snmp_vars.h include/net-snmp/agent/stash_cache.h include/net-snmp/agent/stash_to_next.h include/net-snmp/agent/struct.h include/net-snmp/agent/sysORTable.h include/net-snmp/agent/table.h include/net-snmp/agent/table_array.h include/net-snmp/agent/table_container.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/table_tdata.h include/net-snmp/agent/util_funcs.h +include/net-snmp/agent/util_funcs/MIB_STATS_CACHE_TIMEOUT.h include/net-snmp/agent/util_funcs/header_generic.h include/net-snmp/agent/util_funcs/header_simple_table.h -include/net-snmp/agent/util_funcs/MIB_STATS_CACHE_TIMEOUT.h -@dir include/net-snmp/agent/util_funcs 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/cert_util.h -include/net-snmp/library/oid.h include/net-snmp/library/check_varbind.h include/net-snmp/library/container.h include/net-snmp/library/container_binary_array.h include/net-snmp/library/container_iterator.h include/net-snmp/library/container_list_ssll.h include/net-snmp/library/container_null.h include/net-snmp/library/data_list.h include/net-snmp/library/default_store.h include/net-snmp/library/dir_utils.h -include/net-snmp/library/factory.h include/net-snmp/library/fd_event_manager.h include/net-snmp/library/file_utils.h include/net-snmp/library/getopt.h include/net-snmp/library/int64.h include/net-snmp/library/keytools.h include/net-snmp/library/large_fd_set.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/netsnmp-attribute-format.h +include/net-snmp/library/oid.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/snmpAliasDomain.h include/net-snmp/library/snmpCallbackDomain.h %%TLS%%include/net-snmp/library/snmpDTLSUDPDomain.h -include/net-snmp/library/snmpIPBaseDomain.h +include/net-snmp/library/snmpIPv4BaseDomain.h +include/net-snmp/library/snmpIPv6BaseDomain.h +include/net-snmp/library/snmpSocketBaseDomain.h +include/net-snmp/library/snmpTCPBaseDomain.h include/net-snmp/library/snmpTCPDomain.h include/net-snmp/library/snmpTCPIPv6Domain.h %%TLS%%include/net-snmp/library/snmpTLSBaseDomain.h %%TLS%%include/net-snmp/library/snmpTLSTCPDomain.h +include/net-snmp/library/snmpUDPBaseDomain.h include/net-snmp/library/snmpUDPDomain.h +include/net-snmp/library/snmpUDPIPv4BaseDomain.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_logging.h include/net-snmp/library/snmp_parse_args.h include/net-snmp/library/snmp_secmod.h include/net-snmp/library/snmp_service.h include/net-snmp/library/snmp_transport.h %%TLS%%include/net-snmp/library/snmptsm.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/snmpIPv6BaseDomain.h -include/net-snmp/library/snmpUDPBaseDomain.h -include/net-snmp/library/snmpUDPIPv4BaseDomain.h -include/net-snmp/library/snmpTCPBaseDomain.h -include/net-snmp/library/snmpSocketBaseDomain.h -include/net-snmp/library/snmpIPv4BaseDomain.h include/net-snmp/library/system.h include/net-snmp/library/text_utils.h include/net-snmp/library/tools.h include/net-snmp/library/transform_oids.h include/net-snmp/library/types.h include/net-snmp/library/ucd_compat.h include/net-snmp/library/vacm.h include/net-snmp/library/winpipe.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-features.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/dragonfly.h include/net-snmp/system/dynix.h include/net-snmp/system/freebsd.h +include/net-snmp/system/freebsd10.h +include/net-snmp/system/freebsd11.h +include/net-snmp/system/freebsd12.h +include/net-snmp/system/freebsd13.h +include/net-snmp/system/freebsd14.h +include/net-snmp/system/freebsd15.h include/net-snmp/system/freebsd2.h include/net-snmp/system/freebsd3.h include/net-snmp/system/freebsd4.h include/net-snmp/system/freebsd5.h include/net-snmp/system/freebsd6.h include/net-snmp/system/freebsd7.h include/net-snmp/system/freebsd8.h include/net-snmp/system/freebsd9.h -include/net-snmp/system/freebsd10.h -include/net-snmp/system/freebsd11.h -include/net-snmp/system/freebsd12.h -include/net-snmp/system/freebsd13.h -include/net-snmp/system/freebsd14.h -include/net-snmp/system/freebsd15.h include/net-snmp/system/generic.h include/net-snmp/system/hpux.h include/net-snmp/system/irix.h include/net-snmp/system/kfreebsd.h include/net-snmp/system/linux.h include/net-snmp/system/mingw32.h include/net-snmp/system/mingw32msvc.h include/net-snmp/system/mips.h include/net-snmp/system/netbsd.h include/net-snmp/system/nto-qnx6.h include/net-snmp/system/openbsd.h include/net-snmp/system/openbsd4.h include/net-snmp/system/openbsd5.h include/net-snmp/system/openbsd6.h include/net-snmp/system/osf5.h include/net-snmp/system/solaris.h include/net-snmp/system/solaris2.3.h include/net-snmp/system/solaris2.4.h include/net-snmp/system/solaris2.5.h include/net-snmp/system/solaris2.6.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 lib/libnetsnmp.a lib/libnetsnmp.so lib/libnetsnmp.so.%%SHLIB_VERSION%% lib/libnetsnmp.so.%%SHLIB_VERSION%%%%SHLIB_VERSION2%% lib/libnetsnmpagent.a lib/libnetsnmpagent.so lib/libnetsnmpagent.so.%%SHLIB_VERSION%% lib/libnetsnmpagent.so.%%SHLIB_VERSION%%%%SHLIB_VERSION2%% lib/libnetsnmphelpers.a lib/libnetsnmphelpers.so lib/libnetsnmphelpers.so.%%SHLIB_VERSION%% lib/libnetsnmphelpers.so.%%SHLIB_VERSION%%%%SHLIB_VERSION2%% lib/libnetsnmpmibs.a lib/libnetsnmpmibs.so lib/libnetsnmpmibs.so.%%SHLIB_VERSION%% lib/libnetsnmpmibs.so.%%SHLIB_VERSION%%%%SHLIB_VERSION2%% lib/libnetsnmptrapd.a lib/libnetsnmptrapd.so lib/libnetsnmptrapd.so.%%SHLIB_VERSION%% lib/libnetsnmptrapd.so.%%SHLIB_VERSION%%%%SHLIB_VERSION2%% libdata/pkgconfig/netsnmp-agent.pc libdata/pkgconfig/netsnmp.pc +sbin/snmpd +sbin/snmptrapd share/man/man1/agentxtrap.1.gz share/man/man1/encode_keychange.1.gz share/man/man1/fixproc.1.gz share/man/man1/mib2c-update.1.gz share/man/man1/mib2c.1.gz share/man/man1/net-snmp-config.1.gz share/man/man1/net-snmp-create-v3-user.1.gz share/man/man1/snmp-bridge-mib.1.gz share/man/man1/snmpbulkget.1.gz share/man/man1/snmpbulkwalk.1.gz share/man/man1/snmpcmd.1.gz share/man/man1/snmpconf.1.gz share/man/man1/snmpdelta.1.gz share/man/man1/snmpdf.1.gz share/man/man1/snmpget.1.gz share/man/man1/snmpgetnext.1.gz share/man/man1/snmpinform.1.gz share/man/man1/snmpnetstat.1.gz share/man/man1/snmpps.1.gz share/man/man1/snmpset.1.gz share/man/man1/snmpstatus.1.gz share/man/man1/snmptable.1.gz share/man/man1/snmptest.1.gz share/man/man1/snmptop.1.gz share/man/man1/snmptranslate.1.gz share/man/man1/snmptrap.1.gz share/man/man1/snmpusm.1.gz share/man/man1/snmpvacm.1.gz share/man/man1/snmpwalk.1.gz share/man/man1/tkmib.1.gz share/man/man1/traptoemail.1.gz share/man/man3/add_mibdir.3.gz share/man/man3/add_module_replacement.3.gz share/man/man3/config_perror.3.gz share/man/man3/config_pwarn.3.gz share/man/man3/default_store.3.gz share/man/man3/fprint_description.3.gz share/man/man3/fprint_objid.3.gz share/man/man3/fprint_value.3.gz share/man/man3/fprint_variable.3.gz share/man/man3/get_module_node.3.gz share/man/man3/netsnmp_agent_api.3.gz share/man/man3/netsnmp_config_api.3.gz share/man/man3/netsnmp_init_mib.3.gz share/man/man3/netsnmp_mib_api.3.gz share/man/man3/netsnmp_pdu_api.3.gz share/man/man3/netsnmp_read_module.3.gz share/man/man3/netsnmp_sess_api.3.gz share/man/man3/netsnmp_session_api.3.gz share/man/man3/netsnmp_trap_api.3.gz share/man/man3/netsnmp_varbind_api.3.gz share/man/man3/print_description.3.gz share/man/man3/print_mib.3.gz share/man/man3/print_objid.3.gz share/man/man3/print_value.3.gz share/man/man3/print_variable.3.gz share/man/man3/read_all_mibs.3.gz share/man/man3/read_config_print_usage.3.gz share/man/man3/read_configs.3.gz share/man/man3/read_mib.3.gz share/man/man3/read_objid.3.gz share/man/man3/read_premib_configs.3.gz share/man/man3/register_app_config_handler.3.gz share/man/man3/register_app_prenetsnmp_mib_handler.3.gz share/man/man3/register_config_handler.3.gz share/man/man3/register_const_config_handler.3.gz share/man/man3/register_mib_handlers.3.gz share/man/man3/register_prenetsnmp_mib_handler.3.gz share/man/man3/send_easy_trap.3.gz share/man/man3/send_trap_vars.3.gz share/man/man3/send_v2trap.3.gz share/man/man3/shutdown_mib.3.gz share/man/man3/snmp_add_null_var.3.gz share/man/man3/snmp_alarm.3.gz share/man/man3/snmp_alarm_register.3.gz share/man/man3/snmp_alarm_register_hr.3.gz share/man/man3/snmp_alarm_unregister.3.gz share/man/man3/snmp_api_errstring.3.gz share/man/man3/snmp_async_send.3.gz share/man/man3/snmp_clone_pdu.3.gz share/man/man3/snmp_clone_varbind.3.gz share/man/man3/snmp_close.3.gz share/man/man3/snmp_error.3.gz share/man/man3/snmp_fix_pdu.3.gz share/man/man3/snmp_free_pdu.3.gz share/man/man3/snmp_free_var.3.gz share/man/man3/snmp_free_varbind.3.gz share/man/man3/snmp_open.3.gz share/man/man3/snmp_parse_oid.3.gz share/man/man3/snmp_pdu_add_variable.3.gz share/man/man3/snmp_pdu_create.3.gz share/man/man3/snmp_perror.3.gz share/man/man3/snmp_read.3.gz share/man/man3/snmp_select_info.3.gz share/man/man3/snmp_send.3.gz share/man/man3/snmp_sess_async_send.3.gz share/man/man3/snmp_sess_close.3.gz share/man/man3/snmp_sess_error.3.gz share/man/man3/snmp_sess_init.3.gz share/man/man3/snmp_sess_open.3.gz share/man/man3/snmp_sess_perror.3.gz share/man/man3/snmp_sess_read.3.gz share/man/man3/snmp_sess_select_info.3.gz share/man/man3/snmp_sess_send.3.gz share/man/man3/snmp_sess_session.3.gz share/man/man3/snmp_sess_synch_response.3.gz share/man/man3/snmp_sess_timeout.3.gz share/man/man3/snmp_set_mib_errors.3.gz share/man/man3/snmp_set_mib_warnings.3.gz share/man/man3/snmp_set_save_descriptions.3.gz share/man/man3/snmp_set_var_objid.3.gz share/man/man3/snmp_set_var_typed_integer.3.gz share/man/man3/snmp_set_var_typed_value.3.gz share/man/man3/snmp_set_var_value.3.gz share/man/man3/snmp_synch_response.3.gz share/man/man3/snmp_timeout.3.gz share/man/man3/snmp_varlist_add_variable.3.gz share/man/man3/snprint_description.3.gz share/man/man3/snprint_objid.3.gz share/man/man3/snprint_value.3.gz share/man/man3/snprint_variable.3.gz share/man/man3/unregister_all_config_handlers.3.gz share/man/man3/unregister_app_config_handler.3.gz share/man/man3/unregister_config_handler.3.gz share/man/man5/mib2c.conf.5.gz share/man/man5/snmp.conf.5.gz share/man/man5/snmp_config.5.gz share/man/man5/snmpd.conf.5.gz share/man/man5/snmpd.examples.5.gz share/man/man5/snmpd.internal.5.gz share/man/man5/snmptrapd.conf.5.gz share/man/man5/variables.5.gz share/man/man8/snmpd.8.gz share/man/man8/snmptrapd.8.gz %%WITH_PERL%%share/man/man3/NetSNMP::ASN.3.gz %%WITH_PERL%%share/man/man3/NetSNMP::OID.3.gz %%WITH_PERL%%share/man/man3/NetSNMP::TrapReceiver.3.gz %%WITH_PERL%%share/man/man3/NetSNMP::agent.3.gz %%WITH_PERL%%share/man/man3/NetSNMP::agent::default_store.3.gz %%WITH_PERL%%share/man/man3/NetSNMP::default_store.3.gz %%WITH_PERL%%share/man/man3/NetSNMP::netsnmp_request_infoPtr.3.gz %%WITH_PERL%%share/man/man3/SNMP.3.gz %%WITH_PERL%%%%SITE_ARCH%%/Bundle/MakefileSubs.pm %%WITH_PERL%%%%SITE_ARCH%%/NetSNMP/ASN.pm %%WITH_PERL%%%%SITE_ARCH%%/NetSNMP/OID.pm %%WITH_PERL%%%%SITE_ARCH%%/NetSNMP/TrapReceiver.pm %%WITH_PERL%%%%SITE_ARCH%%/NetSNMP/agent.pm %%WITH_PERL%%%%SITE_ARCH%%/NetSNMP/agent/Support.pm %%WITH_PERL%%%%SITE_ARCH%%/NetSNMP/agent/default_store.pm %%WITH_PERL%%%%SITE_ARCH%%/NetSNMP/agent/netsnmp_request_infoPtr.pm %%WITH_PERL%%%%SITE_ARCH%%/NetSNMP/default_store.pm %%WITH_PERL%%%%SITE_ARCH%%/SNMP.pm %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/ASN/ASN.so %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/ASN/autosplit.ix %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/OID/OID.so %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/OID/autosplit.ix %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/TrapReceiver/TrapReceiver.so %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/TrapReceiver/autosplit.ix %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/agent/agent.so %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/agent/autosplit.ix %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/agent/default_store/autosplit.ix %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/agent/default_store/default_store.so %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/default_store/autosplit.ix %%WITH_PERL%%%%SITE_ARCH%%/auto/NetSNMP/default_store/default_store.so %%WITH_PERL%%%%SITE_ARCH%%/auto/SNMP/SNMP.so %%WITH_PERL%%%%SITE_ARCH%%/auto/SNMP/autosplit.ix -sbin/snmpd -sbin/snmptrapd %%PORTDOCS%%%%DOCSDIR%%/AGENT.txt %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/FAQ %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README.agentx %%PORTDOCS%%%%DOCSDIR%%/README.krb5 %%PORTDOCS%%%%DOCSDIR%%/README.snmpv3 %%PORTDOCS%%%%DOCSDIR%%/README.thread %%PORTDOCS%%%%DOCSDIR%%/README.smux -%%DATADIR%%/snmpd.conf.example -%%DATADIR%%/snmp_perl_trapd.pl -%%DATADIR%%/mib2c.access_functions.conf -%%DATADIR%%/mib2c.array-user.conf -%%DATADIR%%/mib2c.check_values.conf -%%DATADIR%%/mib2c.check_values_local.conf -%%DATADIR%%/mib2c.column_defines.conf -%%DATADIR%%/mib2c.column_enums.conf -%%DATADIR%%/mib2c.column_storage.conf -%%DATADIR%%/mib2c.conf -%%DATADIR%%/mib2c.container.conf -%%DATADIR%%/mib2c.create-dataset.conf -%%DATADIR%%/mib2c.genhtml.conf -%%DATADIR%%/mib2c.int_watch.conf -%%DATADIR%%/mib2c.iterate.conf -%%DATADIR%%/mib2c.iterate_access.conf -%%DATADIR%%/mib2c.mfd.conf -%%DATADIR%%/mib2c.notify.conf -%%DATADIR%%/mib2c.old-api.conf -%%DATADIR%%/mib2c.org-mode.conf -%%DATADIR%%/mib2c.perl.conf -%%DATADIR%%/mib2c.raw-table.conf -%%DATADIR%%/mib2c.scalar.conf -%%DATADIR%%/mib2c.table_data.conf %%DATADIR%%/mib2c-data/default-mfd-top.m2c %%DATADIR%%/mib2c-data/details-enums.m2i %%DATADIR%%/mib2c-data/details-node.m2i %%DATADIR%%/mib2c-data/details-table.m2i %%DATADIR%%/mib2c-data/generic-ctx-copy.m2i %%DATADIR%%/mib2c-data/generic-ctx-get.m2i %%DATADIR%%/mib2c-data/generic-ctx-set.m2i %%DATADIR%%/mib2c-data/generic-data-allocate.m2i %%DATADIR%%/mib2c-data/generic-data-context.m2i +%%DATADIR%%/mib2c-data/generic-get-U64.m2i %%DATADIR%%/mib2c-data/generic-get-char.m2i %%DATADIR%%/mib2c-data/generic-get-decl-bot.m2i %%DATADIR%%/mib2c-data/generic-get-decl.m2i %%DATADIR%%/mib2c-data/generic-get-long.m2i %%DATADIR%%/mib2c-data/generic-get-oid.m2i -%%DATADIR%%/mib2c-data/generic-get-U64.m2i %%DATADIR%%/mib2c-data/generic-header-bottom.m2i %%DATADIR%%/mib2c-data/generic-header-top.m2i %%DATADIR%%/mib2c-data/generic-source-includes.m2i %%DATADIR%%/mib2c-data/generic-table-constants.m2c %%DATADIR%%/mib2c-data/generic-table-enums.m2c %%DATADIR%%/mib2c-data/generic-table-indexes-from-oid.m2i %%DATADIR%%/mib2c-data/generic-table-indexes-set.m2i %%DATADIR%%/mib2c-data/generic-table-indexes-to-oid.m2i %%DATADIR%%/mib2c-data/generic-table-indexes-varbind-setup.m2i %%DATADIR%%/mib2c-data/generic-table-indexes.m2i %%DATADIR%%/mib2c-data/generic-table-oids.m2c %%DATADIR%%/mib2c-data/generic-value-map-func.m2i %%DATADIR%%/mib2c-data/generic-value-map-reverse.m2i %%DATADIR%%/mib2c-data/generic-value-map.m2i %%DATADIR%%/mib2c-data/m2c-internal-warning.m2i %%DATADIR%%/mib2c-data/m2c_setup_enum.m2i %%DATADIR%%/mib2c-data/m2c_setup_node.m2i %%DATADIR%%/mib2c-data/m2c_setup_table.m2i %%DATADIR%%/mib2c-data/m2c_table_save_defaults.m2i %%DATADIR%%/mib2c-data/mfd-access-container-cached-defines.m2i %%DATADIR%%/mib2c-data/mfd-access-unsorted-external-defines.m2i %%DATADIR%%/mib2c-data/mfd-data-access.m2c %%DATADIR%%/mib2c-data/mfd-data-get.m2c %%DATADIR%%/mib2c-data/mfd-data-set.m2c %%DATADIR%%/mib2c-data/mfd-doxygen.m2c %%DATADIR%%/mib2c-data/mfd-interactive-setup.m2c %%DATADIR%%/mib2c-data/mfd-interface.m2c %%DATADIR%%/mib2c-data/mfd-makefile.m2m %%DATADIR%%/mib2c-data/mfd-persistence.m2i %%DATADIR%%/mib2c-data/mfd-readme.m2c %%DATADIR%%/mib2c-data/mfd-top.m2c %%DATADIR%%/mib2c-data/node-get.m2i %%DATADIR%%/mib2c-data/node-set.m2i %%DATADIR%%/mib2c-data/node-storage.m2i %%DATADIR%%/mib2c-data/node-validate.m2i %%DATADIR%%/mib2c-data/node-varbind-validate.m2i %%DATADIR%%/mib2c-data/parent-dependencies.m2i %%DATADIR%%/mib2c-data/parent-set.m2i %%DATADIR%%/mib2c-data/subagent.m2c %%DATADIR%%/mib2c-data/syntax-COUNTER64-get.m2i %%DATADIR%%/mib2c-data/syntax-DateAndTime-get.m2d %%DATADIR%%/mib2c-data/syntax-DateAndTime-get.m2i %%DATADIR%%/mib2c-data/syntax-DateAndTime-readme.m2i %%DATADIR%%/mib2c-data/syntax-InetAddress-get.m2i %%DATADIR%%/mib2c-data/syntax-InetAddress-set.m2i %%DATADIR%%/mib2c-data/syntax-InetAddressType-get.m2i %%DATADIR%%/mib2c-data/syntax-InetAddressType-set.m2i %%DATADIR%%/mib2c-data/syntax-RowStatus-dependencies.m2i %%DATADIR%%/mib2c-data/syntax-RowStatus-get.m2i %%DATADIR%%/mib2c-data/syntax-RowStatus-varbind-validate.m2i %%DATADIR%%/mib2c-data/syntax-StorageType-dependencies.m2i %%DATADIR%%/mib2c-data/syntax-TestAndIncr-get.m2i +%%DATADIR%%/mib2c.access_functions.conf +%%DATADIR%%/mib2c.array-user.conf +%%DATADIR%%/mib2c.check_values.conf +%%DATADIR%%/mib2c.check_values_local.conf +%%DATADIR%%/mib2c.column_defines.conf +%%DATADIR%%/mib2c.column_enums.conf +%%DATADIR%%/mib2c.column_storage.conf +%%DATADIR%%/mib2c.conf +%%DATADIR%%/mib2c.container.conf +%%DATADIR%%/mib2c.create-dataset.conf +%%DATADIR%%/mib2c.genhtml.conf +%%DATADIR%%/mib2c.int_watch.conf +%%DATADIR%%/mib2c.iterate.conf +%%DATADIR%%/mib2c.iterate_access.conf +%%DATADIR%%/mib2c.mfd.conf +%%DATADIR%%/mib2c.notify.conf +%%DATADIR%%/mib2c.old-api.conf +%%DATADIR%%/mib2c.org-mode.conf +%%DATADIR%%/mib2c.perl.conf +%%DATADIR%%/mib2c.raw-table.conf +%%DATADIR%%/mib2c.scalar.conf +%%DATADIR%%/mib2c.table_data.conf %%DATADIR%%/mibs/AGENTX-MIB.txt %%DATADIR%%/mibs/BRIDGE-MIB.txt %%DATADIR%%/mibs/DISMAN-EVENT-MIB.txt %%DATADIR%%/mibs/DISMAN-SCHEDULE-MIB.txt %%DATADIR%%/mibs/DISMAN-SCRIPT-MIB.txt %%DATADIR%%/mibs/EtherLike-MIB.txt %%DATADIR%%/mibs/HCNUM-TC.txt %%DATADIR%%/mibs/HOST-RESOURCES-MIB.txt %%DATADIR%%/mibs/HOST-RESOURCES-TYPES.txt %%DATADIR%%/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt %%DATADIR%%/mibs/IANA-LANGUAGE-MIB.txt %%DATADIR%%/mibs/IANA-RTPROTO-MIB.txt %%DATADIR%%/mibs/IANAifType-MIB.txt %%DATADIR%%/mibs/IF-INVERTED-STACK-MIB.txt %%DATADIR%%/mibs/IF-MIB.txt %%DATADIR%%/mibs/INET-ADDRESS-MIB.txt %%DATADIR%%/mibs/IP-FORWARD-MIB.txt %%DATADIR%%/mibs/IP-MIB.txt -%%DATADIR%%/mibs/IPV6-ICMP-MIB.txt %%DATADIR%%/mibs/IPV6-FLOW-LABEL-MIB.txt +%%DATADIR%%/mibs/IPV6-ICMP-MIB.txt %%DATADIR%%/mibs/IPV6-MIB.txt %%DATADIR%%/mibs/IPV6-TC.txt %%DATADIR%%/mibs/IPV6-TCP-MIB.txt %%DATADIR%%/mibs/IPV6-UDP-MIB.txt %%DATADIR%%/mibs/MTA-MIB.txt -%%DATADIR%%/mibs/NETWORK-SERVICES-MIB.txt %%DATADIR%%/mibs/NET-SNMP-AGENT-MIB.txt %%DATADIR%%/mibs/NET-SNMP-EXAMPLES-MIB.txt %%DATADIR%%/mibs/NET-SNMP-EXTEND-MIB.txt %%DATADIR%%/mibs/NET-SNMP-MIB.txt %%DATADIR%%/mibs/NET-SNMP-PASS-MIB.txt %%DATADIR%%/mibs/NET-SNMP-TC.txt %%DATADIR%%/mibs/NET-SNMP-VACM-MIB.txt +%%DATADIR%%/mibs/NETWORK-SERVICES-MIB.txt %%DATADIR%%/mibs/NOTIFICATION-LOG-MIB.txt %%DATADIR%%/mibs/RFC-1215.txt %%DATADIR%%/mibs/RFC1155-SMI.txt %%DATADIR%%/mibs/RFC1213-MIB.txt %%DATADIR%%/mibs/RMON-MIB.txt %%DATADIR%%/mibs/SCTP-MIB.txt %%DATADIR%%/mibs/SMUX-MIB.txt %%DATADIR%%/mibs/SNMP-COMMUNITY-MIB.txt %%DATADIR%%/mibs/SNMP-FRAMEWORK-MIB.txt %%DATADIR%%/mibs/SNMP-MPD-MIB.txt %%DATADIR%%/mibs/SNMP-NOTIFICATION-MIB.txt %%DATADIR%%/mibs/SNMP-PROXY-MIB.txt %%DATADIR%%/mibs/SNMP-TARGET-MIB.txt %%DATADIR%%/mibs/SNMP-TLS-TM-MIB.txt %%DATADIR%%/mibs/SNMP-TSM-MIB.txt %%DATADIR%%/mibs/SNMP-USER-BASED-SM-MIB.txt %%DATADIR%%/mibs/SNMP-USM-AES-MIB.txt %%DATADIR%%/mibs/SNMP-USM-DH-OBJECTS-MIB.txt %%DATADIR%%/mibs/SNMP-USM-HMAC-SHA2-MIB.txt %%DATADIR%%/mibs/SNMP-VIEW-BASED-ACM-MIB.txt %%DATADIR%%/mibs/SNMPv2-CONF.txt %%DATADIR%%/mibs/SNMPv2-MIB.txt %%DATADIR%%/mibs/SNMPv2-SMI.txt %%DATADIR%%/mibs/SNMPv2-TC.txt %%DATADIR%%/mibs/SNMPv2-TM.txt %%DATADIR%%/mibs/TCP-MIB.txt -%%DATADIR%%/mibs/TUNNEL-MIB.txt %%DATADIR%%/mibs/TRANSPORT-ADDRESS-MIB.txt +%%DATADIR%%/mibs/TUNNEL-MIB.txt %%DATADIR%%/mibs/UCD-DEMO-MIB.txt %%DATADIR%%/mibs/UCD-DISKIO-MIB.txt %%DATADIR%%/mibs/UCD-DLMOD-MIB.txt %%DATADIR%%/mibs/UCD-IPFWACC-MIB.txt %%DATADIR%%/mibs/UCD-SNMP-MIB.txt %%DATADIR%%/mibs/UDP-MIB.txt +%%DATADIR%%/snmp_perl_trapd.pl @postunexec rm -f %D/%%DATADIR%%/mibs/.index 2>/dev/null || true %%WITH_PERL_EMBEDDED%%%%DATADIR%%/snmp_perl.pl %%DATADIR%%/snmpconf-data/snmp-data/authopts %%DATADIR%%/snmpconf-data/snmp-data/debugging %%DATADIR%%/snmpconf-data/snmp-data/mibs %%DATADIR%%/snmpconf-data/snmp-data/output %%DATADIR%%/snmpconf-data/snmp-data/snmpconf-config %%DATADIR%%/snmpconf-data/snmpd-data/acl %%DATADIR%%/snmpconf-data/snmpd-data/basic_setup %%DATADIR%%/snmpconf-data/snmpd-data/extending %%DATADIR%%/snmpconf-data/snmpd-data/monitor %%DATADIR%%/snmpconf-data/snmpd-data/operation %%DATADIR%%/snmpconf-data/snmpd-data/snmpconf-config %%DATADIR%%/snmpconf-data/snmpd-data/system %%DATADIR%%/snmpconf-data/snmpd-data/trapsinks %%DATADIR%%/snmpconf-data/snmptrapd-data/authentication %%DATADIR%%/snmpconf-data/snmptrapd-data/formatting %%DATADIR%%/snmpconf-data/snmptrapd-data/logging %%DATADIR%%/snmpconf-data/snmptrapd-data/runtime %%DATADIR%%/snmpconf-data/snmptrapd-data/snmpconf-config %%DATADIR%%/snmpconf-data/snmptrapd-data/traphandle +%%DATADIR%%/snmpd.conf.example @dir /var/agentx %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__init__.py %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__pycache__/client.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__pycache__/client.cpython-%%PYTHON_SUFFIX%%.pyc %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/client.py %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/client_intf%%PYTHON_EXT_SUFFIX%%.so %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__init__.py %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__pycache__/test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__pycache__/test.cpython-%%PYTHON_SUFFIX%%.pyc %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/test.py %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-1.0a1-py%%PYTHON_VER%%.egg-info/PKG-INFO %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-1.0a1-py%%PYTHON_VER%%.egg-info/SOURCES.txt %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-1.0a1-py%%PYTHON_VER%%.egg-info/dependency_links.txt %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-1.0a1-py%%PYTHON_VER%%.egg-info/top_level.txt