Openembedded Core Discussions
 help / color / mirror / Atom feed
* [for-denzil][PATCH 1/2] curl: enable ssl support
@ 2012-07-16 14:44 Koen Kooi
  2012-07-16 14:44 ` [for-denzil][PATCH 2/2] curl: Use gnutls for target and openssl for native Koen Kooi
  2012-07-16 18:32 ` [for-denzil][PATCH 1/2] curl: enable ssl support Scott Garman
  0 siblings, 2 replies; 3+ messages in thread
From: Koen Kooi @ 2012-07-16 14:44 UTC (permalink / raw)
  To: openembedded-core

From: Saul Wold <sgw@linux.intel.com>

This patch enables ssl support for curl to allow git to clone from
https / ssl sites. We do not want to enable gnutls for native or
nativesdk, as it adds additional dependency and increase build time

[YOCTO #2532]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/curl/curl_7.24.0.bb |   10 +++++-----
 1 file 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..f9dce7d 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-native"
+DEPENDS_virtclass-nativesdk = "zlib-nativesdk openssl-nativesdk"
+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.10




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [for-denzil][PATCH 2/2] curl: Use gnutls for target and openssl for native
  2012-07-16 14:44 [for-denzil][PATCH 1/2] curl: enable ssl support Koen Kooi
@ 2012-07-16 14:44 ` Koen Kooi
  2012-07-16 18:32 ` [for-denzil][PATCH 1/2] curl: enable ssl support Scott Garman
  1 sibling, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2012-07-16 14:44 UTC (permalink / raw)
  To: openembedded-core

From: Saul Wold <sgw@linux.intel.com>

Since gnutls is available on the target use it, but we do not build gnutls for
the native side as it adds too many dependecies, so use openssl.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/curl/curl_7.24.0.bb |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-support/curl/curl_7.24.0.bb b/meta/recipes-support/curl/curl_7.24.0.bb
index f9dce7d..2c5369c 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 openssl"
+DEPENDS = "zlib gnutls"
 DEPENDS_virtclass-native = "zlib-native openssl-native"
-DEPENDS_virtclass-nativesdk = "zlib-nativesdk openssl-nativesdk"
-PR = "r1"
+DEPENDS_virtclass-nativesdk = "zlib-nativesdk"
+PR = "r2"
 
 SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
            file://noldlibpath.patch \
@@ -20,7 +20,6 @@ SRC_URI[sha256sum] = "ebdb111088ff8b0e05b1d1b075e9f1608285e8105cc51e21caacf33d01
 inherit autotools pkgconfig binconfig
 
 EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
-		--with-ssl \
                 --without-libssh2 \
 		--with-random=/dev/urandom \
 		--without-libidn \
@@ -28,9 +27,9 @@ EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
                 ${CURLGNUTLS} \
 		"
 
-CURLGNUTLS = " --with-gnutls=${STAGING_LIBDIR}/../"
-CURLGNUTLS_virtclass-native = "--without-gnutls"
-CURLGNUTLS_virtclass-nativesdk = "--without-gnutls"
+CURLGNUTLS = " --with-gnutls=${STAGING_LIBDIR}/../ --without-ssl"
+CURLGNUTLS_virtclass-native = "--without-gnutls --with-ssl"
+CURLGNUTLS_virtclass-nativesdk = "--without-gnutls --without-ssl"
 
 do_configure_prepend() {
 	sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac
-- 
1.7.10




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [for-denzil][PATCH 1/2] curl: enable ssl support
  2012-07-16 14:44 [for-denzil][PATCH 1/2] curl: enable ssl support Koen Kooi
  2012-07-16 14:44 ` [for-denzil][PATCH 2/2] curl: Use gnutls for target and openssl for native Koen Kooi
@ 2012-07-16 18:32 ` Scott Garman
  1 sibling, 0 replies; 3+ messages in thread
From: Scott Garman @ 2012-07-16 18:32 UTC (permalink / raw)
  To: openembedded-core

On 07/16/2012 07:44 AM, Koen Kooi wrote:
> From: Saul Wold <sgw@linux.intel.com>
>
> This patch enables ssl support for curl to allow git to clone from
> https / ssl sites. We do not want to enable gnutls for native or
> nativesdk, as it adds additional dependency and increase build time
>
> [YOCTO #2532]
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>

Thanks, please ping me by the end of Wednesday if you don't see this in:

http://git.openembedded.org/openembedded-core-contrib/log/?h=sgarman/denzil-next-1.2.2

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-16 18:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-16 14:44 [for-denzil][PATCH 1/2] curl: enable ssl support Koen Kooi
2012-07-16 14:44 ` [for-denzil][PATCH 2/2] curl: Use gnutls for target and openssl for native Koen Kooi
2012-07-16 18:32 ` [for-denzil][PATCH 1/2] curl: enable ssl support Scott Garman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox