[packages/bacula] Up to 15.0.3
arekm
arekm at pld-linux.org
Thu Oct 29 08:25:45 CET 2026
commit 25628bbb35e6a0c4a54bfcbc16fa5ce38cc4f5c0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 29 03:05:45 2026 +0100
Up to 15.0.3
bacula.spec | 11 ++++++++---
zstd-detection.patch | 29 +++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 3 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index 4711c86..0c9f6a4 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -22,12 +22,12 @@
Summary: Bacula - The Network Backup Solution
Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
Name: bacula
-Version: 15.0.2
-Release: 3
+Version: 15.0.3
+Release: 1
License: AGPL v3
Group: Networking/Utilities
Source0: https://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
-# Source0-md5: 258c6fec54b1b559b9b249e55808acb7
+# Source0-md5: ee0697ea8fc6ed667dceb2468e59868a
Source1: https://www.bacula.org/downloads/libs3-%{libs3_version}.tar.gz
# Source1-md5: ca97bc4133a21981139181ec8571f202
Source10: %{name}-dir.init
@@ -49,6 +49,7 @@ Patch5: x32.patch
Patch6: libs3-curl.patch
Patch7: cdp-build.patch
Patch8: prefer-qt5.patch
+Patch9: zstd-detection.patch
URL: http://www.bacula.org/
BuildRequires: acl-devel
BuildRequires: autoconf >= 2.61
@@ -59,6 +60,7 @@ BuildRequires: libcap-devel
BuildRequires: libtool >= 2:2.2
BuildRequires: libwrap-devel
%{?with_s3:BuildRequires: libxml2-devel}
+BuildRequires: lzo-devel
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig
@@ -460,6 +462,7 @@ cd ..
%endif
%patch -P 7 -p1
%patch -P 8 -p1
+%patch -P 9 -p1
sed -i -e 's#bindir=.*#bindir=%{_bindir}#g' \
src/cats/create_* src/cats/delete_* src/cats/drop_* \
@@ -927,7 +930,9 @@ ln -sf libbaccats-%{1}-%{version}.so %{_libdir}/libbaccats-%{version}.so || : \
%attr(755,root,root) %{_libexecdir}/%{name}/baculabackupreport
%attr(755,root,root) %{_libexecdir}/%{name}/bacula-tray-monitor.desktop
%attr(755,root,root) %{_libexecdir}/%{name}/disk-changer
+%attr(755,root,root) %{_libexecdir}/%{name}/install-key-manager.sh
%attr(755,root,root) %{_libexecdir}/%{name}/isworm
+%attr(755,root,root) %{_libexecdir}/%{name}/key-manager.py
%attr(755,root,root) %{_libexecdir}/%{name}/mtx-changer
%attr(755,root,root) %{_libexecdir}/%{name}/tapealert
%attr(755,root,root) %{_libdir}/%{name}/plugins/bacula-sd-aligned-driver-15.*.so
diff --git a/zstd-detection.patch b/zstd-detection.patch
new file mode 100644
index 0000000..9a1a9b1
--- /dev/null
+++ b/zstd-detection.patch
@@ -0,0 +1,29 @@
+configure reuses $error from the curl check, so zstd support is silently
+dropped when libcurl is not found.
+https://sources.debian.org/src/bacula/15.0.3-5/debian/patches/upstream/fix-libzstd-detection/
+Author: Corey Hickey <bugfood-c at fatooh.org>
+
+diff --git a/autoconf/configure.in b/autoconf/configure.in
+index 5660f69b1c..24ec76a295 100644
+--- a/autoconf/configure.in
++++ b/autoconf/configure.in
+@@ -982,7 +982,9 @@ AC_CHECK_LIB(curl,curl_version_info,,[error="Can't find CURL library."])
+
+ if test x"${error}" == "x"; then
+ support_curl=yes
+-fi
++fi
++
++unset error
+
+ AC_MSG_RESULT([$support_curl])
+ if test "$support_curl" = "yes"; then
+@@ -1043,6 +1045,8 @@ else
+ ZSTD_INC=""
+ fi
+
++unset error
++
+ AC_MSG_RESULT([$support_zstd])
+ if test "$support_zstd" = "yes"; then
+ AC_DEFINE(HAVE_ZSTD, 1, [Define if ZSTD library is available])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bacula.git/commitdiff/25628bbb35e6a0c4a54bfcbc16fa5ce38cc4f5c0
More information about the pld-cvs-commit
mailing list