diff options
author | wiz <wiz@pkgsrc.org> | 2021-11-01 09:57:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-11-01 09:57:53 +0000 |
commit | 647ccf17f62d29276b2036c3956afdad86de7ad4 (patch) | |
tree | 6f768b1e1fd7fae8f85387dcee265b10c3b30a5c /net | |
parent | 50924a12d28e3f15031fcc977c7a745b8b076dd0 (diff) | |
download | pkgsrc-647ccf17f62d29276b2036c3956afdad86de7ad4.tar.gz |
libcares: update to 1.18.1.
c-ares version 1.18.1 - Oct 27 2021
Bug fixes:
ares_getaddrinfo() would return ai_addrlen of 16 for ipv6
adddresses rather than the sizeof(struct sockaddr_in6)
c-ares version 1.18.0 - Oct 25 2021
Changes:
Add support for URI(Uniform Resource Identifier) records via
ares_parse_uri_reply()
Provide ares_nameser.h as a public interface as needed by NodeJS
Update URLs from c-ares.haxx.se to c-ares.org
During a domain search, treat ARES_ENODATA as ARES_NXDOMAIN so
that the search process will continue to the next domain in
the search.
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.
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.
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.
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.
Haiki: port
Bug fixes:
add build to .gitignore
z/OS minor update, add missing semicolon in ares_init.c
Fix building when latest ax_code_coverage.m4 is imported
Work around autotools 'error: too many loops' and other newer
autotools import related bugs.
MinGW cross builds need advapi32 link as lower case
Cygwin build fix due to containing both socket.h and winsock2.h
ares_expand_name should allow underscores (_) as SRV records
legitimately use them
Allow '/' as a valid character for a returned name for CNAME
in-addr.arpa delegation
ares_getaddrinfo() was not honoring HOSTALIASES
ares_getaddrinfo() had some test cases disabled due to a bug
in the test framework itself which has now been resolved
Diffstat (limited to 'net')
-rw-r--r-- | net/libcares/Makefile | 4 | ||||
-rw-r--r-- | net/libcares/PLIST | 6 | ||||
-rw-r--r-- | net/libcares/distinfo | 8 |
3 files changed, 10 insertions, 8 deletions
diff --git a/net/libcares/Makefile b/net/libcares/Makefile index 2d5ce130ae5..bf126ac1e7b 100644 --- a/net/libcares/Makefile +++ b/net/libcares/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.30 2021/08/10 07:27:23 wiz Exp $ +# $NetBSD: Makefile,v 1.31 2021/11/01 09:57:53 wiz Exp $ -DISTNAME= c-ares-1.17.2 +DISTNAME= c-ares-1.18.1 PKGNAME= ${DISTNAME:S/c-/libc/1} CATEGORIES= net MASTER_SITES= https://c-ares.haxx.se/download/ diff --git a/net/libcares/PLIST b/net/libcares/PLIST index e5112dfac65..82cc94d61f7 100644 --- a/net/libcares/PLIST +++ b/net/libcares/PLIST @@ -1,10 +1,11 @@ -@comment $NetBSD: PLIST,v 1.15 2021/08/10 07:27:23 wiz Exp $ +@comment $NetBSD: PLIST,v 1.16 2021/11/01 09:57:53 wiz Exp $ bin/acountry bin/adig bin/ahost include/ares.h include/ares_build.h include/ares_dns.h +include/ares_nameser.h include/ares_rules.h include/ares_version.h lib/cmake/c-ares/c-ares-config-version.cmake @@ -13,7 +14,7 @@ lib/cmake/c-ares/c-ares-targets-noconfig.cmake lib/cmake/c-ares/c-ares-targets.cmake lib/libcares.so lib/libcares.so.2 -lib/libcares.so.2.4.3 +lib/libcares.so.2.5.1 lib/libcares_static.a lib/pkgconfig/libcares.pc man/man1/acountry.1 @@ -58,6 +59,7 @@ man/man3/ares_parse_ptr_reply.3 man/man3/ares_parse_soa_reply.3 man/man3/ares_parse_srv_reply.3 man/man3/ares_parse_txt_reply.3 +man/man3/ares_parse_uri_reply.3 man/man3/ares_process.3 man/man3/ares_query.3 man/man3/ares_save_options.3 diff --git a/net/libcares/distinfo b/net/libcares/distinfo index d5bec4b77c0..ec91d38baf8 100644 --- a/net/libcares/distinfo +++ b/net/libcares/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.25 2021/10/26 11:05:53 nia Exp $ +$NetBSD: distinfo,v 1.26 2021/11/01 09:57:53 wiz Exp $ -BLAKE2s (c-ares-1.17.2.tar.gz) = d20a55794584e90a0bfea5aef42336ce84e6c4f608888523ebea5314f4fef28b -SHA512 (c-ares-1.17.2.tar.gz) = f625e0ef8508af6475d3e83b51ab29be8a4878e2a87e7f518bea046b76a74bfde7043ca6ec2a9e714c898ab9e5d4a5a678c3347a9f9eb68980438f7ca8ae3fc8 -Size (c-ares-1.17.2.tar.gz) = 1538276 bytes +BLAKE2s (c-ares-1.18.1.tar.gz) = b615be58ffd92e7b6eefdb33c891034d25718da7d8ca369f54ea37d1132ca1e0 +SHA512 (c-ares-1.18.1.tar.gz) = 1276ec0799916019f8c0af6b55a139701bd15e0ca4a00811d07963893978bc96c107b980f0fd49f81aa70bc8b3b8cd671195ba357c390772d4c2c5643c50c5a5 +Size (c-ares-1.18.1.tar.gz) = 1560165 bytes |