Page MenuHomeFreeBSD

Add MIT KRB5 build knob
ClosedPublic

Authored by cy on Jun 4 2025, 3:28 PM.
Tags
None
Referenced Files
F122388086: D50684.id156535.diff
Fri, Jul 4, 9:59 PM
Unknown Object (File)
Thu, Jul 3, 8:07 PM
Unknown Object (File)
Wed, Jul 2, 1:19 AM
Unknown Object (File)
Tue, Jul 1, 5:39 PM
Unknown Object (File)
Mon, Jun 30, 3:48 PM
Unknown Object (File)
Mon, Jun 30, 4:56 AM
Unknown Object (File)
Sun, Jun 29, 8:26 PM
Unknown Object (File)
Sat, Jun 28, 5:40 PM
Subscribers

Details

Summary

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.

The reason for adding this first is it permits me the luxury of adding support for MIT KRB5 using smaller commits. This allows for less daunting reviews. The intent is to add the contrib and crypto software to the tree without review while each individual change is small enough to be easily reviewed.

This change of and by itself will have no consequence to the existing tree or FreeBSD buildworld until the remaining commits are added.

The reason for this approach is I'd prefer getting this right the first time rather than having to go back and change things after people have left comments about any of the commits.

This is the first of many.

Test Plan

Currently running here.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cy requested review of this revision.Jun 4 2025, 3:28 PM

Please upload with context (e.g. git show -U999999 or git diff -U999999) so that the lines in between the diff blocks can be expanded

git diff -U99999 output.

Please upload with context (e.g. git show -U999999 or git diff -U999999) so that the lines in between the diff blocks can be expanded

Done. Thanks.

This revision is now accepted and ready to land.Jun 4 2025, 6:29 PM
This revision was automatically updated to reflect the committed changes.