[oe] [meta-networking][PATCH] c-ares: Add package to networking

Andre McCurdy armccurdy at gmail.com
Wed Apr 13 03:00:36 UTC 2016


On Tue, Apr 12, 2016 at 6:37 PM, Armin Kuster <akuster808 at gmail.com> wrote:
> this package is in 5 other layers.
>
> Move to a more common location and update version.

At least one version of c-ares fails to build with security_flags.inc
enabled (configure complains if any -Dxxx option is passed via
CPPFLAGS and security_flags.inc uses CPPFLAGS to pass
-D_FORTIFY_SOURCE).

If c-ares 1.11.0 still has the problem, then this patch from curl should fix it:

  https://github.com/curl/curl/commit/5d3cbde72ece7d83c280492957a26e26ab4e5cca

> Signed-off-by: Armin Kuster <akuster808 at gmail.com>
> ---
>  meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb
>
> diff --git a/meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb b/meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb
> new file mode 100644
> index 0000000..2f72ab4
> --- /dev/null
> +++ b/meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb
> @@ -0,0 +1,13 @@
> +# Copyright (c) 2012-2014 LG Electronics, Inc.
> +
> +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://ares_init.c;beginline=1;endline=3;md5=53f5ecf4c22c37cf1ddd1ef8f8eccce0"
> +
> +SRC_URI = "http://c-ares.haxx.se/download/${BP}.tar.gz"
> +SRC_URI[md5sum] = "d5c6d522cfc54bb6f215a0b7912d46be"
> +SRC_URI[sha256sum] = "b3612e6617d9682928a1d50c1040de4db6519f977f0b25d40cf1b632900b3efd"
> +
> +inherit autotools pkgconfig
> --
> 2.3.5
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list