libcares: update to 1.27.0.

This is a security, feature, and bugfix release.

Security:

    Moderate. CVE-2024-25629. Reading malformatted /etc/resolv.conf,
    /etc/nsswitch.conf or the HOSTALIASES file could result in a
    crash. GHSA-mg26-v6qh-x48q

Features:

    New function ares_queue_active_queries() to retrieve number of
    in-flight queries. PR #712
    New function ares_queue_wait_empty() to wait for the number of
    in-flight queries to reach zero. PR #710
    New ARES_FLAG_NO_DEFLT_SVR for ares_init_options() to return
    a failure if no DNS servers can be found rather than attempting
    to use 127.0.0.1. This also introduces a new ares status code
    of ARES_ENOSERVER. PR #713

Changes:

    EDNS Packet size should be 1232 as per DNS Flag Day. PR #705

Bugfixes:

    Windows DNS suffix search list memory leak. PR #711
    Fix warning due to ignoring return code of write(). PR #709
    CMake: don't override target output locations if not top-level. Issue #708
    Fix building c-ares without thread support. PR #700
This commit is contained in:
wiz 2024-02-23 12:58:34 +00:00
parent b8d588e1f0
commit 88ef8cbce3
3 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.42 2024/01/28 13:02:11 wiz Exp $
# $NetBSD: Makefile,v 1.43 2024/02/23 12:58:34 wiz Exp $
DISTNAME= c-ares-1.26.0
DISTNAME= c-ares-1.27.0
PKGNAME= ${DISTNAME:S/c-/libc/1}
CATEGORIES= net
MASTER_SITES= https://c-ares.haxx.se/download/

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.26 2024/01/28 13:02:11 wiz Exp $
@comment $NetBSD: PLIST,v 1.27 2024/02/23 12:58:34 wiz Exp $
bin/adig
bin/ahost
include/ares.h
@ -14,7 +14,7 @@ lib/cmake/c-ares/c-ares-targets-noconfig.cmake
lib/cmake/c-ares/c-ares-targets.cmake
lib/libcares.so
lib/libcares.so.2
lib/libcares.so.2.11.0
lib/libcares.so.2.12.0
lib/libcares_static.a
lib/pkgconfig/libcares.pc
man/man1/adig.1

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.36 2024/01/28 13:02:11 wiz Exp $
$NetBSD: distinfo,v 1.37 2024/02/23 12:58:34 wiz Exp $
BLAKE2s (c-ares-1.26.0.tar.gz) = eda1579df16629c92658d39df8c94e4276f17318be2cc2fa35ee9e06a1015b01
SHA512 (c-ares-1.26.0.tar.gz) = 81657b8b9840a565b04ecf87ef8f0fc3192a9594808e47aed5e5bbebf2b5f0066b0cd5fae70f0fe70b68d428b4cc75fba22d2ae7683c6d0f87979c414c072af1
Size (c-ares-1.26.0.tar.gz) = 1298394 bytes
BLAKE2s (c-ares-1.27.0.tar.gz) = 836fc527d014700041a3c1e69afc9ec974d9aedf8d35551d00691bc4701c34a9
SHA512 (c-ares-1.27.0.tar.gz) = d0bffeeabdc5f1d4cececd46bd495b8224a64eaaf6d2a91c5475517440effe0e096146a1ebf19ece07367198be576c61b11961d5e4c3f601c5c5529ce4fcb46a
Size (c-ares-1.27.0.tar.gz) = 1301440 bytes