diff mbox

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

Message ID 1391608594-13680-1-git-send-email-koen.kooi@linaro.org
State New
Headers show

Commit Message

Koen Kooi Feb. 5, 2014, 1:56 p.m. UTC
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(+)
diff mbox

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} \
                 "