diff options
author | Wen Heping <wen@FreeBSD.org> | 2010-04-14 00:31:39 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2010-04-14 00:31:39 +0000 |
commit | 4f687c35a936f21cabf4ea7e11ffcc948d2d3388 (patch) | |
tree | 4aca2f4332760da16507e1152c7d511c14517c21 /net-mgmt/nagios-check_bacula | |
parent | fc174ba6d44ed2bad96b90d2c37978234afa3be5 (diff) |
- Update to 5.0.0
PR: ports/145250
Submitted by: Anders Troback <freebsd@troback.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=252661
Diffstat (limited to 'net-mgmt/nagios-check_bacula')
-rw-r--r-- | net-mgmt/nagios-check_bacula/Makefile | 9 | ||||
-rw-r--r-- | net-mgmt/nagios-check_bacula/distinfo | 6 | ||||
-rw-r--r-- | net-mgmt/nagios-check_bacula/files/patch-configure | 20 | ||||
-rw-r--r-- | net-mgmt/nagios-check_bacula/files/patch-src-check_bacula-authenticate.c | 20 |
4 files changed, 6 insertions, 49 deletions
diff --git a/net-mgmt/nagios-check_bacula/Makefile b/net-mgmt/nagios-check_bacula/Makefile index f59bd759abc8..c687105b74c2 100644 --- a/net-mgmt/nagios-check_bacula/Makefile +++ b/net-mgmt/nagios-check_bacula/Makefile @@ -6,7 +6,7 @@ # PORTNAME= check_bacula -PORTVERSION= 3.0.2 +PORTVERSION= 5.0.0 CATEGORIES= net-mgmt MASTER_SITES= SF/bacula/bacula/${PORTVERSION} PKGNAMEPREFIX= nagios- @@ -25,15 +25,12 @@ USE_LDCONFIG= 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 + ${MAKE} -C ${WRKSRC}/examples/nagios/check_bacula do-install: @${MKDIR} ${PREFIX}/libexec/nagios - ${INSTALL_PROGRAM} ${WRKSRC}/src/check_bacula/.libs/check_bacula \ + ${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bacula/.libs/check_bacula \ ${PREFIX}/libexec/nagios/ ${INSTALL_PROGRAM} ${WRKSRC}/src/lib/.libs/libbac.so.1 \ ${PREFIX}/lib diff --git a/net-mgmt/nagios-check_bacula/distinfo b/net-mgmt/nagios-check_bacula/distinfo index 4c7c210283d4..e3ac724929c8 100644 --- a/net-mgmt/nagios-check_bacula/distinfo +++ b/net-mgmt/nagios-check_bacula/distinfo @@ -1,3 +1,3 @@ -MD5 (bacula-3.0.2.tar.gz) = 52f4bc25d8988dffcff429bb5e1ee81b -SHA256 (bacula-3.0.2.tar.gz) = 8f5e0bf4734c21949f83129209e0109acf054a362b4fce7cb87a87f1815904a5 -SIZE (bacula-3.0.2.tar.gz) = 3910414 +MD5 (bacula-5.0.0.tar.gz) = 68e008d2578a6d9a50af60439db17dcb +SHA256 (bacula-5.0.0.tar.gz) = 4c6344807769d1b6b61f9cbddc0a5dc1160c3eb51744b23c790fcb57947ac294 +SIZE (bacula-5.0.0.tar.gz) = 4075825 diff --git a/net-mgmt/nagios-check_bacula/files/patch-configure b/net-mgmt/nagios-check_bacula/files/patch-configure deleted file mode 100644 index 4d5f196935f5..000000000000 --- a/net-mgmt/nagios-check_bacula/files/patch-configure +++ /dev/null @@ -1,20 +0,0 @@ ---- configure.org 2009-07-10 16:12:39.000000000 +0200 -+++ configure 2009-09-28 15:10:56.000000000 +0200 -@@ -42884,7 +42884,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/bat.pro.mingw32 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 src/plugins/fd/Makefile src/plugins/sd/Makefile src/plugins/dir/Makefile src/win32/Makefile.inc po/Makefile.in updatedb/update_mysql_tables_9_to_10 updatedb/update_sqlite3_tables_9_to_10 updatedb/update_postgresql_tables_9_to_10 updatedb/update_sqlite_tables_9_to_10 updatedb/update_mysql_tables_10_to_11 updatedb/update_sqlite3_tables_10_to_11 updatedb/update_postgresql_tables_10_to_11 updatedb/update_sqlite_tables_10_to_11 $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/bat.pro.mingw32 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 src/plugins/fd/Makefile src/plugins/sd/Makefile src/plugins/dir/Makefile src/win32/Makefile.inc po/Makefile.in updatedb/update_mysql_tables_9_to_10 updatedb/update_sqlite3_tables_9_to_10 updatedb/update_postgresql_tables_9_to_10 updatedb/update_sqlite_tables_9_to_10 updatedb/update_mysql_tables_10_to_11 updatedb/update_sqlite3_tables_10_to_11 updatedb/update_postgresql_tables_10_to_11 updatedb/update_sqlite_tables_10_to_11 $PFILES src/check_bacula/Makefile" - - ac_config_commands="$ac_config_commands default" - -@@ -43803,7 +43803,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/files/patch-src-check_bacula-authenticate.c b/net-mgmt/nagios-check_bacula/files/patch-src-check_bacula-authenticate.c deleted file mode 100644 index d35d48842f70..000000000000 --- a/net-mgmt/nagios-check_bacula/files/patch-src-check_bacula-authenticate.c +++ /dev/null @@ -1,20 +0,0 @@ ---- src/check_bacula/authenticate.c.org 2009-09-28 16:16:01.000000000 +0200 -+++ src/check_bacula/authenticate.c 2009-09-28 16:16:34.000000000 +0200 -@@ -57,7 +57,7 @@ - /* Response from SD */ - static char SDOKhello[] = "3000 OK Hello\n"; - /* Response from FD */ --static char FDOKhello[] = "2000 OK Hello\n"; -+static char FDOKhello[] = "2000 OK Hello"; - - /* Forward referenced functions */ - -@@ -169,7 +169,7 @@ - } - Dmsg1(110, "<stored: %s", fd->msg); - stop_bsock_timer(tid); -- if (strncmp(fd->msg, FDOKhello, sizeof(FDOKhello)) != 0) { -+ if (strncmp(fd->msg, FDOKhello, sizeof(FDOKhello)-1) != 0) { - return 0; - } - return 1; |