]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Build FreeBSD with MIT Kerberos5 instead of Heimdal
authorMichal Nowak <mnowak@isc.org>
Fri, 22 Mar 2024 10:31:23 +0000 (11:31 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 27 Mar 2024 08:54:57 +0000 (09:54 +0100)
tsiggss system tests crash or are unstable with the base FreeBSD
(Heimdal-based) GSS-API.

Move the --without-gssapi ./configure option to Alpine Linux, so the
option is tested somewhere.

(cherry picked from commit d6df757fdc196f8cf1c6a7f1292ea4bf87440d73)

.gitlab-ci.yml

index 0f95809249e167a77c3ff50e187a538be3902153..41958e433e3c5f89d7efeb811d1e2cc251df585c 100644 (file)
@@ -657,6 +657,7 @@ gcc:alpine3.19:amd64:
   variables:
     CC: gcc
     CFLAGS: "${CFLAGS_COMMON}"
+    EXTRA_CONFIGURE: "--without-gssapi"
   <<: *alpine_3_19_amd64_image
   <<: *build_job
 
@@ -1243,7 +1244,9 @@ unit:gcc:softhsm2.6:
 clang:freebsd13:amd64:
   variables:
     CFLAGS: "${CFLAGS_COMMON}"
-    EXTRA_CONFIGURE: "--with-gssapi=/usr/bin/krb5-config"
+    # Use MIT Kerberos5 for BIND 9 GSS-API support because of FreeBSD Heimdal
+    # incompatibility; see https://bugs.freebsd.org/275241.
+    EXTRA_CONFIGURE: "--with-gssapi=/usr/local/bin/krb5-config"
     USER: gitlab-runner
   <<: *freebsd_13_amd64_image
   <<: *build_job
@@ -1269,8 +1272,9 @@ unit:clang:freebsd13:amd64:
 clang:freebsd14:amd64:
   variables:
     CFLAGS: "${CFLAGS_COMMON}"
-    # Disable BIND 9 GSS-API support because of Heimdal incompatibility; see FreeBSD bug #275241.
-    EXTRA_CONFIGURE: "${WITH_READLINE_LIBEDIT} --without-gssapi"
+    # Use MIT Kerberos5 for BIND 9 GSS-API support because of FreeBSD Heimdal
+    # incompatibility; see https://bugs.freebsd.org/275241.
+    EXTRA_CONFIGURE: "--with-gssapi=/usr/local/bin/krb5-config"
     USER: gitlab-runner
   <<: *freebsd_14_amd64_image
   <<: *build_job