Page MenuHomeFreeBSD

openssh: Support building with MIT KRB5
ClosedPublic

Authored by cy on Jun 10 2025, 7:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 4, 7:35 PM
Unknown Object (File)
Wed, Jul 1, 12:48 AM
Unknown Object (File)
Tue, Jun 30, 12:56 AM
Unknown Object (File)
Mon, Jun 29, 6:48 AM
Unknown Object (File)
Thu, Jun 25, 7:43 PM
Unknown Object (File)
Thu, Jun 25, 4:41 PM
Unknown Object (File)
Wed, Jun 24, 11:19 PM
Unknown Object (File)
Mon, Jun 22, 2:14 PM
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.