diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2014-02-11 10:54:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 17:15:55 +0000 |
commit | 92cad721d764ec28c3570dfe4a80847c3df19453 (patch) | |
tree | 182792d337039c2088f493df570ceddf6c6eded7 /meta/recipes-support | |
parent | 3273473d0fe1d33b406f4380e9f33bff69ab2d31 (diff) | |
download | poky-92cad721d764ec28c3570dfe4a80847c3df19453.tar.gz |
curl: fix https certificate problems
point CA bundle to /etc/ssl/certs/ca-certificates.crt instead of using the buildhost location, Configure would look at the buildhost and hardcode the bundle location for there into the target. This leads to non-working https support.
Also remove the empty and now useless curl-certs packages since it's empty and no ALLOW_EMPTY has been set.
Apart from making https work again with curl cmdline this also fixes libcurl which means git can fetch https repos as well instead of erroring out.
(From OE-Core rev: 2325c1ee13bc3a8474238e8a6c20b6a3c671bf07)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/curl/curl_7.34.0.bb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-support/curl/curl_7.34.0.bb b/meta/recipes-support/curl/curl_7.34.0.bb index b49c6e442a..aba6649a66 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}/../ \ | |||
30 | --enable-crypto-auth \ | 30 | --enable-crypto-auth \ |
31 | --disable-ldap \ | 31 | --disable-ldap \ |
32 | --disable-ldaps \ | 32 | --disable-ldaps \ |
33 | --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \ | ||
33 | ${CURLGNUTLS} \ | 34 | ${CURLGNUTLS} \ |
34 | " | 35 | " |
35 | 36 | ||
@@ -45,13 +46,10 @@ do_install_append() { | |||
45 | oe_multilib_header curl/curlbuild.h | 46 | oe_multilib_header curl/curlbuild.h |
46 | } | 47 | } |
47 | 48 | ||
48 | PACKAGES =+ "${PN}-certs libcurl libcurl-dev libcurl-staticdev libcurl-doc" | 49 | PACKAGES =+ "libcurl libcurl-dev libcurl-staticdev libcurl-doc" |
49 | |||
50 | FILES_${PN}-certs = "${datadir}/curl/curl-*" | ||
51 | PACKAGE_ARCH_${PN}-certs = "all" | ||
52 | 50 | ||
53 | FILES_lib${BPN} = "${libdir}/lib*.so.*" | 51 | FILES_lib${BPN} = "${libdir}/lib*.so.*" |
54 | RRECOMMENDS_lib${BPN} += "${PN}-certs" | 52 | RRECOMMENDS_lib${BPN} += "ca-certificates" |
55 | FILES_lib${BPN}-dev = "${includedir} \ | 53 | FILES_lib${BPN}-dev = "${includedir} \ |
56 | ${libdir}/lib*.so \ | 54 | ${libdir}/lib*.so \ |
57 | ${libdir}/lib*.la \ | 55 | ${libdir}/lib*.la \ |