Friday, October 29, 2021

UPDATE: libcares 1.18.1

Here is an update to libcares 1.18.1.


c-ares version 1.18.0

This is a feature and bugfix release. It addresses a couple of new feature
requests as well as a couple of bug fixes.

Changes:
o Add support for URI(Uniform Resource Identifier) records via
ares_parse_uri_reply() [1]
o Provide ares_nameser.h as a public interface as needed by NodeJS [5]
o Update URLs from c-ares.haxx.se to c-ares.org [9]
o During a domain search, treat ARES_ENODATA as ARES_NXDOMAIN so that the
search process will continue to the next domain in the search. [11]
o Turn ares_gethostbyname() into a wrapper for ares_getaddrinfo() as they
followed very similar code paths and ares_gethostbyaddr() has some more
desirable features such as priority sorting and parallel queries for
AF_UNSPEC. [12]
o ares_getaddrinfo() now contains a name element in the address info
structure as the last element. This is not an API or ABI break due to
the structure always being internally allocated and it being the last
element. [12]
o ares_parse_a_reply() and ares_parse_aaaa_reply() were nearly identical, those
now use the same helper functions for parsing rather than having their own
code. [12]
o RFC6761 Section 6.3 says "localhost" lookups need to be special cased to
return loopback addresses, and not forward queries to recursive dns servers.
On Windows this now returns all loopback addresses, on other systems it
returns 127.0.0.1 or ::1 always, and will never forward a request for
"localhost" to outside DNS servers. [13]
o Haiki: port [14]

Bug fixes:
o add build to .gitignore [2]
o z/OS minor update, add missing semicolon in ares_init.c [3]
o Fix building when latest ax_code_coverage.m4 is imported [4]
o Work around autotools 'error: too many loops' and other newer autotools
import related bugs.
o MinGW cross builds need advapi32 link as lower case [6]
o Cygwin build fix due to containing both socket.h and winsock2.h [7]
o ares_expand_name should allow underscores (_) as SRV records legitimately use
them [8]
o Allow '/' as a valid character for a returned name for CNAME in-addr.arpa
delegation [10]
o ares_getaddrinfo() was not honoring HOSTALIASES [12]
o ares_getaddrinfo() had some test cases disabled due to a bug in the test
framework itself which has now been resolved [12]
o Due to Travis-CI becoming unfriendly to open-source, Cirrus-CI has now been
brought online for automated unit testing.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/libcares/Makefile,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 Makefile
--- Makefile 11 Aug 2021 23:30:15 -0000 1.21
+++ Makefile 27 Oct 2021 06:47:12 -0000
@@ -2,13 +2,13 @@

COMMENT= asynchronous resolver library

-V= 1.17.2
+V= 1.18.1
DISTNAME= c-ares-${V}
PKGNAME= libcares-${V}
CATEGORIES= net devel
MASTER_SITES= ${HOMEPAGE}download/

-SHARED_LIBS += cares 3.2 # 6.3
+SHARED_LIBS += cares 3.3 # 6.3

HOMEPAGE= https://c-ares.haxx.se/

Index: distinfo
===================================================================
RCS file: /home/cvs/ports/net/libcares/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo 11 Aug 2021 23:30:15 -0000 1.11
+++ distinfo 27 Oct 2021 06:47:20 -0000
@@ -1,2 +1,2 @@
-SHA256 (c-ares-1.17.2.tar.gz) = SAPIRM4gzlEO8OuD+OpB+iTsqunSgMRoxYLSuyWzkT0=
-SIZE (c-ares-1.17.2.tar.gz) = 1538276
+SHA256 (c-ares-1.18.1.tar.gz) = Gn1SqKhKn7/7G+kTPA9uFyF9kepab6Yfa0cpzaeOu88=
+SIZE (c-ares-1.18.1.tar.gz) = 1560165
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/net/libcares/pkg/PLIST,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 PLIST
--- pkg/PLIST 11 Aug 2021 23:30:15 -0000 1.11
+++ pkg/PLIST 26 Oct 2021 02:46:42 -0000
@@ -2,6 +2,7 @@
include/ares.h
include/ares_build.h
include/ares_dns.h
+include/ares_nameser.h
include/ares_rules.h
include/ares_version.h
@static-lib lib/libcares.a
@@ -47,6 +48,7 @@ lib/pkgconfig/libcares.pc
@man man/man3/ares_parse_soa_reply.3
@man man/man3/ares_parse_srv_reply.3
@man man/man3/ares_parse_txt_reply.3
+@man man/man3/ares_parse_uri_reply.3
@man man/man3/ares_process.3
@man man/man3/ares_query.3
@man man/man3/ares_save_options.3

No comments:

Post a Comment