head 1.7; access; symbols pkgsrc-2013Q2:1.6.0.16 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.14 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.12 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.10 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.8 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.6 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.4 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.2 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.5.0.32 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.30 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.28 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.26 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.24 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.22 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.20 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.18 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.16 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.14 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.12 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.10 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.8 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.6 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.4 pkgsrc-2008Q1:1.5.0.2 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.4.0.10 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.8 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.6 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.4 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.2 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.3.0.22 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.20 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.18 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.16 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.14 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.12 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.10 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.8 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.6 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.4 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.7 date 2013.07.17.13.00.29; author tron; state dead; branches; next 1.6; commitid Dy023rt7JrDF8PXw; 1.6 date 2011.08.06.11.52.16; author tron; state Exp; branches; next 1.5; 1.5 date 2008.02.13.12.05.26; author martti; state Exp; branches; next 1.4; 1.4 date 2006.10.19.06.40.54; author martti; state Exp; branches; next 1.3; 1.3 date 2004.02.15.07.34.04; author martti; state Exp; branches; next 1.2; 1.2 date 2003.10.05.12.02.52; author martti; state Exp; branches; next 1.1; 1.1 date 2002.11.19.11.24.29; author martti; state Exp; branches; next ; desc @@ 1.7 log @Update "mrtg" package to version 2.17.4. Changes since 2.17.2: - some address fixes to contrib - fixed duplicate install-sh entry in archive - set oid-mib-cache file for New_SNMP_util as well #106 - prevent spurious warnings about unknonwn values of inlast outlast in mrtg - add the process id tmp file extensions, to guard against multiple rateup instances messing things up for each other. (attempt to fix #115) - quell warning in CnTWaLK mode #111 - spelling fixes - make threshold checking more robust against incomplete information in the config file #113 - support ifAlias for Vyatta gear - CnTWaLK should add the count and not max index - abort indexmaker if there is no data to be found - fix for big5 translation - in cfgmaker use ifdesc=alias only if there is actualy alias info - fix of a file pointer leak found by coverity scan - fix for kMG support in rateup - add support for zyxel ifAlias - add support for Matrix N7 Diamond - enable warnings in cfgmaker and fix issues ... - explicitly import SOCK_DGRAM and AF_UNSPEC to make ipv6 support work - Updated Net_SNMP_util.pm and SNMP_util.pm to latest versions @ text @$NetBSD: patch-ae,v 1.6 2011/08/06 11:52:16 tron Exp $ Fix two problems: 1.) Avoid negative request ids (default_avoid_negative_request_ids=1) as this might cause problems with some devices. Solution provided by Tobias Oetiker in a private mail. 2.) Avoid redefinition of "SNMP_Session::pack_sockaddr_in6". --- lib/mrtg2/SNMP_Session.pm.orig 2011-02-20 22:33:38.000000000 +0000 +++ lib/mrtg2/SNMP_Session.pm 2011-08-06 12:38:35.000000000 +0100 @@@@ -111,7 +111,7 @@@@ ### some agents erroneously encode the response ID as an unsigned, ### which prevents this code from matching such responses to requests. ### -$SNMP_Session::default_avoid_negative_request_ids = 0; +$SNMP_Session::default_avoid_negative_request_ids = 1; ### Default value for "use_16bit_request_ids". ### @@@@ -146,7 +146,7 @@@@ if (eval {local $SIG{__DIE__};require Socket6;} && eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) { - Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo)); + Socket6->import(qw(inet_pton getaddrinfo)); $ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1"))); $SNMP_Session::ipv6available = 1; } @@@@ -601,7 +601,7 @@@@ BEGIN { if($SNMP_Session::ipv6available) { import IO::Socket::INET6; - Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo)); + Socket6->import(qw(inet_pton getaddrinfo)); } } @ 1.6 log @Update "mrtg" package to version 2.17.2. Changes since version 2.16.4: - can not replace a file by renaming another to its name under WIN32 fix in rateup #104 - Fix scaling when noo and noi options are used. fix for #95 - Stop staticly linking rateup. fix for #97 - Only set LD_RUN_PATH if it is actually necessary. patch from #98 - Net::SNMP only support aes128, des and 3des ... fix for cfgmaker from #99 - Understand desc and descr in ifdesc option of cfgmaker - only set $args{'-maxrepetitions'} if $Net_SNMP_util::MaxRepetitions > 0 - do not load Net_SNMP_util unless snmpv3 is requested ... fix for #75 - be more agressive about updating the confcache. If a key is missing, go looking for it again and complain. fix for #74 - only apply 32bit counter wrap compensation when the wrap is within 32bit range. fix for #70 - implement pngdate as TimeStrPos[x]: RU instead of separately. for for #68 - add missing
tag arount 'last updated ... ' in html output. fix for #63 - remove rececondition when writing new trafic graph files by writing to a temp file and moving it later. fix for #51 - make snmpopt_current available in cfgmaker templates. fix for #48 - explicitly import Socket6 routines in SNMP_Session. fix for #45 - default ThreshHyst to 0.1 only if ThreshDir is define. fix for #42 - point out when there is an unknown interface found. fix for #41. - allow for $speed to return 0 and still use SNMPv2 ... some Cisco Gear seems todo that. Fix for #33 - add dlink support for ifAlias OIDs to cfgmaker from #50 - add WWP (Ciena) support for ifAlias OIDs to cfgmaker from #66 - Updated squid docu #80 - Fix russian translation bug #92 - added rrdcached support - new keyword: RRDCached: which overrides anything set in the RRDCACHED_ADDRESS environment variable and sets MRTG to work in RRDCached mode. This verifies that you're using a unix-domain socket and the socket is writeable. - Check for environment variable RRDCACHED_ADDRESS and use this if no explicit address was set in the cfg file, making the same config validity checks. - Make warning if using rrdcached to the effect that the thresholding checks will no longer work. - If in rrdcached-mode, and using RRDTool 1.4, then force use of update rather than updatev (as rrdcached does not yet support updatev) and consequently bypass the thresholding checks. - Changes to validity check error messages to also report the file containing the error (as well as the line). - Added support for glob patterns in include - Make daemon reload cfg automatically when it changes - added support for Arista to cfgmaker - fix cfgmaker to work in mixed v1/2/3 snmp environment - do not strigify arguments to conversion function let eval take care of this - untaint inlast and outlast to make perl taint mode happy - teach cfgmaker about openbsd pkgsrc changes: - Avoid "Subroutine SNMP_Session::pack_sockaddr_in6 redefined" warnings with the Perl 5.14.1. As the patch might break "mrtg" with older version of Perl require at least version 5.14.1 of the "perl5" package. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.5 2008/02/13 12:05:26 martti Exp $ @ 1.5 log @Updated net/mrtg to 2.16.0 * Makesure mrtg repopulates its cache only once even in fork mode * Added support for RRDtool based Holt-Winters aberrant behaviour detection. Threshold based alerts have been enhanced to be able to fire based on the FAILURES RRA. Note that Holt-Winters aberrant behaviour detection can only be enabled on newly created RRAs. * when thresholds were UNboraken, the threshprogok did not run necessarily * MIB parser rewritten for better compatibility * allow RouterUptime to contain an explicit OID for queriing the uptime. * support for nortel passport 8600 in cfgmaker * Added Documentation for GeTNEXT prefix * Added New Prefix for Counterd SNMP Walk -> CnTWaLK (see docs) * Upgrade to SNMP Session 1.10 * Updates for Net_SNMP_util.pm and SNMP_util.pm * Fix if_is_ciscovlan condition in cfgmaker * Updated port syntax in documentation (based on trac entry) @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.4 2006/10/19 06:40:54 martti Exp $ d3 9 a11 3 --- lib/mrtg2/SNMP_Session.pm.orig 2008-02-06 16:35:49.000000000 +0200 +++ lib/mrtg2/SNMP_Session.pm 2008-02-13 13:57:53.000000000 +0200 @@@@ -110,7 +110,7 @@@@ d20 18 @ 1.4 log @Updated net/mrtg to 2.14.7 * take over MAINTAINERship * removed extra spaces from Makefile.in * timestamps in log files to be YYYY-MM-DD HH:MM:SS * fixed rateup to propely support kMG option * fixed problem with conversioncode option throwing an exception. * fixed config parsing problem for libadd lines terminated by a \ * added 'eval' debug target * updated local $SIG{__DIE__} locations to work as intended * fix ifspeed for foundry switches in cfgmaker * Added expscale option (opposite of logscale) to emphasize the top end of the scale; this improves display of line voltages that don't change a whole lot * added sample startup script for mrtg @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.3 2004/02/15 07:34:04 martti Exp $ d3 5 a7 3 --- lib/mrtg2/SNMP_Session.pm.orig 2006-09-06 13:42:50.000000000 +0000 +++ lib/mrtg2/SNMP_Session.pm 2006-10-19 08:48:09.000000000 +0000 @@@@ -111,3 +111,3 @@@@ d12 2 @ 1.3 log @Updated mrtg to 2.10.13 * fixed undef data problem with forks * add --icondir option to indexmaker * faild rrdtune should not kill mrtg complaining is enough. * fixed manpages first lines to include mrtg as well * It's community not comunity. * 16-Bit SNMP Session ID support for cfgmaker and SNMP_Session * renamed all doc pages to mrtg-* except the manpages for cfgmaker and indexmaker * added MaxAge option setting which will prevent mrtg from touching old logfiles, potentially caused by setting the clock to a wrong date. * fixed a number of && vs and and || vs or problems in the mrtg script and library @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.2 2003/10/05 12:02:52 martti Exp $ d3 3 a5 3 --- lib/mrtg2/SNMP_Session.pm.orig Mon Jan 19 09:30:19 2004 +++ lib/mrtg2/SNMP_Session.pm Sun Feb 15 09:21:08 2004 @@@@ -109,3 +109,3 @@@@ @ 1.2 log @Updated mrtg to 2.10.5 * bug fixes * documentation updates @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2002/11/19 11:24:29 martti Exp $ d3 3 a5 5 --- lib/mrtg2/SNMP_Session.pm.orig Fri Sep 12 00:15:23 2003 +++ lib/mrtg2/SNMP_Session.pm Sun Oct 5 13:03:08 2003 @@@@ -105,7 +105,7 @@@@ ### some agents erroneously encode the response ID as an unsigned, ### which prevents this code from matching such responses to requests. a9 2 ### Whether all SNMP_Session objects should share a single UDP socket. ### @ 1.1 log @Updated mrtg to 2.9.26.2nb1 Avoid negative request ids (default_avoid_negative_request_ids=1) as this might cause problems with some devices. Solution provided by Tobias Oetiker in a private mail. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- lib/mrtg2/SNMP_Session.pm.orig Tue Nov 19 13:12:41 2002 +++ lib/mrtg2/SNMP_Session.pm Tue Nov 19 13:13:35 2002 @@@@ -99,7 +99,7 @@@@ d9 2 a10 2 -my $default_avoid_negative_request_ids = 0; +my $default_avoid_negative_request_ids = 1; @