| #
929f5966 |
| 23-Aug-2025 |
Lexi Winter <ivy@FreeBSD.org> |
packages: Improve handling of -lib packages
For some packages (OpenSSL, Kerberos) we want to ship runtime libraries in a separate package, e.g. openssl and openssl-lib. Currently this is done using
packages: Improve handling of -lib packages
For some packages (OpenSSL, Kerberos) we want to ship runtime libraries in a separate package, e.g. openssl and openssl-lib. Currently this is done using PACKAGE=openssl-lib, but that creates packages with strange names like openssl-lib-lib32.
Instead, add a new LIB_PACKAGE option to bsd.lib.mk that causes runtime libraries to be placed in a new -lib subpackage. This significantly improves the set of packages we create; for example, OpenSSL goes from:
FreeBSD-openssl FreeBSD-openssl-dbg FreeBSD-openssl-lib FreeBSD-openssl-lib-dbg FreeBSD-openssl-lib-dbg-lib32 FreeBSD-openssl-lib-dev FreeBSD-openssl-lib-dev-lib32 FreeBSD-openssl-lib-lib32 FreeBSD-openssl-lib-man FreeBSD-openssl-man
to:
FreeBSD-openssl FreeBSD-openssl-dbg FreeBSD-openssl-dbg-lib32 FreeBSD-openssl-dev FreeBSD-openssl-dev-lib32 FreeBSD-openssl-lib FreeBSD-openssl-lib32 FreeBSD-openssl-man
While here, move /usr/bin/krb5-config and /usr/bin/compile_et into the kerberos-dev package.
Reviewed by: des Differential Revision: https://reviews.freebsd.org/D51925
show more ...
|
| #
18a87075 |
| 17-Aug-2025 |
Lexi Winter <ivy@FreeBSD.org> |
krb5: Fix typo "SPDX-License-Idendifier"
sed -e s/SPDX-License-Idendifier/SPDX-License-Identifier/
|
|
Revision tags: release/13.5.0-p3, release/14.2.0-p5, release/14.3.0-p2 |
|
| #
e26259f4 |
| 31-Jul-2025 |
Cy Schubert <cy@FreeBSD.org> |
gssapi,krb5: Replace libgssapi with the MIT version
lib/libgssapi is based on Heimdal. As on Linux systems, the MIT libgssapi_krb5 replaces it. With both gssapi libraries and header files installed
gssapi,krb5: Replace libgssapi with the MIT version
lib/libgssapi is based on Heimdal. As on Linux systems, the MIT libgssapi_krb5 replaces it. With both gssapi libraries and header files installed results in broken buildworld (gssd) and ports that will not build without modifications to support the MIT gssapi in an alternate location.
73ed0c7992fd removed the MIT GSSAPI headers from /usr/include. Apps using MIT KRB5 gssapi functions and structures will fail to build without this patch.
This patch includes a temporary patch to usr.sbin/gssd to allow it to build with this patch. rmacklem@ has a patch for this and for kgssapi that uses this patch to resolve kgssapi issues for NFS with Kerberos.
This patch is an updated version of D51661 to allow it to build following additional patchs to the tree.
This should have been implmented with 7e35117eb07f.
Fixes: 7e35117eb07f, 73ed0c7992fd Differential Revision: https://reviews.freebsd.org/D51661
show more ...
|
| #
a245dc5d |
| 07-Aug-2025 |
Cy Schubert <cy@FreeBSD.org> |
krb5: Move include/krb5_private to include/krb5
This maintains the krb5.h to krb5/krb5.h relationship during build while still maintaining no interference from the other Makefile's variables.
|
| #
40a5abfc |
| 04-Aug-2025 |
Brooks Davis <brooks@FreeBSD.org> |
krb5/include/Makefile: don't override *include targets
This was causing kdb.h, krad.h, and krb5.h to be installed twice.
PR: 288594 Pull Request: https://github.com/freebsd/freebsd-src/pull/1801
|
| #
73ed0c79 |
| 04-Aug-2025 |
Brooks Davis <brooks@FreeBSD.org> |
krb5: install gssapi_krb5/gssapi/gssapi.h once
Somewhat arbitrarily chose krb5/lib/gssapi/Makefile to install it.
PR: 288594 Pull Request: https://github.com/freebsd/freebsd-src/pull/1801
|
| #
4cb1baa7 |
| 24-Jul-2025 |
Lexi Winter <ivy@FreeBSD.org> |
krb5: use 'kerberos' as package name
Rename krb5 and krb5-lib to kerberos and kerberos-lib to match the existing Heimdal package names. Since it's not possible to build or install both at the same
krb5: use 'kerberos' as package name
Rename krb5 and krb5-lib to kerberos and kerberos-lib to match the existing Heimdal package names. Since it's not possible to build or install both at the same time, and Heimdal will be removed anyway, there's no benefit to using a different package name for MIT Kerberos and doing so will create friction for pkgbase users.
Move a few things (e.g., headers) from kerberos to kerberos-lib.
Move the KDC to a new package, kerberos-kdc, so the client utilities can be installed without the KDC. As most systems won't have the KDC running, this saves a bit of disk space for jails/containers.
Remove a few instances of 'PACKAGE=' in target-specific Makefiles where we can set that in the parent's Makefile.inc instead.
Revert 01c587521dd8 ("OCI: Attempt to fix "runtime" container") which is no longer required.
The KDC init script is still installed in the 'rc' package for compatibility with the security/krb5 port; we should fix this at some point, possibly after Heimdal is removed.
Reviewed by: manu, kevans, des Approved by: des (mentor), kevans (mentor) Differential Revision: https://reviews.freebsd.org/D51420
show more ...
|
|
Revision tags: release/14.3.0-p1, release/14.2.0-p4, release/13.5.0-p2 |
|
| #
cbb6e747 |
| 24-Jun-2025 |
Cy Schubert <cy@FreeBSD.org> |
krb5/include: com_err.h and verto.h installed by krb5/util
krb5/util/et and krb5/util/verto install com_err.h and verto.h respectively. Do not install them again. This causes pkgbase conflicts.
Rep
krb5/include: com_err.h and verto.h installed by krb5/util
krb5/util/et and krb5/util/verto install com_err.h and verto.h respectively. Do not install them again. This causes pkgbase conflicts.
Reported by: fluffy Fixes: ee3960cba106
show more ...
|
| #
60f970b8 |
| 23-Jun-2025 |
Cy Schubert <cy@FreeBSD.org> |
krb5: Fix install /usr/include INCS
Build and install of subdirs does not need to include bsd.subdir.mk.
As with include/, copies must always be built. And installincludes is placed after bsd.prog.
krb5: Fix install /usr/include INCS
Build and install of subdirs does not need to include bsd.subdir.mk.
As with include/, copies must always be built. And installincludes is placed after bsd.prog.mk.
Reported by: fluffy
show more ...
|
|
Revision tags: release/14.3.0 |
|
| #
ee3960cb |
| 05-Jun-2025 |
Cy Schubert <cy@FreeBSD.org> |
krb5: Add build plumbing
Add tne necessary Makefiles and header files to facilitate building MIT KRB5 as part of buildworld. Nothing will build until the WITH_MITKRB5/MK_MITKRB5 option has been plum
krb5: Add build plumbing
Add tne necessary Makefiles and header files to facilitate building MIT KRB5 as part of buildworld. Nothing will build until the WITH_MITKRB5/MK_MITKRB5 option has been plumbed in Makefile.inc1.
Before any changes to Makefile.inc1 are made to enable MIT KRB5, additional commits to other affected software will need to be committed.
krb5/Makefile was inspired by kerberos5/Makefile. The Makefiles in krb5/util and krb5/lib were inspired by those in lib/libc and in lib/ncurses.
Differential revision: https://reviews.freebsd.org/D50695 Sponsored by: The FreeBSD Foundation
show more ...
|