diff options
author | martti <martti@pkgsrc.org> | 2004-02-15 07:34:03 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2004-02-15 07:34:03 +0000 |
commit | 752d746fb4948cf7f45a779e8d41d45f2d45bad4 (patch) | |
tree | 9a4f87b983c9bc7b01b649854bd33d178fdd5d5e /net/mrtg/patches | |
parent | d70acfc50aa03013378f78c7ee21a8718048668e (diff) | |
download | pkgsrc-752d746fb4948cf7f45a779e8d41d45f2d45bad4.tar.gz |
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
Diffstat (limited to 'net/mrtg/patches')
-rw-r--r-- | net/mrtg/patches/patch-ac | 12 | ||||
-rw-r--r-- | net/mrtg/patches/patch-ad | 28 | ||||
-rw-r--r-- | net/mrtg/patches/patch-ae | 12 |
3 files changed, 16 insertions, 36 deletions
diff --git a/net/mrtg/patches/patch-ac b/net/mrtg/patches/patch-ac index e5b20ff9672..6e19e4121dd 100644 --- a/net/mrtg/patches/patch-ac +++ b/net/mrtg/patches/patch-ac @@ -1,12 +1,8 @@ -$NetBSD: patch-ac,v 1.4 2003/10/05 12:02:52 martti Exp $ +$NetBSD: patch-ac,v 1.5 2004/02/15 07:34:03 martti Exp $ ---- Makefile.in.orig Fri Sep 12 00:14:17 2003 -+++ Makefile.in Sun Oct 5 12:58:33 2003 -@@ -38,6 +38,7 @@ - subst: - $(PERL) -0777 -p -i~ -e 's@^#!\s*/\S*perl@#! $(PERL)@' $(top_srcdir)/bin/cfgmaker $(top_srcdir)/bin/indexmaker $(top_srcdir)/bin/mrtg +--- Makefile.in.orig Mon Jan 19 09:28:44 2004 ++++ Makefile.in Sun Feb 15 09:18:46 2004 +@@ -40,2 +40,3 @@ $(PERL) -0777 -p -i~ -e 's@GRAPHFMT="...";@GRAPHFMT="$(GDFORM_EXT)";@' $(top_srcdir)/bin/mrtg $(top_srcdir)/bin/indexmaker + $(PERL) -0777 -p -i~ -e "s@__PREFIX__@${prefix}@g" $(top_srcdir)/bin/cfgmaker $(top_srcdir)/bin/mrtg $(top_srcdir)/bin/indexmaker - clean: - -rm bin/rateup diff --git a/net/mrtg/patches/patch-ad b/net/mrtg/patches/patch-ad index 92978f00b43..40e0571e16d 100644 --- a/net/mrtg/patches/patch-ad +++ b/net/mrtg/patches/patch-ad @@ -1,33 +1,21 @@ -$NetBSD: patch-ad,v 1.6 2003/12/07 13:53:32 martti Exp $ +$NetBSD: patch-ad,v 1.7 2004/02/15 07:34:04 martti Exp $ ---- bin/mrtg.orig Fri Dec 5 19:56:57 2003 -+++ bin/mrtg Sun Dec 7 15:36:59 2003 -@@ -685,8 +685,8 @@ - ########## rrdtool users have left here ############### - - ((($MRTG_lib::OS eq 'NT' || $MRTG_lib::OS eq 'OS2') && (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) || -- (-x "${FindBin::Bin}${MRTG_lib::SL}rateup")) || +--- bin/mrtg.orig Mon Jan 19 09:30:19 2004 ++++ bin/mrtg Sun Feb 15 09:20:41 2004 +@@ -695,4 +695,4 @@ + ((($MRTG_lib::OS eq 'NT' or $MRTG_lib::OS eq 'OS2') and (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) or +- (-x "${FindBin::Bin}${MRTG_lib::SL}rateup")) or - die "ERROR: Can't Execute '${FindBin::Bin}${MRTG_lib::SL}rateup'\n"; + (-x "__PREFIX__/libexec/rateup")) || + die "ERROR: Can't Execute '__PREFIX__/libexec/rateup'\n"; - # rateup does not know about undef so we make inlast and outlast ready for rateup - #warn "ERROR: inlast is undefined. Skipping $router\n" unless defined $inlast; -@@ -698,7 +698,7 @@ - $outlast = -1 unless defined $outlast; - +@@ -708,3 +708,3 @@ if ($$rcfg{'options'}{'dorelpercent'}{$router}) { - @exec = ("${FindBin::Bin}${MRTG_lib::SL}rateup", + @exec = ("__PREFIX__/libexec/rateup", "$$cfg{'logdir'}$$rcfg{'directory'}{$router}","$router", - $time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z', - "$up_abs"."p", $inlast, $outlast, $absmax, -@@ -707,7 +707,7 @@ - $$rcfg{'rgb5'}{$router}); - } else { +@@ -717,3 +717,3 @@ - @exec = ("${FindBin::Bin}${MRTG_lib::SL}rateup", + @exec = ("__PREFIX__/libexec/rateup", "$$cfg{'logdir'}$$rcfg{'directory'}{$router}","$router", - $time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z', - "$up_abs", $inlast, $outlast, $absmax, diff --git a/net/mrtg/patches/patch-ae b/net/mrtg/patches/patch-ae index 216009861e5..11bb669ab41 100644 --- a/net/mrtg/patches/patch-ae +++ b/net/mrtg/patches/patch-ae @@ -1,13 +1,9 @@ -$NetBSD: patch-ae,v 1.2 2003/10/05 12:02:52 martti Exp $ +$NetBSD: patch-ae,v 1.3 2004/02/15 07:34:04 martti Exp $ ---- 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. +--- 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 @@ ### -$SNMP_Session::default_avoid_negative_request_ids = 0; +$SNMP_Session::default_avoid_negative_request_ids = 1; - ### Whether all SNMP_Session objects should share a single UDP socket. - ### |