head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.2 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.7.0.14 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.12 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.10 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.8 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.6 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.4 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.2 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.6.0.6 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.4 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.2 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.5.0.32 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.30 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.28 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.26 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.24 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.22 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.20 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.18 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.16 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.14 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.12 pkgsrc-2008Q1:1.5.0.10 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.8 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.6 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.4 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.2 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.4.0.14 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.12 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.10 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.8 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.6 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.6 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.4 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.2 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2; locks; strict; comment @# @; 1.8 date 2013.03.17.00.15.29; author gdt; state dead; branches; next 1.7; 1.7 date 2011.05.27.10.55.24; author adam; state Exp; branches; next 1.6; 1.6 date 2010.07.20.08.33.44; author adam; state Exp; branches; next 1.5; 1.5 date 2007.02.05.12.06.16; author adam; state Exp; branches; next 1.4; 1.4 date 2005.03.30.12.10.58; author adam; state Exp; branches; next 1.3; 1.3 date 2004.08.13.11.28.50; author adam; state Exp; branches; next 1.2; 1.2 date 2004.05.14.13.30.34; author adam; state Exp; branches; next 1.1; 1.1 date 2004.04.14.21.48.49; author danw; state Exp; branches; next ; desc @@ 1.8 log @Update to 5.7.2. This is a major update in terms of pkgsrc patches, of which there are far far too many. Analysis of patches was done by Karen Sirois of BBN, and I have remvoed patches that have been applied upstream. This builds fine and passes tests on NetBSD 6 i386. If you look after some other platform (Dragonfly, Darwin, FreeBSD, etc.), please make sure any problems are filed as upstream tickets; pkgsrc is not appropriate to carry patches long-term that should be fixed upstream, and this package has gotten out of hand. (OK by adam@@ to do the update, but he has not reviewed the changes, so errors are my fault. It's quite likely there are issues on other platforms.) Upstream NEWS: *5.7.2* snmp: - BUG: 3526549: CVE-2012-2141 Array index error leading to crash snmpd: - BUG: 3532090: Fix high ifIndex values crashing hrDeviceDescr building: - PATCH: 2091156: correctly declare dependencies in Makefile. 'make -j ' should work now. Backport this to V5-4 as it is needed for correct operation in the single threaded case of make miblib as well. Many other miscellaneous minor bug fixes *5.7.1* libnetsnmp: - Fixed the mib-parsing-bug introduced shortly before 5.7 agent: - fixed rounding errors for disk percentage calculations openbsd: - better support for recent openbsd releases features: - bug fixes with minimalist support after additional user feedback Many other miscellaneous minor bug fixes *5.7* snmpd: - Delivery of data via regularily scheduled notifications. (see "Data Delivery via Notfications" in snmpd.conf) - Many time-based config options can take (m)ins, (h)ours, ... arguments (see the snmpd.conf manual page) - The PING and TRACEROUTE MIBs now compile and work-ish on linux http://www.net-snmp.org/wiki/index.php/DISMAN - Mib handlers can now implement a data_clone function for cloning the myvoid structure variable to avoid dangling pointers - Fixed persistent storage of VACM MIB configuration - Multi-homed agents send UDP responses from the proper IP address - The hrStorageTable implementation now supports large filesystems better - optimizations for large route tables - Added a deliveryByNotify config token for regular data delivery (see the snmpd.conf manual page and the NET-SNMP-PERIODIC-NOTIFY-MIB) - [PATCH 3141462]: fix agentx subagent issues with multiple-object requests - [PATCH 3057093]: linux uses libpci for creating useful ifDescr strings - [PATCH 3131397]: huge speedups of the TCP/UDP Tables libnetsnmp: - Removed the older CMU compatibility support - The SSH transport is now configurable TLS/DTLS support: - The SNMP over DTLS transport now properly supports IPv6 - Introduced new configuration tokens: localCert/peerCert (deprecating serverCert, clientCert, defX509ServerPub, defX509ClientPub) - Various fixes for the TLS/DTLS transports apps: - Added a per-variable timed output support to snmpwalk using -CT - snmpinform now correctly uses the local engineID for informs - A number of mib2c bug fixes - New snmp.conf tokens for timeouts and retries building: - New flags to reduce the amount of compiled code to bare minimums. This is provided by a new generic feature marking/selection mechanism. http://www.net-snmp.org/wiki/index.php/Feature_Marking_and_Selection - It's now possible to build without SNMPv3/USM (e.g., if you only want TLS/DTLS with SNMPv3/TSM) - It's possible to build the suite with no SET support configure using --enable-read-only - It's possible to build the agent as a notify-only agent configure using --enable-notify-only - Added a script to test memory usage with various config options (see the local/minimalist/sizetests script) - Net-SNMP can now be built to perform local DNSSEC validation (install DNSSEC-Tools' libval and use --with-local-dnssec-validation) testing: - a number of new API unit-tests have been added to the suite (to run the tests: cd testing && ./RUNFULLTESTS -g unit-tests) - The unit tests can be more easily run under valgrind (See http://bit.ly/jsgRnv for details) openbsd: - Support for updating the routing table via SNMP win32: - The testing suite works better under win32 environments - Many building fixes for the win32 environment(s) solaris: - Net-SNMP now supports the SCTP-MIB DragonFlyBSD, FreeBSD8: - Net-SNMP should now work on DragonFlyBSD and FreeBSD8 And of course: - Many other bug fixes. See the CHANGES and ChangeLog for details. @ text @$NetBSD: patch-ae,v 1.7 2011/05/27 10:55:24 adam Exp $ --- snmplib/transports/snmpUDPIPv6Domain.c.orig 2010-04-28 07:29:33.000000000 +0000 +++ snmplib/transports/snmpUDPIPv6Domain.c @@@@ -54,6 +54,10 @@@@ const struct in6_addr in6addr_any = IN6A #define SS_FAMILY __ss_family #endif +#if defined(darwin) +#include /* for uint8_t */ +#endif + #include #include #include @ 1.7 log @Changes 5.6.1.1: * OID Typedef Bug Fix: The oid typedef was changed in 5.6.1 to an u_int32 from a u_long. This broke binary compatibility and likely 3rd-party code. 5.6.1.1 reverts this change and fixes an underlying OID printing problem in two agent modules that caused someone to change the typedef in the first place. Changes 5.6.1: * General: - The DTLS and TLS transports and the TSM security model are no longer "beta" (they've undergone rigorous interoperability testing). - Many Bug Fixes (see the CHANGES and ChangeLog files for full details) * snmpd: - 0 Patch 3141462: from fenner: fix agentx subagent issues with multiple-object requests - Patch from Niels to fix VACM persistant storage. Changes 5.6: * all: - Implemented the SNMP over TLS and SNMP over DTLS protocols [RFC-to-be] - Implemented the "Transport Security Model" [RFC5591] - Generic host-specific configuration .conf files are now read. - Include statements can now be used in .conf files. * snmpd: - Fix handling of multiple matching VACM entries. (Use the "best" match, rather than the first one). Reported by Adam Lewis. Note that this could potentially affect the behaviour of existing access control configurations. - Agent will no longer call table handlers if a set request for the handler has invalid indexes - table_data/tdata next handler will not be called during get processing if no valid rows are found for the handler - [PATCH 2952708]: Added Perl implementation of BRIDGE-MIB - moved all functions defined in libnetsnmphelpers to libnetsnmpagent. libnetsnmphelpers is now an empty library. - Implemented the TSM-MIB and the TLSTM-MIB - new API for indicating that persistent store needs to be saved after the current request finishes processing - [PATCH 2931446]: make the load averages writable. * apps: - A new tool 'net-snmp-cert' that easily creates and manages X.509 certificates for use with the SNMP over (D)TLS protocols. - Added an 'agentxtrap' command to send notifications via AgentX - -T command line flag can be used to pass configuration directly to transports that can accept configuration tokens - A new 'snmptls' command for manipulating the agent's TLS configuration * snmplib: - A more modular transport subsystem that allows third party extensions and dependencies for code reuse. - New transport functions: f_config, f_open, f_copy and f_setup_session - Transports can now specify session defaults - [PATCH 2942940]: Add a new function, netsnmp_parse_args, that is like snmp_parse_args but takes an additional bitmask, flags, to affect the behaviour. Also remove the magic handling of some application names. - A new X.509 certificate API for indexing and reading certificates - new experimental row creation API which uses a state machine to try really hard to create a row from a given varbind list - netsnmp_container enhancements: - added a free_item function - added a CONTAINER_FREE_ALL macro/function - added an interface for duplicating a container (CONTAINER_DUP) - added a remove function to container_iterators - added an ability to set options on binary_array containers - new snmp token logOption allows specifying log destinations via configuration conf files - A very significant reduction in compiler warning output - new experimental simple state machine handling API @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.6 2010/07/20 08:33:44 adam Exp $ @ 1.6 log @Changes 5.4.3: snmpd: - Change default AgentX target from 0.0.0.0:705 to localhost:705 - Fix CVE-2008-4309 (GETBULK issue reported by Oscar Mira-Sanchez) - Fix handling of multiple matching VACM entries (Use the "best" match, rather than the first one). Note that this could potentially affect the behaviour of existing access control configurations. - Latch large-disk statistics at 2Tb (rather than wrapping) Linux: - Fix build on modern distributions (using rpm-4.6) Windows: - Fix various builds (recent MSVC, MinGW, IPv6, winExtDLL) @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- snmplib/snmpUDPIPv6Domain.c.orig 2010-04-28 07:29:33.000000000 +0000 +++ snmplib/snmpUDPIPv6Domain.c @@@@ -58,6 +58,10 @@@@ const struct in6_addr in6addr_any = IN6A @ 1.5 log @Changes 5.4: - The default configuration now enables embedded Perl and the Perl modules by default when possible unless explicitly disabled. You may use the --disable-embedded-perl and --without-perl-modules configure options, respectively, to revert to the former default configuration. @ text @d3 1 a3 1 --- snmplib/snmpUDPIPv6Domain.c.orig 2006-09-25 23:33:43.000000000 +0200 d5 1 a5 1 @@@@ -73,6 +73,10 @@@@ const struct in6_addr in6addr_any = IN6A @ 1.4 log @Changes 5.2.1: Fixes: Building: - configure --disable-snmpv2c now works - fix make test tests for rfc1213 - bug 1049607: net-snmp-config --compile-subagent broken library: - bug 1084413: Can't disable file logging - bug 1072406: invalid operator precedence in opendir() agent library: - disconnected AgentX subagents now reconnect with correct context - fix table_array row insert/delete during set processing agent: - don't override clientAddr setting for local trapsinks - bug 1088765: Agent fails to send traps to remote target - bug 1034008: memory leak using SET for table_dataset - patch 1052460: fix agent deadlock on exec - bug 1055781: get-next fails to step into interfaces group correctly - bug 1056760: agent ignores ifspeed, type settings in snmpd.conf - bug 1062986: pass and pass_persist fail and crash snmpd - fix snmpd.conf table token to handle augments tables snmptrapd: - bug 1085981: snmptrapd complains about logging and access control - bug 1040711: snmptrapd: SIGHUP duplicates traphandlers (repeatedly) MFD: - Misc updates to MFD templates - add auto-handling of cache update for row insert/delete Ports: - Win32 - fixes for compiling without the Microsoft PSDK installed - fix Win32 getenv crash - Mac OS X compile error fix - HP-UX configure now detects and won't use unavailable function - Linux - patch 1055036: if-mib init order fix - patch 1057057: ipSystemStatsTable index fix, add ipv6 - patch 1073897: fix if-mib data access 64bit counter wrap detection MIBs: - update IP-FORWARD-MIB from an ID set to become an RFC @ text @d3 1 a3 1 --- snmplib/snmpUDPIPv6Domain.c.orig 2004-12-24 14:42:23.000000000 +0000 d5 2 a6 2 @@@@ -67,6 +67,10 @@@@ const struct in6_addr in6addr_any = IN6A #include @ 1.3 log @Changes 5.1.2: * Minor improvements to snmpdelta * Minor improvements to snmpnetstat (IPv6 output) * Fixes @ text @d3 1 a3 1 --- snmplib/snmpUDPIPv6Domain.c.orig 2004-04-20 19:10:30.000000000 +0000 d5 1 a5 1 @@@@ -68,6 +68,10 @@@@ const struct in6_addr in6addr_any = IN6A @ 1.2 log @Changes 5.1.1: New: - test suite supports testing over other transports (tcp, udp6, unix, ...) (see the -P switch to the testing/RUNTESTS script) - Solaris supports the use of it's PKCS#11 library for supporting cryptographic functions (OpenSSL isn't required if PKCS#11 is available) (see configure's --with-pkcs flag) Fixes: - Improvements on 64 bit architectures. - A few minor memory leaks fixed. - An extremely large number of minor bug fixes. - Many perl module specific bug fixes. - snmpd will safely handle more signals. Ports: - Many many significant Windows improvements. - A win32 build script in win32/build.pl - Support for the MinGW compiler - (see the README.win32 file for details on new ports) - Various helpful win32/*.bat files for installation, etc. - Some linux 2.6 support improvements @ text @d3 1 a3 1 --- snmplib/snmpUDPIPv6Domain.c.orig 2004-02-18 14:14:54.000000000 +0000 d5 1 a5 1 @@@@ -52,6 +52,10 @@@@ const struct in6_addr in6addr_any = IN6A @ 1.1 log @Make this build on Darwin. pkg/23325 @ text @d3 1 a3 1 --- snmplib/snmpUDPIPv6Domain.c.orig Fri Apr 9 19:14:10 2004 d5 1 a5 1 @@@@ -36,6 +36,10 @@@@ @