pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libcares



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Sep  2 20:50:42 UTC 2024

Modified Files:
        pkgsrc/net/libcares: Makefile PLIST distinfo

Log Message:
libcares: updated to 1.33.1

c-ares version 1.33.1 - August 23 2024
This is a bugfix release.

Bugfixes:

Work around systemd-resolved quirk that returns unexpected codes for single label names. Also adds test cases to validate the work around works and will continue to work in future releases.
Fix sysconfig ndots default value, also adds containerized test case to prevent future regressions.
Fix blank DNS name returning error code rather than valid record for commands like: adig -t SOA .. Also adds test case to prevent future regressions. 9e574af
Fix calculation of query times > 1s. 2b2eae7
Fix building on old Linux releases that don’t have TCP_FASTOPEN_CONNECT. b7a89b9
Fix minor Android build warnings.

c-ares version 1.33.0 - August 2 2024
This is a feature and bugfix release.

Features:

Add DNS cookie support (RFC7873 + RFC9018) to help prevent off-path cache poisoning attacks.
Implement TCP FastOpen (TFO) RFC7413, which will make TCP reconnects 0-RTT on supported systems.
Changes:

Reorganize source tree.
Refactoring of connection handling to prevent code duplication.
New dynamic array data structure to prevent simple logic flaws in array handling in various code paths.
Bugfixes:

ares_destroy() race condition during shutdown due to missing lock.
Android: Preserve thread name after attaching it to JVM.
Windows UWP (Store) support fix.

c-ares version 1.32.3 - July 24 2024
This is a bugfix release.

Changes:

Prevent complex recursion during query requeuing and connection cleanup for stability. e8b32b8
Better propagate error codes on requeue situations. a9bc0a2
Try to prevent SIGPIPE from being generated and delivered to integrations. de01baa
Bugfixes:

Missing manpage for ares_dns_record_set_id() aa462b3
Memory leak in ares__hosts_entry_to_hostent() due to allocation strategy.
UDP write failure detected via ICMP unreachable should trigger faster failover.
Fix pycares test case regression due to wrong error code being returned. Regression from 1.31.0.
Fix possible Windows crash during ares_destroy() when using event threads. 5609bd4
ARES_OPT_MAXTIMEOUTMS wasn’t being honored in all cases. a649c60
c-ares version 1.32.2 - July 15 2024
This is a bugfix release.

Bugfixes:

Windows: rework EventThread AFD code for better stability.
Windows: If an IP address was detected to have changed, it could lead to a crash due to a bad pointer. Regression introduced in 1.31.0. 59e3a1f4
Windows: use QueryPerformanceCounters() instead of GetTickCount64() for better time accuracy (~15ms -> ~1us). 8a50fc6c
Windows 32bit config change callback needs to be tagged as stdcall otherwise could result in a crash. 5c2bab35
Tests that need accurate timing should not depend on internal symbols as there are C++ equivalents in std::chrono.
Kqueue (MacOS, *BSD): If the open socket count exceeded 8 (unlikely), it would try to allocate a new buffer that was too small. 5aad7981

c-ares version 1.32.1 - July 7 2024
This is a bugfix release.

Bugfixes:

Channel lock needs to be recursive to ensure calls into c-ares functions can be made from callbacks otherwise deadlocks will occur. This regression was introduced in 1.32.0.
c-ares version 1.32.0 - July 4 2024
This is a feature and bugfix release.

Features:

Add support for DNS 0x20 to help prevent cache poisoning attacks, enabled by specifying ARES_FLAG_DNS0x20. Disabled by default.
Rework query timeout logic to automatically adjust timeouts based on network conditions. The timeout specified now is only used as a hint until there is enough history to calculate a more valid 
timeout.
Changes:

DNS RR TXT strings should not be automatically concatenated as there are use cases outside of RFC 7208. In order to maintain ABI compliance, the ability to retrieve TXT strings concatenated is 
retained as well as a new API to retrieve the individual strings. This restores behavior from c-ares 1.20.0.
Clean up header inclusion logic to make hacking on code easier.
GCC/Clang: Enable even more strict warnings to catch more coding flaws. 253bdee
MSVC: Enable /W4 warning level.
Bugfixes:

Tests: Fix thread race condition in test cases for EventThread.
Windows: Fix building with UNICODE.
Thread Saftey: ares_timeout() was missing lock. 74a64e4
Fix building with DJGPP (32bit protected mode DOS).


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/net/libcares/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/net/libcares/PLIST
cvs rdiff -u -r1.38 -r1.39 pkgsrc/net/libcares/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libcares/Makefile
diff -u pkgsrc/net/libcares/Makefile:1.46 pkgsrc/net/libcares/Makefile:1.47
--- pkgsrc/net/libcares/Makefile:1.46   Sun Aug 25 06:19:06 2024
+++ pkgsrc/net/libcares/Makefile        Mon Sep  2 20:50:42 2024
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.46 2024/08/25 06:19:06 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2024/09/02 20:50:42 adam Exp $
 
-DISTNAME=      c-ares-1.28.1
+DISTNAME=      c-ares-1.33.1
 PKGNAME=       ${DISTNAME:S/c-/libc/1}
-PKGREVISION=   1
 CATEGORIES=    net
-MASTER_SITES=  https://c-ares.haxx.se/download/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=c-ares/}
+GITHUB_PROJECT=        c-ares
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://c-ares.haxx.se/

Index: pkgsrc/net/libcares/PLIST
diff -u pkgsrc/net/libcares/PLIST:1.28 pkgsrc/net/libcares/PLIST:1.29
--- pkgsrc/net/libcares/PLIST:1.28      Fri Apr  5 11:17:03 2024
+++ pkgsrc/net/libcares/PLIST   Mon Sep  2 20:50:42 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.28 2024/04/05 11:17:03 wiz Exp $
+@comment $NetBSD: PLIST,v 1.29 2024/09/02 20:50:42 adam Exp $
 bin/adig
 bin/ahost
 include/ares.h
@@ -6,7 +6,6 @@ include/ares_build.h
 include/ares_dns.h
 include/ares_dns_record.h
 include/ares_nameser.h
-include/ares_rules.h
 include/ares_version.h
 lib/cmake/c-ares/c-ares-config-version.cmake
 lib/cmake/c-ares/c-ares-config.cmake
@@ -14,7 +13,7 @@ lib/cmake/c-ares/c-ares-targets-noconfig
 lib/cmake/c-ares/c-ares-targets.cmake
 lib/libcares.so
 lib/libcares.so.2
-lib/libcares.so.2.13.1
+lib/libcares.so.2.18.1
 lib/libcares_static.a
 lib/pkgconfig/libcares.pc
 man/man1/adig.1
@@ -39,6 +38,7 @@ man/man3/ares_dns_rcode_t.3
 man/man3/ares_dns_rcode_tostr.3
 man/man3/ares_dns_rec_type_fromstr.3
 man/man3/ares_dns_rec_type_t.3
+man/man3/ares_dns_rec_type_tostr.3
 man/man3/ares_dns_record.3
 man/man3/ares_dns_record_create.3
 man/man3/ares_dns_record_destroy.3
@@ -57,7 +57,12 @@ man/man3/ares_dns_record_rr_cnt.3
 man/man3/ares_dns_record_rr_del.3
 man/man3/ares_dns_record_rr_get.3
 man/man3/ares_dns_record_rr_get_const.3
+man/man3/ares_dns_record_set_id.3
 man/man3/ares_dns_rr.3
+man/man3/ares_dns_rr_add_abin.3
+man/man3/ares_dns_rr_del_abin.3
+man/man3/ares_dns_rr_get_abin.3
+man/man3/ares_dns_rr_get_abin_cnt.3
 man/man3/ares_dns_rr_get_addr.3
 man/man3/ares_dns_rr_get_addr6.3
 man/man3/ares_dns_rr_get_bin.3
@@ -141,6 +146,7 @@ man/man3/ares_send_dnsrec.3
 man/man3/ares_set_local_dev.3
 man/man3/ares_set_local_ip4.3
 man/man3/ares_set_local_ip6.3
+man/man3/ares_set_server_state_callback.3
 man/man3/ares_set_servers.3
 man/man3/ares_set_servers_csv.3
 man/man3/ares_set_servers_ports.3

Index: pkgsrc/net/libcares/distinfo
diff -u pkgsrc/net/libcares/distinfo:1.38 pkgsrc/net/libcares/distinfo:1.39
--- pkgsrc/net/libcares/distinfo:1.38   Fri Apr  5 11:17:03 2024
+++ pkgsrc/net/libcares/distinfo        Mon Sep  2 20:50:42 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.38 2024/04/05 11:17:03 wiz Exp $
+$NetBSD: distinfo,v 1.39 2024/09/02 20:50:42 adam Exp $
 
-BLAKE2s (c-ares-1.28.1.tar.gz) = 0d9da71888e0db9cd9b40f5fcbd74c0c49cbbe7cff0d3d913cd461cc07094e6c
-SHA512 (c-ares-1.28.1.tar.gz) = 9a24f40002b661d97c9b49a617d2e6b12bad1c9f22e872611252d051ec650f886c010207939fac6992610b3cd5a87588f802d7dfa1310ced7c6621ea2f99dd90
-Size (c-ares-1.28.1.tar.gz) = 1312102 bytes
+BLAKE2s (c-ares-1.33.1.tar.gz) = 281fc8190fcdbe38219c58654c61e36d7199881f3b8d7783daffa2942c6e7719
+SHA512 (c-ares-1.33.1.tar.gz) = b5ec4f08539be552f01d49f03327e3999754b940d83c63fbd934c2ed34cf7f05c3f90c9eb64a78a3d7862280bf75765296576a70a6029257daaf90e3e35ab3e4
+Size (c-ares-1.33.1.tar.gz) = 1044943 bytes



Home | Main Index | Thread Index | Old Index