]> 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:36:31 +0000 (09:36 +0100)
tsiggss system tests crash or are unstable with the base FreeBSD
(Heimdal-based) GSS-API.

(cherry picked from commit d6df757fdc196f8cf1c6a7f1292ea4bf87440d73)

.gitlab-ci.yml

index f5bce8fb5e07f53e21d84b78dd6a49132965d87e..79a69c987b6645e1da56131f451d18c19cb7ebbc 100644 (file)
@@ -1336,7 +1336,9 @@ unit:clang:bookworm:amd64:
 clang:freebsd13:amd64:
   variables:
     CFLAGS: "${CFLAGS_COMMON}"
-    EXTRA_CONFIGURE: "${WITH_READLINE_LIBEDIT}"
+    # Use MIT Kerberos5 for BIND 9 GSS-API support because of FreeBSD Heimdal
+    # incompatibility; see https://bugs.freebsd.org/275241.
+    EXTRA_CONFIGURE: "${WITH_READLINE_LIBEDIT} --with-gssapi=/usr/local/bin/krb5-config"
     USER: gitlab-runner
   <<: *freebsd_13_amd64_image
   <<: *build_job
@@ -1362,8 +1364,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_EDITLINE} --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_READLINE_EDITLINE} --with-gssapi=/usr/local/bin/krb5-config"
     USER: gitlab-runner
   <<: *freebsd_14_amd64_image
   <<: *build_job