openssl3: Set openssldir to /etc/ssl

Without this it defaulted to $prefix/ssl which was /usr/ssl.
However ca-certificates installs the certificates in /etc/ssl.
Also there is no longer anything at "${COOKBOOK_STAGE}/"{share,ssl}
to delete.
This commit is contained in:
Mark Harris 2026-02-19 22:28:09 -08:00
parent b94c3e4143
commit ee98498dab
No known key found for this signature in database
GPG Key ID: 92293B4D0118BDB0

View File

@ -21,6 +21,7 @@ COOKBOOK_CONFIGURE_FLAGS=(
enable-zstd
"${OS}-${ARCH}"
--prefix="/usr"
--openssldir="/etc/ssl"
)
if [ "${COOKBOOK_DYNAMIC}" = "1" ]; then
@ -32,5 +33,4 @@ fi
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}"
"${COOKBOOK_MAKE}" -j1 # bug in make/ar
"${COOKBOOK_MAKE}" install_sw install_ssldirs DESTDIR="${COOKBOOK_STAGE}"
rm -rfv "${COOKBOOK_STAGE}/"{share,ssl}
"""