# HG changeset patch # User Heiko Schlittermann (JUMPER) # Date 1427467675 -3600 # Node ID c037c0bdd01aa30fc24d433c2ccfa776af5b8f49 # Parent 88db9940c09a9c70ac858366d15615807ca26f3f [debian:nagios-plugin-amanda-client_0.0.15] # --- # this is for package version nagios-plugin-amanda-client_0.0.15 diff -r 88db9940c09a -r c037c0bdd01a debian/changelog --- 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) Fri, 27 Mar 2015 15:47:49 +0100 + nagios-plugin-amanda-client (0.0.14) stable; urgency=low * reformatted Build.PL: diff -r 88db9940c09a -r c037c0bdd01a plugins/check_amanda-client --- 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; }