r65530 - in /trunk/libnagios-plugin-perl: Changes META.yml debian/changelog debian/control debian/copyright lib/Nagios/Plugin.pm lib/Nagios/Plugin/Functions.pm lib/Nagios/Plugin/Getopt.pm t/Nagios-Plugin-Performance.t
carnil at users.alioth.debian.org
carnil at users.alioth.debian.org
Sat Dec 4 13:54:34 UTC 2010
Author: carnil
Date: Sat Dec 4 13:54:21 2010
New Revision: 65530
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65530
Log:
* New upstream release
* Add myself to Uploaders.
* Refresh debian/copyright:
- Explicitly refer to GPL-1 licence text in common-licenses.
- Refer to Debian systems in general instead of only Debian GNU/Linux
systems.
* Bump Standards-Version to 3.9.1.
Modified:
trunk/libnagios-plugin-perl/Changes
trunk/libnagios-plugin-perl/META.yml
trunk/libnagios-plugin-perl/debian/changelog
trunk/libnagios-plugin-perl/debian/control
trunk/libnagios-plugin-perl/debian/copyright
trunk/libnagios-plugin-perl/lib/Nagios/Plugin.pm
trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Functions.pm
trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Getopt.pm
trunk/libnagios-plugin-perl/t/Nagios-Plugin-Performance.t
Modified: trunk/libnagios-plugin-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-plugin-perl/Changes?rev=65530&op=diff
==============================================================================
--- trunk/libnagios-plugin-perl/Changes (original)
+++ trunk/libnagios-plugin-perl/Changes Sat Dec 4 13:54:21 2010
@@ -1,4 +1,7 @@
Revision history for Perl module Nagios::Plugin.
+
+0.35 3rd December 2010
+ - Fixed test failures with Test::More 0.96 (Slaven Rezic and Peter John Edwards - RT57709)
0.34 15th April 2010
- Amended standard --extra-opts help
Modified: trunk/libnagios-plugin-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-plugin-perl/META.yml?rev=65530&op=diff
==============================================================================
--- trunk/libnagios-plugin-perl/META.yml (original)
+++ trunk/libnagios-plugin-perl/META.yml Sat Dec 4 13:54:21 2010
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Nagios-Plugin
-version: 0.34
+version: 0.35
abstract: A family of perl modules to streamline writing Nagios
author:
- Nagios Plugin Development Team <nagiosplug-devel at lists.sourceforge.net>
Modified: trunk/libnagios-plugin-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-plugin-perl/debian/changelog?rev=65530&op=diff
==============================================================================
--- trunk/libnagios-plugin-perl/debian/changelog (original)
+++ trunk/libnagios-plugin-perl/debian/changelog Sat Dec 4 13:54:21 2010
@@ -1,8 +1,18 @@
-libnagios-plugin-perl (0.34-2) UNRELEASED; urgency=low
+libnagios-plugin-perl (0.35-1) UNRELEASED; urgency=low
+ [ Ansgar Burchardt ]
* Update my email address.
- -- Ansgar Burchardt <ansgar at debian.org> Mon, 01 Nov 2010 11:17:07 +0100
+ [ Salvatore Bonaccorso ]
+ * New upstream release
+ * Add myself to Uploaders.
+ * Refresh debian/copyright:
+ - Explicitly refer to GPL-1 licence text in common-licenses.
+ - Refer to Debian systems in general instead of only Debian GNU/Linux
+ systems.
+ * Bump Standards-Version to 3.9.1.
+
+ -- Salvatore Bonaccorso <carnil at debian.org> Sat, 04 Dec 2010 14:54:16 +0100
libnagios-plugin-perl (0.34-1) unstable; urgency=low
Modified: trunk/libnagios-plugin-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-plugin-perl/debian/control?rev=65530&op=diff
==============================================================================
--- trunk/libnagios-plugin-perl/debian/control (original)
+++ trunk/libnagios-plugin-perl/debian/control Sat Dec 4 13:54:21 2010
@@ -6,8 +6,9 @@
libparams-validate-perl, libconfig-tiny-perl, libmath-calc-units-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Ryan Niebur <ryan at debian.org>,
- Ansgar Burchardt <ansgar at debian.org>
-Standards-Version: 3.8.4
+ Ansgar Burchardt <ansgar at debian.org>,
+ Salvatore Bonaccorso <carnil at debian.org>
+Standards-Version: 3.9.1
Homepage: http://search.cpan.org/dist/Nagios-Plugin/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnagios-plugin-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libnagios-plugin-perl/
Modified: trunk/libnagios-plugin-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-plugin-perl/debian/copyright?rev=65530&op=diff
==============================================================================
--- trunk/libnagios-plugin-perl/debian/copyright (original)
+++ trunk/libnagios-plugin-perl/debian/copyright Sat Dec 4 13:54:21 2010
@@ -15,8 +15,8 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License, which comes with Perl.
.
- On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
License: GPL-1+
This program is free software; you can redistribute it and/or modify
@@ -24,5 +24,5 @@
the Free Software Foundation; either version 1, or (at your option)
any later version.
.
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
Modified: trunk/libnagios-plugin-perl/lib/Nagios/Plugin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-plugin-perl/lib/Nagios/Plugin.pm?rev=65530&op=diff
==============================================================================
--- trunk/libnagios-plugin-perl/lib/Nagios/Plugin.pm (original)
+++ trunk/libnagios-plugin-perl/lib/Nagios/Plugin.pm Sat Dec 4 13:54:21 2010
@@ -26,7 +26,7 @@
# CPAN stupidly won't index this module without a literal $VERSION here,
# so we're forced to duplicate it explicitly
# Make sure you update $Nagios::Plugin::Functions::VERSION too
-our $VERSION = "0.34";
+our $VERSION = "0.35";
sub new {
my $class = shift;
Modified: trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Functions.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Functions.pm?rev=65530&op=diff
==============================================================================
--- trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Functions.pm (original)
+++ trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Functions.pm Sat Dec 4 13:54:21 2010
@@ -12,7 +12,7 @@
use Math::Calc::Units;
# Remember to update Nagios::Plugins as well
-our $VERSION = "0.34";
+our $VERSION = "0.35";
our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT);
@@ -392,6 +392,8 @@
join the resultant critical, warning, and ok messages together i.e.
all messages are joined and returned.
+=back
+
=item get_shortname
Return the default shortname used for this plugin i.e. the first
Modified: trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Getopt.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Getopt.pm?rev=65530&op=diff
==============================================================================
--- trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Getopt.pm (original)
+++ trunk/libnagios-plugin-perl/lib/Nagios/Plugin/Getopt.pm Sat Dec 4 13:54:21 2010
@@ -38,7 +38,7 @@
help => "-V, --version\n Print version information",
}, {
spec => 'extra-opts:s@',
- help => "--extra-opts=[section][\@file]\n Read options from an ini file. See http://nagiosplugins.org/extra-opts for usage",
+ help => "--extra-opts=[section][\@file]\n Read options from an ini file. See http://nagiosplugins.org/extra-opts\n for usage and examples.",
}, {
spec => 'timeout|t=i',
help => "-t, --timeout=INTEGER\n Seconds before plugin times out (default: %s)",
Modified: trunk/libnagios-plugin-perl/t/Nagios-Plugin-Performance.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnagios-plugin-perl/t/Nagios-Plugin-Performance.t?rev=65530&op=diff
==============================================================================
--- trunk/libnagios-plugin-perl/t/Nagios-Plugin-Performance.t (original)
+++ trunk/libnagios-plugin-perl/t/Nagios-Plugin-Performance.t Sat Dec 4 13:54:21 2010
@@ -202,8 +202,9 @@
ok( defined $p[0]->threshold->critical->is_set, "Critical range has been set");
# The two below used to be cmp_ok, but Test::More 0.86 appears to have a problem with a stringification
# of 0. See http://rt.cpan.org/Ticket/Display.html?id=41109
-is( $p[0]->threshold->warning, "0", "warn okay");
-is( $p[0]->threshold->critical, "0", "crit okay");
+# We need to force stringification for test. See RT 57709
+is( $p[0]->threshold->warning."", "0", "warn okay");
+is( $p[0]->threshold->critical."", "0", "crit okay");
@p = Nagios::Plugin::Performance->parse_perfstring("pct_used=73.7%;90;95");
cmp_ok( $p[0]->label, "eq", "pct_used", "label okay");
More information about the Pkg-perl-cvs-commits
mailing list