share/mk: Add MIT KRB5 build knob

This is the first in a series of commits to replace Heimdal with
MIT KRB5. This first commit adds the WITH_MITKRB5/MK_MITKRB5 knob
to src.opts.mk and its corresponding documentation in
tools/build/options. The default is off.

This change of and by itself is of no consequence as MIT KRB5 has
yet to be imported in to HEAD. But it does insulate the build from
inremental change until the last patch is committed when WITH_MITKRB5
will build MIT KRB5 1.21.3 instead of Heimdal.

The affords us the opportunity to review smaller commits.

This is the first of many commits.

Reviewed by:	imp, jhb, brooks, markj
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D50684
This commit is contained in:
Cy Schubert
2025-06-04 16:39:08 -07:00
parent 4be12de1d6
commit 290e8aaa38
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -211,6 +211,7 @@ __DEFAULT_NO_OPTIONS = \
LOADER_VERIEXEC_PASS_MANIFEST \
LLVM_FULL_DEBUGINFO \
MALLOC_PRODUCTION \
MITKRB5 \
OFED_EXTRA \
OPENLDAP \
REPRODUCIBLE_BUILD \
@@ -403,6 +404,7 @@ MK_OPENSSL:= no
MK_OPENSSH:= no
MK_KERBEROS:= no
MK_KERBEROS_SUPPORT:= no
MK_MITKRB5:= no
.endif
.if ${MK_DTRACE} == "no"
@@ -429,6 +431,7 @@ MK_OPENSSH:= no
MK_OPENSSL_KTLS:= no
MK_KERBEROS:= no
MK_KERBEROS_SUPPORT:= no
MK_MITKRB5:= no
MK_LDNS:= no
MK_PKGBOOTSTRAP:= no
MK_LOADER_ZFS:= no
+1
View File
@@ -0,0 +1 @@
Set this to build MIT Kerberos 5 instead of KTH Heimdal.