Re: UPDATE: libcares 1.19.0

2023-04-09 Thread Rafael Sadowski
On Sat Apr 08, 2023 at 06:22:23AM -0400, Brad Smith wrote:
> Here is an update to libcares 1.19.0.

Committed, thanks!

> 
> 
> c-ares version 1.19.0
> 
> This is a feature and bugfix release.  It addresses a couple of new feature
> requests as well as a couple of bug fixes.
> 
> Security:
>  o Low. Stack overflow in ares_set_sortlist() which is used during c-ares
>initialization and typically provided by an administrator and not an
>end user. [24]
> 
> Changes:
>  o Windows: Drop support for XP and derivatives which greatly cleans up
>initialization code. [3]
>  o Add ARES_OPT_HOSTS_FILE similar to ARES_OPT_RESOLVCONF for specifying a
>custom hosts file location. [10]
>  o Add vcpkg installation instructions [13]
> 
> Bug fixes:
>  o Fix cross-compilation from Windows to Linux due to CPACK logic. [1]
>  o Fix memory leak in reading /etc/hosts when using localhost fallback. [2]
>  o Fix chain building c-ares when libresolv is already included by another
>project [4]
>  o File lookup should not immediately abort as there may be other tries due to
>search criteria.
>  o Asterisks should be allowed in host validation as CNAMEs may reference
>wildcard domains [5]
>  o AutoTools build system referenced bad STDC_HEADERS macro [6]
>  o Even if one address class returns a failure for ares_getaddrinfo() we 
> should
>still return the results we have
>  o CMake Windows: DLLs did not include resource file to include versions [7] 
> [8]
>  o CMake: Guard target creation in exported config [9]
>  o Fix ares_getaddrinfo() numerical address resolution with AF_UNSPEC [11]
>  o Apple: fix libresolv configured query times. [12]
>  o Fix tools and help information [14] [15]
>  o Various documentation fixes and cleanups [16] [22] [25]
>  o Add include guards to ares_data.h [17]
>  o c-ares could try to exceed maximum number of iovec entries supported by
>system [18]
>  o CMake package config generation allow for absolute install paths [19]
>  o Intel compiler fixes [20]
>  o ares_strsplit bugs [21] [23]
>  o The RFC6761 6.3 states localhost subdomains must be offline too. [26]
> 
> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/net/libcares/Makefile,v
> retrieving revision 1.23
> diff -u -p -u -p -r1.23 Makefile
> --- Makefile  11 Mar 2022 19:46:13 -  1.23
> +++ Makefile  28 Jan 2023 22:14:28 -
> @@ -1,6 +1,6 @@
>  COMMENT= asynchronous resolver library
>  
> -V=   1.18.1
> +V=   1.19.0
>  DISTNAME=c-ares-${V}
>  PKGNAME= libcares-${V}
>  CATEGORIES=  net devel
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/net/libcares/distinfo,v
> retrieving revision 1.12
> diff -u -p -u -p -r1.12 distinfo
> --- distinfo  7 Dec 2021 19:55:17 -   1.12
> +++ distinfo  28 Jan 2023 22:14:35 -
> @@ -1,2 +1,2 @@
> -SHA256 (c-ares-1.18.1.tar.gz) = Gn1SqKhKn7/7G+kTPA9uFyF9kepab6Yfa0cpzaeOu88=
> -SIZE (c-ares-1.18.1.tar.gz) = 1560165
> +SHA256 (c-ares-1.19.0.tar.gz) = v866N+I/1TEpOCkALKwEAe9JptxVkj9/kiNlhbetHdM=
> +SIZE (c-ares-1.19.0.tar.gz) = 1572210
> 



UPDATE: libcares 1.19.0

2023-04-08 Thread Brad Smith
Here is an update to libcares 1.19.0.


c-ares version 1.19.0

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

Security:
 o Low. Stack overflow in ares_set_sortlist() which is used during c-ares
   initialization and typically provided by an administrator and not an
   end user. [24]

Changes:
 o Windows: Drop support for XP and derivatives which greatly cleans up
   initialization code. [3]
 o Add ARES_OPT_HOSTS_FILE similar to ARES_OPT_RESOLVCONF for specifying a
   custom hosts file location. [10]
 o Add vcpkg installation instructions [13]

Bug fixes:
 o Fix cross-compilation from Windows to Linux due to CPACK logic. [1]
 o Fix memory leak in reading /etc/hosts when using localhost fallback. [2]
 o Fix chain building c-ares when libresolv is already included by another
   project [4]
 o File lookup should not immediately abort as there may be other tries due to
   search criteria.
 o Asterisks should be allowed in host validation as CNAMEs may reference
   wildcard domains [5]
 o AutoTools build system referenced bad STDC_HEADERS macro [6]
 o Even if one address class returns a failure for ares_getaddrinfo() we should
   still return the results we have
 o CMake Windows: DLLs did not include resource file to include versions [7] [8]
 o CMake: Guard target creation in exported config [9]
 o Fix ares_getaddrinfo() numerical address resolution with AF_UNSPEC [11]
 o Apple: fix libresolv configured query times. [12]
 o Fix tools and help information [14] [15]
 o Various documentation fixes and cleanups [16] [22] [25]
 o Add include guards to ares_data.h [17]
 o c-ares could try to exceed maximum number of iovec entries supported by
   system [18]
 o CMake package config generation allow for absolute install paths [19]
 o Intel compiler fixes [20]
 o ares_strsplit bugs [21] [23]
 o The RFC6761 6.3 states localhost subdomains must be offline too. [26]


Index: Makefile
===
RCS file: /home/cvs/ports/net/libcares/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- Makefile11 Mar 2022 19:46:13 -  1.23
+++ Makefile28 Jan 2023 22:14:28 -
@@ -1,6 +1,6 @@
 COMMENT=   asynchronous resolver library
 
-V= 1.18.1
+V= 1.19.0
 DISTNAME=  c-ares-${V}
 PKGNAME=   libcares-${V}
 CATEGORIES=net devel
Index: distinfo
===
RCS file: /home/cvs/ports/net/libcares/distinfo,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 distinfo
--- distinfo7 Dec 2021 19:55:17 -   1.12
+++ distinfo28 Jan 2023 22:14:35 -
@@ -1,2 +1,2 @@
-SHA256 (c-ares-1.18.1.tar.gz) = Gn1SqKhKn7/7G+kTPA9uFyF9kepab6Yfa0cpzaeOu88=
-SIZE (c-ares-1.18.1.tar.gz) = 1560165
+SHA256 (c-ares-1.19.0.tar.gz) = v866N+I/1TEpOCkALKwEAe9JptxVkj9/kiNlhbetHdM=
+SIZE (c-ares-1.19.0.tar.gz) = 1572210