Skip to contentSkip to conversation

package/libressl: fix openssldir setting to match openssl

PATCH New Peter Korsgaard 1 participant 3 messages Jun 16, 2021 – Jun 24, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libressl: fix openssldir setting to match openssl

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)

---
 package/libressl/libressl.mk | 1 +
 1 file changed, 1 insertion(+)
package/libressl/libressl.mk +1 -0
index ad345ba3f0..d09df8f40f 100644
@@ -10,6 +10,7 @@ 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
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/libressl: fix openssldir setting to match openssl

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

libressl defaults to $prefix/etc/ssl for its "openssldir" setting, E.G. the location where configuration files and certificates are searched:

Quoted 7 lines

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)

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 package/libressl: fix openssldir setting to match openssl

In reply to Peter Korsgaard
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

libressl defaults to $prefix/etc/ssl for its "openssldir" setting, E.G. the location where configuration files and certificates are searched:

Quoted 7 lines

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)

Committed to 2021.02.x and 2021.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard