aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios-check_bacula
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-07-15 11:32:08 +0800
committerrafan <rafan@FreeBSD.org>2008-07-15 11:32:08 +0800
commit9b02635cf9f7f4d87890057fef2208d65aed6956 (patch)
tree54d37ee6e67f188a6b299eda96079f1f2ef54e01 /net-mgmt/nagios-check_bacula
parentb1b03a6c9fc749fcce9cca67004ff279b2d4e2bb (diff)
downloadfreebsd-ports-gnome-9b02635cf9f7f4d87890057fef2208d65aed6956.tar.gz
freebsd-ports-gnome-9b02635cf9f7f4d87890057fef2208d65aed6956.tar.zst
freebsd-ports-gnome-9b02635cf9f7f4d87890057fef2208d65aed6956.zip
check_bacula is a plugin intended for use with the
Nagios network monitoring system to monitor Bacula. PR: ports/125503 Submitted by: Anders Troback
Diffstat (limited to 'net-mgmt/nagios-check_bacula')
-rw-r--r--net-mgmt/nagios-check_bacula/Makefile35
-rw-r--r--net-mgmt/nagios-check_bacula/distinfo3
-rw-r--r--net-mgmt/nagios-check_bacula/files/patch-configure20
-rw-r--r--net-mgmt/nagios-check_bacula/pkg-descr2
-rw-r--r--net-mgmt/nagios-check_bacula/pkg-plist2
5 files changed, 62 insertions, 0 deletions
diff --git a/net-mgmt/nagios-check_bacula/Makefile b/net-mgmt/nagios-check_bacula/Makefile
new file mode 100644
index 000000000000..e32d068195d2
--- /dev/null
+++ b/net-mgmt/nagios-check_bacula/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: nagios-check_bacula
+# Date created: 10 Juli 2008
+# Whom: Anders Troback
+#
+# $FreeBSD$
+#
+
+PORTNAME= check_bacula
+PORTVERSION= 2.4.0
+CATEGORIES= net-mgmt
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+PKGNAMEPREFIX= nagios-
+DISTNAME= bacula-${PORTVERSION}
+
+MAINTAINER= freebsd@troback.com
+COMMENT= Nagios plugin for Bacula
+
+WRKSRC= ${WRKDIR}/bacula-${PORTVERSION}
+CONFIGURE_ARGS= --enable-client-only
+GNU_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+post-extract:
+ ${TAR} xzCf ${WRKSRC}/src ${WRKSRC}/examples/nagios/nagios_plugin_check_bacula.tgz
+
+post-build:
+ ${MAKE} -C ${WRKSRC}/src/check_bacula
+
+do-install:
+ @${MKDIR} ${PREFIX}/libexec/nagios
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/check_bacula/check_bacula \
+ ${PREFIX}/libexec/nagios/
+
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/nagios-check_bacula/distinfo b/net-mgmt/nagios-check_bacula/distinfo
new file mode 100644
index 000000000000..d610b4e0317c
--- /dev/null
+++ b/net-mgmt/nagios-check_bacula/distinfo
@@ -0,0 +1,3 @@
+MD5 (bacula-2.4.0.tar.gz) = c851f97c1836ab212f33b9159ed526c2
+SHA256 (bacula-2.4.0.tar.gz) = 856430e271dc151528a47ae82e89cd21fa5c720ab5be3f698ed754a8cc25520a
+SIZE (bacula-2.4.0.tar.gz) = 3082403
diff --git a/net-mgmt/nagios-check_bacula/files/patch-configure b/net-mgmt/nagios-check_bacula/files/patch-configure
new file mode 100644
index 000000000000..2e5fc6ba3196
--- /dev/null
+++ b/net-mgmt/nagios-check_bacula/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.org 2008-07-10 12:17:10.000000000 +0000
++++ configure 2008-07-10 12:17:32.000000000 +0000
+@@ -30111,7 +30111,7 @@
+ exit 1
+ fi
+
+-ac_config_files="$ac_config_files autoconf/Make.common Makefile manpages/Makefile scripts/startmysql scripts/stopmysql scripts/btraceback scripts/startit scripts/stopit scripts/bconsole scripts/gconsole scripts/bacula scripts/bacula-ctl-dir scripts/bacula-ctl-fd scripts/bacula-ctl-sd scripts/devel_bacula scripts/Makefile scripts/logrotate scripts/bacula.desktop.gnome1 scripts/bacula.desktop.gnome2 scripts/bacula.desktop.gnome1.consolehelper scripts/bacula.desktop.gnome2.consolehelper scripts/bacula.desktop.gnome1.xsu scripts/bacula.desktop.gnome2.xsu scripts/bgnome-console.console_apps scripts/mtx-changer scripts/disk-changer scripts/dvd-handler scripts/dvd-simulator scripts/bacula-tray-monitor.desktop scripts/logwatch/Makefile scripts/logwatch/logfile.bacula.conf scripts/wxconsole.console_apps scripts/wxconsole.desktop.consolehelper scripts/wxconsole.desktop.xsu scripts/bat.desktop scripts/bat.desktop.xsu scripts/bat.desktop.consolehelper scripts/bat.console_apps src/Makefile src/host.h src/console/Makefile src/console/bconsole.conf src/gnome2-console/Makefile src/gnome2-console/bgnome-console.conf src/qt-console/bat.conf src/qt-console/bat.pro src/qt-console/install_conf_file src/wx-console/Makefile src/wx-console/bwx-console.conf src/tray-monitor/Makefile src/tray-monitor/tray-monitor.conf src/dird/Makefile src/dird/bacula-dir.conf src/lib/Makefile src/stored/Makefile src/stored/bacula-sd.conf src/filed/Makefile src/filed/bacula-fd.conf src/cats/Makefile src/cats/make_catalog_backup src/cats/delete_catalog_backup src/cats/create_postgresql_database src/cats/update_postgresql_tables src/cats/make_postgresql_tables src/cats/grant_postgresql_privileges src/cats/drop_postgresql_tables src/cats/drop_postgresql_database src/cats/create_mysql_database src/cats/update_mysql_tables src/cats/make_mysql_tables src/cats/grant_mysql_privileges src/cats/drop_mysql_tables src/cats/drop_mysql_database src/cats/create_sqlite_database src/cats/update_sqlite_tables src/cats/make_sqlite_tables src/cats/grant_sqlite_privileges src/cats/drop_sqlite_tables src/cats/drop_sqlite_database src/cats/create_sqlite3_database src/cats/update_sqlite3_tables src/cats/make_sqlite3_tables src/cats/grant_sqlite3_privileges src/cats/drop_sqlite3_tables src/cats/drop_sqlite3_database src/cats/sqlite src/cats/mysql src/cats/create_bdb_database src/cats/update_bdb_tables src/cats/make_bdb_tables src/cats/grant_bdb_privileges src/cats/drop_bdb_tables src/cats/drop_bdb_database src/cats/create_bacula_database src/cats/update_bacula_tables src/cats/grant_bacula_privileges src/cats/make_bacula_tables src/cats/drop_bacula_tables src/cats/drop_bacula_database src/findlib/Makefile src/tools/Makefile po/Makefile.in $PFILES"
++ac_config_files="$ac_config_files autoconf/Make.common Makefile manpages/Makefile scripts/startmysql scripts/stopmysql scripts/btraceback scripts/startit scripts/stopit scripts/bconsole scripts/gconsole scripts/bacula scripts/bacula-ctl-dir scripts/bacula-ctl-fd scripts/bacula-ctl-sd scripts/devel_bacula scripts/Makefile scripts/logrotate scripts/bacula.desktop.gnome1 scripts/bacula.desktop.gnome2 scripts/bacula.desktop.gnome1.consolehelper scripts/bacula.desktop.gnome2.consolehelper scripts/bacula.desktop.gnome1.xsu scripts/bacula.desktop.gnome2.xsu scripts/bgnome-console.console_apps scripts/mtx-changer scripts/disk-changer scripts/dvd-handler scripts/dvd-simulator scripts/bacula-tray-monitor.desktop scripts/logwatch/Makefile scripts/logwatch/logfile.bacula.conf scripts/wxconsole.console_apps scripts/wxconsole.desktop.consolehelper scripts/wxconsole.desktop.xsu scripts/bat.desktop scripts/bat.desktop.xsu scripts/bat.desktop.consolehelper scripts/bat.console_apps src/Makefile src/host.h src/console/Makefile src/console/bconsole.conf src/gnome2-console/Makefile src/gnome2-console/bgnome-console.conf src/qt-console/bat.conf src/qt-console/bat.pro src/qt-console/install_conf_file src/wx-console/Makefile src/wx-console/bwx-console.conf src/tray-monitor/Makefile src/tray-monitor/tray-monitor.conf src/dird/Makefile src/dird/bacula-dir.conf src/lib/Makefile src/stored/Makefile src/stored/bacula-sd.conf src/filed/Makefile src/filed/bacula-fd.conf src/cats/Makefile src/cats/make_catalog_backup src/cats/delete_catalog_backup src/cats/create_postgresql_database src/cats/update_postgresql_tables src/cats/make_postgresql_tables src/cats/grant_postgresql_privileges src/cats/drop_postgresql_tables src/cats/drop_postgresql_database src/cats/create_mysql_database src/cats/update_mysql_tables src/cats/make_mysql_tables src/cats/grant_mysql_privileges src/cats/drop_mysql_tables src/cats/drop_mysql_database src/cats/create_sqlite_database src/cats/update_sqlite_tables src/cats/make_sqlite_tables src/cats/grant_sqlite_privileges src/cats/drop_sqlite_tables src/cats/drop_sqlite_database src/cats/create_sqlite3_database src/cats/update_sqlite3_tables src/cats/make_sqlite3_tables src/cats/grant_sqlite3_privileges src/cats/drop_sqlite3_tables src/cats/drop_sqlite3_database src/cats/sqlite src/cats/mysql src/cats/create_bdb_database src/cats/update_bdb_tables src/cats/make_bdb_tables src/cats/grant_bdb_privileges src/cats/drop_bdb_tables src/cats/drop_bdb_database src/cats/create_bacula_database src/cats/update_bacula_tables src/cats/grant_bacula_privileges src/cats/make_bacula_tables src/cats/drop_bacula_tables src/cats/drop_bacula_database src/findlib/Makefile src/tools/Makefile po/Makefile.in $PFILES src/check_bacula/Makefile"
+
+ ac_config_commands="$ac_config_commands default"
+
+@@ -30679,7 +30679,7 @@
+
+ cat >>$CONFIG_STATUS <<\_ACEOF
+
+-# Handling of arguments.
++# Handling of arguments.n "src/check_bacula/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/check_bacula/Makefile" ;;
+ for ac_config_target in $ac_config_targets
+ do
+ case $ac_config_target in
diff --git a/net-mgmt/nagios-check_bacula/pkg-descr b/net-mgmt/nagios-check_bacula/pkg-descr
new file mode 100644
index 000000000000..9997995c0e95
--- /dev/null
+++ b/net-mgmt/nagios-check_bacula/pkg-descr
@@ -0,0 +1,2 @@
+check_bacula is a plugin intended for use with the
+Nagios network monitoring system to monitor Bacula.
diff --git a/net-mgmt/nagios-check_bacula/pkg-plist b/net-mgmt/nagios-check_bacula/pkg-plist
new file mode 100644
index 000000000000..8ae449000f68
--- /dev/null
+++ b/net-mgmt/nagios-check_bacula/pkg-plist
@@ -0,0 +1,2 @@
+libexec/nagios/check_bacula
+@dirrmtry libexec/nagios