Update to 2.16.2 and two fixes
This commit is contained in:
parent
d382ec69fd
commit
c29a9e8b82
@ -2,3 +2,4 @@ mrtg-2.15.1.tar.gz
|
|||||||
mrtg-2.15.1.tar.gz.md5.gpg
|
mrtg-2.15.1.tar.gz.md5.gpg
|
||||||
mrtg-2.16.1.tar.gz
|
mrtg-2.16.1.tar.gz
|
||||||
mrtg-2.16.1.tar.gz.md5.gpg
|
mrtg-2.16.1.tar.gz.md5.gpg
|
||||||
|
mrtg-2.16.2.tar.gz
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
diff -up mrtg-2.16.1/lib/mrtg2/SNMP_Session.pm.BAD mrtg-2.16.1/lib/mrtg2/SNMP_Session.pm
|
|
||||||
--- mrtg-2.16.1/lib/mrtg2/SNMP_Session.pm.BAD 2008-04-18 07:25:55.000000000 -0400
|
|
||||||
+++ mrtg-2.16.1/lib/mrtg2/SNMP_Session.pm 2008-04-18 07:26:30.000000000 -0400
|
|
||||||
@@ -138,7 +138,7 @@ BEGIN {
|
|
||||||
|
|
||||||
if (eval {local $SIG{__DIE__};require Socket6;} &&
|
|
||||||
eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) {
|
|
||||||
- import Socket6;
|
|
||||||
+ Socket6->import(qw(pack_sockaddr_in6 inet_pton));
|
|
||||||
$ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1")));
|
|
||||||
$SNMP_Session::ipv6available = 1;
|
|
||||||
}
|
|
||||||
@@ -592,7 +592,7 @@ use Carp;
|
|
||||||
BEGIN {
|
|
||||||
if($SNMP_Session::ipv6available) {
|
|
||||||
import IO::Socket::INET6;
|
|
||||||
- import Socket6;
|
|
||||||
+ Socket6->import(qw(pack_sockaddr_in6 inet_pton));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
diff -up mrtg-2.16.1/bin/mrtg.orig mrtg-2.16.1/bin/mrtg
|
|
||||||
--- mrtg-2.16.1/bin/mrtg.orig 2008-04-18 07:28:19.000000000 -0400
|
|
||||||
+++ mrtg-2.16.1/bin/mrtg 2008-04-18 07:29:33.000000000 -0400
|
|
||||||
@@ -97,8 +97,8 @@ use locales_mrtg "0.07";
|
|
||||||
# necessary for dead host detection (for IPv6 name lookups).
|
|
||||||
BEGIN {
|
|
||||||
if (eval {local $SIG{__DIE__};require Socket6;}) {
|
|
||||||
- import Socket;
|
|
||||||
- import Socket6
|
|
||||||
+ use Socket();
|
|
||||||
+ import Socket6;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
18
mrtg.spec
18
mrtg.spec
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
Summary: Multi Router Traffic Grapher
|
Summary: Multi Router Traffic Grapher
|
||||||
Name: mrtg
|
Name: mrtg
|
||||||
Version: 2.16.1
|
Version: 2.16.2
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
URL: http://oss.oetiker.ch/mrtg/
|
URL: http://oss.oetiker.ch/mrtg/
|
||||||
Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz
|
Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz
|
||||||
Source1: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz.md5.gpg
|
#Source1: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz.md5.gpg
|
||||||
Source2: mrtg.cfg
|
Source2: mrtg.cfg
|
||||||
Source3: filter-requires-mrtg.sh
|
Source3: filter-requires-mrtg.sh
|
||||||
Source4: mrtg.crond.in
|
Source4: mrtg.crond.in
|
||||||
@ -17,7 +17,6 @@ Source5: mrtg-httpd.conf
|
|||||||
Source6: filter-provides-mrtg.sh
|
Source6: filter-provides-mrtg.sh
|
||||||
Patch0: mrtg-2.15.0-lib64.patch
|
Patch0: mrtg-2.15.0-lib64.patch
|
||||||
Patch1: mrtg-2.10.5-norpath.patch
|
Patch1: mrtg-2.10.5-norpath.patch
|
||||||
Patch2: mrtg-2.15.1-Socket6-fix.patch
|
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
PreReq: vixie-cron
|
PreReq: vixie-cron
|
||||||
@ -40,7 +39,6 @@ images which provide a LIVE visual representation of this traffic.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .lib64
|
%patch0 -p1 -b .lib64
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
for i in doc/mrtg-forum.1 doc/mrtg-squid.1; do
|
for i in doc/mrtg-forum.1 doc/mrtg-squid.1; do
|
||||||
iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
|
iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
|
||||||
@ -107,7 +105,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc contrib CHANGES COPYING COPYRIGHT README THANKS
|
%doc contrib CHANGES COPYING COPYRIGHT README THANKS
|
||||||
%dir %{_sysconfdir}/mrtg
|
%dir %{_sysconfdir}/mrtg
|
||||||
%config(noreplace) %{_sysconfdir}/mrtg/mrtg.cfg
|
%config(noreplace) %{_sysconfdir}/mrtg/mrtg.cfg
|
||||||
%config %{_sysconfdir}/cron.d/mrtg
|
%config(noreplace) %{_sysconfdir}/cron.d/mrtg
|
||||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mrtg.conf
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mrtg.conf
|
||||||
%{contentdir}
|
%{contentdir}
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -120,6 +118,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir %{_localstatedir}/lock/mrtg
|
%dir %{_localstatedir}/lock/mrtg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 27 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.2-1
|
||||||
|
- Update to 2.16.2
|
||||||
|
- Mark /etc/crond.d/mrtg file as "noreplace" to keep current setup
|
||||||
|
during mrtg update
|
||||||
|
Related: #391261
|
||||||
|
- Fix mrtg complains of undefined subroutine AF_UNSPEC
|
||||||
|
Resolves: #451783
|
||||||
|
|
||||||
* Fri Jun 6 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.1-3
|
* Fri Jun 6 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.1-3
|
||||||
- Add gd graphic library to Requires
|
- Add gd graphic library to Requires
|
||||||
Resolves: #446533
|
Resolves: #446533
|
||||||
|
1
sources
1
sources
@ -1,2 +1,3 @@
|
|||||||
8c373b9b508a73cb17bccad13db46e46 mrtg-2.16.1.tar.gz
|
8c373b9b508a73cb17bccad13db46e46 mrtg-2.16.1.tar.gz
|
||||||
91711e1de7d304bba986d73df7f10075 mrtg-2.16.1.tar.gz.md5.gpg
|
91711e1de7d304bba986d73df7f10075 mrtg-2.16.1.tar.gz.md5.gpg
|
||||||
|
06de09c0ee0d35a0142afed5b275b4cd mrtg-2.16.2.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user