From b6aad2e8cd32cfa02867a4b83108f08ad6245f8f Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 10 Nov 2010 17:33:12 -0800 Subject: [PATCH] Add initial Debian packaging --- debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 20 ++++++++++++++++++++ debian/copyright | 16 ++++++++++++++++ debian/install | 1 + debian/rules | 10 ++++++++++ 6 files changed, 54 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/install create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..63ba30a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +nagios-plugins-afs (2.0-1) unstable; urgency=low + + * Initial packaging. + + -- Russ Allbery Wed, 10 Nov 2010 17:32:50 -0800 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..cace356 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: nagios-plugins-afs +Section: net +Priority: extra +Build-Depends: debhelper (>= 8) +Maintainer: Russ Allbery +Bugs: mailto:rra@debian.org +Homepage: http://www.eyrie.org/~eagle/software/afs-monitor/ +Standards-Version: 3.9.1 +Vcs-Git: git://git.eyrie.org/afs/afs-monitor.git +Vcs-Browser: http://git.eyrie.org/?p=afs/afs-monitor.git + +Package: nagios-plugins-afs +Architecture: all +Depends: openafs-client, perl +Suggests: nagios3 +Conflicts: stanford-server-nagios (<= 21) +Description: Plugins for Nagios to monitor AFS servers + Nagios is a host/service/network monitoring and management system. This + package provides plugins for Nagios to monitor AFS file servers and + volume location servers for availability and disk and quota usage. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..69654c6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,16 @@ +Format-Specification: + http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 + +Files: * +Copyright: 2003, 2004, 2005, 2006, 2010 Board of Trustees, Leland + Stanford Jr. University +License: GPL-1+ or Artistic-1 + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + . + This means that you may choose between the two licenses that Perl is + released under: the GNU GPL version 1 or later and the Artistic License. + . + These licenses may be found on Debian systems in + /usr/share/common-licenses/GPL-1 and + /usr/share/common-licenses/Artistic. diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..b073cdc --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +usr/lib/nagios/plugins diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3dbcafd --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_build: + +override_dh_auto_install: + mkdir -p debian/tmp/usr/lib/nagios/plugins + install -m 755 check_afs_* debian/tmp/usr/lib/nagios/plugins/ -- 2.39.5