Update to bacula-client-7.2.0.

README parts from sthen@

ok sthen@
This commit is contained in:
ajacoutot 2015-08-15 07:50:02 +00:00
parent 16a608524a
commit 04027e96e3
20 changed files with 105 additions and 96 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.90 2015/07/15 15:53:48 sthen Exp $
# $OpenBSD: Makefile,v 1.91 2015/08/15 07:50:02 ajacoutot Exp $
# XXX building this port while a version is already installed on the
# system will lead to unexpected hidden dependencies!!!
@ -12,7 +12,7 @@ COMMENT-mysql= Bacula libbaccats support for MySQL
COMMENT-pgsql= Bacula libbaccats support for PostgreSQL
COMMENT-sqlite3= Bacula libbaccats support for SQLite3
V= 7.0.5
V= 7.2.0
DISTNAME= bacula-$V
PKGNAME-main= bacula-client-$V
PKGNAME-server= bacula-server-$V
@ -21,10 +21,6 @@ PKGNAME-mysql= bacula-mysql-$V
PKGNAME-pgsql= bacula-pgsql-$V
PKGNAME-sqlite3= bacula-sqlite3-$V
REVISION-main= 2
REVISION-server= 6
REVISION-mysql= 0
CATEGORIES= sysutils
SHARED_LIBS += bac 5.0
@ -166,8 +162,6 @@ post-install:
rm ${PREFIX}/sbin/bacula
# does nothing
cd ${PREFIX}/libexec/bacula/updatedb && rm update_bacula_tables_8_to_9
# broken: tries to run scripts from /etc
cd ${PREFIX}/libexec/bacula/updatedb && rm update_bdb_tables_8_to_9
# unneeded: SQLite2
cd ${PREFIX}/libexec/bacula/updatedb && rm update_sqlite_tables_4_to_5 \
update_sqlite_tables_5_to_6 update_sqlite_tables_6_to_7 \

View File

@ -1,2 +1,2 @@
SHA256 (bacula-7.0.5.tar.gz) = FFeEnrMwEbQzcYAbYv+hPSm+vlG+jVo22lY7h7sJSkk=
SIZE (bacula-7.0.5.tar.gz) = 3216406
SHA256 (bacula-7.2.0.tar.gz) = gYYG/mnFDDyiG5HmCdSsbKCOQYlBm4nT7C6ByMA4nhw=
SIZE (bacula-7.2.0.tar.gz) = 3301720

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-Makefile_in,v 1.6 2014/08/14 06:52:59 ajacoutot Exp $
$OpenBSD: patch-Makefile_in,v 1.7 2015/08/15 07:50:02 ajacoutot Exp $
stop building when an error occurs, rather than just keep on with the
next subdir..
--- Makefile.in.orig Tue Jul 29 18:31:22 2014
+++ Makefile.in Thu Jul 31 16:14:57 2014
@@ -41,18 +41,18 @@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
--- Makefile.in.orig Thu Aug 13 15:52:24 2015
+++ Makefile.in Fri Aug 14 10:17:57 2015
@@ -44,18 +44,18 @@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
#-------------------------------------------------------------------------
all: Makefile
@ -21,22 +21,24 @@ next subdir..
+ @set -e; for I in ${all_subdirs}; \
do (cd $$I; echo "==>Entering directory `pwd`"; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1); done
bacula-fd: Makefile
bacula-fd: Makefile
- @for I in ${fd_subdirs}; \
+ @set -e; for I in ${fd_subdirs}; \
do (cd $$I; echo "==>Entering directory `pwd`"; \
$(MAKE) DESTDIR=$(DESTDIR) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
echo ""; echo ""; false ) || false) || exit 1; \
@@ -106,12 +106,6 @@ installdirs:
$(MAKE) DESTDIR=$(DESTDIR) all || \
(echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
@@ -112,14 +112,6 @@ installdirs:
-if test ! -d $(DESTDIR)$(working_dir) ; then \
$(MKDIR) $(DESTDIR)$(working_dir); \
chmod 770 $(DESTDIR)$(working_dir); \
- fi
- -if test "x$(dir_user)" != "x" ; then \
- chown $(dir_user) $(DESTDIR)$(working_dir); \
- chown $(dir_user) $(DESTDIR)$(logdir); \
- fi
- -if test "x$(dir_group)" != "x" ; then \
- chgrp $(dir_group) $(DESTDIR)$(working_dir); \
- chgrp $(dir_group) $(DESTDIR)$(logdir); \
fi
install: installdirs

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.16 2014/05/21 10:12:34 ajacoutot Exp $
--- configure.orig Sun May 11 12:34:12 2014
+++ configure Wed May 21 10:05:14 2014
@@ -4776,7 +4776,7 @@ $as_echo "no" >&6; }
$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; }
fi
@ -10,7 +10,7 @@ $OpenBSD: patch-configure,v 1.16 2014/05/21 10:12:34 ajacoutot Exp $
as_fn_error $? "Unable to find C++ compiler" "$LINENO" 5
fi
@@ -16708,7 +16708,7 @@ if test x$use_libtool != xno; then
@@ -16693,7 +16693,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.16 2014/05/21 10:12:34 ajacoutot Exp $
FD_PLUGIN_DIR="src/plugins/fd"
have_plugins=yes
else
@@ -22319,7 +22319,7 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
@@ -22331,7 +22331,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.16 2014/05/21 10:12:34 ajacoutot Exp $
got_readline="yes"
else
@@ -22358,7 +22358,7 @@ $as_echo "#define HAVE_READLINE 1" >>confdefs.h
@@ -22370,7 +22370,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.16 2014/05/21 10:12:34 ajacoutot Exp $
CONS_LDFLAGS="-L${TOP_DIR}/depkgs/readline"
PRTREADLINE_SRC="${TOP_DIR}/depkgs/readline"
@@ -30546,6 +30546,7 @@ openbsd)
@@ -30669,6 +30669,7 @@ netbsd)
DISTVER=`uname -a |awk '{print $3}'`
lld="qd"
llu="qu"
@ -45,7 +45,7 @@ $OpenBSD: patch-configure,v 1.16 2014/05/21 10:12:34 ajacoutot Exp $
TAPEDRIVE="/dev/nrst0"
PSCMD="ps -ax -o pid,command"
PTHREAD_LIB="-pthread"
@@ -30555,6 +30556,7 @@ openbsd)
@@ -30687,6 +30688,7 @@ openbsd)
platforms/openbsd/bacula-fd \
platforms/openbsd/bacula-sd \
platforms/openbsd/bacula-dir"

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-manpages_Makefile_in,v 1.5 2014/04/19 09:44:11 ajacoutot Exp $
--- manpages/Makefile.in.orig Wed Apr 2 18:32:30 2014
+++ manpages/Makefile.in Tue Apr 8 16:26:01 2014
@@ -18,17 +18,9 @@ depend:
$OpenBSD: patch-manpages_Makefile_in,v 1.6 2015/08/15 07:50:02 ajacoutot Exp $
--- manpages/Makefile.in.orig Thu Aug 13 15:52:24 2015
+++ manpages/Makefile.in Fri Aug 14 10:16:41 2015
@@ -20,17 +20,9 @@ depend:
install:
$(MKDIR) $(DESTDIR)/$(mandir)/man8

View File

@ -1,17 +1,17 @@
$OpenBSD: patch-src_cats_Makefile_in,v 1.5 2014/04/19 09:44:11 ajacoutot Exp $
--- src/cats/Makefile.in.orig Wed Apr 2 19:32:30 2014
+++ src/cats/Makefile.in Thu Apr 10 17:31:03 2014
@@ -142,26 +142,26 @@ libbaccats.a: $(LIBBACCATS_OBJS)
$OpenBSD: patch-src_cats_Makefile_in,v 1.6 2015/08/15 07:50:02 ajacoutot Exp $
--- src/cats/Makefile.in.orig Thu Aug 13 15:52:24 2015
+++ src/cats/Makefile.in Fri Aug 14 10:20:19 2015
@@ -125,26 +125,26 @@ libbaccats.a: $(LIBBACCATS_OBJS)
libbacsql.la: Makefile $(LIBBACSQL_LOBJS)
@echo "Making $@ ..."
- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACSQL_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACSQL_LT_RELEASE) $(DB_LIBS)
+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACSQL_LOBJS) -export-dynamic -rpath $(libdir) $(DB_LIBS)
libbaccats.la: Makefile cats_dummy.lo
libbaccats.la: Makefile cats_null.lo
@echo "Making $@ ..."
- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ cats_dummy.lo -export-dynamic -rpath $(libdir) -release $(LIBBACCATS_LT_RELEASE)
+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ cats_dummy.lo -export-dynamic -rpath $(libdir)
- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ cats_null.lo -export-dynamic -rpath $(libdir) -release $(LIBBACCATS_LT_RELEASE)
+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ cats_null.lo -export-dynamic -rpath $(libdir)
libbaccats-mysql.la: Makefile $(MYSQL_LOBJS)
@echo "Making $@ ..."
@ -33,6 +33,6 @@ $OpenBSD: patch-src_cats_Makefile_in,v 1.5 2014/04/19 09:44:11 ajacoutot Exp $
- -soname libbaccats-$(LIBBACCATS_LT_RELEASE).so $(SQLITE_LIBS)
+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(SQLITE_LOBJS) -export-dynamic -rpath $(libdir) \
+ $(SQLITE_LIBS)
#libbaccats-ingres.la: Makefile $(INGRES_LOBJS)
#libbaccats-dbi.la: Makefile $(DBI_LOBJS)
# @echo "Making $@ ..."
# $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(DBI_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACCATS_LT_RELEASE) \

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_dird_Makefile_in,v 1.3 2014/04/19 09:44:11 ajacoutot Exp $
--- src/dird/Makefile.in.orig Sat Mar 29 09:00:03 2014
+++ src/dird/Makefile.in Fri Apr 4 22:14:17 2014
@@ -109,9 +109,6 @@ install: all
$OpenBSD: patch-src_dird_Makefile_in,v 1.4 2015/08/15 07:50:02 ajacoutot Exp $
--- src/dird/Makefile.in.orig Thu Aug 13 15:52:24 2015
+++ src/dird/Makefile.in Fri Aug 14 10:16:41 2015
@@ -110,9 +110,6 @@ install: all
fi; \
echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_filed_Makefile_in,v 1.3 2014/04/19 09:44:11 ajacoutot Exp $
--- src/filed/Makefile.in.orig Sat Mar 29 09:00:03 2014
+++ src/filed/Makefile.in Fri Apr 4 22:03:00 2014
@@ -140,9 +140,6 @@ install: all
$OpenBSD: patch-src_filed_Makefile_in,v 1.4 2015/08/15 07:50:02 ajacoutot Exp $
--- src/filed/Makefile.in.orig Thu Aug 13 15:52:24 2015
+++ src/filed/Makefile.in Fri Aug 14 10:16:42 2015
@@ -108,9 +108,6 @@ install: all
fi; \
echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-src_findlib_Makefile_in,v 1.3 2014/04/19 09:44:11 ajacoutot Exp $
--- src/findlib/Makefile.in.orig Thu Apr 10 17:29:44 2014
+++ src/findlib/Makefile.in Thu Apr 10 17:30:12 2014
@@ -56,7 +56,7 @@ libbacfind.a: $(LIBBACFIND_OBJS)
$OpenBSD: patch-src_findlib_Makefile_in,v 1.4 2015/08/15 07:50:02 ajacoutot Exp $
--- src/findlib/Makefile.in.orig Thu Aug 13 15:52:24 2015
+++ src/findlib/Makefile.in Fri Aug 14 10:16:42 2015
@@ -60,7 +60,7 @@ libbacfind.a: $(LIBBACFIND_OBJS)
libbacfind.la: Makefile $(LIBBACFIND_LOBJS)
libbacfind.la: Makefile $(LIBBACFIND_LOBJS)
@echo "Making $@ ..."
- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACFIND_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACFIND_LT_RELEASE)
+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACFIND_LOBJS) -export-dynamic -rpath $(libdir)

View File

@ -1,18 +1,18 @@
$OpenBSD: patch-src_lib_Makefile_in,v 1.4 2014/04/19 09:44:11 ajacoutot Exp $
--- src/lib/Makefile.in.orig Thu Apr 10 17:29:37 2014
+++ src/lib/Makefile.in Thu Apr 10 17:30:22 2014
@@ -105,7 +105,7 @@ libbac.a: $(LIBBAC_OBJS)
$OpenBSD: patch-src_lib_Makefile_in,v 1.5 2015/08/15 07:50:02 ajacoutot Exp $
--- src/lib/Makefile.in.orig Thu Aug 13 15:52:24 2015
+++ src/lib/Makefile.in Fri Aug 14 10:16:42 2015
@@ -104,7 +104,7 @@ libbac.a: $(LIBBAC_OBJS)
libbac.la: Makefile $(LIBBAC_LOBJS)
@echo "Making $@ ..."
- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBAC_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBAC_LT_RELEASE) $(WRAPLIBS) $(CAP_LIBS) $(ZLIBS) $(OPENSSL_LIBS) $(LIBS) $(DLLIBS)
+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBAC_LOBJS) -export-dynamic -rpath $(libdir) $(WRAPLIBS) $(CAP_LIBS) $(ZLIBS) $(OPENSSL_LIBS) $(LIBS) $(DLLIBS)
libbaccfg.a: $(LIBBACCFG_OBJS)
libbaccfg.a: $(LIBBACCFG_OBJS)
@echo "Making $@ ..."
@@ -114,7 +114,7 @@ libbaccfg.a: $(LIBBACCFG_OBJS)
@@ -113,7 +113,7 @@ libbaccfg.a: $(LIBBACCFG_OBJS)
libbaccfg.la: Makefile $(LIBBACCFG_LOBJS)
libbaccfg.la: Makefile $(LIBBACCFG_LOBJS)
@echo "Making $@ ..."
- $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACCFG_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACCFG_LT_RELEASE) $(OPENSSL_LIBS) $(LIBS)
+ $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACCFG_LOBJS) -export-dynamic -rpath $(libdir) $(OPENSSL_LIBS) $(LIBS)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_lib_bnet_c,v 1.1 2014/04/19 09:44:11 ajacoutot Exp $
--- src/lib/bnet.c.orig Wed Apr 2 18:32:30 2014
+++ src/lib/bnet.c Tue Apr 8 16:26:01 2014
@@ -627,7 +627,9 @@ int set_socket_errno(int sockstat)
$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)
/* Handle errrors from prior connections as EAGAIN */
switch (errno) {
case ENETDOWN:

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_qt-console_main_cpp,v 1.8 2014/04/19 09:44:11 ajacoutot Exp $
--- src/qt-console/main.cpp.orig Sat Mar 29 09:00:03 2014
+++ src/qt-console/main.cpp Fri Apr 4 22:03:00 2014
@@ -46,7 +46,7 @@ extern bool parse_bat_config(CONFIG *config, const cha
$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
extern void message_callback(int /* type */, char *msg);

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_stored_Makefile_in,v 1.4 2014/04/19 09:44:11 ajacoutot Exp $
--- src/stored/Makefile.in.orig Sat Mar 29 09:00:03 2014
+++ src/stored/Makefile.in Fri Apr 4 22:13:11 2014
@@ -189,9 +189,6 @@ install: all
$OpenBSD: patch-src_stored_Makefile_in,v 1.5 2015/08/15 07:50:02 ajacoutot Exp $
--- src/stored/Makefile.in.orig Thu Aug 13 15:52:24 2015
+++ src/stored/Makefile.in Fri Aug 14 10:16:42 2015
@@ -193,9 +193,6 @@ install: all
fi; \
echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_stored_bacula-sd_conf_in,v 1.8 2014/08/14 06:52:59 ajacoutot Exp $
--- src/stored/bacula-sd.conf.in.orig Tue Jul 29 18:31:22 2014
+++ src/stored/bacula-sd.conf.in Thu Jul 31 16:12:28 2014
@@ -124,15 +124,15 @@ Device {
$OpenBSD: patch-src_stored_bacula-sd_conf_in,v 1.9 2015/08/15 07:50:02 ajacoutot Exp $
--- src/stored/bacula-sd.conf.in.orig Thu Aug 13 15:52:24 2015
+++ src/stored/bacula-sd.conf.in Fri Aug 14 10:16:42 2015
@@ -130,15 +130,15 @@ Device {
# Name = Autochanger
# Device = Drive-1
# Device = Drive-2
@ -20,7 +20,7 @@ $OpenBSD: patch-src_stored_bacula-sd_conf_in,v 1.8 2014/08/14 06:52:59 ajacoutot
# AutomaticMount = yes; # when device opened, read it
# AlwaysOpen = yes;
# RemovableMedia = yes;
@@ -154,7 +154,7 @@ Device {
@@ -160,7 +160,7 @@ Device {
# Name = Drive-2 #
# Drive Index = 1
# Media Type = DLT-8000
@ -29,7 +29,7 @@ $OpenBSD: patch-src_stored_bacula-sd_conf_in,v 1.8 2014/08/14 06:52:59 ajacoutot
# AutomaticMount = yes; # when device opened, read it
# AlwaysOpen = yes;
# RemovableMedia = yes;
@@ -178,8 +178,8 @@ Device {
@@ -184,8 +184,8 @@ Device {
# RemovableMedia = yes;
# RandomAccess = no;
# Maximum File Size = 3GB
@ -40,7 +40,7 @@ $OpenBSD: patch-src_stored_bacula-sd_conf_in,v 1.8 2014/08/14 06:52:59 ajacoutot
## AutoChanger = yes
# # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
@@ -199,8 +199,8 @@ Device {
@@ -205,8 +205,8 @@ Device {
# RemovableMedia = yes;
# RandomAccess = no;
# Maximum File Size = 4GB
@ -51,7 +51,7 @@ $OpenBSD: patch-src_stored_bacula-sd_conf_in,v 1.8 2014/08/14 06:52:59 ajacoutot
## AutoChanger = yes
# # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
@@ -220,8 +220,8 @@ Device {
@@ -226,8 +226,8 @@ Device {
# RemovableMedia = yes;
# RandomAccess = no;
# Maximum File Size = 5GB
@ -62,7 +62,7 @@ $OpenBSD: patch-src_stored_bacula-sd_conf_in,v 1.8 2014/08/14 06:52:59 ajacoutot
## AutoChanger = yes
# # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
@@ -259,7 +259,7 @@ Device {
@@ -265,7 +265,7 @@ Device {
# Name = DDS-4
# Description = "DDS-4 for FreeBSD"
# Media Type = DDS-4

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.22 2014/08/14 06:52:59 ajacoutot Exp $
@comment $OpenBSD: PLIST-main,v 1.23 2015/08/15 07:50:02 ajacoutot Exp $
@conflict bacula-server-<5.2.1
@pkgpath sysutils/bacula,-client
@newgroup _bacula:591
@ -28,10 +28,11 @@ share/doc/bacula/
share/doc/bacula/ChangeLog
share/doc/bacula/INSTALL
share/doc/bacula/LICENSE
share/doc/bacula/LICENSE-FAQ
share/doc/bacula/LICENSE-FOSS
share/doc/bacula/README
share/doc/bacula/ReleaseNotes
share/doc/bacula/VERIFYING
share/doc/bacula/technotes
share/doc/pkg-readmes/${FULLPKGNAME}
share/examples/bacula/
@mode 750

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-mysql,v 1.1 2014/06/23 07:57:48 ajacoutot Exp $
@comment $OpenBSD: PLIST-mysql,v 1.2 2015/08/15 07:50:02 ajacoutot Exp $
@conflict bacula-server-<7.0.4p2
@conflict bacula-pgsql-*
@conflict bacula-sqlite3-*
@ -17,7 +17,8 @@ libexec/bacula/update_mysql_tables
libexec/bacula/updatedb/
libexec/bacula/updatedb/update_mysql_tables_10_to_11
libexec/bacula/updatedb/update_mysql_tables_11_to_12
libexec/bacula/updatedb/update_mysql_tables_12_to_14
libexec/bacula/updatedb/update_mysql_tables_12_to_13
libexec/bacula/updatedb/update_mysql_tables_13_to_14
libexec/bacula/updatedb/update_mysql_tables_4_to_5
libexec/bacula/updatedb/update_mysql_tables_5_to_6
libexec/bacula/updatedb/update_mysql_tables_6_to_7

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-pgsql,v 1.1 2014/06/23 07:57:48 ajacoutot Exp $
@comment $OpenBSD: PLIST-pgsql,v 1.2 2015/08/15 07:50:02 ajacoutot Exp $
@conflict bacula-server-<7.0.4p2
@conflict bacula-mysql-*
@conflict bacula-sqlite3-*
@ -17,7 +17,8 @@ libexec/bacula/update_postgresql_tables
libexec/bacula/updatedb/
libexec/bacula/updatedb/update_postgresql_tables_10_to_11
libexec/bacula/updatedb/update_postgresql_tables_11_to_12
libexec/bacula/updatedb/update_postgresql_tables_12_to_14
libexec/bacula/updatedb/update_postgresql_tables_12_to_13
libexec/bacula/updatedb/update_postgresql_tables_13_to_14
libexec/bacula/updatedb/update_postgresql_tables_7_to_8
libexec/bacula/updatedb/update_postgresql_tables_8_to_9
libexec/bacula/updatedb/update_postgresql_tables_9_to_10

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-server,v 1.19 2014/08/14 06:52:59 ajacoutot Exp $
@comment $OpenBSD: PLIST-server,v 1.20 2015/08/15 07:50:02 ajacoutot Exp $
@conflict bacula-<2.2.7
@conflict bacula-client-<5.2.6p2
@pkgpath sysutils/bacula,-server,mysql
@ -53,7 +53,6 @@ libexec/bacula/updatedb/README
@bin sbin/bcopy
@bin sbin/bextract
@bin sbin/bls
@bin sbin/bpluginfo
@bin sbin/bregex
@bin sbin/bscan
@bin sbin/bsmtp

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-sqlite3,v 1.1 2014/06/23 07:57:48 ajacoutot Exp $
@comment $OpenBSD: PLIST-sqlite3,v 1.2 2015/08/15 07:50:02 ajacoutot Exp $
@conflict bacula-server-<7.0.4p2
@conflict bacula-pgsql-*
@conflict bacula-mysql-*
@ -17,7 +17,6 @@ libexec/bacula/update_sqlite3_tables
libexec/bacula/updatedb/
libexec/bacula/updatedb/update_sqlite3_tables_10_to_11
libexec/bacula/updatedb/update_sqlite3_tables_11_to_12
libexec/bacula/updatedb/update_sqlite3_tables_12_to_14
libexec/bacula/updatedb/update_sqlite3_tables_8_to_9
libexec/bacula/updatedb/update_sqlite3_tables_9_to_10
@exec cp %D/lib/libbaccats-sqlite3.so.${LIBbaccats-sqlite3_VERSION} %D/lib/libbaccats.so.${LIBbaccats_VERSION}

View File

@ -1,13 +1,13 @@
$OpenBSD: README-server,v 1.17 2015/07/07 14:44:58 sthen Exp $
$OpenBSD: README-server,v 1.18 2015/08/15 07:50:02 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
Note: If upgrading from a version older than 5.2.0, a database upgrade
Note: If upgrading from a version older than 7.2.0, a database upgrade
is necessary (see the ${TRUEPREFIX}/libexec/bacula/update_* scripts).
Also, the Director and Storage Daemons must be upgraded at the same
time, but older File Daemons can be used with 5.2.x.
time, but older File Daemons can be used with 7.2.x.
The official Bacula documentation can be found at:
http://blog.bacula.org/documentation/documentation/
@ -22,8 +22,8 @@ Replace 'dbpassword' with the bacula DB user password (configured in
${SYSCONFDIR}/bacula-dir.conf).
While SQLite3 may be of interest for quickly testing a setup, it is
usually not advised to use it in production but rather go for a full
RDBMS like PostgreSQL or MariaDB.
not advised to use it in production but rather go for a full RDBMS
like PostgreSQL or MariaDB.
PostgreSQL
----------
@ -39,6 +39,10 @@ Creating the database and tables:
$ ./make_postgresql_tables postgresql -U bacula
$ ./grant_postgresql_privileges -U bacula
Upgrading the schema following a Bacula version upgrade:
$ cd ${TRUEPREFIX}/libexec/bacula
$ ./update_postgresql_tables -U bacula
MariaDB
-------
Creating the DB, table and bacula user.
@ -52,12 +56,20 @@ Setting up the bacula DB user password.
MariaDB [bacula]> SET PASSWORD FOR 'bacula'@'localhost' = PASSWORD('dbpassword');
MariaDB [bacula]> QUIT
Upgrading the schema following a Bacula version upgrade:
$ cd ${TRUEPREFIX}/libexec/bacula
$ ./update_mysql_tables -U bacula
SQLite3
-------
Creating the DB and tables (default to ${LOCALSTATEDIR}/bacula.db).
# cd ${TRUEPREFIX}/libexec/bacula
# su -m _bacula -c ./make_sqlite3_tables
Upgrading the schema following a Bacula version upgrade:
# cd ${TRUEPREFIX}/libexec/bacula
# su -m _bacula -c ./update_sqlite3_tables
Device permissions
==================