* [Buildroot] [PATCH] p11-kit: fix detection of certificates path
@ 2018-10-26 6:29 Baruch Siach
2018-10-26 8:34 ` Peter Korsgaard
2018-11-13 22:44 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach @ 2018-10-26 6:29 UTC (permalink / raw)
To: buildroot
The p11-kit configure script looked for certificates location on the
host. This doesn't work well with cross compilation. Make the
certificates patch depend on BR2_PACKAGE_CA_CERTIFICATES, and set the
right target location of the path.
Fixes:
http://autobuild.buildroot.net/results/295/295614d4aa3db9bb35bebbe56e38110f5a2de178/
http://autobuild.buildroot.net/results/0fb/0fb454ca0df74a8585cffe8f5d1f5d23cdfdbec6/
http://autobuild.buildroot.net/results/ef7/ef71f3d67afba547b5167253fb02476e59152803/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/p11-kit/p11-kit.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/p11-kit/p11-kit.mk b/package/p11-kit/p11-kit.mk
index d4cf9bc09c4c..10b5cc039300 100644
--- a/package/p11-kit/p11-kit.mk
+++ b/package/p11-kit/p11-kit.mk
@@ -14,4 +14,10 @@ P11_KIT_CONF_ENV = ac_cv_have_decl_program_invocation_short_name=yes \
P11_KIT_LICENSE = BSD-3-Clause
P11_KIT_LICENSE_FILES = COPYING
+ifeq ($(BR2_PACKAGE_CA_CERTIFICATES),y)
+P11_KIT_CONF_OPTS += --with-trust-paths=/etc/ssl/certs/ca-certificates.crt
+else
+P11_KIT_CONF_OPTS += --without-trust-paths
+endif
+
$(eval $(autotools-package))
--
2.19.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] p11-kit: fix detection of certificates path
2018-10-26 6:29 [Buildroot] [PATCH] p11-kit: fix detection of certificates path Baruch Siach
@ 2018-10-26 8:34 ` Peter Korsgaard
2018-11-13 22:44 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-10-26 8:34 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> The p11-kit configure script looked for certificates location on the
> host. This doesn't work well with cross compilation. Make the
> certificates patch depend on BR2_PACKAGE_CA_CERTIFICATES, and set the
> right target location of the path.
> Fixes:
> http://autobuild.buildroot.net/results/295/295614d4aa3db9bb35bebbe56e38110f5a2de178/
> http://autobuild.buildroot.net/results/0fb/0fb454ca0df74a8585cffe8f5d1f5d23cdfdbec6/
> http://autobuild.buildroot.net/results/ef7/ef71f3d67afba547b5167253fb02476e59152803/
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] p11-kit: fix detection of certificates path
2018-10-26 6:29 [Buildroot] [PATCH] p11-kit: fix detection of certificates path Baruch Siach
2018-10-26 8:34 ` Peter Korsgaard
@ 2018-11-13 22:44 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-11-13 22:44 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> The p11-kit configure script looked for certificates location on the
> host. This doesn't work well with cross compilation. Make the
> certificates patch depend on BR2_PACKAGE_CA_CERTIFICATES, and set the
> right target location of the path.
> Fixes:
> http://autobuild.buildroot.net/results/295/295614d4aa3db9bb35bebbe56e38110f5a2de178/
> http://autobuild.buildroot.net/results/0fb/0fb454ca0df74a8585cffe8f5d1f5d23cdfdbec6/
> http://autobuild.buildroot.net/results/ef7/ef71f3d67afba547b5167253fb02476e59152803/
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Committed to 2018.02.x and 2018.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-13 22:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-26 6:29 [Buildroot] [PATCH] p11-kit: fix detection of certificates path Baruch Siach
2018-10-26 8:34 ` Peter Korsgaard
2018-11-13 22:44 ` 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.