Page MenuHomeFreeBSD

kerberos5: Fix the Heimdal pkgbase build
ClosedPublic

Authored by ivy on Sep 3 2025, 10:43 PM.
Tags
None
Referenced Files
F151302232: D52371.id.diff
Tue, Apr 7, 10:48 AM
F151295524: D52371.id161513.diff
Tue, Apr 7, 9:46 AM
Unknown Object (File)
Sat, Apr 4, 12:50 PM
Unknown Object (File)
Sat, Apr 4, 9:21 AM
Unknown Object (File)
Tue, Mar 31, 1:21 PM
Unknown Object (File)
Mon, Mar 30, 4:16 AM
Unknown Object (File)
Tue, Mar 17, 12:19 AM
Unknown Object (File)
Mar 6 2026, 10:13 AM
Subscribers

Details

Summary

When LIB_PACKAGE was added, MIT Kerberos was updated to use it but
Heimdal was not, so it still used PACKAGE=kerberos-lib. Since we
deleted kerberos-lib-all.ucl, this caused update-packages to fail
when WITHOUT_MITKRB5 is set.

Change the Heimdal libraries to use LIB_PACKAGE by setting this in
kerberos5/lib/Makefile.inc, and remove PACKAGE=kerberos-lib from the
individual Makefiles for each library. This means Heimdal gets the
same set of packages as MIT Kerberos, except for kerberos-kdc which
we don't create for Heimdal.

Reported by: jlduran
Fixes: 929f5966a9fd ("packages: Improve handling of -lib packages")

Diff Detail

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

Event Timeline

ivy requested review of this revision.Sep 3 2025, 10:43 PM

@jlduran this should fix the issue you reported in D52361. i've tested that the result looks basically reasonable, but i don't use Heimdal, so i'd appreciate it if you could test this on your system.

In D52371#1195797, @ivy wrote:

@jlduran this should fix the issue you reported in D52361. i've tested that the result looks basically reasonable, but i don't use Heimdal, so i'd appreciate it if you could test this on your system.

Thank you!

This revision is now accepted and ready to land.Sep 4 2025, 12:50 AM
This revision was automatically updated to reflect the committed changes.