commit 837d177af12a86f2ad14ea901209aa772e418665 Author: root Date: Wed Sep 9 11:31:10 2015 +0200 integration check-bareos-plugin (packaging) diff --git a/debian/check-bareos-plugin.dirs b/debian/check-bareos-plugin.dirs new file mode 100644 index 0000000..1ac00cb --- /dev/null +++ b/debian/check-bareos-plugin.dirs @@ -0,0 +1 @@ +usr/lib/nagios/plugins/ diff --git a/debian/check-bareos-plugin.install b/debian/check-bareos-plugin.install new file mode 100644 index 0000000..e27ae93 --- /dev/null +++ b/debian/check-bareos-plugin.install @@ -0,0 +1,3 @@ +check_bareos/.libs/check_bareos usr/lib/nagios/plugins/ +check_bareos/check_bareos_pools.sh usr/lib/nagios/plugins/ + diff --git a/debian/control.in b/debian/control.in index f35057e..59ba2e4 100644 --- a/debian/control.in +++ b/debian/control.in @@ -342,3 +342,15 @@ Description: Backup Archiving Recovery Open Sourced - tray monitor GNOME. . The monitor constantly displays Bareos's status. + +Package: check-bareos-plugin +Architecture: any +Depends: bareos-common +Conflicts: check-bacula-plugin +Replaces: check-bacula-plugin +Description: network backup, recovery and verification - check tool + Bareos is a set of programs to manage backup, recovery and verification of + data across a network of computers of different kinds. + . + This package provides a nagios plugin to check the status of bareos. + diff --git a/debian/rules b/debian/rules index f169c82..297b8f3 100755 --- a/debian/rules +++ b/debian/rules @@ -118,5 +118,9 @@ override_dh_makeshlibs: if [ "`lsb_release --short --id`" = "Ubuntu" ] && [ "`lsb_release --short --release`" = "8.04" ]; then PARALLEL=""; fi; \ dh $@ $$PARALLEL +override_dh_auto_build: + dh_auto_build -O--parallel + (cd check_bareos; make) + gen-debian-copyright: (cd debian; make copyright)