Patchwork [RFC] curl: point CA bundle to /etc/ssl/certs/ca-certificates.crt instead of using the buildhost location

login
register
mail settings
Submitter Koen Kooi
Date Feb. 5, 2014, 1:56 p.m.
Message ID <1391608594-13680-1-git-send-email-koen.kooi@linaro.org>
Download mbox | patch
Permalink /patch/66339/
State New
Headers show

Comments

Koen Kooi - Feb. 5, 2014, 1:56 p.m.
Configure would look at the buildhost and hardcode the bundle location for there into the target. This leads to non-working https support.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---

This is marked as RFC since:
 1) it needs to get tried on buildhosts where the bundle isn't located in /etc/ssl/certs
 2) package dependencies need to get sorted out (curl-ca-certs vs ca-certificates)
 


 meta/recipes-support/curl/curl_7.34.0.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-support/curl/curl_7.34.0.bb b/meta/recipes-support/curl/curl_7.34.0.bb
index b49c6e4..3f20bb1 100644
--- a/meta/recipes-support/curl/curl_7.34.0.bb
+++ b/meta/recipes-support/curl/curl_7.34.0.bb
@@ -30,6 +30,7 @@  EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
                 --enable-crypto-auth \
                 --disable-ldap \
                 --disable-ldaps \
+                --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \
                 ${CURLGNUTLS} \
                 "