public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simone Caronni <negativo17@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/bacula] rawhide: Update to 17.0.0 with backported patches
Date: Sun, 08 Nov 2026 11:31:59 GMT [thread overview]
Message-ID: <179413751904.1.7767592880993370197.rpms-bacula-1ae7f2ce10b4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bacula
Branch : rawhide
Commit : 1ae7f2ce10b49972a2b0b2166758f974d7d58038
Author : Simone Caronni <negativo17@gmail.com>
Date : 2026-11-08T11:57:57+01:00
Stats : +526/-245 in 20 file(s)
URL : https://src.fedoraproject.org/rpms/bacula/c/1ae7f2ce10b49972a2b0b2166758f974d7d58038?branch=rawhide
Log:
Update to 17.0.0 with backported patches
---
diff --git a/bacula-autoconf.patch b/bacula-autoconf.patch
index 31014fc..f83e90c 100644
--- a/bacula-autoconf.patch
+++ b/bacula-autoconf.patch
@@ -1,6 +1,6 @@
-diff -Naur bacula-15.0.2.old/autoconf/ltmain.sh bacula-15.0.2/autoconf/ltmain.sh
---- bacula-15.0.2.old/autoconf/ltmain.sh 2024-06-02 10:15:17.085968302 +0200
-+++ bacula-15.0.2/autoconf/ltmain.sh 2024-06-02 10:15:17.620968650 +0200
+diff -Naur bacula-17.0.0.old/autoconf/ltmain.sh bacula-17.0.0/autoconf/ltmain.sh
+--- bacula-17.0.0.old/autoconf/ltmain.sh 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/autoconf/ltmain.sh 2026-11-08 11:23:27.964593923 +0100
@@ -2429,6 +2429,7 @@
-R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
-shared only do dynamic linking of libtool libraries
diff --git a/bacula-cdp-client-install.patch b/bacula-cdp-client-install.patch
new file mode 100644
index 0000000..00693be
--- /dev/null
+++ b/bacula-cdp-client-install.patch
@@ -0,0 +1,12 @@
+diff -Naur bacula-17.0.0.old/src/tools/Makefile.in bacula-17.0.0/src/tools/Makefile.in
+--- bacula-17.0.0.old/src/tools/Makefile.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/tools/Makefile.in 2026-11-08 11:32:55.681263033 +0100
+@@ -45,7 +45,7 @@
+
+ INSNODIRTOOLS = bsmtp
+ INSDIRTOOLS = bsmtp dbcheck bwild bregex
+-INSTOOLS = $(INS@DIR_TOOLS@)
++INSTOOLS = $(INS@DIR_TOOLS@) @TOOLS_INSTALL@
+ INSTTESTS = breaddir_test bpipe_test tags_test xattr_append_test crypto_test select_fdset_test watchdog_test
+
+ .SUFFIXES: .c .o
diff --git a/bacula-cloud-driver-loading.patch b/bacula-cloud-driver-loading.patch
new file mode 100644
index 0000000..0f8f11b
--- /dev/null
+++ b/bacula-cloud-driver-loading.patch
@@ -0,0 +1,24 @@
+From e96a38c018e129ec212f8ef80abe84eaf2b04521 Mon Sep 17 00:00:00 2001
+From: Eric Bollengier <eric@baculasystems.com>
+Date: Tue, 6 Oct 2026 15:53:41 +0200
+Subject: [PATCH] Fix org#2786 About cloud storage driver not loading correctly
+
+---
+ src/stored/init_dev.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/stored/init_dev.c b/src/stored/init_dev.c
+index 4152efb..302d744 100644
+--- a/src/stored/init_dev.c
++++ b/src/stored/init_dev.c
+@@ -70,6 +70,7 @@ static driver_item driver_tab[] = {
+ {"tape", NULL, NULL, true, true, true},
+ {"none", NULL, NULL, true, true, true}, /* deprecated was DVD */
+ {"fifo", NULL, NULL, true, true, true},
++ {"none", NULL, NULL, true, true, true}, /* deprecated was vtape */
+ {"ftp", NULL, NULL, true, true, true},
+ {"vtl", NULL, NULL, true, true, true},
+ {"none", NULL, NULL, true, true, true}, /* B_ADATA_DEV */
+--
+2.56.0
+
diff --git a/bacula-compile-options.patch b/bacula-compile-options.patch
index 1c8b4bc..f88de5a 100644
--- a/bacula-compile-options.patch
+++ b/bacula-compile-options.patch
@@ -1,6 +1,6 @@
-diff -Naur bacula-15.0.2.old/autoconf/bacula-macros/db.m4 bacula-15.0.2/autoconf/bacula-macros/db.m4
---- bacula-15.0.2.old/autoconf/bacula-macros/db.m4 2024-06-02 10:15:17.084968302 +0200
-+++ bacula-15.0.2/autoconf/bacula-macros/db.m4 2024-06-02 10:15:17.418968518 +0200
+diff -Naur bacula-17.0.0.old/autoconf/bacula-macros/db.m4 bacula-17.0.0/autoconf/bacula-macros/db.m4
+--- bacula-17.0.0.old/autoconf/bacula-macros/db.m4 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/autoconf/bacula-macros/db.m4 2026-11-08 11:23:27.798734157 +0100
@@ -102,7 +102,7 @@
fi
DBI_INCLUDE=-I$DBI_INCDIR
@@ -55,9 +55,9 @@ diff -Naur bacula-15.0.2.old/autoconf/bacula-macros/db.m4 bacula-15.0.2/autoconf
else
POSTGRESQL_LIBS="-L$POSTGRESQL_LIBDIR -lpq"
fi
-diff -Naur bacula-15.0.2.old/autoconf/configure.in bacula-15.0.2/autoconf/configure.in
---- bacula-15.0.2.old/autoconf/configure.in 2024-06-02 10:15:17.086968303 +0200
-+++ bacula-15.0.2/autoconf/configure.in 2024-06-02 10:15:17.418968518 +0200
+diff -Naur bacula-17.0.0.old/autoconf/configure.in bacula-17.0.0/autoconf/configure.in
+--- bacula-17.0.0.old/autoconf/configure.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/autoconf/configure.in 2026-11-08 11:23:27.798792064 +0100
@@ -16,7 +16,7 @@
cd ${BUILD_DIR}
AC_SUBST(BUILD_DIR)
@@ -75,7 +75,7 @@ diff -Naur bacula-15.0.2.old/autoconf/configure.in bacula-15.0.2/autoconf/config
have_plugins=yes
else
DEFAULT_OBJECT_TYPE=".o"
-@@ -3748,11 +3747,6 @@
+@@ -3750,11 +3749,6 @@
AC_DEFINE(FDLIBS)
CFLAGS=${CFLAGS--O}
@@ -87,9 +87,9 @@ diff -Naur bacula-15.0.2.old/autoconf/configure.in bacula-15.0.2/autoconf/config
LDFLAGS=${LDFLAGS--O}
CPPFLAGS="$CPPFLAGS"
CFLAGS="$CFLAGS"
-diff -Naur bacula-15.0.2.old/autoconf/Make.common.in bacula-15.0.2/autoconf/Make.common.in
---- bacula-15.0.2.old/autoconf/Make.common.in 2024-06-02 10:15:17.084968302 +0200
-+++ bacula-15.0.2/autoconf/Make.common.in 2024-06-02 10:15:17.419968519 +0200
+diff -Naur bacula-17.0.0.old/autoconf/Make.common.in bacula-17.0.0/autoconf/Make.common.in
+--- bacula-17.0.0.old/autoconf/Make.common.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/autoconf/Make.common.in 2026-11-08 11:23:27.799133549 +0100
@@ -39,7 +39,7 @@
mandir = @mandir@
manext = 8
@@ -118,9 +118,9 @@ diff -Naur bacula-15.0.2.old/autoconf/Make.common.in bacula-15.0.2/autoconf/Make
# Flags & libs
CFLAGS = @CFLAGS@ @OPENSSL_INC@
-diff -Naur bacula-15.0.2.old/src/qt-console/bat.pro.in bacula-15.0.2/src/qt-console/bat.pro.in
---- bacula-15.0.2.old/src/qt-console/bat.pro.in 2024-06-02 10:15:16.980968234 +0200
-+++ bacula-15.0.2/src/qt-console/bat.pro.in 2024-06-02 10:15:17.419968519 +0200
+diff -Naur bacula-17.0.0.old/src/qt-console/bat.pro.in bacula-17.0.0/src/qt-console/bat.pro.in
+--- bacula-17.0.0.old/src/qt-console/bat.pro.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/qt-console/bat.pro.in 2026-11-08 11:23:27.799181520 +0100
@@ -23,8 +23,8 @@
DEPENDPATH += .
INCLUDEPATH += .. . ./console ./restore ./select
@@ -141,9 +141,9 @@ diff -Naur bacula-15.0.2.old/src/qt-console/bat.pro.in bacula-15.0.2/src/qt-cons
+QMAKE_CFLAGS += @CFLAGS@
+QMAKE_CXXFLAGS += @CXXFLAGS@
+QMAKE_LFLAGS += @LDFLAGS@
-diff -Naur bacula-15.0.2.old/src/qt-console/tray-monitor/tray-monitor.pro.in bacula-15.0.2/src/qt-console/tray-monitor/tray-monitor.pro.in
---- bacula-15.0.2.old/src/qt-console/tray-monitor/tray-monitor.pro.in 2024-06-02 10:15:16.983968236 +0200
-+++ bacula-15.0.2/src/qt-console/tray-monitor/tray-monitor.pro.in 2024-06-02 10:15:17.419968519 +0200
+diff -Naur bacula-17.0.0.old/src/qt-console/tray-monitor/tray-monitor.pro.in bacula-17.0.0/src/qt-console/tray-monitor/tray-monitor.pro.in
+--- bacula-17.0.0.old/src/qt-console/tray-monitor/tray-monitor.pro.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/qt-console/tray-monitor/tray-monitor.pro.in 2026-11-08 11:23:27.799228338 +0100
@@ -36,8 +36,8 @@
DEPENDPATH += .
INCLUDEPATH += ../.. .
diff --git a/bacula-desktop.patch b/bacula-desktop.patch
index f42bfcb..25a6b70 100644
--- a/bacula-desktop.patch
+++ b/bacula-desktop.patch
@@ -1,6 +1,6 @@
-diff -Naur bacula-15.0.2.old/scripts/bacula-tray-monitor.desktop.in bacula-15.0.2/scripts/bacula-tray-monitor.desktop.in
---- bacula-15.0.2.old/scripts/bacula-tray-monitor.desktop.in 2024-06-02 10:15:16.941968209 +0200
-+++ bacula-15.0.2/scripts/bacula-tray-monitor.desktop.in 2024-06-02 10:15:17.524968587 +0200
+diff -Naur bacula-17.0.0.old/scripts/bacula-tray-monitor.desktop.in bacula-17.0.0/scripts/bacula-tray-monitor.desktop.in
+--- bacula-17.0.0.old/scripts/bacula-tray-monitor.desktop.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/scripts/bacula-tray-monitor.desktop.in 2026-11-08 11:23:27.882996316 +0100
@@ -5,6 +5,5 @@
Exec=@sbindir@/bacula-tray-monitor -c @sysconfdir@/bacula-tray-monitor.conf
Terminal=false
@@ -9,9 +9,9 @@ diff -Naur bacula-15.0.2.old/scripts/bacula-tray-monitor.desktop.in bacula-15.0.
X-Desktop-File-Install-Version=0.3
-Categories=System;Application;Utility;X-Red-Hat-Base;
+Categories=System;Utility;
-diff -Naur bacula-15.0.2.old/scripts/bat.desktop.in bacula-15.0.2/scripts/bat.desktop.in
---- bacula-15.0.2.old/scripts/bat.desktop.in 2024-06-02 10:15:16.944968211 +0200
-+++ bacula-15.0.2/scripts/bat.desktop.in 2024-06-02 10:15:17.524968587 +0200
+diff -Naur bacula-17.0.0.old/scripts/bat.desktop.in bacula-17.0.0/scripts/bat.desktop.in
+--- bacula-17.0.0.old/scripts/bat.desktop.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/scripts/bat.desktop.in 2026-11-08 11:23:27.883059224 +0100
@@ -5,7 +5,6 @@
Exec=@sbindir@/bat -c @sysconfdir@/bat.conf
Terminal=false
diff --git a/bacula-docker-cli-29.patch b/bacula-docker-cli-29.patch
new file mode 100644
index 0000000..69cd4a0
--- /dev/null
+++ b/bacula-docker-cli-29.patch
@@ -0,0 +1,230 @@
+From 3f114ff206358ce52a784890e83b1756413e2ea7 Mon Sep 17 00:00:00 2001
+From: Francisco Manuel Garcia Botella <francisco.garcia@baculasystems.com>
+Date: Fri, 9 Jan 2026 22:36:22 +0100
+Subject: [PATCH] docker: Fix 11890: Added compatibility with Docker CLI >
+ v29.0.0. The pause flag was deprecated
+
+---
+ src/plugins/fd/docker/dkcommctx.c | 95 +++++++++++++++++++++++++++++--
+ src/plugins/fd/docker/dkcommctx.h | 22 ++++++-
+ src/plugins/fd/docker/docker-fd.h | 2 +-
+ 3 files changed, 113 insertions(+), 6 deletions(-)
+
+diff --git a/src/plugins/fd/docker/dkcommctx.c b/src/plugins/fd/docker/dkcommctx.c
+index 8760c0e..efeadc3 100644
+--- a/src/plugins/fd/docker/dkcommctx.c
++++ b/src/plugins/fd/docker/dkcommctx.c
+@@ -30,6 +30,28 @@
+
+ #define PLUGINPREFIX "dkcommctx:"
+
++/**
++ * Compares `v1` and `v2` lexicographically by `(major, minor, patch)`:
++ * - First compares `major`
++ * - If equal, compares `minor`
++ * - If equal, compares `patch`
++ *
++ * in:
++ * v1: Pointer to the first version to compare (must not be NULL).
++ * v2: Pointer to the second version to compare (must not be NULL).
++ *
++ * out: An integer indicating the relative order of the versions:
++ * - < 0 if `v1` is less than `v2`
++ * - 0 if `v1` is equal to `v2`
++ * - > 0 if `v1` is greater than `v2`
++ */
++int docker_cli_version_compare(const DockerVersion *v1, const DockerVersion *v2) {
++ if (v1->major != v2->major) return v1->major - v2->major;
++ if (v1->minor != v2->minor) return v1->minor - v2->minor;
++ return v1->patch - v2->patch;
++}
++
++
+ /*
+ * Constructor, does simple initialization.
+ */
+@@ -62,7 +84,8 @@ DKCOMMCTX::DKCOMMCTX(const char *cmd) :
+ f_fatal(false),
+ ini(NULL),
+ workingvolume(PM_FNAME),
+- workingdir(PM_FNAME)
++ workingdir(PM_FNAME),
++ docker_cli(NULL)
+ {
+ /* setup initial plugin command here */
+ command = bstrdup(cmd);
+@@ -96,6 +119,9 @@ DKCOMMCTX::~DKCOMMCTX()
+ release_all_pm_list(¶m_container);
+ release_all_pm_list(¶m_image);
+ release_all_pm_list(¶m_volume);
++ if (docker_cli) {
++ delete docker_cli;
++ }
+ };
+
+ /*
+@@ -1417,6 +1443,53 @@ void DKCOMMCTX::filter_incex_to_backup(bpContext* ctx, alist* params_include, al
+ }
+ };
+
++/*
++ * Sets docker_cli to know the docker cli version
++ *
++ * in:
++ * bpContext - for Bacula debug and jobinfo messages
++ * version_command_output - a command output with format XX.XX.XX
++ */
++void DKCOMMCTX::docker_cli_init(bpContext *ctx, const char* version_command_output) {
++ DockerVersion docker_version;
++ docker_cli = new DockerCli();
++ DMSG1(ctx, DVDEBUG, "docker_cli_init called: %s\n", version_command_output);
++
++ sscanf(version_command_output, "%d.%d.%d", &docker_version.major, &docker_version.minor, &docker_version.patch);
++ docker_cli->version = docker_version;
++}
++
++/**
++ * Sets docker_cli.
++ * It uses the command: `docker version --format '{{.Client.Version}}'
++ * to get docker cli version directly.
++ *
++ * in:
++ * bpContext - for Bacula debug and jobinfo messages
++ */
++void DKCOMMCTX::docker_cli_setup(bpContext *ctx)
++{
++ POOL_MEM out(PM_MESSAGE);
++ int status;
++
++ DMSG0(ctx, DINFO, "docker_cli_setup called\n");
++ docker_cli = NULL;
++ // Output format XX.XX.XX
++ if (!execute_command(ctx, "version --format '{{.Client.Version}}'")){
++ /* some error executing command */
++ DMSG0(ctx, DERROR, "docker_cli_setup execution error\n");
++ }
++
++ memset(out.c_str(), 0, out.size());
++ if ((status = read_output(ctx, out)) <= 0){
++ DMSG1(ctx, DINFO, "docker_cli_setup no version found. Apply default version:%s\n", DEFAULT_DOCKER_CLI_VERSION);
++ docker_cli_init(ctx, DEFAULT_DOCKER_CLI_VERSION);
++ return;
++ }
++ /* we read a string, so terminate it with nul char */
++ docker_cli_init(ctx, out.c_str());
++}
++
+ /*
+ * Prepares a DKCOMMCTX class for a single Plugin parameters for backup and estimate jobs.
+ * The main purpose is to set a objs_to_backup list for a list of vms to backup.
+@@ -1430,6 +1503,8 @@ void DKCOMMCTX::filter_incex_to_backup(bpContext* ctx, alist* params_include, al
+ */
+ bRC DKCOMMCTX::prepare_bejob(bpContext *ctx, bool estimate)
+ {
++ /* Get docker CLI attributes */
++ docker_cli_setup(ctx);
+ /* get list of all objects */
+ if (!get_all_containers(ctx) || !get_all_images(ctx)){
+ return bRC_Error;
+@@ -1945,7 +2020,14 @@ bRC DKCOMMCTX::container_commit(bpContext* ctx, DKINFO *dkinfo, int jobid)
+ POOL_MEM imagename(PM_FNAME);
+ POOL_MEM out(PM_MESSAGE);
+ const char *mode = "";
+- const char *PAUSE = "-p";
++ /*
++ * From Docker v1.1.0 (2014), the pause option is enabled by default.
++ * From Docker CLI v29.0, the --pause=false flag is replaced by a --no-pause flag instead.
++ * Source: https://docs.docker.com/engine/deprecated/#--pause-option-on-docker-commit
++ */
++ DockerVersion v29 = {29, 0, 0};
++ const char *DEPRECATED_NO_PAUSE = "--pause=false";
++ const char *NOPAUSE = "--no-pause";
+ DKID imagesave;
+ bRC rc = bRC_OK;
+ int status;
+@@ -1956,8 +2038,13 @@ bRC DKCOMMCTX::container_commit(bpContext* ctx, DKINFO *dkinfo, int jobid)
+ /* commit works on containers only */
+ return bRC_Error;
+ }
+- if (param_mode == DKPAUSE){
+- mode = PAUSE;
++ if (param_mode == DKNOPAUSE){
++ // Depends on Docker CLI version use one flag or other
++ if(docker_cli_version_compare(&docker_cli->version, &v29) >= 0) {
++ mode = NOPAUSE;
++ } else {
++ mode = DEPRECATED_NO_PAUSE;
++ }
+ }
+ // commit -p 66f45d8601bae26a6b2ffeb46922318534d3b3905377b3a224693bd78601cb3b mcache1/66f45d8601ba:backup
+ render_imagesave_name(imagename, dkinfo, jobid);
+diff --git a/src/plugins/fd/docker/dkcommctx.h b/src/plugins/fd/docker/dkcommctx.h
+index 2a4a5b0..d9959c0 100644
+--- a/src/plugins/fd/docker/dkcommctx.h
++++ b/src/plugins/fd/docker/dkcommctx.h
+@@ -51,7 +51,7 @@
+ #endif
+
+ #define BACULATARIMAGE "baculatar:" DOCKER_TAR_IMAGE
+-
++#define DEFAULT_DOCKER_CLI_VERSION "1.1.1"
+ #define BACULACONTAINERFOUT "fout"
+ #define BACULACONTAINERFIN "fin"
+ #define BACULACONTAINERERRLOG "docker.err"
+@@ -65,6 +65,23 @@ typedef enum {
+ DKNOPAUSE,
+ } DOCKER_BACKUP_MODE_T;
+
++/**
++ * To manage the Docker Version on the host (or remote host).
++ */
++typedef struct {
++ int major;
++ int minor;
++ int patch;
++} DockerVersion;
++
++/**
++ * Manage the docker CLI
++ */
++typedef struct {
++ DockerVersion version;
++} DockerCli;
++
++
+ /*
+ * The list of restore options saved to the RestoreObject.
+ */
+@@ -180,6 +197,7 @@ class DKCOMMCTX: public SMARTALLOC
+ ConfigFile *ini; /* restore object config parser */
+ POOL_MEM workingvolume; /* */
+ POOL_MEM workingdir; /* runtime working directory from file daemon */
++ DockerCli *docker_cli; /* the docker CLI attributes */
+
+ bool execute_command(bpContext *ctx, POOLMEM *args);
+ bool execute_command(bpContext *ctx, const char *args);
+@@ -214,6 +232,8 @@ class DKCOMMCTX: public SMARTALLOC
+ Mmsg(out, "%s/%s/%d:backup", dkinfo->get_container_names(), dkinfo->get_container_id()->digest_short(), jobid);
+ }
+ void dump_robjdebug(bpContext *ctx, restore_object_pkt *rop);
++ void docker_cli_init(bpContext *ctx, const char* version_command_output);
++ void docker_cli_setup(bpContext *ctx);
+ };
+
+ #endif /* _DKCOMMCTX_H_ */
+diff --git a/src/plugins/fd/docker/docker-fd.h b/src/plugins/fd/docker/docker-fd.h
+index ca084a6..2914583 100644
+--- a/src/plugins/fd/docker/docker-fd.h
++++ b/src/plugins/fd/docker/docker-fd.h
+@@ -34,7 +34,7 @@
+ #define DOCKER_LICENSE "Bacula AGPLv3"
+ #define DOCKER_AUTHOR "Radoslaw Korzeniewski"
+ #define DOCKER_DATE "Jan 2020"
+-#define DOCKER_VERSION "1.2.1"
++#define DOCKER_VERSION "1.2.2"
+ #define DOCKER_DESCRIPTION "Bacula Docker Plugin"
+
+ /* Plugin compile time variables */
+--
+2.56.0
+
diff --git a/bacula-docker-plugin.patch b/bacula-docker-plugin.patch
index 155c14c..75eb5cd 100644
--- a/bacula-docker-plugin.patch
+++ b/bacula-docker-plugin.patch
@@ -1,7 +1,7 @@
-diff -Naur bacula-15.0.2.old/autoconf/configure.in bacula-15.0.2/autoconf/configure.in
---- bacula-15.0.2.old/autoconf/configure.in 2024-06-02 10:15:17.471968553 +0200
-+++ bacula-15.0.2/autoconf/configure.in 2024-06-02 10:15:17.572968619 +0200
-@@ -3623,20 +3623,9 @@
+diff -Naur bacula-17.0.0.old/autoconf/configure.in bacula-17.0.0/autoconf/configure.in
+--- bacula-17.0.0.old/autoconf/configure.in 2026-11-08 11:23:27.835803521 +0100
++++ bacula-17.0.0/autoconf/configure.in 2026-11-08 11:23:27.924530906 +0100
+@@ -3625,20 +3625,9 @@
]
)
if test x$support_docker = xyes -o x$support_docker = xauto; then
diff --git a/bacula-install.patch b/bacula-install.patch
index 6a646c6..b26f54d 100644
--- a/bacula-install.patch
+++ b/bacula-install.patch
@@ -1,6 +1,6 @@
-diff -Naur bacula-15.0.2.old/autoconf/config.rpath bacula-15.0.2/autoconf/config.rpath
---- bacula-15.0.2.old/autoconf/config.rpath 2024-06-02 10:15:17.084968302 +0200
-+++ bacula-15.0.2/autoconf/config.rpath 2024-06-02 10:15:17.472968553 +0200
+diff -Naur bacula-17.0.0.old/autoconf/config.rpath bacula-17.0.0/autoconf/config.rpath
+--- bacula-17.0.0.old/autoconf/config.rpath 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/autoconf/config.rpath 2026-11-08 11:23:27.841396222 +0100
@@ -555,7 +555,7 @@
# Flag to hardcode \$libdir into a binary during linking.
@@ -10,9 +10,9 @@ diff -Naur bacula-15.0.2.old/autoconf/config.rpath bacula-15.0.2/autoconf/config
# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator="$hardcode_libdir_separator"
-diff -Naur bacula-15.0.2.old/examples/nagios/check_bacula/Makefile.in bacula-15.0.2/examples/nagios/check_bacula/Makefile.in
---- bacula-15.0.2.old/examples/nagios/check_bacula/Makefile.in 2024-06-02 10:15:17.112968320 +0200
-+++ bacula-15.0.2/examples/nagios/check_bacula/Makefile.in 2024-06-02 10:15:17.473968554 +0200
+diff -Naur bacula-17.0.0.old/examples/nagios/check_bacula/Makefile.in bacula-17.0.0/examples/nagios/check_bacula/Makefile.in
+--- bacula-17.0.0.old/examples/nagios/check_bacula/Makefile.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/examples/nagios/check_bacula/Makefile.in 2026-11-08 11:23:27.841479198 +0100
@@ -72,7 +72,8 @@
(cd $(srcdir); $(RMF) Makefile)
@@ -23,18 +23,18 @@ diff -Naur bacula-15.0.2.old/examples/nagios/check_bacula/Makefile.in bacula-15.
uninstall:
(cd $(DESTDIR)$(sbindir); $(RMF) check_bacula)
-diff -Naur bacula-15.0.2.old/scripts/logwatch/logfile.bacula.conf.in bacula-15.0.2/scripts/logwatch/logfile.bacula.conf.in
---- bacula-15.0.2.old/scripts/logwatch/logfile.bacula.conf.in 2024-06-02 10:15:16.943968210 +0200
-+++ bacula-15.0.2/scripts/logwatch/logfile.bacula.conf.in 2024-06-02 10:15:17.473968554 +0200
+diff -Naur bacula-17.0.0.old/scripts/logwatch/logfile.bacula.conf.in bacula-17.0.0/scripts/logwatch/logfile.bacula.conf.in
+--- bacula-17.0.0.old/scripts/logwatch/logfile.bacula.conf.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/scripts/logwatch/logfile.bacula.conf.in 2026-11-08 11:23:27.841518893 +0100
@@ -1,3 +1,3 @@
# What actual file? Defaults to LogPath if not absolute path....
-LogFile = @logdir@/bacula.log
+LogFile = @logdir@/*.log
-diff -Naur bacula-15.0.2.old/scripts/Makefile.in bacula-15.0.2/scripts/Makefile.in
---- bacula-15.0.2.old/scripts/Makefile.in 2024-06-02 10:15:16.944968211 +0200
-+++ bacula-15.0.2/scripts/Makefile.in 2024-06-02 10:15:17.473968554 +0200
-@@ -74,7 +74,6 @@
+diff -Naur bacula-17.0.0.old/scripts/Makefile.in bacula-17.0.0/scripts/Makefile.in
+--- bacula-17.0.0.old/scripts/Makefile.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/scripts/Makefile.in 2026-11-08 11:23:27.841559309 +0100
+@@ -84,7 +84,6 @@
$(MV) -f ${DESTDIR}${scriptdir}/baculabackupreport ${DESTDIR}${scriptdir}/baculabackupreport.old; \
fi
$(INSTALL_SCRIPT) baculabackupreport $(DESTDIR)$(scriptdir)/baculabackupreport
@@ -42,18 +42,18 @@ diff -Naur bacula-15.0.2.old/scripts/Makefile.in bacula-15.0.2/scripts/Makefile.
chmod 0644 $(DESTDIR)$(scriptdir)/btraceback.gdb \
$(DESTDIR)$(scriptdir)/btraceback.dbx \
$(DESTDIR)$(scriptdir)/btraceback.mdb
-diff -Naur bacula-15.0.2.old/src/cats/make_sqlite3_tables.in bacula-15.0.2/src/cats/make_sqlite3_tables.in
---- bacula-15.0.2.old/src/cats/make_sqlite3_tables.in 2024-06-02 10:15:16.949968214 +0200
-+++ bacula-15.0.2/src/cats/make_sqlite3_tables.in 2024-06-02 10:15:17.473968554 +0200
-@@ -684,4 +684,5 @@
+diff -Naur bacula-17.0.0.old/src/cats/make_sqlite3_tables.in bacula-17.0.0/src/cats/make_sqlite3_tables.in
+--- bacula-17.0.0.old/src/cats/make_sqlite3_tables.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/cats/make_sqlite3_tables.in 2026-11-08 11:23:27.841619342 +0100
+@@ -688,4 +688,5 @@
echo ""
chmod 640 ${db_name}.db
+chown bacula:bacula ${db_name}.db
exit 0
-diff -Naur bacula-15.0.2.old/src/dird/bacula-dir.conf.in bacula-15.0.2/src/dird/bacula-dir.conf.in
---- bacula-15.0.2.old/src/dird/bacula-dir.conf.in 2024-06-02 10:15:17.034968269 +0200
-+++ bacula-15.0.2/src/dird/bacula-dir.conf.in 2024-06-02 10:15:17.473968554 +0200
+diff -Naur bacula-17.0.0.old/src/dird/bacula-dir.conf.in bacula-17.0.0/src/dird/bacula-dir.conf.in
+--- bacula-17.0.0.old/src/dird/bacula-dir.conf.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/dird/bacula-dir.conf.in 2026-11-08 11:23:27.841679356 +0100
@@ -18,7 +18,7 @@
Director { # define myself
Name = @basename@-dir
@@ -63,9 +63,9 @@ diff -Naur bacula-15.0.2.old/src/dird/bacula-dir.conf.in bacula-15.0.2/src/dird/
WorkingDirectory = "@working_dir@"
PidDirectory = "@piddir@"
Maximum Concurrent Jobs = 20
-diff -Naur bacula-15.0.2.old/src/dird/Makefile.in bacula-15.0.2/src/dird/Makefile.in
---- bacula-15.0.2.old/src/dird/Makefile.in 2024-06-02 10:15:17.033968268 +0200
-+++ bacula-15.0.2/src/dird/Makefile.in 2024-06-02 10:15:17.473968554 +0200
+diff -Naur bacula-17.0.0.old/src/dird/Makefile.in bacula-17.0.0/src/dird/Makefile.in
+--- bacula-17.0.0.old/src/dird/Makefile.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/dird/Makefile.in 2026-11-08 11:23:27.841726124 +0100
@@ -134,11 +134,11 @@
@if test "x${dir_group}" != "x"; then \
chgrp -f ${dir_group} ${DESTDIR}${sysconfdir}/$$destconf ; \
@@ -90,9 +90,9 @@ diff -Naur bacula-15.0.2.old/src/dird/Makefile.in bacula-15.0.2/src/dird/Makefil
-diff -Naur bacula-15.0.2.old/src/plugins/fd/docker/Makefile bacula-15.0.2/src/plugins/fd/docker/Makefile
---- bacula-15.0.2.old/src/plugins/fd/docker/Makefile 2024-06-02 10:15:17.022968261 +0200
-+++ bacula-15.0.2/src/plugins/fd/docker/Makefile 2024-06-02 10:15:17.474968555 +0200
+diff -Naur bacula-17.0.0.old/src/plugins/fd/docker/Makefile bacula-17.0.0/src/plugins/fd/docker/Makefile
+--- bacula-17.0.0.old/src/plugins/fd/docker/Makefile 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/plugins/fd/docker/Makefile 2026-11-08 11:23:27.841772902 +0100
@@ -25,11 +25,11 @@
.c.lo:
@@ -107,9 +107,9 @@ diff -Naur bacula-15.0.2.old/src/plugins/fd/docker/Makefile bacula-15.0.2/src/pl
docker-fd.la: Makefile $(DOCKEROBJ) $(PLUGINLIBDIR)/pluginlib.lo $(DOCKERSRCH)
@echo "Linking $(@:.la=.so) ..."
-diff -Naur bacula-15.0.2.old/src/qt-console/bat.pro.in bacula-15.0.2/src/qt-console/bat.pro.in
---- bacula-15.0.2.old/src/qt-console/bat.pro.in 2024-06-02 10:15:17.471968553 +0200
-+++ bacula-15.0.2/src/qt-console/bat.pro.in 2024-06-02 10:15:17.474968555 +0200
+diff -Naur bacula-17.0.0.old/src/qt-console/bat.pro.in bacula-17.0.0/src/qt-console/bat.pro.in
+--- bacula-17.0.0.old/src/qt-console/bat.pro.in 2026-11-08 11:23:27.836039797 +0100
++++ bacula-17.0.0/src/qt-console/bat.pro.in 2026-11-08 11:23:27.841815642 +0100
@@ -12,10 +12,10 @@
datarootdir = @datarootdir@
@@ -123,9 +123,9 @@ diff -Naur bacula-15.0.2.old/src/qt-console/bat.pro.in bacula-15.0.2/src/qt-cons
help.files = help/*.html images/status.png images/mail-message-new.png
TEMPLATE = app
-diff -Naur bacula-15.0.2.old/src/qt-console/tray-monitor/tray-monitor.pro.in bacula-15.0.2/src/qt-console/tray-monitor/tray-monitor.pro.in
---- bacula-15.0.2.old/src/qt-console/tray-monitor/tray-monitor.pro.in 2024-06-02 10:15:17.471968553 +0200
-+++ bacula-15.0.2/src/qt-console/tray-monitor/tray-monitor.pro.in 2024-06-02 10:15:17.474968555 +0200
+diff -Naur bacula-17.0.0.old/src/qt-console/tray-monitor/tray-monitor.pro.in bacula-17.0.0/src/qt-console/tray-monitor/tray-monitor.pro.in
+--- bacula-17.0.0.old/src/qt-console/tray-monitor/tray-monitor.pro.in 2026-11-08 11:23:27.836124867 +0100
++++ bacula-17.0.0/src/qt-console/tray-monitor/tray-monitor.pro.in 2026-11-08 11:23:27.841864254 +0100
@@ -26,7 +26,7 @@
@@ -135,10 +135,10 @@ diff -Naur bacula-15.0.2.old/src/qt-console/tray-monitor/tray-monitor.pro.in bac
confs.path = /$(DESTDIR)@sysconfdir@
confs.commands = ./install_conf_file
-diff -Naur bacula-15.0.2.old/src/stored/Makefile.in bacula-15.0.2/src/stored/Makefile.in
---- bacula-15.0.2.old/src/stored/Makefile.in 2024-06-02 12:42:09.932685743 +0200
-+++ bacula-15.0.2/src/stored/Makefile.in 2024-06-02 15:15:18.389591566 +0200
-@@ -380,7 +380,7 @@
+diff -Naur bacula-17.0.0.old/src/stored/Makefile.in bacula-17.0.0/src/stored/Makefile.in
+--- bacula-17.0.0.old/src/stored/Makefile.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/stored/Makefile.in 2026-11-08 11:23:27.841925018 +0100
+@@ -382,7 +382,7 @@
install-tune-dde: tune-dde
$(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) tune-dde $(DESTDIR)$(sbindir)/tune-dde
diff --git a/bacula-nagios-compilation.patch b/bacula-nagios-compilation.patch
new file mode 100644
index 0000000..73d20e1
--- /dev/null
+++ b/bacula-nagios-compilation.patch
@@ -0,0 +1,43 @@
+From dc229047c6462016454c0837318747b240b38fa5 Mon Sep 17 00:00:00 2001
+From: Eric Bollengier <eric@baculasystems.com>
+Date: Fri, 16 Oct 2026 10:35:02 +0200
+Subject: [PATCH] Fix check_nagios compilation
+
+---
+ examples/nagios/check_bacula/authenticate.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/examples/nagios/check_bacula/authenticate.c b/examples/nagios/check_bacula/authenticate.c
+index 691b5cf..4ce5d57 100644
+--- a/examples/nagios/check_bacula/authenticate.c
++++ b/examples/nagios/check_bacula/authenticate.c
+@@ -80,7 +80,7 @@ int authenticate_director(BSOCK *dir, char *dirname, char *password)
+ btimer_t *tid = start_bsock_timer(dir, 60 * 5);
+ dir->fsend(DIRhello, bashed_name);
+
+- if (!cram_md5_respond(dir, password, &tls_remote_need, &compatible) ||
++ if (!cram_md5_respond(dir, password, &tls_remote_need, &compatible, false) ||
+ !cram_md5_challenge(dir, password, tls_local_need, compatible)) {
+ stop_bsock_timer(tid);
+ return 0;
+@@ -120,7 +120,7 @@ int authenticate_storage_daemon(BSOCK *sd, char *sdname, char* password)
+ stop_bsock_timer(tid);
+ return 0;
+ }
+- if (!cram_md5_respond(sd, password, &tls_remote_need, &compatible) ||
++ if (!cram_md5_respond(sd, password, &tls_remote_need, &compatible, false) ||
+ !cram_md5_challenge(sd, password, tls_local_need, compatible)) {
+ stop_bsock_timer(tid);
+ return 0;
+@@ -159,7 +159,7 @@ int authenticate_file_daemon(BSOCK *fd, char *fdname, char *password)
+ stop_bsock_timer(tid);
+ return 0;
+ }
+- if (!cram_md5_respond(fd, password, &tls_remote_need, &compatible) ||
++ if (!cram_md5_respond(fd, password, &tls_remote_need, &compatible, false) ||
+ !cram_md5_challenge(fd, password, tls_local_need, compatible)) {
+ stop_bsock_timer(tid);
+ return 0;
+--
+2.56.0
+
diff --git a/bacula-non-free-code.patch b/bacula-non-free-code.patch
index 6f7824e..b8e0e0a 100644
--- a/bacula-non-free-code.patch
+++ b/bacula-non-free-code.patch
@@ -1,6 +1,6 @@
-diff -Naur bacula-15.0.2.old/src/lib/lib.h bacula-15.0.2/src/lib/lib.h
---- bacula-15.0.2.old/src/lib/lib.h 2024-06-02 10:15:17.077968297 +0200
-+++ bacula-15.0.2/src/lib/lib.h 2024-06-02 10:15:17.318968453 +0200
+diff -Naur bacula-17.0.0.old/src/lib/lib.h bacula-17.0.0/src/lib/lib.h
+--- bacula-17.0.0.old/src/lib/lib.h 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/lib/lib.h 2026-11-08 11:23:27.715437477 +0100
@@ -57,7 +57,6 @@
#include "fnmatch.h"
#endif
@@ -9,10 +9,10 @@ diff -Naur bacula-15.0.2.old/src/lib/lib.h bacula-15.0.2/src/lib/lib.h
#include "tree.h"
#include "watchdog.h"
#include "btimers.h"
-diff -Naur bacula-15.0.2.old/src/lib/Makefile.in bacula-15.0.2/src/lib/Makefile.in
---- bacula-15.0.2.old/src/lib/Makefile.in 2024-06-02 10:15:17.081968300 +0200
-+++ bacula-15.0.2/src/lib/Makefile.in 2024-06-02 10:15:17.318968453 +0200
-@@ -40,7 +40,7 @@
+diff -Naur bacula-17.0.0.old/src/lib/Makefile.in bacula-17.0.0/src/lib/Makefile.in
+--- bacula-17.0.0.old/src/lib/Makefile.in 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/lib/Makefile.in 2026-11-08 11:23:27.715521115 +0100
+@@ -43,7 +43,7 @@
flist.h fnmatch.h guid_to_name.h htable.h lex.h \
lib.h lz4.h md5.h mem_pool.h message.h \
openssl.h plugins.h protos.h queue.h rblist.h \
@@ -21,7 +21,7 @@ diff -Naur bacula-15.0.2.old/src/lib/Makefile.in bacula-15.0.2/src/lib/Makefile.
smartall.h status.h tls.h tree.h var.h \
waitq.h watchdog.h workq.h \
parse_conf.h ini.h \
-@@ -57,7 +57,7 @@
+@@ -60,7 +60,7 @@
guid_to_name.c hmac.c jcr.c lex.c lz4.c alist.c dlist.c \
md5.c message.c mem_pool.c openssl.c \
plugins.c priv.c queue.c bregex.c bsockcore.c \
@@ -30,7 +30,7 @@ diff -Naur bacula-15.0.2.old/src/lib/Makefile.in bacula-15.0.2/src/lib/Makefile.
signal.c smartall.c rblist.c tls.c tree.c \
util.c var.c watchdog.c workq.c btimers.c \
worker.c flist.c bcollector.c collect.c \
-@@ -312,22 +312,6 @@
+@@ -315,22 +315,6 @@
$(RMF) md5.o
$(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) md5.c
@@ -53,7 +53,7 @@ diff -Naur bacula-15.0.2.old/src/lib/Makefile.in bacula-15.0.2/src/lib/Makefile.
bsnprintf_test: Makefile libbac.la bsnprintf.c unittests.o
$(RMF) bsnprintf.o
$(CXX) -DTEST_PROGRAM $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) -Wno-format-truncation bsnprintf.c
-@@ -424,7 +408,7 @@
+@@ -427,7 +411,7 @@
clean: libtool-clean
@$(RMF) core a.out *.o *.bak *.tex *.pdf *~ *.intpro *.extpro 1 2 3
@@ -62,9 +62,9 @@ diff -Naur bacula-15.0.2.old/src/lib/Makefile.in bacula-15.0.2/src/lib/Makefile.
realclean: clean
@$(RMF) tags
-diff -Naur bacula-15.0.2.old/src/lib/sha1.c bacula-15.0.2/src/lib/sha1.c
---- bacula-15.0.2.old/src/lib/sha1.c 2024-06-02 10:15:17.082968300 +0200
-+++ bacula-15.0.2/src/lib/sha1.c 1970-01-01 01:00:00.000000000 +0100
+diff -Naur bacula-17.0.0.old/src/lib/sha1.c bacula-17.0.0/src/lib/sha1.c
+--- bacula-17.0.0.old/src/lib/sha1.c 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/lib/sha1.c 1970-01-01 01:00:00.000000000 +0100
@@ -1,517 +0,0 @@
-/*
- * sha1.c
@@ -583,9 +583,9 @@ diff -Naur bacula-15.0.2.old/src/lib/sha1.c bacula-15.0.2/src/lib/sha1.c
- fclose(fd);
-}
-#endif /* SHA1_SUM */
-diff -Naur bacula-15.0.2.old/src/lib/sha1.h bacula-15.0.2/src/lib/sha1.h
---- bacula-15.0.2.old/src/lib/sha1.h 2024-06-02 10:15:17.072968294 +0200
-+++ bacula-15.0.2/src/lib/sha1.h 1970-01-01 01:00:00.000000000 +0100
+diff -Naur bacula-17.0.0.old/src/lib/sha1.h bacula-17.0.0/src/lib/sha1.h
+--- bacula-17.0.0.old/src/lib/sha1.h 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/lib/sha1.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,107 +0,0 @@
-/*
- * sha1.h
@@ -674,7 +674,7 @@ diff -Naur bacula-15.0.2.old/src/lib/sha1.h bacula-15.0.2/src/lib/sha1.h
- uint32_t Length_Low; /* Message length in bits */
- uint32_t Length_High; /* Message length in bits */
-
-- /* Index into message block array */
+- /* Index into message block array */
- int32_t Message_Block_Index;
- uint8_t Message_Block[64]; /* 512-bit message blocks */
-
@@ -688,9 +688,9 @@ diff -Naur bacula-15.0.2.old/src/lib/sha1.h bacula-15.0.2/src/lib/sha1.h
-
-int SHA1Init(SHA1Context *);
-int SHA1Update(SHA1Context *,
-- const uint8_t *,
-- unsigned int);
+- const uint8_t *,
+- unsigned int);
-int SHA1Final(SHA1Context *,
-- uint8_t Message_Digest[SHA1HashSize]);
+- uint8_t Message_Digest[SHA1HashSize]);
-
-#endif
diff --git a/bacula-openssl.patch b/bacula-openssl.patch
index 9801de2..8ea71a0 100644
--- a/bacula-openssl.patch
+++ b/bacula-openssl.patch
@@ -1,6 +1,6 @@
-diff -Naur bacula-15.0.2.old/src/lib/crypto.c bacula-15.0.2/src/lib/crypto.c
---- bacula-15.0.2.old/src/lib/crypto.c 2024-06-02 10:15:17.080968299 +0200
-+++ bacula-15.0.2/src/lib/crypto.c 2024-06-02 10:15:17.120968325 +0200
+diff -Naur bacula-17.0.0.old/src/lib/crypto.c bacula-17.0.0/src/lib/crypto.c
+--- bacula-17.0.0.old/src/lib/crypto.c 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/lib/crypto.c 2026-11-08 11:23:27.625083316 +0100
@@ -43,7 +43,7 @@
* For OpenSSL version 1.x, EVP_PKEY_encrypt no longer
* exists. It was not an official API.
@@ -10,9 +10,9 @@ diff -Naur bacula-15.0.2.old/src/lib/crypto.c bacula-15.0.2/src/lib/crypto.c
#define EVP_PKEY_encrypt EVP_PKEY_encrypt_old
#define EVP_PKEY_decrypt EVP_PKEY_decrypt_old
#endif
-diff -Naur bacula-15.0.2.old/src/lib/tls.c bacula-15.0.2/src/lib/tls.c
---- bacula-15.0.2.old/src/lib/tls.c 2024-06-02 10:15:17.079968298 +0200
-+++ bacula-15.0.2/src/lib/tls.c 2024-06-02 10:15:17.120968325 +0200
+diff -Naur bacula-17.0.0.old/src/lib/tls.c bacula-17.0.0/src/lib/tls.c
+--- bacula-17.0.0.old/src/lib/tls.c 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/lib/tls.c 2026-11-08 11:23:27.625232087 +0100
@@ -47,9 +47,6 @@
#include "openssl-compat.h"
diff --git a/bacula-scripts.patch b/bacula-scripts.patch
index 39ffb77..3eda177 100644
--- a/bacula-scripts.patch
+++ b/bacula-scripts.patch
@@ -1,6 +1,6 @@
-diff -Naur bacula-15.0.2.old/scripts/isworm bacula-15.0.2/scripts/isworm
---- bacula-15.0.2.old/scripts/isworm 2024-06-02 10:15:16.943968210 +0200
-+++ bacula-15.0.2/scripts/isworm 2024-06-02 10:15:17.672968683 +0200
+diff -Naur bacula-17.0.0.old/scripts/isworm bacula-17.0.0/scripts/isworm
+--- bacula-17.0.0.old/scripts/isworm 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/scripts/isworm 2026-11-08 11:23:28.004804237 +0100
@@ -46,7 +46,7 @@
# but it does not work for mhvtl. Comment out the next 5 lines
# and the code that follows will detect correctly on mhtvl.
diff --git a/bacula-seg-fault.patch b/bacula-seg-fault.patch
index a5c29a0..95827eb 100644
--- a/bacula-seg-fault.patch
+++ b/bacula-seg-fault.patch
@@ -1,6 +1,6 @@
-diff -Naur bacula-15.0.2.old/src/lib/message.c bacula-15.0.2/src/lib/message.c
---- bacula-15.0.2.old/src/lib/message.c 2024-06-02 10:15:17.069968292 +0200
-+++ bacula-15.0.2/src/lib/message.c 2024-06-02 10:15:17.267968420 +0200
+diff -Naur bacula-17.0.0.old/src/lib/message.c bacula-17.0.0/src/lib/message.c
+--- bacula-17.0.0.old/src/lib/message.c 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/src/lib/message.c 2026-11-08 11:23:27.671391423 +0100
@@ -28,6 +28,7 @@
*
*/
@@ -9,7 +9,7 @@ diff -Naur bacula-15.0.2.old/src/lib/message.c bacula-15.0.2/src/lib/message.c
#include "bacula.h"
#include "jcr.h"
-@@ -1476,7 +1477,8 @@
+@@ -1507,7 +1508,8 @@
if (type == M_ABORT) {
char *p = 0;
diff --git a/bacula-sqlite3-update-1027.patch b/bacula-sqlite3-update-1027.patch
new file mode 100644
index 0000000..a22e16e
--- /dev/null
+++ b/bacula-sqlite3-update-1027.patch
@@ -0,0 +1,26 @@
+From 3b9b67d1289a67db7b8a53e266850575a9004ba7 Mon Sep 17 00:00:00 2001
+From: Eric Bollengier <eric@baculasystems.com>
+Date: Tue, 22 Sep 2026 11:35:31 +0200
+Subject: [PATCH] Fix org#2785 SQLite3 catalog failing to update tables from
+ 1026 to 1027
+
+---
+ src/cats/update_sqlite3_tables.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/cats/update_sqlite3_tables.in b/src/cats/update_sqlite3_tables.in
+index 9737f8e..b8c5831 100644
+--- a/src/cats/update_sqlite3_tables.in
++++ b/src/cats/update_sqlite3_tables.in
+@@ -689,7 +689,7 @@ ALTER TABLE Job ADD COLUMN Prune integer default 0;
+ ALTER TABLE JobHisto ADD COLUMN Prune integer default 0;
+
+ INSERT INTO Events (EventsCode, EventsType, EventsTime, EventsDaemon, EventsSource, EventsRef, EventsText) VALUES
+- ('DU0001', 'catalog_update', NOW(), '*SHELL*', 'update_bacula_tables', 'pid$$', 'Catalog schema was updated to 1027');
++ ('DU0001', 'catalog_update', datetime('now'), '*SHELL*', 'update_bacula_tables', 'pid$$', 'Catalog schema was updated to 1027');
+ UPDATE Version SET VersionId=1027;
+ commit;
+ END-OF-DATA
+--
+2.56.0
+
diff --git a/bacula-sqlite3-update-typo.patch b/bacula-sqlite3-update-typo.patch
new file mode 100644
index 0000000..9549bc6
--- /dev/null
+++ b/bacula-sqlite3-update-typo.patch
@@ -0,0 +1,25 @@
+From dc1c47f26661f680368fc558ef942ea4af170e0c Mon Sep 17 00:00:00 2001
+From: Eric Bollengier <eric@baculasystems.com>
+Date: Wed, 26 Aug 2026 14:52:56 +0200
+Subject: [PATCH] Fix typo on update_sqlite3_tables.in org#2782
+
+---
+ src/cats/update_sqlite3_tables.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/cats/update_sqlite3_tables.in b/src/cats/update_sqlite3_tables.in
+index a463076..9737f8e 100644
+--- a/src/cats/update_sqlite3_tables.in
++++ b/src/cats/update_sqlite3_tables.in
+@@ -10,7 +10,7 @@ NEWVERSION=1026
+
+ echo " "
+ echo "This script will update a Bacula SQLite3 database from version 12-14,$OLDVERSION to $NEWVERSION"
+-echo " which is needed to convert from
++echo " which is needed to convert from"
+ echo " Bacula Community version 5.0.x, 5.2.x, 6.0.x to 17.0.x"
+ echo " "
+
+--
+2.56.0
+
diff --git a/bacula-traceback-man.patch b/bacula-traceback-man.patch
index a28ced3..1b5ce54 100644
--- a/bacula-traceback-man.patch
+++ b/bacula-traceback-man.patch
@@ -1,6 +1,6 @@
-diff -Naur bacula-15.0.2.old/manpages/btraceback.8 bacula-15.0.2/manpages/btraceback.8
---- bacula-15.0.2.old/manpages/btraceback.8 2024-06-02 10:15:16.947968212 +0200
-+++ bacula-15.0.2/manpages/btraceback.8 2024-06-02 10:15:17.368968486 +0200
+diff -Naur bacula-17.0.0.old/manpages/btraceback.8 bacula-17.0.0/manpages/btraceback.8
+--- bacula-17.0.0.old/manpages/btraceback.8 2026-08-06 15:41:06.000000000 +0200
++++ bacula-17.0.0/manpages/btraceback.8 2026-11-08 11:23:27.758431288 +0100
@@ -45,14 +45,14 @@
.SH FILES
diff --git a/bacula-update-tables-1027.patch b/bacula-update-tables-1027.patch
new file mode 100644
index 0000000..6a2304f
--- /dev/null
+++ b/bacula-update-tables-1027.patch
@@ -0,0 +1,33 @@
+From 006758c341592099d21626f6e412e44ce090870f Mon Sep 17 00:00:00 2001
+From: Eric Bollengier <eric@baculasystems.com>
+Date: Fri, 14 Aug 2026 08:34:15 +0200
+Subject: [PATCH] Add update_postgresql_tables and update_mysql_tables 1027 to
+ configure.in
+
+Thanks to Robert Nagy
+---
+ autoconf/configure.in | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/autoconf/configure.in b/autoconf/configure.in
+index 9986a9a..a7d8c09 100644
+--- a/autoconf/configure.in
++++ b/autoconf/configure.in
+@@ -4313,12 +4313,14 @@ AC_CONFIG_FILES([
+ updatedb/update_postgresql_tables_1023_to_1024 \
+ updatedb/update_postgresql_tables_1024_to_1025 \
+ updatedb/update_postgresql_tables_1025_to_1026 \
++ updatedb/update_postgresql_tables_1026_to_1027 \
+ updatedb/update_mysql_tables_1020_to_1021 \
+ updatedb/update_mysql_tables_1021_to_1022 \
+ updatedb/update_mysql_tables_1022_to_1023 \
+ updatedb/update_mysql_tables_1023_to_1024 \
+ updatedb/update_mysql_tables_1024_to_1025 \
+ updatedb/update_mysql_tables_1025_to_1026 \
++ updatedb/update_mysql_tables_1026_to_1027 \
+ examples/nagios/check_bacula/Makefile \
+ platforms/rpms/redhat/bacula.spec \
+ platforms/rpms/redhat/bacula-bat.spec \
+--
+2.56.0
+
diff --git a/bacula.spec b/bacula.spec
index 72f4ef3..7b0f95d 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -6,7 +6,7 @@
%global username bacula
Name: bacula
-Version: 15.0.3
+Version: 17.0.0
Release: %autorelease
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
# See LICENSE for details
@@ -58,6 +58,30 @@ Patch10: %{name}-scripts.patch
# https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2771
Patch11: %{name}-openssl4.patch
+# Fixes from Branch-17.0 after the 17.0.0 release:
+# Generate the 1026 to 1027 PostgreSQL and MySQL catalog update scripts
+# https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/006758c341592099d21626f6e412e44ce090870f
+Patch12: %{name}-update-tables-1027.patch
+# https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/dc1c47f26661f680368fc558ef942ea4af170e0c
+Patch13: %{name}-sqlite3-update-typo.patch
+# Fix SQLite3 catalog update from 1026 to 1027
+# https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/3b9b67d1289a67db7b8a53e266850575a9004ba7
+Patch14: %{name}-sqlite3-update-1027.patch
+# Fix cloud storage drivers not loading
+# https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/e96a38c018e129ec212f8ef80abe84eaf2b04521
+Patch15: %{name}-cloud-driver-loading.patch
+# Fix Nagios plugin build
+# https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/dc229047c6462016454c0837318747b240b38fa5
+Patch16: %{name}-nagios-compilation.patch
+# Compatibility with Docker CLI 29+
+# https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/3f114ff206358ce52a784890e83b1756413e2ea7
+Patch17: %{name}-docker-cli-29.patch
+
+# The cdp-client install target was accidentally dropped from INSTOOLS in
+# "regress: Add watchdog_test" (b961e1d81), so --enable-cdp-plugin no longer
+# installs cdp-client
+Patch18: %{name}-cdp-client-install.patch
+
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: desktop-file-utils
@@ -301,7 +325,6 @@ popd
--docdir=%{_datadir}/bacula \
--enable-antivirus-plugin \
--enable-bat \
- --enable-antivirus-plugin \
--enable-batch-insert \
--enable-build-dird \
--enable-build-stored \
@@ -314,7 +337,6 @@ popd
--enable-readline \
--enable-smartalloc \
--enable-totp-bpam \
- --enable-ldap-bpam \
--sysconfdir=%{_sysconfdir}/bacula \
--with-aws \
--with-basename=bacula \
@@ -338,8 +360,7 @@ popd
--with-s3=`pwd`/libs3-%{commit}/build \
--with-sqlite3 \
--with-subsys-dir=%{_localstatedir}/lock/subsys \
- --with-working-dir=%{_localstatedir}/spool/bacula \
- --with-x
+ --with-working-dir=%{_localstatedir}/spool/bacula
# Remove RPATH
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -503,11 +524,13 @@ fi
%{_libexecdir}/%{name}/btraceback.dbx
%{_libexecdir}/%{name}/btraceback.gdb
%{_libexecdir}/%{name}/bacula_config
+%{_libexecdir}/%{name}/create_config
%{_libexecdir}/%{name}/btraceback.mdb
%{_mandir}/man8/btraceback.8*
%{_prefix}/lib/firewalld/services/bacula-director.xml
%{_prefix}/lib/firewalld/services/bacula-storage.xml
%{_sbindir}/btraceback
+%{_sbindir}/get-os
%{_sysusersdir}/bacula.conf
%files director
@@ -579,10 +602,13 @@ fi
%{_libdir}/%{name}/bacula-sd-cloud-driver-%{version}.so
%{_libdir}/%{name}/bacula-sd-cloud-s3-driver-%{version}.so
%{_libdir}/%{name}/totp-dir.so
+%{_libexecdir}/%{name}/bacula-resource-auto-creator.py
%{_libexecdir}/%{name}/disk-changer
%{_libexecdir}/%{name}/isworm
%{_libexecdir}/%{name}/mtx-changer
%{_libexecdir}/%{name}/mtx-changer.conf
+%{_libexecdir}/%{name}/mtx-changer-python.conf
+%{_libexecdir}/%{name}/mtx-changer-python.py
%{_libexecdir}/%{name}/tapealert
%{_mandir}/man8/bacula-sd.8*
%{_mandir}/man8/bcopy.8*
diff --git a/changelog b/changelog
deleted file mode 100644
index b07cea0..0000000
--- a/changelog
+++ /dev/null
@@ -1,138 +0,0 @@
-* Wed Jun 25 2025 Simone Caronni <negativo17@gmail.com> - 15.0.2-6
-- Bacula is no longer in EL and no longer has an ELN branch, re-enable QT
- support unconditionally.
-
-* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 15.0.2-5
-- Add sysusers.d config file to allow rpm to create users/groups automatically
-
-* Sat Feb 01 2025 Björn Esser <besser82@fedoraproject.org> - 15.0.2-4
-- Add explicit BR: libxcrypt-devel
-
-* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.2-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
-
-* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
-
-* Sun Jun 02 2024 Simone Caronni <negativo17@gmail.com> - 15.0.2-1
-- Update to 15.0.2.
-- Drop EL7 support.
-- Enable antivirus plugin for File Daemon.
-- Enable AWS and aligned driver for Storage Daemon
-- Enable TOTP support for Director.
-- Add ZSTD support.
-
-* Thu Feb 15 2024 Simone Caronni <negativo17@gmail.com> - 13.0.4-4
-- Adjust QT conditional.
-
-* Wed Feb 14 2024 Simone Caronni <negativo17@gmail.com> - 13.0.4-3
-- Adjust build requirements and conditions to build on all supported EL/Fedora
- releases.
-
-* Wed Feb 14 2024 Simone Caronni <negativo17@gmail.com> - 13.0.4-2
-- Enable S3 support.
-
-* Wed Feb 14 2024 Simone Caronni <negativo17@gmail.com> - 13.0.4-1
-- Update to 13.0.4.
-
-* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.3-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.3-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Wed Aug 16 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 13.0.3-3
-- Disable Qt components in RHEL builds
-
-* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Thu May 04 2023 Simone Caronni <negativo17@gmail.com> - 13.0.3-1
-- Update to 13.0.3.
-- Trim changelog.
-
-* Wed Mar 29 2023 Simone Caronni <negativo17@gmail.com> - 13.0.2-1
-- Update to 13.0.2.
-
-* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.1-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Mon Dec 19 2022 Florian Weimer <fweimer@redhat.com> - 13.0.1-5
-- Port configure script to C99
-
-* Tue Nov 29 2022 Simone Caronni <negativo17@gmail.com> - 13.0.1-4
-- Fix isworm script.
-
-* Tue Nov 29 2022 Simone Caronni <negativo17@gmail.com> - 13.0.1-3
-- Require sdparm in storage subpackage. It's required for WORM tapes.
-
-* Mon Nov 21 2022 Simone Caronni <negativo17@gmail.com> - 13.0.1-2
-- Add separate firewall rules for storage/director only.
-
-* Fri Aug 19 2022 Simone Caronni <negativo17@gmail.com> - 13.0.1-1
-- Update to 13.0.1.
-
-* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jul 08 2022 Simone Caronni <negativo17@gmail.com> - 13.0.0-1
-- Update to version 13.0.0.
-- Enable LDAP integration.
-
-* Sat Mar 26 2022 Simone Caronni <negativo17@gmail.com> - 11.0.6-2
-- Update/reorganize patches.
-
-* Fri Mar 25 2022 Simone Caronni <negativo17@gmail.com> - 11.0.6-1
-- Update to 11.0.6.
-
-* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.5-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 11.0.5-3
-- Rebuilt with OpenSSL 3.0.0
-
-* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.5-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Thu Jun 03 2021 Simone Caronni <negativo17@gmail.com> - 11.0.5-1
-- Update to 11.0.5.
-
-* Mon May 31 2021 Simone Caronni <negativo17@gmail.com> - 11.0.3-1
-- Update to 11.0.3.
-
-* Fri Apr 16 2021 Simone Caronni <negativo17@gmail.com> - 11.0.2-3
-- All scripts require sh, so use that also for the backup report.
-
-* Fri Apr 16 2021 Simone Caronni <negativo17@gmail.com> - 11.0.2-2
-- Remove dash build requirement.
-
-* Fri Apr 16 2021 Simone Caronni <negativo17@gmail.com> - 11.0.2-1
-- Update to 11.0.2.
-
-* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 11.0.1-2
-- Rebuilt for updated systemd-rpm-macros
- See https://pagure.io/fesco/issue/2583.
-
-* Thu Feb 11 2021 Simone Caronni <negativo17@gmail.com> - 11.0.1-1
-- Update to 11.0.1.
-
-* Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> - 11.0.0-5
-- rebuild for libpq ABI fix rhbz#1908268
-
-* Thu Jan 28 2021 Simone Caronni <negativo17@gmail.com> - 11.0.0-4
-- Remove leftover ImageMagick build requirement.
-
-* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Fri Jan 15 2021 Simone Caronni <negativo17@gmail.com> - 11.0.0-2
-- Build CDP plugin components.
-
-* Tue Jan 12 2021 Simone Caronni <negativo17@gmail.com> - 11.0.0-1
-- Update to 11.0.0.
-- Enable Docker plugin.
-
-* Tue Jan 12 2021 Simone Caronni <negativo17@gmail.com> - 9.6.7-1
-- Update to 9.6.7.
-- Drop support for building on CentOS/RHEL 6 and upgrades from version 2.4.
-- Trim changelog.
diff --git a/sources b/sources
index 641c2c3..a819ec5 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (libs3-6688538.tar.bz2) = 987219bafe5ebfa7ad56b1306b9181017c5adab415f62df16ca3a31273dea5d9541eaf4e04abdd6eeefd351210bfde4c8cb5819630c24474965a8e73525376b1
-SHA512 (bacula-15.0.3.tar.gz) = 1700ac00b41d9e3426f6b7ead5bf44722e2f36e54ddb26a9ea169f6fbf4a61a7863e2e7b81890911d567d653468675d53eb7fc74e77c93358d6f9a52a73c0af8
+SHA512 (bacula-17.0.0.tar.gz) = 48428f4da287704813eaa0bc8abc5f8fea80238489316e3c489dffc19bd64f3c679e54eb5b60e06b0febae58a16e1c9926fbbae914802969b08d31ad79c2c02d
reply other threads:[~2026-11-08 11:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179413751904.1.7767592880993370197.rpms-bacula-1ae7f2ce10b4@fedoraproject.org \
--to=negativo17@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox