libressl defaults to $prefix/etc/ssl for its "openssldir" setting, E.G.
the location where configuration files and certificates are searched:
openssl version -d
OPENSSLDIR: "/usr/etc/ssl"
Change it to /etc/ssl so it matches openssl and the expectations of packages
dealing with certificates (ca-certificates, libcurl, p11-kit)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit b0f0b4c4bc
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
23 lines
688 B
Makefile
23 lines
688 B
Makefile
################################################################################
|
|
#
|
|
# libressl
|
|
#
|
|
################################################################################
|
|
|
|
LIBRESSL_VERSION = 3.2.5
|
|
LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
|
|
LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code)
|
|
LIBRESSL_LICENSE_FILES = COPYING
|
|
LIBRESSL_CPE_ID_VENDOR = openbsd
|
|
LIBRESSL_INSTALL_STAGING = YES
|
|
LIBRESSL_CONF_OPTS = -DOPENSSLDIR="/etc/ssl"
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),)
|
|
define LIBRESSL_REMOVE_BIN
|
|
$(RM) -f $(TARGET_DIR)/usr/bin/openssl
|
|
endef
|
|
LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|