* [PATCH] curl: enable ssl support
@ 2012-06-08 0:59 Saul Wold
2012-06-08 7:39 ` Koen Kooi
0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2012-06-08 0:59 UTC (permalink / raw)
To: openembedded-core
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 | 6 +++---
1 files changed, 3 insertions(+), 3 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..f0ae7f1 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 = "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 \
--
1.7.7.6
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] curl: enable ssl support
2012-06-08 0:59 [PATCH] curl: enable ssl support Saul Wold
@ 2012-06-08 7:39 ` Koen Kooi
2012-06-11 14:50 ` Saul Wold
0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2012-06-08 7:39 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Op 8 jun. 2012, om 02:59 heeft Saul Wold het volgende geschreven:
> 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 | 6 +++---
> 1 files changed, 3 insertions(+), 3 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..f0ae7f1 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 = "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 \
I haven't looked at the complete recipe, but what is the ssl behaviour for the -native and -nativesdk versions?
regards,
Koen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] curl: enable ssl support
2012-06-08 7:39 ` Koen Kooi
@ 2012-06-11 14:50 ` Saul Wold
2012-06-11 15:19 ` Koen Kooi
0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2012-06-11 14:50 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
On 06/08/2012 12:39 AM, Koen Kooi wrote:
>
> Op 8 jun. 2012, om 02:59 heeft Saul Wold het volgende geschreven:
>
>> 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 | 6 +++---
>> 1 files changed, 3 insertions(+), 3 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..f0ae7f1 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 = "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 \
>
> 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!
> regards,
>
> Koen
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] curl: enable ssl support
2012-06-11 14:50 ` Saul Wold
@ 2012-06-11 15:19 ` Koen Kooi
2012-06-11 22:13 ` Saul Wold
0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2012-06-11 15:19 UTC (permalink / raw)
To: Saul Wold; +Cc: Patches and discussions about the oe-core layer
Op 11 jun. 2012, om 09:50 heeft Saul Wold het volgende geschreven:
> On 06/08/2012 12:39 AM, Koen Kooi wrote:
>>
>> Op 8 jun. 2012, om 02:59 heeft Saul Wold het volgende geschreven:
>>
>>> 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 | 6 +++---
>>> 1 files changed, 3 insertions(+), 3 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..f0ae7f1 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 = "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 \
>>
>> 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).
In that case you need to change all the DEPENDS, including the virtclass ones.
regards,
Koen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] curl: enable ssl support
2012-06-11 15:19 ` Koen Kooi
@ 2012-06-11 22:13 ` Saul Wold
0 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2012-06-11 22:13 UTC (permalink / raw)
To: Koen Kooi; +Cc: Patches and discussions about the oe-core layer
On 06/11/2012 08:19 AM, Koen Kooi wrote:
>
> Op 11 jun. 2012, om 09:50 heeft Saul Wold het volgende geschreven:
>
>> On 06/08/2012 12:39 AM, Koen Kooi wrote:
>>>
>>> Op 8 jun. 2012, om 02:59 heeft Saul Wold het volgende geschreven:
>>>
>>>> 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 | 6 +++---
>>>> 1 files changed, 3 insertions(+), 3 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..f0ae7f1 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 = "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 \
>>>
>>> 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).
>
> 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!
> regards,
>
> Koen
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-11 22:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08 0:59 [PATCH] curl: enable ssl support Saul Wold
2012-06-08 7:39 ` Koen Kooi
2012-06-11 14:50 ` Saul Wold
2012-06-11 15:19 ` Koen Kooi
2012-06-11 22:13 ` Saul Wold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.