Patchwork [v2] curl: enable ssl support

login
register
mail settings
Submitter Saul Wold
Date June 12, 2012, 3:15 p.m.
Message ID <1339514135-23891-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/29709/
State New
Headers show

Comments

Saul Wold - June 12, 2012, 3:15 p.m.
This patch enables ssl support for curl to allow git to clone from
https / ssl sites.

[YOCTO #2532]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/curl/curl_7.24.0.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
Richard Purdie - June 12, 2012, 3:36 p.m.
On Tue, 2012-06-12 at 08:15 -0700, Saul Wold wrote:
> This patch enables ssl support for curl to allow git to clone from
> https / ssl sites.
> 
> [YOCTO #2532]
> 
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-support/curl/curl_7.24.0.bb |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/meta/recipes-support/curl/curl_7.24.0.bb b/meta/recipes-support/curl/curl_7.24.0.bb
> index 12e95c9..0a16750 100644
> --- a/meta/recipes-support/curl/curl_7.24.0.bb
> +++ b/meta/recipes-support/curl/curl_7.24.0.bb
> @@ -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?

> +DEPENDS_virtclass-nativesdk = "zlib-nativesdk openssl"

openssl-nativesdk?

Cheers,

Richard
Andreas Oberritter - June 12, 2012, 3:44 p.m.
On 12.06.2012 17:36, Richard Purdie wrote:
> On Tue, 2012-06-12 at 08:15 -0700, Saul Wold wrote:
>> This patch enables ssl support for curl to allow git to clone from
>> https / ssl sites.
>>
>> [YOCTO #2532]
>>
>> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>> ---
>>  meta/recipes-support/curl/curl_7.24.0.bb |   10 +++++-----
>>  1 files changed, 5 insertions(+), 5 deletions(-)
>>
>> diff --git a/meta/recipes-support/curl/curl_7.24.0.bb b/meta/recipes-support/curl/curl_7.24.0.bb
>> index 12e95c9..0a16750 100644
>> --- a/meta/recipes-support/curl/curl_7.24.0.bb
>> +++ b/meta/recipes-support/curl/curl_7.24.0.bb
>> @@ -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"

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

>> +DEPENDS_virtclass-native = "zlib-native openssl"
> 
> openssl-native?

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

Regards,
Andreas

Patch

diff --git a/meta/recipes-support/curl/curl_7.24.0.bb b/meta/recipes-support/curl/curl_7.24.0.bb
index 12e95c9..0a16750 100644
--- a/meta/recipes-support/curl/curl_7.24.0.bb
+++ b/meta/recipes-support/curl/curl_7.24.0.bb
@@ -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 \