deps: update c-ares to v1.34.2

PR-URL: https://github.com/nodejs/node/pull/55463
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
Node.js GitHub Bot 2024-10-22 02:38:21 +02:00 committed by GitHub
parent 4320e1a7de
commit 34aba11872
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 41 additions and 29 deletions

View File

@ -12,7 +12,7 @@ INCLUDE (CheckCSourceCompiles)
INCLUDE (CheckStructHasMember)
INCLUDE (CheckLibraryExists)
PROJECT (c-ares LANGUAGES C VERSION "1.34.1" )
PROJECT (c-ares LANGUAGES C VERSION "1.34.2" )
# Set this version before release
SET (CARES_VERSION "${PROJECT_VERSION}")

View File

@ -1,4 +1,10 @@
## c-ares version 1.34.1 - Octover 9 2024
## c-ares version 1.34.2 - October 15 2024
This release contains a fix for downstream packages detecting the c-ares
version based on the contents of the header file rather than the
distributed pkgconf or cmake files.
## c-ares version 1.34.1 - October 9 2024
This release fixes a packaging issue.

View File

@ -1,6 +1,6 @@
# aminclude_static.am generated automatically by Autoconf
# from AX_AM_MACROS_STATIC on Wed Oct 9 20:58:25 EDT 2024
# from AX_AM_MACROS_STATIC on Tue Oct 15 06:09:51 EDT 2024
# Code coverage

20
deps/cares/configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.72 for c-ares 1.34.1.
# Generated by GNU Autoconf 2.72 for c-ares 1.34.2.
#
# Report bugs to <c-ares mailing list: http://lists.haxx.se/listinfo/c-ares>.
#
@ -614,8 +614,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='c-ares'
PACKAGE_TARNAME='c-ares'
PACKAGE_VERSION='1.34.1'
PACKAGE_STRING='c-ares 1.34.1'
PACKAGE_VERSION='1.34.2'
PACKAGE_STRING='c-ares 1.34.2'
PACKAGE_BUGREPORT='c-ares mailing list: http://lists.haxx.se/listinfo/c-ares'
PACKAGE_URL=''
@ -1423,7 +1423,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
'configure' configures c-ares 1.34.1 to adapt to many kinds of systems.
'configure' configures c-ares 1.34.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1494,7 +1494,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of c-ares 1.34.1:";;
short | recursive ) echo "Configuration of c-ares 1.34.2:";;
esac
cat <<\_ACEOF
@ -1635,7 +1635,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
c-ares configure 1.34.1
c-ares configure 1.34.2
generated by GNU Autoconf 2.72
Copyright (C) 2023 Free Software Foundation, Inc.
@ -2279,7 +2279,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by c-ares $as_me 1.34.1, which was
It was created by c-ares $as_me 1.34.2, which was
generated by GNU Autoconf 2.72. Invocation command line was
$ $0$ac_configure_args_raw
@ -6192,7 +6192,7 @@ fi
# Define the identity of the package.
PACKAGE='c-ares'
VERSION='1.34.1'
VERSION='1.34.2'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@ -26823,7 +26823,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by c-ares $as_me 1.34.1, which was
This file was extended by c-ares $as_me 1.34.2, which was
generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -26891,7 +26891,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
c-ares config.status 1.34.1
c-ares config.status 1.34.2
configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"

View File

@ -2,7 +2,7 @@ dnl Copyright (C) The c-ares project and its contributors
dnl SPDX-License-Identifier: MIT
AC_PREREQ([2.69])
AC_INIT([c-ares], [1.34.1],
AC_INIT([c-ares], [1.34.2],
[c-ares mailing list: http://lists.haxx.se/listinfo/c-ares])
CARES_VERSION_INFO="21:1:19"

View File

@ -386,6 +386,7 @@ MANPAGES = ares_cancel.3 \
ares_dns_rr.3 \
ares_dns_rr_add_abin.3 \
ares_dns_rr_del_abin.3 \
ares_dns_rr_del_opt_byid.3 \
ares_dns_rr_get_abin.3 \
ares_dns_rr_get_abin_cnt.3 \
ares_dns_rr_get_addr.3 \
@ -483,6 +484,7 @@ MANPAGES = ares_cancel.3 \
ares_set_socket_callback.3 \
ares_set_socket_configure_callback.3 \
ares_set_socket_functions.3 \
ares_set_socket_functions_ex.3 \
ares_set_sortlist.3 \
ares_strerror.3 \
ares_svcb_param_t.3 \

View File

@ -43,6 +43,7 @@ MANPAGES = ares_cancel.3 \
ares_dns_rr.3 \
ares_dns_rr_add_abin.3 \
ares_dns_rr_del_abin.3 \
ares_dns_rr_del_opt_byid.3 \
ares_dns_rr_get_abin.3 \
ares_dns_rr_get_abin_cnt.3 \
ares_dns_rr_get_addr.3 \
@ -140,6 +141,7 @@ MANPAGES = ares_cancel.3 \
ares_set_socket_callback.3 \
ares_set_socket_configure_callback.3 \
ares_set_socket_functions.3 \
ares_set_socket_functions_ex.3 \
ares_set_sortlist.3 \
ares_strerror.3 \
ares_svcb_param_t.3 \

View File

@ -0,0 +1,3 @@
.\" Copyright (C) 2023 The c-ares project and its contributors.
.\" SPDX-License-Identifier: MIT
.so man3/ares_dns_rr.3

View File

@ -0,0 +1,3 @@
.\" Copyright (C) 2024 The c-ares project and its contributors.
.\" SPDX-License-Identifier: MIT
.so man3/ares_set_socket_functions.3

View File

@ -32,20 +32,16 @@
#define ARES_VERSION_MAJOR 1
#define ARES_VERSION_MINOR 34
#define ARES_VERSION_PATCH 1
#define ARES_VERSION_PATCH 2
#define ARES_VERSION_STR "1.34.2"
/* NOTE: We cannot make the version string a C preprocessor stringify operation
* due to assumptions made by integrators that aren't properly using
* pkgconf or cmake and are doing their own detection based on parsing
* this header */
#define ARES_VERSION \
((ARES_VERSION_MAJOR << 16) | (ARES_VERSION_MINOR << 8) | \
(ARES_VERSION_PATCH))
/* Need a level of indirection due to argument prescan to stringify a macro
* value. */
#define ARES_STRINGIFY_PRE(s) #s
#define ARES_STRINGIFY(s) ARES_STRINGIFY_PRE(s)
#define ARES_VERSION_STR \
ARES_STRINGIFY(ARES_VERSION_MAJOR) \
"." ARES_STRINGIFY(ARES_VERSION_MINOR) "." ARES_STRINGIFY(ARES_VERSION_PATCH)
#endif

View File

@ -15,7 +15,7 @@
@SET_MAKE@
# aminclude_static.am generated automatically by Autoconf
# from AX_AM_MACROS_STATIC on Wed Oct 9 20:58:25 EDT 2024
# from AX_AM_MACROS_STATIC on Tue Oct 15 06:09:51 EDT 2024
# Copyright (C) The c-ares project and its contributors
# SPDX-License-Identifier: MIT

View File

@ -92,9 +92,9 @@ static ares_pipeevent_t *ares_pipeevent_init(void)
}
# endif
# ifdef O_CLOEXEC
fcntl(p->filedes[0], F_SETFD, O_CLOEXEC);
fcntl(p->filedes[1], F_SETFD, O_CLOEXEC);
# ifdef FD_CLOEXEC
fcntl(p->filedes[0], F_SETFD, FD_CLOEXEC);
fcntl(p->filedes[1], F_SETFD, FD_CLOEXEC);
# endif
# endif