Changes of Revision 10
[-] | Changed | nagios-plugins-check-updates.changes |
x 1
2 ------------------------------------------------------------------- 3 +Wed Dec 11 07:05:29 UTC 2019 - Local OBS User <cs@linux-administrator.com> 4 + 5 +- update to release 1.7.6 6 +- reworked patches for XCP-NG support and outputfix 7 + 8 +------------------------------------------------------------------- 9 Wed Oct 2 20:56:47 UTC 2019 - Local OBS User <cs@linux-administrator.com> 10 11 - add check_updates-1.7.5-outputfix.diff 12 |
||
[-] | Changed | nagios-plugins-check-updates.spec ^ |
32 1
2 %define debug_package %{nil} 3 4 Name: nagios-plugins-check-updates 5 -Version: 1.7.5 6 +Version: 1.7.6 7 Release: 10%{?dist} 8 Summary: A Nagios plugin to check if Red Hat or Fedora system is up-to-date 9 10
11 License: GPLv3+ 12 URL: https://github.com/matteocorti/check_updates 13 Source: https://github.com/matteocorti/check_updates/releases/download/v%{version}/check_updates-%{version}.tar.gz 14 -Patch0: check_updates-1.6.23-xcpng.patch 15 +Patch0: check_updates-1.7.6-xcpng.patch 16 Patch1: check_updates-1.7.5_version.diff 17 -Patch2: check_updates-1.7.5-outputfix.diff 18 +Patch2: check_updates-1.7.6-outputfix.diff 19 BuildRequires: perl-generators 20 BuildRequires: perl(ExtUtils::MakeMaker) 21 BuildRequires: perl(Test::More) 22
23 # Fedora <= 18 : yum-plugin-security (yum-utils subpackage; also provides yum-security) 24 # Red Hat Enterprise 6 : yum-plugin-security (yum-utils subpackage; also provides yum-security) 25 # Red Hat Enterprise 5 : yum-security (yum-utils subpackage) 26 +%if 0%{?rhel} < 8 27 Requires: yum-plugin-security 28 +%endif 29 Requires: perl(Monitoring::Plugin) 30 31 Obsoletes: check_updates 32 |
||
[+] | Added | check_updates-1.7.6-outputfix.diff ^ |
@@ -0,0 +1,24 @@ +--- check_updates.orig 2019-12-11 08:00:32.090508098 +0100 ++++ check_updates 2019-12-11 08:03:39.742507966 +0100 +@@ -488,6 +488,9 @@ + my $arguments = shift; + my $yum_command = shift; + ++ ++ $ENV{'LANG'} = 'C'; ++ + # per default check updates + # --assumeno to avoid a timeout when the GPG key is not present + # we need to process STDERR to catch errors (e.g., missing GPG key) +@@ -539,8 +542,11 @@ + if ( $line =~ /^Last[ ]metadata[ ]expiration/imxs + || $line =~ /^Loaded[ ]plugins:/imxs + || $line =~ /^Loading[ ]mirror[ ]speeds/imxs ++ || $line =~ /^Including[ ]mirror:/imxs ++ || $line =~ /^Excluding[ ]mirror:/imxs + || $line =~ /[ ].B\/s[ ][|][ ]/imxs + || $line =~ /^No[ ]security[ ]updates/imxs ++ || $line =~ /packages[ ]excluded/imxs + || $line =~ + /^Security:[ ].*is[ ]an[ ]installed[ ]security[ ]update/imxs + || $line =~ | ||
Added | check_updates-1.7.6.tar.gz ^ |