# HG changeset patch # User Matthias Förste foerste@schlittermann.de # Date 1331050155 -3600 # Node ID 78cf8596c8b3b7289ca6bff7757493f6eb7b947e # Parent c83baccf5a277551612aee8bbeb541c48b2b4655 adapted search string to changes in download page diff -r c83baccf5a27 -r 78cf8596c8b3 check_avwebgate.pl --- a/check_avwebgate.pl Tue Jul 05 12:22:08 2011 +0200 +++ b/check_avwebgate.pl Tue Mar 06 17:09:15 2012 +0100 @@ -20,7 +20,7 @@ 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]+)(-\d+)?'; +$opt_s = '

Avira AntiVir WebGate

.*(?:\n.*){27}Version:\s*(\d+\.\d+\.\d+\.\d+)(-\d+)?\s*'; $opt_b = "/usr/lib/AntiVir/webgate/avwebgate.bin"; Getopt::Long::Configure('bundling'); diff -r c83baccf5a27 -r 78cf8596c8b3 debian/changelog --- a/debian/changelog Tue Jul 05 12:22:08 2011 +0200 +++ b/debian/changelog Tue Mar 06 17:09:15 2012 +0100 @@ -1,3 +1,9 @@ +nagios-plugin-avwebgate (1.2-1) oldstable stable; urgency=low + + * adapted search string to changes in download page + + -- Matthias Förste Tue, 06 Mar 2012 17:03:12 +0100 + nagios-plugin-avwebgate (1.2) oldstable stable; urgency=low * path to binaries has been changed upstream