summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/c-ares
Commit message (Collapse)AuthorAgeFilesLines
* c-ares: move from meta-networking to meta-oeMartin Jansa2020-02-262-138/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * nodejs from meta-oe depends on this since: commit 76dd3dac1f1e67a5c44ad732b8e827cc36ded641 Author: André Draszik <git@andred.net> Date: Tue Oct 29 16:42:24 2019 +0000 nodejs: allow use of system c-ares (and make default) Use system c-ares via PACKAGECONFIG by default. So far, nodejs had been built using its embedded copy of c-ares, which we generally try to avoid, for the known reasons (independent updates, cve & license checks, etc). Notes: * otherwise nodejs uses its bundled version of c-ares * the PACKAGECONFIG variable is 'ares' so as to be in line with other uses of this (wget & curl recipes in OE core) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* c-ares: upgrade to 1.15Changqing Li2018-11-271-2/+2
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* c-ares: add nativesdk to BBCLASSEXTENDHiram Lew2018-10-101-1/+1
| | | | | | | | | grpc won't build as nativesdk package since it depends on nativesdk-c-ares. Signed-off-by: Hiram Lew <lew@avast.com> Signed-off-by: Jan Kaisrlik <jan.kaisrlik@avast.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* c-ares: upgrade 1.13.0 -> 1.14.0Changqing Li2018-07-272-18/+25
| | | | | | | License-Update: copyright year updated Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* c-ares: add UPSTREAM_CHECK_GITTAGREGEXYi Zhao2018-05-301-0/+2
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* c-ares: variable cleanupTrevor Woerner2018-05-291-1/+2
| | | | | | | | | Reorder recipe variables according to: https://www.openembedded.org/wiki/Styleguide Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* c-ares: rely on cmake.bbclass to put cmake package files in dev packageTrevor Woerner2018-05-291-1/+0
| | | | | | | | | | | | The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and ${datadir}/cmake end up in the dev package, so recipes no longer need to provide custom packaging rules to handles these files. http://git.openembedded.org/openembedded-core/commit/?id=d91dc4666683a96e9d03cbbd21b8a546f9069c93 Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* c-ares: Build native versionKhem Raj2017-10-111-0/+2
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* c-ares: update 1.12.0 -> 1.13.0Alexey Firago2017-09-084-41/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* c-ares: update 1.11.0 -> 1.12.0André Draszik2016-11-142-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Highlight: - fix CVE-2016-5180 Other changes, from https://c-ares.haxx.se/changelog.html c-ares version 1.12.0 - Sep 29 2016 Changes: api: add ARES_OPT_NOROTATE optmask value Bug fixes: CVE-2016-5180: ares_create_query single byte out of buffer write configure: acknowledge --disable-tests [1] man pages: fix typos detected by Lintian test: add missing #includes for dns-proto.cc test: avoid in6addr_* constants test: Build with MinGW on AppVeyor Makefile.m32: add support for extra flags Makefile.m32: add support for CROSSPREFIX configure: check if tests can get built before enabled ares_library_cleanup: reset ares_realloc too ahost.c: add cast to fix C++ compile test: Only pass unused args to GoogleTest build: commonize MSVC version detection msvc_ver.inc: support Visual Studio 2015 Update 1, 2, 3 test: for AF_UNSPEC, return CNAME only for AAAA, but valid A record ares_getnameinfo: explicitly clear struct servent before use test: Update fuzzing function prototype init: fix nsort initialization test: add fuzzing check script to tests web: http => https read_tcp_data: remove superfluous NULL check LICENSE.md: add a stand-alone license file SECURITY.md: suggested "security process" for the project ares_init_options: only propagate init failures from options [2] headers: remove checks for and defines of variable sizes test: fix gMock to work with gcc >= 6.x [3] fix metadata: We should set SUMMARY instead of DESCRIPTION. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* c-ares: use our compilation flagsAndré Draszik2016-08-052-1/+29
| | | | | | | | | | | | | | | | | If not requested otherwise as ./configure option, c-ares will strip any -g from CFLAGS / CPPFLAGS and add -g0 instead, disabling all debug info. Similarly, it will try to enable optimisation (but bail out since in that case it honors an existing -O in CFLAGS / CPPFLAGS) Since we want to control code generation, patch out the code mangling -g (and -O for consistency). Alternatively, if we were to pass --enable-debug to ./configure, c-ares would at the same time assume that we don't want optimisation anymore. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* c-ares: Add package to networkingArmin Kuster2016-04-201-0/+13
this package is in 5 other layers. Move to a more common location and update version. Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>