Fri Feb 23 12:58:34 2024 UTC (103d)
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


(wiz)
diff -r1.42 -r1.43 pkgsrc/net/libcares/Makefile
diff -r1.26 -r1.27 pkgsrc/net/libcares/PLIST
diff -r1.36 -r1.37 pkgsrc/net/libcares/distinfo

cvs diff -r1.42 -r1.43 pkgsrc/net/libcares/Makefile (expand / switch to unified diff)

--- pkgsrc/net/libcares/Makefile 2024/01/28 13:02:11 1.42
+++ pkgsrc/net/libcares/Makefile 2024/02/23 12:58:34 1.43
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.42 2024/01/28 13:02:11 wiz Exp $ 1# $NetBSD: Makefile,v 1.43 2024/02/23 12:58:34 wiz Exp $
2 2
3DISTNAME= c-ares-1.26.0 3DISTNAME= c-ares-1.27.0
4PKGNAME= ${DISTNAME:S/c-/libc/1} 4PKGNAME= ${DISTNAME:S/c-/libc/1}
5CATEGORIES= net 5CATEGORIES= net
6MASTER_SITES= https://c-ares.haxx.se/download/ 6MASTER_SITES= https://c-ares.haxx.se/download/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://c-ares.haxx.se/ 9HOMEPAGE= https://c-ares.haxx.se/
10COMMENT= Asynchronous resolver library, c-ares 10COMMENT= Asynchronous resolver library, c-ares
11LICENSE= mit 11LICENSE= mit
12 12
13CMAKE_ARGS+= -DCARES_STATIC=ON 13CMAKE_ARGS+= -DCARES_STATIC=ON
14 14
15.include "../../devel/cmake/build.mk" 15.include "../../devel/cmake/build.mk"
16.include "../../mk/bsd.pkg.mk" 16.include "../../mk/bsd.pkg.mk"

cvs diff -r1.26 -r1.27 pkgsrc/net/libcares/PLIST (expand / switch to unified diff)

--- pkgsrc/net/libcares/PLIST 2024/01/28 13:02:11 1.26
+++ pkgsrc/net/libcares/PLIST 2024/02/23 12:58:34 1.27
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1@comment $NetBSD: PLIST,v 1.26 2024/01/28 13:02:11 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.27 2024/02/23 12:58:34 wiz Exp $
2bin/adig 2bin/adig
3bin/ahost 3bin/ahost
4include/ares.h 4include/ares.h
5include/ares_build.h 5include/ares_build.h
6include/ares_dns.h 6include/ares_dns.h
7include/ares_dns_record.h 7include/ares_dns_record.h
8include/ares_nameser.h 8include/ares_nameser.h
9include/ares_rules.h 9include/ares_rules.h
10include/ares_version.h 10include/ares_version.h
11lib/cmake/c-ares/c-ares-config-version.cmake 11lib/cmake/c-ares/c-ares-config-version.cmake
12lib/cmake/c-ares/c-ares-config.cmake 12lib/cmake/c-ares/c-ares-config.cmake
13lib/cmake/c-ares/c-ares-targets-noconfig.cmake 13lib/cmake/c-ares/c-ares-targets-noconfig.cmake
14lib/cmake/c-ares/c-ares-targets.cmake 14lib/cmake/c-ares/c-ares-targets.cmake
15lib/libcares.so 15lib/libcares.so
16lib/libcares.so.2 16lib/libcares.so.2
17lib/libcares.so.2.11.0 17lib/libcares.so.2.12.0
18lib/libcares_static.a 18lib/libcares_static.a
19lib/pkgconfig/libcares.pc 19lib/pkgconfig/libcares.pc
20man/man1/adig.1 20man/man1/adig.1
21man/man1/ahost.1 21man/man1/ahost.1
22man/man3/ares_cancel.3 22man/man3/ares_cancel.3
23man/man3/ares_create_query.3 23man/man3/ares_create_query.3
24man/man3/ares_destroy.3 24man/man3/ares_destroy.3
25man/man3/ares_destroy_options.3 25man/man3/ares_destroy_options.3
26man/man3/ares_dns_class_fromstr.3 26man/man3/ares_dns_class_fromstr.3
27man/man3/ares_dns_class_t.3 27man/man3/ares_dns_class_t.3
28man/man3/ares_dns_class_tostr.3 28man/man3/ares_dns_class_tostr.3
29man/man3/ares_dns_datatype_t.3 29man/man3/ares_dns_datatype_t.3
30man/man3/ares_dns_flags_t.3 30man/man3/ares_dns_flags_t.3

cvs diff -r1.36 -r1.37 pkgsrc/net/libcares/distinfo (expand / switch to unified diff)

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