All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libressl: fix openssldir setting to match openssl
@ 2021-06-16 16:05 Peter Korsgaard
  2021-06-23  6:55 ` Peter Korsgaard
  2021-06-24  7:15 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-06-16 16:05 UTC (permalink / raw)
  To: buildroot

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>
---
 package/libressl/libressl.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk
index ad345ba3f0..d09df8f40f 100644
--- a/package/libressl/libressl.mk
+++ b/package/libressl/libressl.mk
@@ -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
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/libressl: fix openssldir setting to match openssl
  2021-06-16 16:05 [Buildroot] [PATCH] package/libressl: fix openssldir setting to match openssl Peter Korsgaard
@ 2021-06-23  6:55 ` Peter Korsgaard
  2021-06-24  7:15 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-06-23  6:55 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > 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>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/libressl: fix openssldir setting to match openssl
  2021-06-16 16:05 [Buildroot] [PATCH] package/libressl: fix openssldir setting to match openssl Peter Korsgaard
  2021-06-23  6:55 ` Peter Korsgaard
@ 2021-06-24  7:15 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-06-24  7:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > 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>

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

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-24  7:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16 16:05 [Buildroot] [PATCH] package/libressl: fix openssldir setting to match openssl Peter Korsgaard
2021-06-23  6:55 ` Peter Korsgaard
2021-06-24  7:15 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.