packages: Improve handling of -lib packagesFor some packages (OpenSSL, Kerberos) we want to ship runtime librariesin a separate package, e.g. openssl and openssl-lib. Currently this isdone using
packages: Improve handling of -lib packagesFor some packages (OpenSSL, Kerberos) we want to ship runtime librariesin a separate package, e.g. openssl and openssl-lib. Currently this isdone using PACKAGE=openssl-lib, but that creates packages with strangenames like openssl-lib-lib32.Instead, add a new LIB_PACKAGE option to bsd.lib.mk that causes runtimelibraries to be placed in a new -lib subpackage. This significantlyimproves 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-manto: FreeBSD-openssl FreeBSD-openssl-dbg FreeBSD-openssl-dbg-lib32 FreeBSD-openssl-dev FreeBSD-openssl-dev-lib32 FreeBSD-openssl-lib FreeBSD-openssl-lib32 FreeBSD-openssl-manWhile here, move /usr/bin/krb5-config and /usr/bin/compile_et intothe kerberos-dev package.Reviewed by: desDifferential Revision: https://reviews.freebsd.org/D51925
show more ...
krb5: Fix typo "SPDX-License-Idendifier"sed -e s/SPDX-License-Idendifier/SPDX-License-Identifier/
krb5: use 'kerberos' as package nameRename krb5 and krb5-lib to kerberos and kerberos-lib to match theexisting Heimdal package names. Since it's not possible to build orinstall both at the same
krb5: use 'kerberos' as package nameRename krb5 and krb5-lib to kerberos and kerberos-lib to match theexisting Heimdal package names. Since it's not possible to build orinstall both at the same time, and Heimdal will be removed anyway,there's no benefit to using a different package name for MIT Kerberosand 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 utilitiescan be installed without the KDC. As most systems won't have the KDCrunning, this saves a bit of disk space for jails/containers.Remove a few instances of 'PACKAGE=' in target-specific Makefileswhere 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 forcompatibility with the security/krb5 port; we should fix thisat some point, possibly after Heimdal is removed.Reviewed by: manu, kevans, desApproved by: des (mentor), kevans (mentor)Differential Revision: https://reviews.freebsd.org/D51420
krb5: Add build plumbingAdd tne necessary Makefiles and header files to facilitate buildingMIT KRB5 as part of buildworld. Nothing will build until theWITH_MITKRB5/MK_MITKRB5 option has been plum
krb5: Add build plumbingAdd tne necessary Makefiles and header files to facilitate buildingMIT KRB5 as part of buildworld. Nothing will build until theWITH_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 inkrb5/util and krb5/lib were inspired by those in lib/libc and inlib/ncurses.Differential revision: https://reviews.freebsd.org/D50695Sponsored by: The FreeBSD Foundation