Saturday, July 06, 2024

UPDATE: libcares 1.32.0

Here is an update to libcares 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. [PR #800](https://github.com/c-ares/c-ares/pull/800)
* 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. [PR #794](https://github.com/c-ares/c-ares/pull/794)

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.
[PR #801](https://github.com/c-ares/c-ares/pull/801)
* Clean up header inclusion logic to make hacking on code easier. [PR #797](https://github.com/c-ares/c-ares/pull/797)
* GCC/Clang: Enable even more strict warnings to catch more coding flaws. [253bdee](https://github.com/c-ares/c-ares/commit/253bdee)
* MSVC: Enable `/W4` warning level. [PR #792](https://github.com/c-ares/c-ares/pull/792)

Bugfixes:

* Tests: Fix thread race condition in test cases for EventThread. [PR #803](https://github.com/c-ares/c-ares/pull/803)
* Windows: Fix building with UNICODE. [PR #802](https://github.com/c-ares/c-ares/pull/802)
* Thread Saftey: `ares_timeout()` was missing lock. [74a64e4](https://github.com/c-ares/c-ares/commit/74a64e4)
* Fix building with DJGPP (32bit protected mode DOS). [PR #789](https://github.com/c-ares/c-ares/pull/789)

## c-ares version 1.31.0 - June 18 2024

This is a maintenance and bugfix release.

Changes:

* Enable Query Cache by default. [PR #786](https://github.com/c-ares/c-ares/pull/786)

Bugfixes:

* Enhance Windows DNS configuration change detection to also detect manual DNS
configuration changes. [PR #785](https://github.com/c-ares/c-ares/issues/785)
* Various legacy MacOS Build fixes. [Issue #782](https://github.com/c-ares/c-ares/issues/782)
* Ndots value of zero in resolv.conf was not being honored. [852a60a](https://github.com/c-ares/c-ares/commit/852a60a)
* Watt-32 build support had been broken for some time. [PR #781](https://github.com/c-ares/c-ares/pull/781)
* Distribute `ares_dns_rec_type_tostr` manpage. [PR #778](https://github.com/c-ares/c-ares/pull/778)


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/libcares/Makefile,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 Makefile
--- Makefile 8 Jun 2024 10:08:41 -0000 1.33
+++ Makefile 7 Jul 2024 04:33:45 -0000
@@ -1,13 +1,12 @@
COMMENT= asynchronous resolver library

-V= 1.30.0
+V= 1.32.0
DISTNAME= c-ares-${V}
PKGNAME= libcares-${V}
-REVISION= 0
CATEGORIES= net devel
SITES= https://github.com/c-ares/c-ares/releases/download/v${V}/

-SHARED_LIBS += cares 4.0 # 2.15.0
+SHARED_LIBS += cares 4.1 # 2.15.0

HOMEPAGE= https://c-ares.org/

Index: distinfo
===================================================================
RCS file: /cvs/ports/net/libcares/distinfo,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 distinfo
--- distinfo 8 Jun 2024 10:08:41 -0000 1.19
+++ distinfo 7 Jul 2024 04:33:45 -0000
@@ -1,2 +1,2 @@
-SHA256 (c-ares-1.30.0.tar.gz) = T+oxIRICG87wgSA7HqAgEJhC/rWM2KNqPT9+DYvBE4w=
-SIZE (c-ares-1.30.0.tar.gz) = 1009440
+SHA256 (c-ares-1.32.0.tar.gz) = WrP60G7bmP6Agf6+HkGgJ8+jGZ/FJaWchRN2QU/iTFs=
+SIZE (c-ares-1.32.0.tar.gz) = 1021855
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/libcares/pkg/PLIST,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 PLIST
--- pkg/PLIST 24 May 2024 19:42:56 -0000 1.16
+++ pkg/PLIST 7 Jul 2024 04:33:45 -0000
@@ -3,7 +3,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/
lib/cmake/c-ares/
@@ -34,6 +33,7 @@ lib/pkgconfig/libcares.pc
@man man/man3/ares_dns_rcode_tostr.3
@man man/man3/ares_dns_rec_type_fromstr.3
@man man/man3/ares_dns_rec_type_t.3
+@man man/man3/ares_dns_rec_type_tostr.3
@man man/man3/ares_dns_record.3
@man man/man3/ares_dns_record_create.3
@man man/man3/ares_dns_record_destroy.3
@@ -53,6 +53,10 @@ lib/pkgconfig/libcares.pc
@man man/man3/ares_dns_record_rr_get.3
@man man/man3/ares_dns_record_rr_get_const.3
@man man/man3/ares_dns_rr.3
+@man man/man3/ares_dns_rr_add_abin.3
+@man man/man3/ares_dns_rr_del_abin.3
+@man man/man3/ares_dns_rr_get_abin.3
+@man man/man3/ares_dns_rr_get_abin_cnt.3
@man man/man3/ares_dns_rr_get_addr.3
@man man/man3/ares_dns_rr_get_addr6.3
@man man/man3/ares_dns_rr_get_bin.3

No comments:

Post a Comment