Up to [cvs.NetBSD.org] / pkgsrc / net / mrtg
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
mrtg: remove comments that don't explain anything
Ignore the enclosed Pod-Parser in favour of textproc/p5-Pod-Parser, avoiding pointless conflicts with p5 packages See also <https://github.com/oetiker/mrtg/issues/105> While here, rename the patches.
net: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Not committed (merge conflicts...): net/radsecproxy/distinfo The following distfiles could not be fetched (fetched conditionally?): ./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz ./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch ./net/djbdns/distinfo djbdns-1.05-test28.diff.xz ./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch ./net/djbdns/distinfo djbdns-1.05-multiip.diff ./net/djbdns/distinfo djbdns-cachestats.patch
net: Remove SHA1 hashes for distfiles
Update to MRTG 2.17.7: Changes 2.17.7, 2018-07-12 -------------------------- From: Martin Sechny, shenk.sk * update to HTML 5 template in bin/mrtg, checked by HTML+CSS W3C validator * corrected style in HTML template: color with background-color (workaround for missing text color property in mrtg.cfg) Changes 2.17.6, 2014-12-02 -------------------------- From: tobi * add --descr=ifname option to indexmaker * fix parsing of global option in cfgmaker * add dcn id to cfgmaker (baed on input from Pawel Golaszeswski) From: Steve Alligood <steve@betterlinux.com> * make sure threshval does not get clobberd Changes 2.17.5, 2012-04-26 -------------------------- From: Pavel Gulchouck <gul@gul.kiev.ua> * fix for kmg option coredump
Add SHA512 digests for distfiles for net category Problems found with existing digests: Package haproxy distfile haproxy-1.5.14.tar.gz 159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package bsddip: missing distfile bsddip-1.02.tar.Z Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2 Package djbdns: missing distfile djbdns-cachestats.patch Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch Package gated: missing distfile gated-3-5-11.tar.gz Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz Package poink: missing distfile poink-1.6.tar.gz Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch Package waste: missing distfile waste-source.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Fix run-time warnings under Perl 5.16 and newer caused by the IPv6 support in the "Socket" module. Bump package revision because of this bug fix.
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
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 <p> 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.
Changes 2.16.4: * fix "P_DETACH" and Pod::Usage issues with perl 5.12 * relax cfgmaker option parsing when figuring whether to test for highspeed counters or not. * fix sorting of numbered interface names index maker * belarusian translation for mrtg 2.16 Changes 2.16.3: * three new config options to compliment the existing RRDRowCount option to explicitly set the size of all RRAs * allow to rename target in the clonedirectory option * add import to the require File::Copy * support multiple options in ifdesc and ifref setting for cfgmaker * teach cfgmaker about nortel switches * make sure rates over 4G work too * allow group and user option to be set to roo
Changes 2.16.2, 2008-05-16 -------------------------- From: Steven Bakker steven.bakker ams-ix.net * globally disable __DIE__ handler in eval using $^S check * updated to SNMP_Session 1.12 From: Tobi * make SNMP_Session.pm work on windows even when a __DIE__ handler ist installed.
Updated net/mrtg to 2.16.1 * fix RouterUptime config with non unique targets * give up MAINTAINERship as I'm no longer using mrtg (I switched to rrdtool)
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)
Don't use malloc.h
Updated net/mrtg to 2.15.2 * bug fixes
Updated net/mrtg to 2.15.1 * make cfgmaker detect broken snmpv1 counters more reliably * latest Net_SNMP_util.pm with many small fixes * more cfgmaker smarts and documentation for snmpv3 * be happy even if no threshmail sending is configured * add install target for traffic-summer * fix mrtg-traffic-sum default catch expression to be in sync with docs
Updated net/mrtg to 2.15.0 * Free positioning of a generated ifIndex in the OID string using the magic IndexPOS keyword * When doing threshold checking with rrdtool, there was a very expensive 'getting the data back with rrdinfo and rrdfetch' cycle after each rrdupdate. with rrdtool 1.2 and the updatev function this is not necessary anymore the new code speeds up mrtg cycle time by a factor of 3 to 10 depending on your platform. * Threshold Un-Borken Messages will only be generated when the value is 10% away from the threshold. Configurable via ThreshHyst * New function thresholdmail lets you send an email when a threshold is broken. This feature talks directly to the mailserver and does not require any external programs. * New template writers helper function in cfgmaker - oid_pick. It tests if a device is willing to supply information regarding a particular oid. This makes template writing much more plesant. http://oss.oetiker.ch/mrtg-trac/browser/trunk/templates/cisco/host-cisco.tmpl * added new tool mrtg-traffic-sum to build traffic stats based on the content of your mrtg log (not rrd) files. * mrtg running with rrdtool can now do sub-minute resolution if the interval is specified like that: 0:30 ... note that you can not change the resolution of an existing rrd file. So this will only have the desired effect on new rrds. Also note that the graphing frontend may need changes too to be able to deal with the new interval type. Internally interval is now a float! * new debug option 'prof' to see how long rrdtool spends on its writes ... * fixed snmpv3 support in cfgmaker
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
Update to 2.14.5 Package changes include: - pkglintification - move to options.mk - add in extra option for building with snmpv3 support (not tested) - tidy up MESSAGE (no more html docs) MRTG changes include: * updated SNMP_util.pm and Net_SNMP_util.pm * new: clonedirectory function * Updated SNMP_Session to 1.08 * SNMP v3 support added Net::SNMP library required for this For a full list see: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/CHANGES Addresses PR# 32811 ok'ed bouyer@
Updated mrtg to 2.12.2 * fix warnings produced by pkglint * fix portname math in indexmaker * accept extreme networks switches for ifAlias in cfgmaker * set unknown values to 0 for threshold checking if unknonwnaszero is set * updated NetWare integration
Add RMD160 digests.
- Update to 2.11.1 - Fix bug with IPv6 support on non-IPv6 enabled systems - Tidy up Makefile - Move patch-aa to Makefile - ok'ed bouyer@ Changes 2.11.1, 2005-01-05 -------------------------- From: Artyom Adjemov <one.bofh location gmail.com> * new Windows docu ... running mrtg as an nt service with srvany. From: Joe Pruett <joey location clean.q7.com> * fixed snmp options parsing in MRTG_lib.pm to allow for ! From: Tobi * fixed secondmean and logscale to actually issue the propper options for rateup. * fixed compilation of rateup.exe for windows to get the new strftime function to be actually used ... Changes 2.11.00, 2004-12-08 --------------------------- From: Al Payne <apayne location pleiades.com> * integrated support for dellLan in cfgmaker * reindented cfgmaker From: Mike Nealon <mnealon location conversent.com> and Larry Fahnoe <fahnoe@FahnoeTech.com> * fix cfgmaker handling of 'lowspeed' highSpeed interfaces From: Tobi Oetiker * reindent rateup.c * remove @ signs from mail addresses in change log * added if_MTU variable to cfgmaker * make windows users happy. rateup.exe now uses a special strftime.c that knows about %V and will thus provided propper ISO week numbers for windows as well. Changed the default week format to V. From: zurkabsd location yahoo.com.cn * new chinese translation From: Jaime Damiao Anjos Cadete <jaime.d.cadete location ptprime.pt> * put -lm into LIBS to make sure it comes last From: Ian Duplisse <i.duplisse location cablelabs.com> * remove the flattening of peaks from the code in rateup.c this does not reflect what actually happens From: John Van Essen <vanes002 location umn.edu> * fix handling of unknonwn (-1) data in rateup ... From: Benjamin Despres <http://users.tmok.com/~pla/email_me.shtml> * Logscale and Secondmean logarithmic scaling for rateup From: alex <alex location craxor.com> * contributed mrtg message dll. Added note about it to mrtg-reference.pod From: Mateusz <mateusz location republika.pl> * support option derive is using rrdtool logging From: Ulf Härnhammar <Ulf.Harnhammar.9485 location student.uu.se> * prevent potential buffer overflow in ratup due to 'strange' input files Changes 2.10.15, 2004-08-08 --------------------------- From: NormW <normw location bocnet.com.au> * patches for netware support From: Tobi * the optional Conversion function wants to have the original data pulled in via snmp to work with, mapping \n and \r to nothing and stripping spaces must happen later. * better error message for missing library * Updated to snmp_session 1.05 From: Fuminori -Tany- Tanizaki <tany location tany.org> * fix for cuin and cout values saved in html comments From: Tom Pala <gotar location pld-linux.org> * fix for polish translation From: Georgi Georgiev <chutz location gg3.net> * nodetach option for running mrtg under daemontools From: Jozsef Szilagyi <j.szilagyi location atlastelecom.ro> * fixed indexmaker. added missing last for --section=portname code From: Bartosz Kwitniewski <zerg2000 location lurker.ath.cx> * fixed scaling bug in rateup (unsigned long) should have been long long From: Mike Mitchell <mcm location unx.sas.com> * fix indexmaker when used with 14all
Add the __PREFIX__ replacement back, which was deleted by mistake in the previous commit. No PKGREIVISION bump since it was bumped in minutes ago.
Set the path to perl in scripts correctly using REPLACE_PERL. Noted by Martti Kuparinen on tech-pkg@. Bump PKGREVISION.
Updated mrtg to 2.10.15 * patches for netware support * the optional Conversion function wants to have the original data pulled in via snmp to work with, mapping \n and \r to nothing and stripping spaces must happen later. * better error message for missing library * Updated to snmp_session 1.05 * fix for cuin and cout values saved in html comments * fix for polish translation * nodetach option for running mrtg under daemontools * fixed indexmaker. added missing last for --section=portname code * fixed scaling bug in rateup (unsigned long) should have been long long * fix indexmaker when used with 14all
Updated mrtg to 2.10.14 * new option subtitle for indexmaker * added new options for printing date inside the graph: TimeStrPos[] and TimeStrFmt[] * fix indexmaker when used with 14all * translation updates * added 3com RMON VLAN detection to cfgmaker
Do not link to libX11 and libXpm, X11 support is really useless here.
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
Updated mrtg to 2.10.11 * lots of bug fixes
Updated mrtg to 2.10.5 * bug fixes * documentation updates
Updated mrtg to 2.9.29 * allow external scripts to return UNKNOWN * fixed SnmpOptions setting * improved skipping of dead hosts (do not confused with 'dead' interfaces)
Updated mrtg to 2.9.28 * bug fixes
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.
Updated mrtg to 2.9.26.2 (2.9.26b) * with thresholds ... have two decimals in % mode * give threshdesc and value as ar 4 and 5 of called threshprog * propperly ignore signal 127 on UNIX * make cfgmaker foundry aware * ds3 (30) and sonet (39) are wan interface types too added them to the $if_is_wan group in cfgmaker * don't give up too quickly if a confcache setup entry does not match ... * make rateup.c (64bit) work on macos x * debug 64bit rateup ... * drop special MacOS X includes they are harmful on 10.2. Use bsd approach * use long long in log files to enable logging of FAST links long long = 64 bit integers * make cfgmaker support ifHighSpeed propperly and teach it about Juniper * make output of cfgmaker such that indexmaker will sort propperly
Updated mrtg to 2.9.25 * die gracefully when LANG is set to UTF-8 and give advice (RedHat 8) * updated squid monitoring example * Fixed indexmaker which got truncated during the last release process * cosmetic tweaks for layout * Use Snmp Session 0.93 with option avoid_negative_request_ids enabled * Supress Posix Locales in the locale module ... people who have LANG set to UTF-8 report very strange errors otherwhise. * skip all queries to a host for one round when 1 query has returned undef. * skip all trailing space in keys when matching interface by Name, Description, Anything * remove <br> before <hr> near pagetop * make Includes search in directory of main config files as well as in current directory * addhead option for indexmaker * fix for uptime for squid and other non standard devices * indexmaker: improve handling of urls given with --rrdviewer * improved chinese translation
Updated mrtg to 2.9.22 [lots of bug fixes]
Update to 2.9.17 by Martti Kuparinen via pkg/13258. Notable changes in reverse order (newest on top): * mrtg_lib had broken scanning for Ip tables in populateconfcache this caused reference by IP to break * new option for mrtg --logging replaces $main::debugfile from 2.9.13. It can be set to a file which will take all mrtg output. On Win32 it can also be set to 'eventlog' which will make all mrtg output go to the eventlog. * snmpv2 regexp did not match in cfgmaker * fix for indexmakers extension feature * improved mrtg logfile format description * require perl 5.005 for mrtg_lib * populateconfcache steps across non existing tables gracefully * in mrtg, handle bigint more carefully and remove excess + from results as some perls seem to crash on them ... * check if gd was linked with jpeg and even freetype ... * if $main::debugfile is set to a writeable filename, all output form mrtg will go there (Firedeamon Suggenstion) * SNMP_Session 0.86 added ... lenient_source_port_matching replaces the ad hoc only_ip_address_matching from mrtg 2.9.11 ... AS/400 folks beware * added --section=portname to indexmaker * try to fix IsCounterBroken test in cfgmaker ... just cant find any broken coutners to test this :-( * fix for broken --dns-domain in cfgmaker * fix for broken RouterUptime[] configurable * fix for broken snmp with returns negative numbers for counters ... * integrated my SNMP_utils changes into the real thing. * make sure cfgmaker puts now raw < or > into the PageTop tag * properly integrated ytics support in rateup * properly deal with target math resulting in non integer data even when logging to rateup which can not deal with floats. * cleanup of rateup.c and some new options -b -a -o -i * new options for mrtg noborder, noarrow, noi, noo, nobanner and nolegend check reference.pod for docs. * generator meta tag to html pages * add 'only_ip_address_matching' feature to SNMP_Session. We are more libaral when accepting snmp responses now. * be more tolerant with external scripts input * added feature to SNMP_utils: If first snmp var name is a HASH pointer, the hash contents is used to set snmp options on the connection * handle descriptions with & in cfgmaker * added SnmpOptions: command to mrtg.cfg lanuage ... It allows to set Snmp Options as available in SNMP_Session. Check the reference.txt file. * test for availability of ifHCInOctets when running cfgmaker for v2 targets * fixed indexmake image path for situations with Directories * added option --prefix to indexmaker for people keeping thier index somewhere else than default. * honor background option in cfg file for indexmaker pages * fixed warning in indexmaker (Use of uninitialized value in concatenation <.> at indexmaker line 174) * when the integer option was specified, there was still a .x printed in the summary area ... * mrtg will now timestamp any warning and error message it emits * fixed threshold processing ... IT REALY WORKS NOW! ... **** Incompatible CHANGE **************** ThreshProgOK now gets the same commandline arguments as the normal ThreshProg ... **** Incompatible CHANGE **************** * configurable confcache (.ok) file location * add <meta http-equiv="Cache-Control" content="no-cache"> to html files as this seems to be more understandable than "Pragma" content="no-cache"
Move to sha1 checksum, and/or add distfile sizes.
+ move the distfile digest/checksum value from files/md5 to distinfo + move the patch digest/checksum values from files/patch-sum to distinfo