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 #700diff -r1.42 -r1.43 pkgsrc/net/libcares/Makefile
(wiz)
@@ -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 | |||
3 | DISTNAME= c-ares-1.26.0 | 3 | DISTNAME= c-ares-1.27.0 | |
4 | PKGNAME= ${DISTNAME:S/c-/libc/1} | 4 | PKGNAME= ${DISTNAME:S/c-/libc/1} | |
5 | CATEGORIES= net | 5 | CATEGORIES= net | |
6 | MASTER_SITES= https://c-ares.haxx.se/download/ | 6 | MASTER_SITES= https://c-ares.haxx.se/download/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://c-ares.haxx.se/ | 9 | HOMEPAGE= https://c-ares.haxx.se/ | |
10 | COMMENT= Asynchronous resolver library, c-ares | 10 | COMMENT= Asynchronous resolver library, c-ares | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | CMAKE_ARGS+= -DCARES_STATIC=ON | 13 | CMAKE_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" |
@@ -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 $ | |
2 | bin/adig | 2 | bin/adig | |
3 | bin/ahost | 3 | bin/ahost | |
4 | include/ares.h | 4 | include/ares.h | |
5 | include/ares_build.h | 5 | include/ares_build.h | |
6 | include/ares_dns.h | 6 | include/ares_dns.h | |
7 | include/ares_dns_record.h | 7 | include/ares_dns_record.h | |
8 | include/ares_nameser.h | 8 | include/ares_nameser.h | |
9 | include/ares_rules.h | 9 | include/ares_rules.h | |
10 | include/ares_version.h | 10 | include/ares_version.h | |
11 | lib/cmake/c-ares/c-ares-config-version.cmake | 11 | lib/cmake/c-ares/c-ares-config-version.cmake | |
12 | lib/cmake/c-ares/c-ares-config.cmake | 12 | lib/cmake/c-ares/c-ares-config.cmake | |
13 | lib/cmake/c-ares/c-ares-targets-noconfig.cmake | 13 | lib/cmake/c-ares/c-ares-targets-noconfig.cmake | |
14 | lib/cmake/c-ares/c-ares-targets.cmake | 14 | lib/cmake/c-ares/c-ares-targets.cmake | |
15 | lib/libcares.so | 15 | lib/libcares.so | |
16 | lib/libcares.so.2 | 16 | lib/libcares.so.2 | |
17 | lib/libcares.so.2.11.0 | 17 | lib/libcares.so.2.12.0 | |
18 | lib/libcares_static.a | 18 | lib/libcares_static.a | |
19 | lib/pkgconfig/libcares.pc | 19 | lib/pkgconfig/libcares.pc | |
20 | man/man1/adig.1 | 20 | man/man1/adig.1 | |
21 | man/man1/ahost.1 | 21 | man/man1/ahost.1 | |
22 | man/man3/ares_cancel.3 | 22 | man/man3/ares_cancel.3 | |
23 | man/man3/ares_create_query.3 | 23 | man/man3/ares_create_query.3 | |
24 | man/man3/ares_destroy.3 | 24 | man/man3/ares_destroy.3 | |
25 | man/man3/ares_destroy_options.3 | 25 | man/man3/ares_destroy_options.3 | |
26 | man/man3/ares_dns_class_fromstr.3 | 26 | man/man3/ares_dns_class_fromstr.3 | |
27 | man/man3/ares_dns_class_t.3 | 27 | man/man3/ares_dns_class_t.3 | |
28 | man/man3/ares_dns_class_tostr.3 | 28 | man/man3/ares_dns_class_tostr.3 | |
29 | man/man3/ares_dns_datatype_t.3 | 29 | man/man3/ares_dns_datatype_t.3 | |
30 | man/man3/ares_dns_flags_t.3 | 30 | man/man3/ares_dns_flags_t.3 |
@@ -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 | |||
3 | BLAKE2s (c-ares-1.26.0.tar.gz) = eda1579df16629c92658d39df8c94e4276f17318be2cc2fa35ee9e06a1015b01 | 3 | BLAKE2s (c-ares-1.27.0.tar.gz) = 836fc527d014700041a3c1e69afc9ec974d9aedf8d35551d00691bc4701c34a9 | |
4 | SHA512 (c-ares-1.26.0.tar.gz) = 81657b8b9840a565b04ecf87ef8f0fc3192a9594808e47aed5e5bbebf2b5f0066b0cd5fae70f0fe70b68d428b4cc75fba22d2ae7683c6d0f87979c414c072af1 | 4 | SHA512 (c-ares-1.27.0.tar.gz) = d0bffeeabdc5f1d4cececd46bd495b8224a64eaaf6d2a91c5475517440effe0e096146a1ebf19ece07367198be576c61b11961d5e4c3f601c5c5529ce4fcb46a | |
5 | Size (c-ares-1.26.0.tar.gz) = 1298394 bytes | 5 | Size (c-ares-1.27.0.tar.gz) = 1301440 bytes |