From: Saul Wold <sgw@linux.intel.com>
To: Yevhen Kyriukha <kirgene@gmail.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] curl: build with c-ares library support.
Date: Tue, 12 Nov 2013 14:41:58 -0800 [thread overview]
Message-ID: <5282AEB6.3060706@linux.intel.com> (raw)
In-Reply-To: <1383954150-59537-1-git-send-email-kirgene@gmail.com>
On 11/08/2013 03:42 PM, Yevhen Kyriukha wrote:
> Also added c-ares library recipe.
>
> In libcurl there is an issue with DNS lookups that cause crash on some platforms:
> http://curl.haxx.se/mail/lib-2008-09/0197.html
> To avoid this issue libcurl has to be built with c-ares name resolver.
>
I am still considering this patch, but need to understand what platforms
curl is failing on.
> Signed-off-by: Yevhen Kyriukha <kirgene@gmail.com>
> ---
> meta/recipes-support/c-ares/c-ares_1.10.0.bb | 22 ++++++++++++++++++++++
Additionally, if adding this to oe-core, it needs to be in it's own
patch crediting the orignal author / layer, I found a 1.10 version in
the meta-webos-ports, is this where it came from?
Sau!
> meta/recipes-support/curl/curl_7.33.0.bb | 3 ++-
> 2 files changed, 24 insertions(+), 1 deletion(-)
> create mode 100644 meta/recipes-support/c-ares/c-ares_1.10.0.bb
>
> diff --git a/meta/recipes-support/c-ares/c-ares_1.10.0.bb b/meta/recipes-support/c-ares/c-ares_1.10.0.bb
> new file mode 100644
> index 0000000..27bedf4
> --- /dev/null
> +++ b/meta/recipes-support/c-ares/c-ares_1.10.0.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "c-ares is a C library that resolves names asynchronously."
> +HOMEPAGE = "http://daniel.haxx.se/projects/c-ares/"
> +SECTION = "libs"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://README;beginline=17;endline=18;md5=b320556568bc067d215a1e34c5b34a14"
> +
> +inherit autotools
> +inherit pkgconfig
> +
> +SRC_URI = "http://c-ares.haxx.se/download/${BP}.tar.gz"
> +SRC_URI[md5sum] = "1196067641411a75d3cbebe074fd36d8"
> +SRC_URI[sha256sum] = "3d701674615d1158e56a59aaede7891f2dde3da0f46a6d3c684e0ae70f52d3db"
> +
> +EXTRA_OECONF = "--enable-shared"
> +
> +# install private headers to ares subdirectory
> +do_install_append() {
> + install -d ${D}/${includedir}/ares
> + install -m 0644 ares*.h ${D}/${includedir}/ares/
> +}
> +
> +FILES_${PN}-dev += "${includedir}/ares/*.h"
> diff --git a/meta/recipes-support/curl/curl_7.33.0.bb b/meta/recipes-support/curl/curl_7.33.0.bb
> index 8539fec..1af320e 100644
> --- a/meta/recipes-support/curl/curl_7.33.0.bb
> +++ b/meta/recipes-support/curl/curl_7.33.0.bb
> @@ -5,7 +5,7 @@ SECTION = "console/network"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"
>
> -DEPENDS = "zlib gnutls"
> +DEPENDS = "zlib gnutls c-ares"
> DEPENDS_class-native = "zlib-native openssl-native"
> DEPENDS_class-nativesdk = "nativesdk-zlib"
>
> @@ -30,6 +30,7 @@ EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
> --enable-crypto-auth \
> --disable-ldap \
> --disable-ldaps \
> + --enable-ares \
> ${CURLGNUTLS} \
> "
>
>
next prev parent reply other threads:[~2013-11-12 22:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-08 23:42 [PATCH] curl: build with c-ares library support Yevhen Kyriukha
2013-11-12 22:41 ` Saul Wold [this message]
2013-11-12 23:53 ` Phil Blundell
2013-11-12 23:36 ` Saul Wold
2013-11-13 11:35 ` Phil Blundell
-- strict thread matches above, loose matches on Subject: below --
2013-11-13 0:56 Yevhen Kyriukha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5282AEB6.3060706@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=kirgene@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox