Subject: CVS commit: pkgsrc/net/net-snmp
From: Greg Troxel
Date: 2013-03-17 01:15:29
Message id: 20130317001530.0C887175DD@cvs.netbsd.org

Log Message:
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 <N>' 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.

Files:
RevisionActionfile
1.95modifypkgsrc/net/net-snmp/Makefile
1.23modifypkgsrc/net/net-snmp/PLIST
1.70modifypkgsrc/net/net-snmp/distinfo
1.12modifypkgsrc/net/net-snmp/patches/patch-ac
1.16modifypkgsrc/net/net-snmp/patches/patch-af
1.12modifypkgsrc/net/net-snmp/patches/patch-ag
1.2modifypkgsrc/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c
1.2modifypkgsrc/net/net-snmp/patches/patch-agent_mibgroup_mibII_ipAddr.c
1.7modifypkgsrc/net/net-snmp/patches/patch-ai
1.7modifypkgsrc/net/net-snmp/patches/patch-aj
1.6modifypkgsrc/net/net-snmp/patches/patch-ak
1.12modifypkgsrc/net/net-snmp/patches/patch-am
1.3modifypkgsrc/net/net-snmp/patches/patch-ap
1.3modifypkgsrc/net/net-snmp/patches/patch-aq
1.2modifypkgsrc/net/net-snmp/patches/patch-da
1.2modifypkgsrc/net/net-snmp/patches/patch-db
1.6modifypkgsrc/net/net-snmp/patches/patch-dl
1.10modifypkgsrc/net/net-snmp/patches/patch-dt
1.3modifypkgsrc/net/net-snmp/patches/patch-du
1.4modifypkgsrc/net/net-snmp/patches/patch-el
1.3modifypkgsrc/net/net-snmp/patches/patch-es
1.5modifypkgsrc/net/net-snmp/patches/patch-fa
1.9removepkgsrc/net/net-snmp/patches/patch-aa
1.11removepkgsrc/net/net-snmp/patches/patch-ab
1.7removepkgsrc/net/net-snmp/patches/patch-ae
1.1removepkgsrc/net/net-snmp/patches/patch-agent_mibgroup_agent_extend.c
1.6removepkgsrc/net/net-snmp/patches/patch-ah
1.5removepkgsrc/net/net-snmp/patches/patch-al
1.4removepkgsrc/net/net-snmp/patches/patch-an
1.8removepkgsrc/net/net-snmp/patches/patch-dc
1.2removepkgsrc/net/net-snmp/patches/patch-dd
1.8removepkgsrc/net/net-snmp/patches/patch-de
1.4removepkgsrc/net/net-snmp/patches/patch-df
1.1removepkgsrc/net/net-snmp/patches/patch-dg
1.4removepkgsrc/net/net-snmp/patches/patch-dh
1.1removepkgsrc/net/net-snmp/patches/patch-di
1.2removepkgsrc/net/net-snmp/patches/patch-dm
1.3removepkgsrc/net/net-snmp/patches/patch-dn
1.2removepkgsrc/net/net-snmp/patches/patch-do
1.1removepkgsrc/net/net-snmp/patches/patch-dp
1.2removepkgsrc/net/net-snmp/patches/patch-dq
1.3removepkgsrc/net/net-snmp/patches/patch-dr
1.5removepkgsrc/net/net-snmp/patches/patch-ds
1.6removepkgsrc/net/net-snmp/patches/patch-et
1.3removepkgsrc/net/net-snmp/patches/patch-eu
1.2removepkgsrc/net/net-snmp/patches/patch-ev
1.2removepkgsrc/net/net-snmp/patches/patch-ew
1.3removepkgsrc/net/net-snmp/patches/patch-ex
1.4removepkgsrc/net/net-snmp/patches/patch-ey
1.3removepkgsrc/net/net-snmp/patches/patch-ez
1.1removepkgsrc/net/net-snmp/patches/patch-fb
1.1removepkgsrc/net/net-snmp/patches/patch-fc
1.2removepkgsrc/net/net-snmp/patches/patch-fd