Update to mrtg-2.17.8

Signed-off-by: Vitezslav Crhonek <vcrhonek@redhat.com>
This commit is contained in:
Vitezslav Crhonek 2021-09-23 13:08:02 +02:00
parent f96f945574
commit 27012de62a
4 changed files with 10 additions and 19 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
/mrtg-2.17.7.tar.gz
/mrtg-2.17.7.tar.gz.md5
/mrtg-2.17.8.tar.gz
/mrtg-2.17.8.tar.gz.md5

View File

@ -1,12 +0,0 @@
diff -up mrtg-2.17.7/bin/mrtg-traffic-sum.orig mrtg-2.17.7/bin/mrtg-traffic-sum
--- mrtg-2.17.7/bin/mrtg-traffic-sum.orig 2018-10-18 12:21:12.616589922 +0200
+++ mrtg-2.17.7/bin/mrtg-traffic-sum 2018-10-18 12:23:10.852648709 +0200
@@ -58,7 +58,7 @@ sub mailout($$);
sub main()
{
# parse options
- GetOptions(\%opt, 'min=i','help|h', 'catch=s', 'email=s','version','range=s','units=s') or exit(1);
+ GetOptions(\%opt, 'min=i','help|h', 'catch=s', 'email=s','version','range=s','units=s','man') or exit(1);
if($opt{help}) { pod2usage(1) }
if($opt{man}) { pod2usage(-exitstatus => 0, -verbose => 2) }
if($opt{version}) { print "mrtg-traffic-sum $Revision\n"; exit(0) }

View File

@ -10,8 +10,8 @@
Summary: Multi Router Traffic Grapher
Name: mrtg
Version: 2.17.7
Release: 13%{?dist}
Version: 2.17.8
Release: 1%{?dist}
URL: http://oss.oetiker.ch/mrtg/
Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz
Source1: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz.md5
@ -38,8 +38,6 @@ Patch0: mrtg-2.15.0-lib64.patch
Patch1: mrtg-2.17.2-socket6-fix.patch
# Patch2: some devices return 2**32-2 on ifSpeed (e. g. IBM FibreChannel switches)
Patch2: mrtg-2.17.4-cfgmaker-ifhighspeed.patch
# Patch3: fixes 'man' option in mrtg-traffic-sum, see rhbz#1612188
Patch3: mrtg-2.17.7-traffic-sum-man-option.patch
License: GPLv2+
Requires(post): systemd-units
Requires(preun): systemd-units
@ -84,7 +82,6 @@ Custom SELinux policy module
%patch0 -p1 -b .lib64
%patch1 -p1 -b .socket6
%patch2 -p1 -b .ifhighspeed
%patch3 -p1 -b .traffic-sum-man-option
for i in doc/mrtg-forum.1 doc/mrtg-squid.1 CHANGES; do
iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
@ -214,6 +211,10 @@ fi
%endif
%changelog
* Thu Sep 23 2021 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.8-1
- Update to mrtg-2.17.8
Resolves: #1990765
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.7-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (mrtg-2.17.7.tar.gz) = b25ab38416213bc5128612724530f36f4a855bb66a65f8bbe4bdafef05d2688eed68f5c3df1e13193102507a4114e71ec226ad32dd6b4d3ae2e2291320d8e768
SHA512 (mrtg-2.17.7.tar.gz.md5) = 146bf77c985e54e949daceb3bfe2b7c8f67f7f1c495a3e666957a91514c6fcadeb02ecc5d42d8536fef1b9e70779018736ffe602c216f6c283c9f784f0cad50f
SHA512 (mrtg-2.17.8.tar.gz) = c1dbeb5ce065b2b071d18e1eec1100d56eb7c4c654562de530139acee27ad57614354b74e3d0777cb6d4470a58ed6acae0f1af9c6f7115bf329132a68b6e0aaa
SHA512 (mrtg-2.17.8.tar.gz.md5) = 06509698e604c0ee4306faaaa795f589a46420f470a0b5dd722232b5982a00c324de133fada37f131d8840b7c6ac0669877b8f7b380c608e6b5efa0857f191f9