Hello community, here is the log from the commit of package monitoring-plugins-bind9 for openSUSE:Factory checked in at 2019-06-12 13:14:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-bind9 (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins-bind9.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monitoring-plugins-bind9" Wed Jun 12 13:14:31 2019 rev:2 rq:708855 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/monitoring-plugins-bind9/monitoring-plugins-bind9.changes 2017-02-03 17:50:25.424764806 +0100 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins-bind9.new.4811/monitoring-plugins-bind9.changes 2019-06-12 13:14:33.844800013 +0200 @@ -1,0 +2,7 @@ +Sun Jun 2 15:30:50 UTC 2019 - l...@linux-schulserver.de - 1.0.0 + +- added monitoring-plugins-bind9-increase_stats-seek.patch : + + increase number of read lines for huge amount of DNS zones +- use licence macro + +------------------------------------------------------------------- New: ---- monitoring-plugins-bind9-increase_stats-seek.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ monitoring-plugins-bind9.spec ++++++ --- /var/tmp/diff_new_pack.VXrPLs/_old 2019-06-12 13:14:34.364799467 +0200 +++ /var/tmp/diff_new_pack.VXrPLs/_new 2019-06-12 13:14:34.368799463 +0200 @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins-bind9 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,20 +20,22 @@ Version: 1.0.0 Release: 0 Summary: BIND9 Monitoring Plugin -License: GPL-3.0+ +License: GPL-3.0-or-later Group: System/Monitoring -Url: https://github.com/thorfi/nagios-bind9-plugin +URL: https://github.com/thorfi/nagios-bind9-plugin Source0: nagios-bind9-plugin-1.0.0.tar.bz2 +# PATCH-FIX-UPSTREAM: increase the amount of lines to read backwards - to allow this check to succeed even with huge amount of DNS zones +Patch0: monitoring-plugins-bind9-increase_stats-seek.patch BuildRequires: nagios-rpm-macros -Provides: nagios-plugins-bind9 = %{version}-%{release} -Obsoletes: nagios-plugins-bind9 < %{version}-%{release} Requires: bind-utils -Recommends: sudo -Requires: perl(IO::Handle) -Requires: perl(IO::File) Requires: perl(Getopt::Long) -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: perl(IO::File) +Requires: perl(IO::Handle) +Recommends: sudo +Provides: nagios-plugins-bind9 = %{version}-%{release} +Obsoletes: nagios-plugins-bind9 < %{version}-%{release} BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Plugins for BIND9 and DNS resolver monitoring. The check_bind9.pl plugin @@ -42,16 +44,15 @@ Please run it with --help to see where it expects to find a variety of files and commands, and the options you are likely to require to provide. - %package -n monitoring-plugins-dns.pl Summary: Monitor a DNS server Group: System/Monitoring -Provides: nagios-plugins-dns.pl = %{version}-%{release} -Obsoletes: nagios-plugins-dns.pl < %{version}-%{release} Requires: perl(Getopt::Long) -Requires: perl(Socket) -Requires: perl(IO::Socket) Requires: perl(IO::Select) +Requires: perl(IO::Socket) +Requires: perl(Socket) +Provides: nagios-plugins-dns.pl = %{version}-%{release} +Obsoletes: nagios-plugins-dns.pl < %{version}-%{release} %description -n monitoring-plugins-dns.pl A Perl based monitoring plugin which can be used to monitor a DNS server. It @@ -60,6 +61,7 @@ %prep %setup -q -n nagios-bind9-plugin-%{version} +%patch0 -p1 %build # @@ -73,7 +75,8 @@ %files %defattr(-,root,root) -%doc LICENSE README +%license LICENSE +%doc README # avoid build dependecy of nagios - own the dirs %dir %{nagios_libdir} %dir %{nagios_plugindir} @@ -84,7 +87,8 @@ %files -n monitoring-plugins-dns.pl %defattr(-,root,root) -%doc LICENSE README +%license LICENSE +%doc README %dir %{nagios_libdir} %dir %{nagios_plugindir} %{nagios_plugindir}/check_dns.pl ++++++ monitoring-plugins-bind9-increase_stats-seek.patch ++++++ Index: nagios-bind9-plugin-1.0.0/check_bind9.pl =================================================================== --- nagios-bind9-plugin-1.0.0.orig/check_bind9.pl +++ nagios-bind9-plugin-1.0.0/check_bind9.pl @@ -57,7 +57,7 @@ my %OPTIONS = ( q{rndc-args} => q{}, q{sudo-path} => q{}, q{stats-path} => q{/var/run/named.stats}, - q{stats-seek} => 20480, + q{stats-seek} => 64480, q{timeout} => 30, );