Skip to contentSkip to conversation

c-ares: upgrade 1.27.0 -> 1.28.1

PATCH New Jason Schonberg 1 participant 1 message Nov 12, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 c-ares: upgrade 1.27.0 -> 1.28.1

Changelog 1.28.1 :

This release contains a fix for a single significant regression introduced in c-ares 1.28.0.

- ares_search() and ares_getaddrinfo() resolution fails if no search domains are specified. Issue #737

Changelog 1.28.0 :

Features:

- Emit warnings when deprecated c-ares functions are used. This can be disabled by passing a compiler definition of CARES_NO_DEPRECATED. PR #732
- Add function ares_search_dnsrec() to search for records using the new DNS record data structures. PR #719
- Rework internals to pass around ares_dns_record_t instead of binary data, this introduces new public functions of ares_query_dnsrec() and ares_send_dnsrec(). PR #730

Changes:

- tests: when performing simulated queries, reduce timeouts to make tests run faster
- Replace configuration file parsers with memory-safe parser. PR #725
- Remove acountry completely, the manpage might still get installed otherwise. Issue #718

Bugfixes:

- CMake: don't overwrite global required libraries/definitions/includes which could cause build errors for projects chain building c-ares. Issue #729
- On some platforms, netinet6/in6.h is not included by netinet/in.h and needs to be included separately. PR #728
- Fix a potential memory leak in ares_init(). Issue #724
- Some platforms don't have the isascii() function. Implement as a macro. PR #721
- CMake: Fix Chain building if CMAKE runtime paths not set
- NDots configuration should allow a value of zero. PR #735

---
 .../c-ares/{c-ares_1.27.0.bb => c-ares_1.28.1.bb}             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/c-ares/{c-ares_1.27.0.bb => c-ares_1.28.1.bb} (88%)
meta-oe/recipes-support/c-ares/c-ares_1.28.1.bb renamed from meta-oe/recipes-support/c-ares/c-ares_1.27.0.bb +2 -2
similarity index 88%
rename from meta-oe/recipes-support/c-ares/c-ares_1.27.0.bb
rename to meta-oe/recipes-support/c-ares/c-ares_1.28.1.bb
index ddd081e11..bfb46a54b 100644
@@ -5,9 +5,9 @@ SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fdbc58a6da11a9f68aa73c453818decc"
 
-SRC_URI = "https://github.com/c-ares/c-ares/releases/download/cares-1_27_0/${BPN}-${PV}.tar.gz \
+SRC_URI = "https://github.com/c-ares/c-ares/releases/download/cares-1_28_1/${BPN}-${PV}.tar.gz \
            file://run-ptest"
-SRC_URI[sha256sum] = "0a72be66959955c43e2af2fbd03418e82a2bd5464604ec9a62147e37aceb420b"
+SRC_URI[sha256sum] = "675a69fc54ddbf42e6830bc671eeb6cd89eeca43828eb413243fd2c0a760809d"
 
 PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
 PACKAGECONFIG[manpages] = ""
Signature · 1 line
2.43.0