Skip to contentSkip to conversation

c-ares: Add package to networking

PATCH In review Armin Kuster 2 participants 2 messages Apr 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 c-ares: Add package to networking

this package is in 5 other layers.

Move to a more common location and update version.

---
 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
meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb new file +13 -0
new file mode 100644
index 0000000..2f72ab4
@@ -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
Signature · 1 line
2.3.5
#1 lore raw
Quoted 3 lines · Armin Kuster

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

Quoted 33 lines
---
 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
meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb new file +13 -1
new file mode 100644
index 0000000..2f72ab4
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel