path to binaries has been changed upstream; ignore revision in web site because the installed binary won't report the revision anyway 1.2
authorMatthias Förste <foerste@schlittermann.de>
Tue, 05 Jul 2011 12:21:50 +0200
changeset 14 434f50dc22c0
parent 13 393117a14e2a
child 15 c83baccf5a27
path to binaries has been changed upstream; ignore revision in web site because the installed binary won't report the revision anyway
check_avwebgate.pl
debian/changelog
--- 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 = '<a.*>Avira AntiVir WebGate / Avira WebGate Suite</a>.*(?:\n.*){4}<td>(\d+\.\d+\.\d+\.[\d-]+)</td>';
-$opt_b = "/usr/lib/AntiVir/avwebgate.bin";
+$opt_s = '<a.*>Avira AntiVir WebGate / Avira WebGate Suite</a>.*(?:\n.*){4}<td>(\d+\.\d+\.\d+\.[\d]+)(-\d+)?</td>';
+$opt_b = "/usr/lib/AntiVir/webgate/avwebgate.bin";
 
 Getopt::Long::Configure('bundling');
 GetOptions(
--- 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 <foerste@schlittermann.de>  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