Hello community,
here is the log from the commit of package nagios-plugins-zypper for
openSUSE:13.1 checked in at 2013-10-17 15:19:40
Comparing /work/SRC/openSUSE:13.1/nagios-plugins-zypper (Old)
and /work/SRC/openSUSE:13.1/.nagios-plugins-zypper.new (New)
Package is nagios-plugins-zypper
Changes:
--- /work/SRC/openSUSE:13.1/nagios-plugins-zypper/nagios-plugins-zypper.changes
2013-09-27 17:48:59.0 +0200
+++
/work/SRC/openSUSE:13.1/.nagios-plugins-zypper.new/nagios-plugins-zypper.changes
2013-10-19 16:49:42.0 +0200
@@ -1,0 +2,7 @@
+Mon Oct 7 09:37:25 UTC 2013 - l...@linux-schulserver.de
+
+Update to 1.50:
++ also handle out-of-date for outdated repositories (bnc#839839)
++ SLE-11-SP1 is not supported any more
+
+---
Other differences:
--
++ nagios-plugins-zypper.spec ++
--- /var/tmp/diff_new_pack.LwutBm/_old 2013-10-19 16:49:43.0 +0200
+++ /var/tmp/diff_new_pack.LwutBm/_new 2013-10-19 16:49:43.0 +0200
@@ -20,8 +20,8 @@
Summary:Nagios plugin for checking software updates
License:BSD-4-Clause
Group: System/Monitoring
-Version:1.49
-Release:0
+Version:1.50
+Release:5
Url:http://en.opensuse.org/Nagios-plugins-zypper
Source0:check_zypper.pl
Source1:usr.lib.nagios.plugins.check_zypper
++ check_zypper.pl ++
--- /var/tmp/diff_new_pack.LwutBm/_old 2013-10-19 16:49:43.0 +0200
+++ /var/tmp/diff_new_pack.LwutBm/_new 2013-10-19 16:49:43.0 +0200
@@ -50,7 +50,7 @@
# constants
$PROGNAME = check_zypper;
-$VERSION = '1.49';
+$VERSION = '1.50';
$DEBUG= 0;
# variables
@@ -87,7 +87,7 @@
);
our %supported_release = (
'openSUSE' = [ '12.1', '12.2', '12.3', '13.1' ],
-'SLE' = [ '10.4', '11.1', '11.2' , '11.3' ],
+'SLE' = [ '10.4', '11.2' , '11.3' ],
);
$opt_w = 'recommended,optional,unsupported';
$opt_c = 'security';
@@ -369,12 +369,13 @@
return ( 'UNKNOWN: ' . xml_re_escape($_), 'UNKNOWN' ) if (/Error
message:/);
return ( 'UNKNOWN: ' . xml_re_escape($_), 'UNKNOWN' ) if (/A ZYpp
transaction is already in progress./);
return ( 'UNKNOWN: ' . xml_re_escape($_), 'UNKNOWN' ) if (/System
management is locked/);
-if (/out-of-date/) {
-print STDERR WARNING: outdated repository found\n if
($DEBUG);
+if ((/Repository.*is out-of-date/) || (/Repository.*outdated/)) {
+print STDERR WARNING: possibly outdated repository found\n
if ($DEBUG);
if ( !$opt_o ) {
$error = check_errorcode('security');
-$warnstr = At least one of your Repositories is out of
date. Please run \zypper refresh\ as root to update it. ;
+$warnstr = At least one of your Repositories might be out
of date. Please run \zypper refresh\ as root to update it. ;
$warnstr .= \n if ($opt_v);
+next;
}
}
if (/message type=\warning\(.*)\/message/) {
--
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org