Skip to contentSkip to conversation

curl: enable ssl support

PATCH Superseded Saul Wold 3 participants 3 messages Jun 12, 2012

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH v2 1/1 curl: enable ssl support

This patch enables ssl support for curl to allow git to clone from https / ssl sites.

[YOCTO #2532]

---
 meta/recipes-support/curl/curl_7.24.0.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-support/curl/curl_7.24.0.bb +5 -5
index 12e95c9..0a16750 100644
@@ -5,10 +5,10 @@ SECTION = "console/network"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"
 
-DEPENDS = "zlib gnutls"
-DEPENDS_virtclass-native = "zlib-native"
-DEPENDS_virtclass-nativesdk = "zlib-nativesdk"
-PR = "r0"
+DEPENDS = "zlib gnutls openssl"
+DEPENDS_virtclass-native = "zlib-native openssl"
+DEPENDS_virtclass-nativesdk = "zlib-nativesdk openssl"
+PR = "r1"
 
 SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
            file://noldlibpath.patch \
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "ebdb111088ff8b0e05b1d1b075e9f1608285e8105cc51e21caacf33d01
 inherit autotools pkgconfig binconfig
 
 EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
-                --without-ssl \
+		--with-ssl \
                 --without-libssh2 \
 		--with-random=/dev/urandom \
 		--without-libidn \
Signature · 1 line
1.7.7.6
#1 lore raw
Quoted 15 lines · Saul Wold

This patch enables ssl support for curl to allow git to clone from https / ssl sites.

[YOCTO #2532]

---
 meta/recipes-support/curl/curl_7.24.0.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
index 12e95c9..0a16750 100644

meta/recipes-support/curl/curl_7.24.0.bb SECTION = "console/network" · line 9

Quoted 9 lines
meta/recipes-support/curl/curl_7.24.0.bb +2 -4
@@ -5,10 +5,10 @@ SECTION = "console/network"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"
 
-DEPENDS = "zlib gnutls"
-DEPENDS_virtclass-native = "zlib-native"
-DEPENDS_virtclass-nativesdk = "zlib-nativesdk"
-PR = "r0"
+DEPENDS = "zlib gnutls openssl"
+DEPENDS_virtclass-native = "zlib-native openssl"

openssl-native?

meta/recipes-support/curl/curl_7.24.0.bb SECTION = "console/network" · line 10

Quoted 1 line
meta/recipes-support/curl/curl_7.24.0.bb +1 -0
+DEPENDS_virtclass-nativesdk = "zlib-nativesdk openssl"

openssl-nativesdk?

Cheers,

Richard

#2 lore raw
Quoted 19 lines · Richard Purdie
Quoted 18 lines · Saul Wold

This patch enables ssl support for curl to allow git to clone from https / ssl sites.

[YOCTO #2532]

---
 meta/recipes-support/curl/curl_7.24.0.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
index 12e95c9..0a16750 100644
@@ -5,10 +5,10 @@ SECTION = "console/network"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"
 
Quoted 5 lines

meta/recipes-support/curl/curl_7.24.0.bb SECTION = "console/network" · line 8

Quoted 5 lines
meta/recipes-support/curl/curl_7.24.0.bb +1 -4
-DEPENDS = "zlib gnutls"
-DEPENDS_virtclass-native = "zlib-native"
-DEPENDS_virtclass-nativesdk = "zlib-nativesdk"
-PR = "r0"
+DEPENDS = "zlib gnutls openssl"

Doesn't gnutls already provide the necessary bits to support SSL in curl?

Quoted 3 lines

meta/recipes-support/curl/curl_7.24.0.bb SECTION = "console/network" · line 9

Quoted 1 line
meta/recipes-support/curl/curl_7.24.0.bb +1 -0
+DEPENDS_virtclass-native = "zlib-native openssl"

openssl-native?

Or gnutls-native? Or just remove DEPENDS_virtclass-*?

Regards,
Andreas