UPDATE: sysutils/bacula

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: sysutils/bacula

Stuart Henderson-6
This looks like it should be a fairly straightforward update, but it's
nice to have extra confirmation for something like this, so any more
test reports would be welcome.

So far I've tested with 7.4.0 SD/DIR with manually triggered backup
and restore with 7.2.0 and 7.4.0 FDs (connecting using TLS) with a
postgresql db.

Selected excerpts from the changelog:

- Add "Expires in" to list and llist volumes
- Implement a more efficient Volume selection algorithm between DIR and SD
- Implement MaxVirtualFullInterval
- Implement VirtualFullPool override
- Pool overrides work better
- Automatic selection of catalog from client where possible.



Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/bacula/Makefile,v
retrieving revision 1.93
diff -u -p -r1.93 Makefile
--- Makefile 29 Nov 2015 15:50:20 -0000 1.93
+++ Makefile 18 Jan 2016 16:52:54 -0000
@@ -12,7 +12,7 @@ COMMENT-mysql= Bacula libbaccats suppor
 COMMENT-pgsql= Bacula libbaccats support for PostgreSQL
 COMMENT-sqlite3= Bacula libbaccats support for SQLite3
 
-V= 7.2.0
+V= 7.4.0
 DISTNAME= bacula-$V
 PKGNAME-main= bacula-client-$V
 PKGNAME-server= bacula-server-$V
@@ -20,8 +20,6 @@ PKGNAME-bat= bacula-bat-$V
 PKGNAME-mysql= bacula-mysql-$V
 PKGNAME-pgsql= bacula-pgsql-$V
 PKGNAME-sqlite3= bacula-sqlite3-$V
-
-REVISION= 1
 
 CATEGORIES= sysutils
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/bacula/distinfo,v
retrieving revision 1.21
diff -u -p -r1.21 distinfo
--- distinfo 15 Aug 2015 07:50:02 -0000 1.21
+++ distinfo 18 Jan 2016 16:52:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (bacula-7.2.0.tar.gz) = gYYG/mnFDDyiG5HmCdSsbKCOQYlBm4nT7C6ByMA4nhw=
-SIZE (bacula-7.2.0.tar.gz) = 3301720
+SHA256 (bacula-7.4.0.tar.gz) = /oULeDUj7bGftNv6jER1LSCVUSG3GlKwdAqedlv9c8s=
+SIZE (bacula-7.4.0.tar.gz) = 3314218
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/sysutils/bacula/patches/patch-configure,v
retrieving revision 1.17
diff -u -p -r1.17 patch-configure
--- patches/patch-configure 15 Aug 2015 07:50:02 -0000 1.17
+++ patches/patch-configure 18 Jan 2016 16:52:54 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.17 2015/08/15 07:50:02 ajacoutot Exp $
---- configure.orig Thu Aug 13 15:52:24 2015
-+++ configure Fri Aug 14 10:16:41 2015
-@@ -4802,7 +4802,7 @@ $as_echo "no" >&6; }
+--- configure.orig Fri Jan 15 16:57:18 2016
++++ configure Mon Jan 18 13:07:24 2016
+@@ -4808,7 +4808,7 @@ $as_echo "no" >&6; }
  fi
 
 
@@ -10,7 +10,7 @@ $OpenBSD: patch-configure,v 1.17 2015/08
     as_fn_error $? "Unable to find C++ compiler" "$LINENO" 5
  fi
 
-@@ -16693,7 +16693,7 @@ if test x$use_libtool != xno; then
+@@ -16699,7 +16699,7 @@ if test x$use_libtool != xno; then
     LIBTOOL_INSTALL_TARGET="libtool-install"
     LIBTOOL_UNINSTALL_TARGET="libtool-uninstall"
     LIBTOOL_CLEAN_TARGET="libtool-clean"
@@ -19,7 +19,7 @@ $OpenBSD: patch-configure,v 1.17 2015/08
     FD_PLUGIN_DIR="src/plugins/fd"
     have_plugins=yes
  else
-@@ -22331,7 +22331,7 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+@@ -22362,7 +22362,7 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
  $as_echo "#define HAVE_READLINE 1" >>confdefs.h
 
@@ -28,7 +28,7 @@ $OpenBSD: patch-configure,v 1.17 2015/08
     got_readline="yes"
 
  else
-@@ -22370,7 +22370,7 @@ $as_echo "#define HAVE_READLINE 1" >>confdefs.h
+@@ -22401,7 +22401,7 @@ $as_echo "#define HAVE_READLINE 1" >>confdefs.h
 
  got_readline="yes"
  CONS_INC="-I${TOP_DIR}/depkgs/readline"
@@ -37,7 +37,7 @@ $OpenBSD: patch-configure,v 1.17 2015/08
  CONS_LDFLAGS="-L${TOP_DIR}/depkgs/readline"
  PRTREADLINE_SRC="${TOP_DIR}/depkgs/readline"
 
-@@ -30669,6 +30669,7 @@ netbsd)
+@@ -30714,6 +30714,7 @@ netbsd)
     DISTVER=`uname -a |awk '{print $3}'`
     lld="qd"
     llu="qu"
@@ -45,7 +45,7 @@ $OpenBSD: patch-configure,v 1.17 2015/08
     TAPEDRIVE="/dev/nrst0"
     PSCMD="ps -ax -o pid,command"
     PTHREAD_LIB="-pthread"
-@@ -30687,6 +30688,7 @@ openbsd)
+@@ -30732,6 +30733,7 @@ openbsd)
         platforms/openbsd/bacula-fd \
         platforms/openbsd/bacula-sd \
         platforms/openbsd/bacula-dir"
Index: patches/patch-src_dird_bacula-dir_conf_in
===================================================================
RCS file: /cvs/ports/sysutils/bacula/patches/patch-src_dird_bacula-dir_conf_in,v
retrieving revision 1.10
diff -u -p -r1.10 patch-src_dird_bacula-dir_conf_in
--- patches/patch-src_dird_bacula-dir_conf_in 14 Aug 2014 06:52:59 -0000 1.10
+++ patches/patch-src_dird_bacula-dir_conf_in 18 Jan 2016 16:52:54 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_dird_bacula-dir_conf_in,v 1.10 2014/08/14 06:52:59 ajacoutot Exp $
---- src/dird/bacula-dir.conf.in.orig Tue Jul 29 18:31:22 2014
-+++ src/dird/bacula-dir.conf.in Thu Jul 31 16:12:28 2014
-@@ -180,8 +180,8 @@ Client {
+--- src/dird/bacula-dir.conf.in.orig Fri Jan 15 16:57:18 2016
++++ src/dird/bacula-dir.conf.in Mon Jan 18 13:07:24 2016
+@@ -183,8 +183,8 @@ Client {
  #  You should change Name, Address, and Password before using
  #
  #Client {
Index: patches/patch-src_lib_bnet_c
===================================================================
RCS file: /cvs/ports/sysutils/bacula/patches/patch-src_lib_bnet_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_lib_bnet_c
--- patches/patch-src_lib_bnet_c 15 Aug 2015 07:50:02 -0000 1.2
+++ patches/patch-src_lib_bnet_c 18 Jan 2016 16:52:54 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_lib_bnet_c,v 1.2 2015/08/15 07:50:02 ajacoutot Exp $
---- src/lib/bnet.c.orig Thu Aug 13 15:52:24 2015
-+++ src/lib/bnet.c Fri Aug 14 10:16:42 2015
-@@ -630,7 +630,9 @@ int set_socket_errno(int sockstat)
+--- src/lib/bnet.c.orig Fri Jan 15 16:57:18 2016
++++ src/lib/bnet.c Mon Jan 18 13:07:24 2016
+@@ -629,7 +629,9 @@ int set_socket_errno(int sockstat)
        /* Handle errrors from prior connections as EAGAIN */
        switch (errno) {
           case ENETDOWN:
Index: patches/patch-src_qt-console_main_cpp
===================================================================
RCS file: /cvs/ports/sysutils/bacula/patches/patch-src_qt-console_main_cpp,v
retrieving revision 1.9
diff -u -p -r1.9 patch-src_qt-console_main_cpp
--- patches/patch-src_qt-console_main_cpp 15 Aug 2015 07:50:02 -0000 1.9
+++ patches/patch-src_qt-console_main_cpp 18 Jan 2016 16:52:54 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_qt-console_main_cpp,v 1.9 2015/08/15 07:50:02 ajacoutot Exp $
---- src/qt-console/main.cpp.orig Thu Aug 13 15:52:24 2015
-+++ src/qt-console/main.cpp Fri Aug 14 10:16:42 2015
-@@ -50,7 +50,7 @@ extern bool parse_bat_config(CONFIG *config, const cha
+--- src/qt-console/main.cpp.orig Fri Jan 15 16:57:18 2016
++++ src/qt-console/main.cpp Mon Jan 18 13:07:24 2016
+@@ -49,7 +49,7 @@ extern bool parse_bat_config(CONFIG *config, const cha
  extern void message_callback(int /* type */, char *msg);
 
 
Index: pkg/PLIST-server
===================================================================
RCS file: /cvs/ports/sysutils/bacula/pkg/PLIST-server,v
retrieving revision 1.20
diff -u -p -r1.20 PLIST-server
--- pkg/PLIST-server 15 Aug 2015 07:50:02 -0000 1.20
+++ pkg/PLIST-server 18 Jan 2016 16:52:54 -0000
@@ -43,7 +43,6 @@ libexec/bacula/updatedb/README
 @man man/man8/bcopy.8
 @man man/man8/bextract.8
 @man man/man8/bls.8
-@man man/man8/bpluginfo.8
 @man man/man8/bscan.8
 @man man/man8/btape.8
 @man man/man8/btraceback.8