removed clutter
authorMatthias Förste <foerste@schlittermann.de>
Fri, 01 Jul 2011 13:36:05 +0200
changeset 8 feb14382ba2c
parent 7 711db8810afa
child 9 7bb006d79358
removed clutter
debian/README.Debian
debian/docs
debian/files
debian/nagios-plugin-avwebgate/DEBIAN/control
debian/nagios-plugin-avwebgate/DEBIAN/md5sums
debian/nagios-plugin-avwebgate/usr/lib/nagios/plugins/ius/check_avwebgate
debian/nagios-plugin-avwebgate/usr/share/doc/nagios-plugin-avwebgate/README.Debian
debian/nagios-plugin-avwebgate/usr/share/doc/nagios-plugin-avwebgate/changelog.Debian.gz
debian/nagios-plugin-avwebgate/usr/share/doc/nagios-plugin-avwebgate/copyright
--- a/debian/README.Debian	Fri Jul 01 12:57:18 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-nagios-plugin-avwebgate for Debian
-----------------------------------
-
-<possible notes regarding this package - if none, delete this file>
-
- -- Christian Arnold <arnold@schlittermann.de>  Wed, 11 Jun 2008 12:29:15 +0200
--- a/debian/files	Fri Jul 01 12:57:18 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-nagios-plugin-avwebgate_1.0-2_all.deb unknown extra
--- a/debian/nagios-plugin-avwebgate/DEBIAN/control	Fri Jul 01 12:57:18 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-Package: nagios-plugin-avwebgate
-Version: 1.0-2
-Section: unknown
-Priority: extra
-Architecture: all
-Installed-Size: 64
-Maintainer: Christian Arnold <arnold@schlittermann.de>
-Description: nagios plugin to check Avira AntiVir WebGate version
- This plugin checks for new versions of Avira AntiVir WebGate.
--- a/debian/nagios-plugin-avwebgate/DEBIAN/md5sums	Fri Jul 01 12:57:18 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-bfc3318ffab3bceeac38cc8d07a33f89  usr/share/doc/nagios-plugin-avwebgate/copyright
-1572ec9e80e385f552f1ede3b3fadbbe  usr/share/doc/nagios-plugin-avwebgate/changelog.Debian.gz
-558f8dbddbd423ca86eab507c7b34a8f  usr/share/doc/nagios-plugin-avwebgate/README.Debian
-bc601e0fb66174a16fa81bead1aa1257  usr/lib/nagios/plugins/ius/check_avwebgate
--- a/debian/nagios-plugin-avwebgate/usr/lib/nagios/plugins/ius/check_avwebgate	Fri Jul 01 12:57:18 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,109 +0,0 @@
-#! /usr/bin/perl -w
-# $Id: check_avwebgate.pl 4100 2008-06-11 10:41:42Z arnold $
-# $URL: https://svn.schlittermann.de/is/nagios-plugins/check-avwebgate/trunk/check_avwebgate.pl $
-
-use strict;
-use File::Basename;
-use Getopt::Long;
-use LWP::Simple;
-
-use lib "/usr/lib/nagios/plugins";
-use utils qw (%ERRORS &print_revision &support);
-
-sub print_help();
-sub print_usage();
-
-my $ME = basename $0;
-my ( $opt_u, $opt_s, $opt_V, $opt_h, $opt_b );
-my ( $result, $found, $message, $version, $current_version );
-my ( @webside );
-
-$opt_u = "http://www.avira.com/de/downloads/avira_antivir_unix_webgate.html";
-$opt_s = ">Avira AntiVir WebGate / Avira WebGate Suite<";
-$opt_b = "/usr/lib/AntiVir/avwebgate.bin";
-
-Getopt::Long::Configure('bundling');
-GetOptions(
-    "V"              => \$opt_V,
-    "version"        => \$opt_V,
-    "h"              => \$opt_h,
-    "help"           => \$opt_h,
-    "b=s"            => \$opt_b,
-    "binary"         => \$opt_b,
-    "u=s"            => \$opt_u,
-    "url=s"          => \$opt_u,
-    "s=s"            => \$opt_s,
-    "search=s"       => \$opt_s
-);
-
-if ($opt_V) {
-    print_revision( $ME, "0.1" );
-    exit $ERRORS{"OK"};
-}
-
-if ($opt_h) {
-    print_help();
-    exit $ERRORS{"OK"};
-}
-
-# check avwebgate binary
-unless ( -x $opt_b ) {
-    print "AVWEBGATE CRITICAL: AntiVir WebGate not found or not executable - $opt_b\n";
-    exit $ERRORS{"CRITICAL"};
-}
-
-# download the webside
-push @webside, split("\n", get($opt_u));
-
-foreach (@webside) {
-	unless ($found) {
-		/$opt_s/ or next;
-		$found = 1;
-		next;
-	}
-	/Version:\s([\d\.-]+).*/ or next;
-	$version = $1 and last;
-}
-
-unless ($version) {
-	print "AVWEBGATE CRITICAL: cannot get version info from avira server\n";
-	exit $ERRORS{"CRITICAL"};
-}
-
-$_ = `$opt_b --version`;
-if ($_ =~ /product version:\s+(\S+)/) { $current_version = $1; }
-
-$result = ($current_version eq $version) ? "OK" : "WARNING";
-
-if ($result eq "WARNING") {
-	$message = "new version available: $version";
-	print "AVWEBGATE $result: $message\n";
-	exit $ERRORS{$result};
-} else {
-	$message = "current version: $current_version";
-	print "AVWEBGATE $result: $message\n";
-	exit $ERRORS{$result};
-}
-
-sub print_usage() {
-    print "Usage:\n";
-    print "  $ME [-b <binary>] [-u <url>] [-s <search>\n";
-    print "  $ME [-h | --help]\n";
-    print "  $ME [-V | --version]\n";
-}
-
-sub print_help() {
-    print_revision( $ME, "0.1" );
-    print "Copyright (c) 2008 Christian Arnold\n\n";
-    print "This plugin checks for new versions of Avira AntiVir WebGate.\n\n";
-    print_usage();
-    print "\n";
-    print "  -b, --binary <binary>\n";
-    print "     Path of AntiVir WebGate binary (default: /usr/lib/AntiVir/avwebgate.bin)\n";
-    print "  -u, --url <url>\n";
-    print "     URL where will be look for the search string (default: http://www.avira.com/de/downloads/avira_antivir_unix_webgate.html)\n";
-    print "  -s, --search <search>\n";
-    print "     Search string on the url (default: >Avira AntiVir UNIX WebGate<)\n";
-    print "\n";
-    support();
-}
--- a/debian/nagios-plugin-avwebgate/usr/share/doc/nagios-plugin-avwebgate/README.Debian	Fri Jul 01 12:57:18 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-nagios-plugin-avwebgate for Debian
-----------------------------------
-
-<possible notes regarding this package - if none, delete this file>
-
- -- Christian Arnold <arnold@schlittermann.de>  Wed, 11 Jun 2008 12:29:15 +0200
Binary file debian/nagios-plugin-avwebgate/usr/share/doc/nagios-plugin-avwebgate/changelog.Debian.gz has changed
--- a/debian/nagios-plugin-avwebgate/usr/share/doc/nagios-plugin-avwebgate/copyright	Fri Jul 01 12:57:18 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-This package was debianized by Christian Arnold <arnold@schlittermann.de> on
-Wed, 11 Jun 2008 12:29:15 +0200.
-
-It was downloaded from <fill in http/ftp site>
-
-Upstream Author: <put author(s) name and email here>
-
-Copyright: <put the year(s) of the copyright, and the names of the
-            copyright holder(s) here>
-
-License:
-
-   This package is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
-
-   This package is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this package; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-
-On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
-
-The Debian packaging is (C) 2008, Christian Arnold <arnold@schlittermann.de> and
-is licensed under the GPL, see above.
-
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.