update to version 2.17.10

This commit is contained in:
wang--ge 2023-05-11 14:52:35 +08:00
parent 52c97b8c82
commit 67684f8176
7 changed files with 15 additions and 8 deletions

BIN
mrtg-2.17.10.tar.gz Normal file

Binary file not shown.

1
mrtg-2.17.10.tar.gz.md5 Normal file
View File

@ -0,0 +1 @@
ab1c14acc9af4221f459707339f361b3 mrtg-2.17.10.tar.gz

View File

@ -1,7 +1,7 @@
diff -up mrtg-2.17.7/bin/mrtg.orig mrtg-2.17.7/bin/mrtg diff -up mrtg-2.17.7/bin/mrtg.orig mrtg-2.17.7/bin/mrtg
--- mrtg-2.17.7/bin/mrtg.orig 2018-08-08 13:09:59.682296406 +0200 --- mrtg-2.17.7/bin/mrtg.orig 2018-08-08 13:09:59.682296406 +0200
+++ mrtg-2.17.7/bin/mrtg 2018-08-08 13:11:01.089173582 +0200 +++ mrtg-2.17.7/bin/mrtg 2018-08-08 13:11:01.089173582 +0200
@@ -302,7 +302,7 @@ sub main { @@ -332,7 +332,7 @@ sub main {
if ($cfg{enableipv6} eq 'yes') { if ($cfg{enableipv6} eq 'yes') {
if ( eval {local $SIG{__DIE__};require Socket; require Socket6; require IO::Socket::INET6;}) { if ( eval {local $SIG{__DIE__};require Socket; require Socket6; require IO::Socket::INET6;}) {
import Socket; import Socket;

View File

@ -1,12 +1,16 @@
diff -up mrtg-2.17.7/bin/cfgmaker.orig mrtg-2.17.7/bin/cfgmaker diff --git a/bin/cfgmaker b/bin/cfgmaker
--- mrtg-2.17.7/bin/cfgmaker.orig 2018-08-08 13:14:19.609048676 +0200 index 2fd8379..d8e9272 100755
+++ mrtg-2.17.7/bin/cfgmaker 2018-08-08 13:15:17.795102892 +0200 --- a/bin/cfgmaker
+++ b/bin/cfgmaker
@@ -224,7 +224,7 @@ sub InterfaceInfo($$$$$) { @@ -224,7 +224,7 @@ sub InterfaceInfo($$$$$) {
# maximum value (4,294,967,295) and ifHighSpeed must be used # maximum value (4,294,967,295) and ifHighSpeed must be used
# to report the interace's speed. For a sub-layer which has # to report the interface's speed. For a sub-layer which has
# no concept of bandwidth, this object should be zero." # no concept of bandwidth, this object should be zero."
- if ( (not defined $value) || ($value == 2**32-1) ) { - if ( (not defined $value) || ($value == 2**32-1) ) {
+ if ( (not defined $value) || ($value == 2**32-1) || ($value == 2**32-2)) { + if ( (not defined $value) || ($value == 2**32-1) || ($value == 2**32-2)) {
($if, $value) = split /:/, $ifHighSpeed[$i], 2; ($if, $value) = split /:/, $ifHighSpeed[$i], 2;
$value = $value * 1000000; # highSpeed = contador * 10^6 $value = $value * 1000000; # highSpeed = contador * 10^6
debug('base',"Speed: $if - $value"); debug('base',"Speed: $if - $value");
--
2.33.0

Binary file not shown.

View File

@ -1 +0,0 @@
eada3870c0419e425299401486600d95 mrtg-2.17.7.tar.gz

View File

@ -5,8 +5,8 @@
%global __find_provides %_sourcedir/filter-provides-mrtg.sh %global __find_provides %_sourcedir/filter-provides-mrtg.sh
Name: mrtg Name: mrtg
Version: 2.17.7 Version: 2.17.10
Release: 3 Release: 1
Summary: Multi Router Traffic Grapher Summary: Multi Router Traffic Grapher
License: GPLv2+ License: GPLv2+
@ -122,5 +122,8 @@ fi
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Thu May 11 2023 Ge Wang <wang__ge@126.com> - 2.17.10-1
- Update to version 2.17.10
* Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.17.7-3 * Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.17.7-3
- Package init - Package init