[-]
[+]
|
Changed |
nagios-plugins-check-updates.changes
|
|
[-]
[+]
|
Changed |
nagios-plugins-check-updates.spec
^
|
|
[-]
[+]
|
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
^
|