Skip to content

Commit fa9329c

Browse files
nodejs-github-botruyadorno
authored andcommitted
deps: update c-ares to v1.34.2
PR-URL: #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>
1 parent 50d983e commit fa9329c

12 files changed

+41
-29
lines changed

deps/cares/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ INCLUDE (CheckCSourceCompiles)
1212
INCLUDE (CheckStructHasMember)
1313
INCLUDE (CheckLibraryExists)
1414

15-
PROJECT (c-ares LANGUAGES C VERSION "1.34.1" )
15+
PROJECT (c-ares LANGUAGES C VERSION "1.34.2" )
1616

1717
# Set this version before release
1818
SET (CARES_VERSION "${PROJECT_VERSION}")

deps/cares/RELEASE-NOTES.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
## c-ares version 1.34.1 - Octover 9 2024
1+
## c-ares version 1.34.2 - October 15 2024
2+
3+
This release contains a fix for downstream packages detecting the c-ares
4+
version based on the contents of the header file rather than the
5+
distributed pkgconf or cmake files.
6+
7+
## c-ares version 1.34.1 - October 9 2024
28

39
This release fixes a packaging issue.
410

deps/cares/aminclude_static.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# aminclude_static.am generated automatically by Autoconf
3-
# from AX_AM_MACROS_STATIC on Wed Oct 9 20:58:25 EDT 2024
3+
# from AX_AM_MACROS_STATIC on Tue Oct 15 06:09:51 EDT 2024
44

55

66
# Code coverage

deps/cares/configure

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.72 for c-ares 1.34.1.
3+
# Generated by GNU Autoconf 2.72 for c-ares 1.34.2.
44
#
55
# Report bugs to <c-ares mailing list: http://lists.haxx.se/listinfo/c-ares>.
66
#
@@ -614,8 +614,8 @@ MAKEFLAGS=
614614
# Identity of this package.
615615
PACKAGE_NAME='c-ares'
616616
PACKAGE_TARNAME='c-ares'
617-
PACKAGE_VERSION='1.34.1'
618-
PACKAGE_STRING='c-ares 1.34.1'
617+
PACKAGE_VERSION='1.34.2'
618+
PACKAGE_STRING='c-ares 1.34.2'
619619
PACKAGE_BUGREPORT='c-ares mailing list: http://lists.haxx.se/listinfo/c-ares'
620620
PACKAGE_URL=''
621621

@@ -1423,7 +1423,7 @@ if test "$ac_init_help" = "long"; then
14231423
# Omit some internal or obsolete options to make the list less imposing.
14241424
# This message is too long to be a string in the A/UX 3.1 sh.
14251425
cat <<_ACEOF
1426-
'configure' configures c-ares 1.34.1 to adapt to many kinds of systems.
1426+
'configure' configures c-ares 1.34.2 to adapt to many kinds of systems.
14271427

14281428
Usage: $0 [OPTION]... [VAR=VALUE]...
14291429

@@ -1494,7 +1494,7 @@ fi
14941494

14951495
if test -n "$ac_init_help"; then
14961496
case $ac_init_help in
1497-
short | recursive ) echo "Configuration of c-ares 1.34.1:";;
1497+
short | recursive ) echo "Configuration of c-ares 1.34.2:";;
14981498
esac
14991499
cat <<\_ACEOF
15001500

@@ -1635,7 +1635,7 @@ fi
16351635
test -n "$ac_init_help" && exit $ac_status
16361636
if $ac_init_version; then
16371637
cat <<\_ACEOF
1638-
c-ares configure 1.34.1
1638+
c-ares configure 1.34.2
16391639
generated by GNU Autoconf 2.72
16401640

16411641
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2279,7 +2279,7 @@ cat >config.log <<_ACEOF
22792279
This file contains any messages produced by compilers while
22802280
running configure, to aid debugging if configure makes a mistake.
22812281

2282-
It was created by c-ares $as_me 1.34.1, which was
2282+
It was created by c-ares $as_me 1.34.2, which was
22832283
generated by GNU Autoconf 2.72. Invocation command line was
22842284

22852285
$ $0$ac_configure_args_raw
@@ -6192,7 +6192,7 @@ fi
61926192

61936193
# Define the identity of the package.
61946194
PACKAGE='c-ares'
6195-
VERSION='1.34.1'
6195+
VERSION='1.34.2'
61966196

61976197

61986198
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -26823,7 +26823,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2682326823
# report actual input values of CONFIG_FILES etc. instead of their
2682426824
# values after options handling.
2682526825
ac_log="
26826-
This file was extended by c-ares $as_me 1.34.1, which was
26826+
This file was extended by c-ares $as_me 1.34.2, which was
2682726827
generated by GNU Autoconf 2.72. Invocation command line was
2682826828

2682926829
CONFIG_FILES = $CONFIG_FILES
@@ -26891,7 +26891,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
2689126891
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2689226892
ac_cs_config='$ac_cs_config_escaped'
2689326893
ac_cs_version="\\
26894-
c-ares config.status 1.34.1
26894+
c-ares config.status 1.34.2
2689526895
configured by $0, generated by GNU Autoconf 2.72,
2689626896
with options \\"\$ac_cs_config\\"
2689726897

deps/cares/configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dnl Copyright (C) The c-ares project and its contributors
22
dnl SPDX-License-Identifier: MIT
33
AC_PREREQ([2.69])
44

5-
AC_INIT([c-ares], [1.34.1],
5+
AC_INIT([c-ares], [1.34.2],
66
[c-ares mailing list: http://lists.haxx.se/listinfo/c-ares])
77

88
CARES_VERSION_INFO="21:1:19"

deps/cares/docs/Makefile.in

+2
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ MANPAGES = ares_cancel.3 \
386386
ares_dns_rr.3 \
387387
ares_dns_rr_add_abin.3 \
388388
ares_dns_rr_del_abin.3 \
389+
ares_dns_rr_del_opt_byid.3 \
389390
ares_dns_rr_get_abin.3 \
390391
ares_dns_rr_get_abin_cnt.3 \
391392
ares_dns_rr_get_addr.3 \
@@ -483,6 +484,7 @@ MANPAGES = ares_cancel.3 \
483484
ares_set_socket_callback.3 \
484485
ares_set_socket_configure_callback.3 \
485486
ares_set_socket_functions.3 \
487+
ares_set_socket_functions_ex.3 \
486488
ares_set_sortlist.3 \
487489
ares_strerror.3 \
488490
ares_svcb_param_t.3 \

deps/cares/docs/Makefile.inc

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ MANPAGES = ares_cancel.3 \
4343
ares_dns_rr.3 \
4444
ares_dns_rr_add_abin.3 \
4545
ares_dns_rr_del_abin.3 \
46+
ares_dns_rr_del_opt_byid.3 \
4647
ares_dns_rr_get_abin.3 \
4748
ares_dns_rr_get_abin_cnt.3 \
4849
ares_dns_rr_get_addr.3 \
@@ -140,6 +141,7 @@ MANPAGES = ares_cancel.3 \
140141
ares_set_socket_callback.3 \
141142
ares_set_socket_configure_callback.3 \
142143
ares_set_socket_functions.3 \
144+
ares_set_socket_functions_ex.3 \
143145
ares_set_sortlist.3 \
144146
ares_strerror.3 \
145147
ares_svcb_param_t.3 \
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.\" Copyright (C) 2023 The c-ares project and its contributors.
2+
.\" SPDX-License-Identifier: MIT
3+
.so man3/ares_dns_rr.3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.\" Copyright (C) 2024 The c-ares project and its contributors.
2+
.\" SPDX-License-Identifier: MIT
3+
.so man3/ares_set_socket_functions.3

deps/cares/include/ares_version.h

+7-11
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,16 @@
3232

3333
#define ARES_VERSION_MAJOR 1
3434
#define ARES_VERSION_MINOR 34
35-
#define ARES_VERSION_PATCH 1
35+
#define ARES_VERSION_PATCH 2
36+
#define ARES_VERSION_STR "1.34.2"
37+
38+
/* NOTE: We cannot make the version string a C preprocessor stringify operation
39+
* due to assumptions made by integrators that aren't properly using
40+
* pkgconf or cmake and are doing their own detection based on parsing
41+
* this header */
3642

3743
#define ARES_VERSION \
3844
((ARES_VERSION_MAJOR << 16) | (ARES_VERSION_MINOR << 8) | \
3945
(ARES_VERSION_PATCH))
4046

41-
42-
/* Need a level of indirection due to argument prescan to stringify a macro
43-
* value. */
44-
#define ARES_STRINGIFY_PRE(s) #s
45-
#define ARES_STRINGIFY(s) ARES_STRINGIFY_PRE(s)
46-
47-
#define ARES_VERSION_STR \
48-
ARES_STRINGIFY(ARES_VERSION_MAJOR) \
49-
"." ARES_STRINGIFY(ARES_VERSION_MINOR) "." ARES_STRINGIFY(ARES_VERSION_PATCH)
50-
5147
#endif

deps/cares/src/lib/Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@SET_MAKE@
1616

1717
# aminclude_static.am generated automatically by Autoconf
18-
# from AX_AM_MACROS_STATIC on Wed Oct 9 20:58:25 EDT 2024
18+
# from AX_AM_MACROS_STATIC on Tue Oct 15 06:09:51 EDT 2024
1919

2020
# Copyright (C) The c-ares project and its contributors
2121
# SPDX-License-Identifier: MIT

deps/cares/src/lib/event/ares_event_wake_pipe.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ static ares_pipeevent_t *ares_pipeevent_init(void)
9292
}
9393
# endif
9494

95-
# ifdef O_CLOEXEC
96-
fcntl(p->filedes[0], F_SETFD, O_CLOEXEC);
97-
fcntl(p->filedes[1], F_SETFD, O_CLOEXEC);
95+
# ifdef FD_CLOEXEC
96+
fcntl(p->filedes[0], F_SETFD, FD_CLOEXEC);
97+
fcntl(p->filedes[1], F_SETFD, FD_CLOEXEC);
9898
# endif
9999
# endif
100100

0 commit comments

Comments
 (0)