aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
diff options
context:
space:
mode:
authorAlexey Firago <alexey_firago@mentor.com>2017-07-27 00:08:32 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-31 14:59:50 +0200
commit51b1378147a1d89d94bf0814decc186c3a253b19 (patch)
treefad5f0bb4dde4c165928235b497511a5336f91b9 /meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
parent25d61ba3e59b20664162588589af047b81beb74a (diff)
downloadmeta-openembedded-contrib-51b1378147a1d89d94bf0814decc186c3a253b19.tar.gz
meta-openembedded-contrib-51b1378147a1d89d94bf0814decc186c3a253b19.tar.bz2
meta-openembedded-contrib-51b1378147a1d89d94bf0814decc186c3a253b19.zip
c-ares: update 1.12.0 -> 1.13.0
Update to c-ares version 1.13.0 from June 20 2017 Recipe updates: * Change SRC_URI to github, because tarball at https://c-ares.haxx.se/download/c-ares-1.13.0.tar.gz does not include all required files (cmake related). * Change build method to cmake. Library now supports cmake build system and installs *.cmake config files. These files can be used by several libraries/packages, such as gRPC, curl. * Add patch to generate and install libcares.pc during cmake build. * Add -utils package for the utilities installed during cmake build (acountry, adig, ahost). Highlights of library changes and bug fixes: * cmake build system support added * Add virtual function set for socket IO: ares_set_socket_functions * CVE-2017-1000381: c-ares NAPTR parser out of bounds access Full changelog - https://c-ares.haxx.se/changelog.html Signed-off-by: Alexey Firago <alexey_firago@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb')
-rw-r--r--meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb b/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
new file mode 100644
index 0000000000..8d297aa4a7
--- /dev/null
+++ b/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
@@ -0,0 +1,22 @@
+# Copyright (c) 2012-2014 LG Electronics, Inc.
+SUMMARY = "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://LICENSE.md;md5=f4b026880834eb01c035c5e5cb47ccac"
+SRCREV = "3be1924221e1326df520f8498d704a5c4c8d0cce"
+PV = "1.13.0+gitr${SRCPV}"
+
+SRC_URI = "\
+ git://github.com/c-ares/c-ares.git \
+ file://cmake-install-libcares.pc.patch \
+"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+PACKAGES =+ "${PN}-utils"
+
+FILES_${PN}-dev += "${libdir}/cmake"
+FILES_${PN}-utils = "${bindir}"