From: Russ Allbery Date: Thu, 11 Nov 2010 01:36:03 +0000 (-0800) Subject: Imported Upstream version 2.0 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6c1101b067c03f59811121ce6dffe8ac88a4d2cb;p=packages%2Fa%2Fafs-monitor.git Imported Upstream version 2.0 --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index cc6ef8d..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/afs-monitor-*/ -/afs-monitor-*.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 6b109b9..0000000 --- a/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# This Makefile contains only a dist rule to generate a distribution -# tarball, and isn't included in the distribution. The software doesn't -# need any compilation, so there are no other rules. - -VERSION := $(shell grep '^afs-monitor' NEWS | head -1 | cut -d' ' -f 2) -DATE := $(shell grep '^afs-monitor' NEWS | head -1 | cut -d' ' -f 3) - -SCRIPTS := check_afs_quotas check_afs_space check_afs_bos check_afs_rxdebug \ - check_afs_udebug -EXTRA := LICENSE NEWS README - -all: - -dist: - mkdir afs-monitor-$(VERSION) - set -e; for script in $(SCRIPTS); do \ - sed -e 's![@]VERSION[@]!$(VERSION)!g' \ - -e 's![@]DATE[@]!$(DATE)!g' \ - $$script > afs-monitor-$(VERSION)/$$script ; \ - chmod 755 afs-monitor-$(VERSION)/$$script ; \ - done - cp $(EXTRA) afs-monitor-$(VERSION)/ - tar cf afs-monitor-$(VERSION).tar afs-monitor-$(VERSION) - gzip -9 afs-monitor-$(VERSION).tar - rm -r afs-monitor-$(VERSION) diff --git a/check_afs_bos b/check_afs_bos index 43be08c..6ff284c 100755 --- a/check_afs_bos +++ b/check_afs_bos @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -our $VERSION = '@VERSION@ @DATE@'; +our $VERSION = '2.0 (2010-11-10)'; # # check_afs_bos -- Monitor AFS bos output for problems in Nagios. # diff --git a/check_afs_quotas b/check_afs_quotas index 4a403f8..c9d58b6 100755 --- a/check_afs_quotas +++ b/check_afs_quotas @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -our $VERSION = '@VERSION@ @DATE@'; +our $VERSION = '2.0 (2010-11-10)'; # # check afs_quotas -- Monitor AFS quota usage under Nagios. # diff --git a/check_afs_rxdebug b/check_afs_rxdebug index 6f55b4b..777d68e 100755 --- a/check_afs_rxdebug +++ b/check_afs_rxdebug @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -our $VERSION = '@VERSION@ @DATE@'; +our $VERSION = '2.0 (2010-11-10)'; # # check_afs_rxdebug -- Nagios AFS server check for waiting connections. # diff --git a/check_afs_space b/check_afs_space index 1b602aa..2f9b575 100755 --- a/check_afs_space +++ b/check_afs_space @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -our $VERSION = '@VERSION@ @DATE@'; +our $VERSION = '2.0 (2010-11-10)'; # # check_afs_space -- Monitor AFS disk space usage under Nagios. # diff --git a/check_afs_udebug b/check_afs_udebug index a48ba76..97158dd 100755 --- a/check_afs_udebug +++ b/check_afs_udebug @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -our $VERSION = '@VERSION@ @DATE@'; +our $VERSION = '2.0 (2010-11-10)'; # # check_afs_udebug -- Check AFS database servers using udebug for Nagios. #