# HG changeset patch # User Matthias Förste # Date 1309861310 -7200 # Node ID 434f50dc22c04ba7284d3dd3f8fd969b472004af # Parent 393117a14e2afe8bebd2159d4d8fa8443fb3be28 path to binaries has been changed upstream; ignore revision in web site because the installed binary won't report the revision anyway diff -r 393117a14e2a -r 434f50dc22c0 check_avwebgate.pl --- a/check_avwebgate.pl Fri Jul 01 15:51:03 2011 +0200 +++ b/check_avwebgate.pl Tue Jul 05 12:21:50 2011 +0200 @@ -14,14 +14,14 @@ sub print_usage(); my $ME = basename $0; -my $VERSION = '1.1'; +my $VERSION = '1.2'; my ( $opt_u, $opt_s, $opt_V, $opt_h, $opt_b ); my ( $result, $found, $message, $version, $current_version ); $opt_u = 'http://www.avira.com/de/support-download-avira-antivir-webgate'; -$opt_s = 'Avira AntiVir WebGate / Avira WebGate Suite.*(?:\n.*){4}(\d+\.\d+\.\d+\.[\d-]+)'; -$opt_b = "/usr/lib/AntiVir/avwebgate.bin"; +$opt_s = 'Avira AntiVir WebGate / Avira WebGate Suite.*(?:\n.*){4}(\d+\.\d+\.\d+\.[\d]+)(-\d+)?'; +$opt_b = "/usr/lib/AntiVir/webgate/avwebgate.bin"; Getopt::Long::Configure('bundling'); GetOptions( diff -r 393117a14e2a -r 434f50dc22c0 debian/changelog --- a/debian/changelog Fri Jul 01 15:51:03 2011 +0200 +++ b/debian/changelog Tue Jul 05 12:21:50 2011 +0200 @@ -1,3 +1,11 @@ +nagios-plugin-avwebgate (1.2) oldstable stable; urgency=low + + * path to binaries has been changed upstream + * ignore revision in web site because the installed binary won't report the + revision anyway + + -- Matthias Förste Tue, 05 Jul 2011 10:55:17 +0200 + nagios-plugin-avwebgate (1.1) oldstable stable; urgency=low * removed usage of 'support()' because it recommends asking on the nagios