Skip to contentSkip to conversation

curl: enable ssl support

PATCH Superseded Saul Wold 2 participants 5 messages Jun 8, 2012 – Jun 11, 2012

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 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 |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-support/curl/curl_7.24.0.bb +3 -3
index 12e95c9..f0ae7f1 100644
@@ -5,10 +5,10 @@ SECTION = "console/network"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"
 
-DEPENDS = "zlib gnutls"
+DEPENDS = "zlib gnutls openssl"
 DEPENDS_virtclass-native = "zlib-native"
 DEPENDS_virtclass-nativesdk = "zlib-nativesdk"
-PR = "r0"
+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

Op 8 jun. 2012, om 02:59 heeft Saul Wold het volgende geschreven:

Quoted 34 lines

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 | 6 +++---

1 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
index 12e95c9..f0ae7f1 100644
@@ -5,10 +5,10 @@ SECTION = "console/network"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-DEPENDS = "zlib gnutls"
+DEPENDS = "zlib gnutls openssl"

DEPENDS_virtclass-native = "zlib-native"
DEPENDS_virtclass-nativesdk = "zlib-nativesdk"

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-PR = "r0"
+PR = "r1"
SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
           file://noldlibpath.patch \
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "ebdb111088ff8b0e05b1d1b075e9f1608285e8105cc51e21caacf33d01

inherit autotools pkgconfig binconfig

EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-                --without-ssl \
+		--with-ssl \
                --without-libssh2 \
Quoted 2 lines
		--with-random=/dev/urandom \
		--without-libidn \

I haven't looked at the complete recipe, but what is the ssl behaviour for the -native and -nativesdk versions?

regards,

Koen

author
#2 lore raw
Quoted 33 lines · Koen Kooi

Op 8 jun. 2012, om 02:59 heeft Saul Wold het volgende geschreven:

Quoted 30 lines

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 | 6 +++---

1 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
index 12e95c9..f0ae7f1 100644
@@ -5,10 +5,10 @@ SECTION = "console/network"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-DEPENDS = "zlib gnutls"
+DEPENDS = "zlib gnutls openssl"

DEPENDS_virtclass-native = "zlib-native"
DEPENDS_virtclass-nativesdk = "zlib-nativesdk"

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-PR = "r0"
+PR = "r1"
SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
            file://noldlibpath.patch \
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "ebdb111088ff8b0e05b1d1b075e9f1608285e8105cc51e21caacf33d01

inherit autotools pkgconfig binconfig

Quoted 9 lines
Quoted 6 lines

EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-                --without-ssl \
+		--with-ssl \
                 --without-libssh2 \
		--with-random=/dev/urandom \
		--without-libidn \

I haven't looked at the complete recipe, but what is the ssl behaviour for the -native and -nativesdk versions?

Actually it's the -native that needs the ssl behavior, and this adds it for all 3 correctly, tested on target as well as -native (I did not actually test the -nativesdk, but I will now).

Sau!

Quoted 8 lines

regards,

Koen
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw

Op 11 jun. 2012, om 09:50 heeft Saul Wold het volgende geschreven:

Quoted 43 lines · Koen Kooi
Quoted 33 lines

Op 8 jun. 2012, om 02:59 heeft Saul Wold het volgende geschreven:

Quoted 30 lines

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 | 6 +++---

1 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
index 12e95c9..f0ae7f1 100644
@@ -5,10 +5,10 @@ SECTION = "console/network"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-DEPENDS = "zlib gnutls"
+DEPENDS = "zlib gnutls openssl"

DEPENDS_virtclass-native = "zlib-native"
DEPENDS_virtclass-nativesdk = "zlib-nativesdk"

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-PR = "r0"
+PR = "r1"
SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
           file://noldlibpath.patch \
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "ebdb111088ff8b0e05b1d1b075e9f1608285e8105cc51e21caacf33d01

inherit autotools pkgconfig binconfig

Quoted 9 lines
Quoted 6 lines

EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-                --without-ssl \
+		--with-ssl \
                --without-libssh2 \
		--with-random=/dev/urandom \
		--without-libidn \

I haven't looked at the complete recipe, but what is the ssl behaviour for the -native and -nativesdk versions?

Quoted 1 line

Actually it's the -native that needs the ssl behavior, and this adds it for all 3 correctly, tested on target as well as -native (I did not actually test the -nativesdk, but I will now).

In that case you need to change all the DEPENDS, including the virtclass ones.

regards,

Koen

author
#4 lore raw
Quoted 46 lines · Koen Kooi

Op 11 jun. 2012, om 09:50 heeft Saul Wold het volgende geschreven:

Quoted 43 lines · Koen Kooi
Quoted 42 lines

Op 8 jun. 2012, om 02:59 heeft Saul Wold het volgende geschreven:

Quoted 34 lines

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 | 6 +++---

1 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
index 12e95c9..f0ae7f1 100644
@@ -5,10 +5,10 @@ SECTION = "console/network"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-DEPENDS = "zlib gnutls"
+DEPENDS = "zlib gnutls openssl"

DEPENDS_virtclass-native = "zlib-native"
DEPENDS_virtclass-nativesdk = "zlib-nativesdk"

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-PR = "r0"
+PR = "r1"
SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
            file://noldlibpath.patch \
meta/recipes-support/curl/curl_7.24.0.bb +0 -0
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "ebdb111088ff8b0e05b1d1b075e9f1608285e8105cc51e21caacf33d01

inherit autotools pkgconfig binconfig

EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \

meta/recipes-support/curl/curl_7.24.0.bb +1 -1
-                --without-ssl \
+		--with-ssl \
                 --without-libssh2 \
Quoted 2 lines
		--with-random=/dev/urandom \
		--without-libidn \

I haven't looked at the complete recipe, but what is the ssl behaviour for the -native and -nativesdk versions?

Quoted 4 lines
Quoted 1 line

Actually it's the -native that needs the ssl behavior, and this adds it for all 3 correctly, tested on target as well as -native (I did not actually test the -nativesdk, but I will now).

In that case you need to change all the DEPENDS, including the virtclass ones.

Yes, of course, I missed those and it worked since I already had the OpenSSL-native package on my system.

Thanks
Sau!

Quoted 6 lines

regards,

Koen