pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libcares libcares: update to 1.18.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f1e16e81399
branches:  trunk
changeset: 768753:3f1e16e81399
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 01 09:57:53 2021 +0000

description:
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:

 net/libcares/Makefile |  4 ++--
 net/libcares/PLIST    |  6 ++++--
 net/libcares/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 8 deletions(-)

diffs (58 lines):

diff -r 7e13d7f16658 -r 3f1e16e81399 net/libcares/Makefile
--- a/net/libcares/Makefile     Mon Nov 01 09:55:07 2021 +0000
+++ b/net/libcares/Makefile     Mon Nov 01 09:57:53 2021 +0000
@@ -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 -r 7e13d7f16658 -r 3f1e16e81399 net/libcares/PLIST
--- a/net/libcares/PLIST        Mon Nov 01 09:55:07 2021 +0000
+++ b/net/libcares/PLIST        Mon Nov 01 09:57:53 2021 +0000
@@ -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.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_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 -r 7e13d7f16658 -r 3f1e16e81399 net/libcares/distinfo
--- a/net/libcares/distinfo     Mon Nov 01 09:55:07 2021 +0000
+++ b/net/libcares/distinfo     Mon Nov 01 09:57:53 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index