[-]
[+]
|
Changed |
check_updates.changes
|
|
[-]
[+]
|
Changed |
check_updates.spec
^
|
|
[-]
[+]
|
Changed |
check_updates-1.6.4.tar.bz2/COPYRIGHT
^
|
@@ -1,4 +1,4 @@
-Copyright (c) 2007-2010 Matteo Corti
+Copyright (c) 2007-2013 Matteo Corti
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
|
[-]
[+]
|
Changed |
check_updates-1.6.4.tar.bz2/Changes
^
|
@@ -1,3 +1,8 @@
+2013-06-18 Matteo Corti <matteo.corti@id.ethz.ch>
+
+ * Version 1.6.4
+ * check_updates: handle yum output split on more lines
+
2013-05-11 Matteo Corti <matteo.corti@id.ethz.ch>
* Version 1.6.3
@@ -218,7 +223,7 @@
* check_updates: recognizes CentOS
# File version information:
-# $Id: Changes 1332 2013-05-11 12:36:35Z corti $
-# $Revision: 1332 $
+# $Id: Changes 1337 2013-06-18 05:53:05Z corti $
+# $Revision: 1337 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/Changes $
-# $Date: 2013-05-11 14:36:35 +0200 (Sat, 11 May 2013) $
+# $Date: 2013-06-18 07:53:05 +0200 (Tue, 18 Jun 2013) $
|
[-]
[+]
|
Changed |
check_updates-1.6.4.tar.bz2/NEWS
^
|
@@ -1,3 +1,4 @@
+2013-06-18: 1.6.4 - Handle wide Yum output
2013-05-11: 1.6.3 - Do not print performance data on security updates if Yum
security plugin is not installed
2013-03-29: 1.6.2 - Applied a patch adding the possibility to pass arguments
@@ -50,7 +51,7 @@
First stable release
2008-02-21: 0.9.9 - checks if the running kernel is the latest installed
-# $Id: NEWS 1332 2013-05-11 12:36:35Z corti $
-# $Revision: 1332 $
+# $Id: NEWS 1337 2013-06-18 05:53:05Z corti $
+# $Revision: 1337 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/NEWS $
-# $Date: 2013-05-11 14:36:35 +0200 (Sat, 11 May 2013) $
+# $Date: 2013-06-18 07:53:05 +0200 (Tue, 18 Jun 2013) $
|
[-]
[+]
|
Changed |
check_updates-1.6.4.tar.bz2/TODO
^
|
@@ -1,9 +1,10 @@
+* check the output of you with locales other than English
* add more unit tests
* Should check for up2date errors (return code?)
* Check for updates on Mac OS X / macports systems
* Check for the presence of up2date or yum (if the distribution is unknown)
-# $Id: TODO 1280 2011-12-03 16:35:13Z corti $
-# $Revision: 1280 $
+# $Id: TODO 1337 2013-06-18 05:53:05Z corti $
+# $Revision: 1337 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/TODO $
-# $Date: 2011-12-03 17:35:13 +0100 (Sat, 03 Dec 2011) $
+# $Date: 2013-06-18 07:53:05 +0200 (Tue, 18 Jun 2013) $
|
[-]
[+]
|
Changed |
check_updates-1.6.4.tar.bz2/check_updates
^
|
@@ -7,7 +7,7 @@
#
# See the INSTALL file for installation instructions
#
-# Copyright (c) 2007-2010, Matteo Corti
+# Copyright (c) 2007-2013, Matteo Corti
#
# This module is free software; you can redistribute it and/or modify it
# under the terms of GNU general public license (gpl) version 3,
@@ -18,17 +18,17 @@
# enable substitution with:
# $ svn propset svn:keywords "Id Revision HeadURL Source Date"
#
-# $Id: check_updates 1333 2013-05-11 12:46:22Z corti $
-# $Revision: 1333 $
+# $Id: check_updates 1337 2013-06-18 05:53:05Z corti $
+# $Revision: 1337 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/check_updates $
-# $Date: 2013-05-11 14:46:22 +0200 (Sat, 11 May 2013) $
+# $Date: 2013-06-18 07:53:05 +0200 (Tue, 18 Jun 2013) $
use 5.00800;
use strict;
use warnings;
-our $VERSION = '1.6.3';
+our $VERSION = '1.6.4';
use Carp;
use English qw(-no_match_vars);
@@ -340,7 +340,10 @@
next;
}
- if ( $line =~ m{^Loaded[ ]plugins:.*[ ]security.*}mxs ) {
+ # TODO check what is the ouptut with other locales
+ if ( $line =~ m{^Loaded[ ]plugins:.*[ ]security.*}mxs
+ || $line =~ m{^[ ]+:.*[ ]security.*}mxs )
+ {
if ( !$security_plugin ) {
|
[-]
[+]
|
Changed |
check_updates-1.6.4.tar.bz2/check_updates.pod
^
|
@@ -1,9 +1,9 @@
################################################################################
# File version information:
-# $Id: check_updates.pod 1332 2013-05-11 12:36:35Z corti $
-# $Revision: 1332 $
+# $Id: check_updates.pod 1337 2013-06-18 05:53:05Z corti $
+# $Revision: 1337 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/check_updates.pod $
-# $Date: 2013-05-11 14:36:35 +0200 (Sat, 11 May 2013) $
+# $Date: 2013-06-18 07:53:05 +0200 (Tue, 18 Jun 2013) $
################################################################################
=pod
@@ -20,7 +20,7 @@
=head1 VERSION
-Version 1.6.3
+Version 1.6.4
=head1 SYNOPSIS
@@ -153,7 +153,7 @@
=head1 LICENSE AND COPYRIGHT
-Copyright (c) 2007-2010, Matteo Corti
+Copyright (c) 2007-2013, Matteo Corti
This module is free software; you can redistribute it and/or modify it
under the terms of GNU general public license (gpl) version 3 or (at
|
[-]
[+]
|
Changed |
check_updates-1.6.4.tar.bz2/check_updates.spec
^
|
@@ -1,12 +1,12 @@
################################################################################
# File version information:
-# $Id: check_updates.spec 1332 2013-05-11 12:36:35Z corti $
-# $Revision: 1332 $
+# $Id: check_updates.spec 1337 2013-06-18 05:53:05Z corti $
+# $Revision: 1337 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/check_updates.spec $
-# $Date: 2013-05-11 14:36:35 +0200 (Sat, 11 May 2013) $
+# $Date: 2013-06-18 07:53:05 +0200 (Tue, 18 Jun 2013) $
################################################################################
-%define version 1.6.3
+%define version 1.6.4
%define release 0
%define sourcename check_updates
%define packagename nagios-plugins-check-updates
@@ -73,6 +73,9 @@
%{_mandir}/man1/%{sourcename}.1*
%changelog
+* Tue Jun 18 2013 Matteo Corti <matteo.corti@id.ethz.ch> - 1.6.4-0
+- Updated to 1.6.4 (handle wide Yum output)
+
* Sat May 11 2013 Matteo Corti <matteo.corti@id.ethz.ch> - 1.6.3-0
- Updated to 1.6.3 (no security perf data if Yum security plugin is not installed)
|