pkgbase: reorganise caroot and openssl packages

This splits out the certctl utility into a new certctl package and the
openssl libs into an openssl-lib package.

PR:		272816
Reviewed by:	manu
Differential Revision: https://reviews.freebsd.org/D41321
This commit is contained in:
Doug Rabson 2023-07-31 15:38:45 +01:00
parent 995d2b3e3b
commit 1d7ffb373c
6 changed files with 19 additions and 11 deletions

View File

@ -26,10 +26,14 @@ bsdinstall_COMMENT= BSDInstall Utilities
bsdinstall_DESC= BSDInstall Utilities
bsnmp_COMMENT= BSNMP Utilities
bsnmp_DESC= BSNMP Utilities
caroot_COMMENT= SSL Certificates
caroot_DESC= SSL Certificates
clang_COMMENT= Clang Utilities
clang_DESC= Clang Utilities
clibs_COMMENT= Core C Libraries
clibs_DESC= Core C Libraries
certctl_COMMENT= SSL Certificate Utility
certctl_DESC= SSL Certificate Utility
console-tools_COMMENT= Console Utilities
console-tools_DESC= Console Utilities
csh_COMMENT= C Shell
@ -113,8 +117,10 @@ nfs_COMMENT= NFS Utilities
nfs_DESC= NFS Utilities
nvme-tools_COMMENT= NVME Utilities
nvme-tools_DESC= NVME Utilities
openssl_COMMENT= OpenSSL Library and Utility
openssl_DESC= OpenSSL Library and Utility
openssl_COMMENT= OpenSSL Utility
openssl_DESC= OpenSSL Utility
openssl-lib_COMMENT= OpenSSL Libraries
openssl-lib_DESC= OpenSSL Libraries
pkg-bootstrap_COMMENT= pkg bootstrap Utility
pkg-bootstrap_DESC= pkg bootstrap Utility
periodic_COMMENT= Periodic Utility

View File

@ -42,8 +42,8 @@ main() {
# clibs should not have any dependencies or anything
# else imposed on it.
;;
caroot)
pkgdeps="openssl"
certctl)
pkgdeps="caroot openssl"
;;
# -dev packages that have no corresponding non-dev package
@ -139,14 +139,16 @@ main() {
cp "${uclsource}" "${uclfile}"
if [ ! -z "${pkgdeps}" ]; then
cat <<EOF >> ${uclfile}
deps: {
FreeBSD-${pkgdeps}: {
echo 'deps: {' >> ${uclfile}
for dep in ${pkgdeps}; do
cat <<EOF >> ${uclfile}
FreeBSD-${dep}: {
origin: "base",
version: "${PKG_VERSION}"
}
}
EOF
done
echo '}' >> ${uclfile}
fi
cap_arg="$( make -f ${srctree}/share/mk/bsd.endian.mk -VCAP_MKDB_ENDIAN )"
sed -i '' -e "s/%VERSION%/${PKG_VERSION}/" \

View File

@ -6,7 +6,7 @@ SUBDIR= engines modules
.include <bsd.own.mk>
.include <src.opts.mk>
PACKAGE= openssl
PACKAGE= openssl-lib
LIB= crypto
SHLIB_MAJOR= 30
VERSION_MAP= ${.CURDIR}/Version.map

View File

@ -5,7 +5,7 @@
LIB= ssl
SHLIB_MAJOR= 30
VERSION_MAP= ${.CURDIR}/Version.map
PACKAGE= openssl
PACKAGE= openssl-lib
NO_LINT=

View File

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= caroot
PACKAGE= certctl
SCRIPTS=certctl.sh
MAN= certctl.8