Commit Graph

23 Commits

Author SHA1 Message Date
krant bf0b0bea6c c-ares: update to 1.28.1
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-10 16:13:53 -07:00
krant 0858accfda c-ares: update to 1.27.0
- Update package URL
- Don't set default CMake options

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-24 12:10:20 -08:00
Hirokazu MORIKAWA 4c4d3b9001 c-ares: bump to 1.19.1
This is a security and bugfix release.

Security
o CVE-2023-32067. High. 0-byte UDP payload causes Denial of Service
o CVE-2023-31147. Moderate. Insufficient randomness in generation of DNS
query IDs
o CVE-2023-31130. Moderate. Buffer Underwrite in ares_inet_net_pton()
o CVE-2023-31124. Low. AutoTools does not set CARES_RANDOM_FILE during cross
compilation

Fixing libcares.pc
 The pkg-config file libcares.pc in version 1.19.1 has been changed to be unsuitable for OpenWrt
 and causes build errors with Openwrt packages that use libcares.
 For this reason, libcares.pc was replaced.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-06-22 06:29:05 +02:00
Karl Palsson 60e60fc38f c-ares: bump to 1.18.1
Changelog: https://lists.haxx.se/pipermail/c-ares/2021-October/000002.html

This includes the update to the domain name, made upstream, ref: https://lists.haxx.se/pipermail/c-ares/2021-September/000001.html

Signed-off-by: Karl Palsson <karlp@etactica.com>
2021-11-09 09:21:40 +00:00
Petr Štetiar 84058b3980 c-ares: update to version 1.17.2
Missing input validation of host names returned by Domain Name Servers
in the c-ares library can lead to output of wrong hostnames (leading to
Domain Hijacking).

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2021-3672 to this issue.

References: https://c-ares.haxx.se/adv_20210810.html
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2021-08-20 10:33:33 +00:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Karl Palsson 3aa2dbc441 c-ares: update to latest for security fixes
Four fixes tagged as security, full changelog at https://c-ares.haxx.se/changelog.html#1_17_0
Includes fix for CVE-2020-8277

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2020-11-19 22:12:18 +00:00
Rosen Penev 9bd81604b7 c-ares: switch to CMake
Allows simplifying the Makefile. Also allows faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-09 10:35:05 +00:00
Karl Palsson 34a4678db3 c-ares: update to 1.16.1
Various fixes, nothing particularly standout as of particular interest
to OpenWrt.  Full changelog at https://c-ares.haxx.se/changelog.html

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-05-18 13:02:36 +00:00
Karl Palsson 4078b7a5d5 libs/c-ares: Update to 1.15.0
Full changelog at https://c-ares.haxx.se/changelog.html

Of interest:
* fixes warnings with modern gcc
* reports not found for onion addresses per RFC7686

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-10-29 14:37:08 +00:00
Karl Palsson 6ade0d1933 lib/c-ares: remove duplicate cpe-id
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2018-10-28 14:21:40 +00:00
Hannu Nyman 7662fb4cef
Merge pull request #6817 from neheb/patch-30
c-ares: Add CPE ID to track CVEs
2018-10-28 14:33:47 +02:00
Karl Palsson 2b50949287 libs/c-ares: finaly cpe id update.
Use the correct base 2.2 CPE id from
https://nvd.nist.gov/products/cpe/search instead of the old id.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-10-18 09:45:46 +00:00
Karl Palsson 9deeb53403 libs/c-ares: fix CPE id
Incorrectly copied from source document.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-10-18 09:00:41 +00:00
Karl Palsson e5477e3dec lib/c-ares: add PKG_CPE_ID
bump package, but no functional changes

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-10-17 22:37:20 +00:00
Rosen Penev 9be580359e
c-ares: Add CPE ID to track CVEs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-19 15:13:18 -07:00
Karl Palsson a0855d59fd c-ares: bump to v1.14
Changelog at: https://c-ares.haxx.se/changelog.html

mostly android and windows fixes, but some minor fixes for all systems.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2018-02-19 11:29:16 +00:00
Lucian Cristian ac79483883 libcares: c-ares bump to 1.13.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-08-17 11:42:13 +00:00
Karl Palsson 56db76945e libcares: bump to 1.12.0
Full changelog available at:
https://c-ares.haxx.se/changelog.html#1_12_0

Mostly minor bugfixes and documentation improvements

Signed-off-by: Karl Palsson <karlp@etactica.com>
Signed-off-by: Karl Palsson <karlp@remake.is>
2017-05-05 11:36:37 +00:00
Karl Palsson db995186fc libs: c-ares: Bump to version 1.11
Full changelog at
https://raw.githubusercontent.com/c-ares/c-ares/cares-1_11_0/RELEASE-NOTES

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-03-08 15:50:22 +00:00
Jo-Philipp Wich 2e73fcd4b0 c-ares: fix build with CONFIG_PKG_FORTIFY_SOURCE*
When fortify source is enabled, the c-ares configure script will abort with:
    configure: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1

Change the OpenWrt Makefile to move any -D flags from TARGET_CFLAGS to
TARGET_CPPFLAGS in order to satisfy `configure`.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 12:57:36 +02:00
Karl Palsson c5573ce4b3 libs/c-ares: Port from old packages, and update
libcares is a dependency of mosquitto, at least.

Imported existing packages makefile, updated from 1.7.4 to 1.10.0
Added License and Maintainer information

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-06-05 10:57:56 +00:00