[debian:nagios-plugin-amanda-client_0.0.15]
authorHeiko Schlittermann (JUMPER) <hs@schlittermann.de>
Fri, 27 Mar 2015 15:47:55 +0100
changeset 61 c037c0bdd01a
parent 60 88db9940c09a
child 62 689af14e04a6
[debian:nagios-plugin-amanda-client_0.0.15] # --- # this is for package version nagios-plugin-amanda-client_0.0.15
debian/changelog
plugins/check_amanda-client
--- a/debian/changelog	Mon Dec 22 20:17:21 2014 +0100
+++ b/debian/changelog	Fri Mar 27 15:47:55 2015 +0100
@@ -1,3 +1,10 @@
+nagios-plugin-amanda-client (0.0.15) stable; urgency=medium
+
+  * fixed experimental warnings 
+  * fixed dpkg-statoverride example
+
+ -- Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>  Fri, 27 Mar 2015 15:47:49 +0100
+
 nagios-plugin-amanda-client (0.0.14) stable; urgency=low
 
   * reformatted Build.PL:
--- a/plugins/check_amanda-client	Mon Dec 22 20:17:21 2014 +0100
+++ b/plugins/check_amanda-client	Fri Mar 27 15:47:55 2015 +0100
@@ -13,6 +13,7 @@
 use Pod::Usage;
 use Const::Fast;
 use if $ENV{DEBUG} => 'Smart::Comments';
+use if $^V > v5.14 => (experimental => qw/smartmatch lexical_topic/);
 
 const my $NAME  => 'AMANDA-CLIENT';
 const my $USER  => 'backup';
@@ -156,7 +157,7 @@
 				$mode, $group, $f_mode, $f_owner, $f_group;
 
 		if (-f '/etc/debian_version') {
-			$msg .= sprintf  "try dpkg-statoverride --update --add root %sgroup 0%04o %s\n",
+			$msg .= sprintf  "try dpkg-statoverride --update --add root %s 0%04o %s\n",
 			  $group, $mode, $file;
 		}