Build FreeBSD with MIT Kerberos5 instead of Heimdal

tsiggss system tests crash or are unstable with the base FreeBSD
(Heimdal-based) GSS-API.

(cherry picked from commit d6df757fdc)
This commit is contained in:
Michal Nowak 2024-03-22 11:31:23 +01:00
parent 27ec21b161
commit c683e01ff8
No known key found for this signature in database

View 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