summaryrefslogtreecommitdiff
path: root/sysutils/bacula15-server/files/patch-autoconf_configure.in
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2025-06-12 17:38:36 +0000
committerDan Langille <dvl@FreeBSD.org>2025-06-12 19:20:23 +0000
commit51b906b083febd50a4cfbb5e4278a59d95b50216 (patch)
treec618697378a9a350e6f4e70bc85f4b6e1decae64 /sysutils/bacula15-server/files/patch-autoconf_configure.in
parentlang/python312: fix plist with DEBUG enabled (diff)
sysutils/bacula15-server: Add support for zstd compression
You'll know you have zstd enabled if you find something like this: $ ldd /usr/local/sbin/bextract | grep zstd libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0xbab736bf000) $ ldd /usr/local/sbin/bacula-fd | grep std libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0x3e701988b000) * add libzstd.so:archivers/zstd to LIB_DEPENDS * apply upstream patches to configure and autoconf/configure Those patches are: * files/patch-configure https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/358e838a bring in some unset fixes, locally adjusted back to 15.0.2 * files/patch-autoconf_configure.in https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/8d9669fb fix detection of zstd Upstream discussion: https://sourceforge.net/p/bacula/mailman/bacula-users/?viewmonth=202506 While here, comply with portlint for S3_LIB_DEPENDS PR: 287403 Sponsored by: BSDCan 2025 FreeBSD Dev Summit
Diffstat (limited to 'sysutils/bacula15-server/files/patch-autoconf_configure.in')
-rw-r--r--sysutils/bacula15-server/files/patch-autoconf_configure.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/bacula15-server/files/patch-autoconf_configure.in b/sysutils/bacula15-server/files/patch-autoconf_configure.in
new file mode 100644
index 000000000000..23cc3ecc68c5
--- /dev/null
+++ b/sysutils/bacula15-server/files/patch-autoconf_configure.in
@@ -0,0 +1,23 @@
+--- autoconf/configure.in.orig 2024-03-22 09:48:41 UTC
++++ autoconf/configure.in
+@@ -982,8 +982,10 @@ if test x"${error}" == "x"; then
+
+ if test x"${error}" == "x"; then
+ support_curl=yes
+-fi
++fi
+
++unset error
++
+ AC_MSG_RESULT([$support_curl])
+ if test "$support_curl" = "yes"; then
+ AC_DEFINE(HAVE_CURL, 1, [Define if CURL library is available])
+@@ -1042,6 +1044,8 @@ fi
+ ZSTD_LIBS=""
+ ZSTD_INC=""
+ fi
++
++unset error
+
+ AC_MSG_RESULT([$support_zstd])
+ if test "$support_zstd" = "yes"; then