Page MenuHomeFreeBSD

openssh: Support building with MIT KRB5
ClosedPublic

Authored by cy on Jun 10 2025, 7:54 PM.
Tags
None
Referenced Files
F132438147: D50782.id157078.diff
Thu, Oct 16, 11:00 PM
Unknown Object (File)
Mon, Oct 13, 8:15 AM
Unknown Object (File)
Mon, Oct 13, 8:15 AM
Unknown Object (File)
Sun, Oct 12, 7:59 PM
Unknown Object (File)
Sun, Oct 12, 7:59 PM
Unknown Object (File)
Sun, Oct 12, 7:59 PM
Unknown Object (File)
Sun, Oct 12, 8:23 AM
Unknown Object (File)
Tue, Oct 7, 1:30 AM
Subscribers
None

Details

Summary

Remove HEIMDAL=1 from openssh/krb5_config.h and move the definition
to the Makefile in order to control whether we're building under
Heimdal or MIT.

Add MIT KRB5 LIBS and INCLUDES to the openssh build.

Sponsored by: The FreeBSD Foundation

Test Plan

Running here for about a month now.

Diff Detail

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

Event Timeline

cy requested review of this revision.Jun 10 2025, 7:54 PM
cy created this revision.
secure/ssh.mk
14

I believe we want to always compare with "no", so this should be ${MK_MITKRB5} == "no".

Applied markj@'s comment to compare MK_MITKRB5 against "no".

This revision is now accepted and ready to land.Jun 12 2025, 5:37 PM
This revision was automatically updated to reflect the committed changes.