Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
77fd504
doc: add missing supported timer values in `timers.enable()`
deokjinkim May 15, 2024
badec0c
doc: add Marco Ippolito to TSC
RafaelGSS May 15, 2024
fd91eaa
deps: upgrade npm to 10.8.0
npm-cli-bot May 16, 2024
63fcbcf
doc: remove unavailable youtube link in pull requests
deokjinkim May 16, 2024
4c65c52
doc: avoid hiding by navigation bar in anchor jumping
cloydlau May 16, 2024
4347bd2
src: improve node::Dotenv declarations
tniessen May 16, 2024
d87f9af
buffer: make compare/equals faster
tniessen May 16, 2024
879679e
lib,doc: replace references to import assertions
targos May 17, 2024
e2211a0
test_runner: avoid error when coverage line not found
MoLow May 17, 2024
0f0bc98
doc: improve ninja build for --built-in-modules-path
jakecastelli May 17, 2024
5110b19
tls: fix negative sessionTimeout handling
tniessen May 18, 2024
3f7d55b
test: add AbortController to knownGlobals
lpinca May 18, 2024
f1890ab
src: replace deprecated GetImportAssertions V8 API
targos May 18, 2024
6d8589e
deps: patch V8 to 12.4.254.17
nodejs-github-bot May 18, 2024
bb844de
benchmark: fix api restriction for the permission category
bekcpear May 18, 2024
c70b2f7
cli: add `NODE_RUN_SCRIPT_NAME` env to `node --run`
anonrig May 19, 2024
d750a3c
src: remove calls to recently deprecated V8 APIs
ajklein May 15, 2024
190129b
src: remove unused `base64_table_url`
anonrig May 19, 2024
f949080
build: set "clang" in config.gypi in GN build
zcbenz May 20, 2024
3ff174f
test_runner: fix t.assert methods
cjihrig May 20, 2024
626037c
deps: update zlib to 1.3.0.1-motley-4f653ff
nodejs-github-bot May 21, 2024
7b929df
deps: patch V8 to 12.4.254.18
nodejs-github-bot May 21, 2024
af60fbb
deps: update googletest to 33af80a
nodejs-github-bot May 21, 2024
6413769
lib: replace MessageEvent with undici's
KhafraDev Apr 29, 2024
96f72ae
deps: update undici to 6.15.0
KhafraDev May 2, 2024
ee56aec
lib: add EventSource Client
Uzlopak May 13, 2024
fe00bec
deps: update undici to 6.16.1
nodejs-github-bot May 14, 2024
7a67ecf
test_runner: support module mocking
cjihrig May 19, 2024
793af1b
deps: update undici to 6.17.0
nodejs-github-bot May 20, 2024
cfcde78
cli: add `NODE_RUN_PACKAGE_JSON_PATH` env
anonrig May 21, 2024
ec44965
src: simplify node modules traverse path
anonrig May 21, 2024
7940db7
fs: remove basename in favor of std::filesystem
anonrig May 22, 2024
4a2c6ff
src: reduce unnecessary `GetCwd` calls
anonrig May 22, 2024
494fa54
test: replace `.substr` with `.slice`
aduh95 May 22, 2024
b941992
deps: update undici to 6.18.0
nodejs-github-bot May 20, 2024
4d27b32
deps: update undici to 6.18.1
nodejs-github-bot May 22, 2024
3afeced
meta: move one or more collaborators to emeritus
nodejs-github-bot May 23, 2024
3ce7a9a
test: remove timers from test-tls-socket-close
lpinca May 23, 2024
14547c5
build: fix ./configure --help format error
kylo5aby May 23, 2024
db5dd0c
doc: add StefanStojanovic to collaborators
StefanStojanovic May 23, 2024
838fe59
src: fix execArgv in worker
theanarkh May 23, 2024
c61f909
test,doc: enable running embedtest for Windows
vmoroz May 23, 2024
7aa9519
src: fix external module env and kDisableNodeOptionsEnv
RafaelGSS May 23, 2024
9f764a8
tools: update ESLint to v9 and use flat config
targos May 23, 2024
040be4a
lib: do not call callback if socket is closed
theanarkh May 23, 2024
2859f4c
watch: fix variable naming
jakecastelli May 24, 2024
52a7873
deps: patch V8 to 12.4.254.19
nodejs-github-bot May 24, 2024
c1b3e0e
Revert "tools: add --certify-safe to nci-ci"
aduh95 May 24, 2024
a371dea
test: increase allocation so it fails for the test
AdamMajer May 24, 2024
b7d7e9a
build: fix `--enable-d8` builds
richardlau May 24, 2024
6022346
tools: update error message for Type Error
avivkeller May 25, 2024
4cdb05a
module: do not set CJS variables for Worker eval
aduh95 May 25, 2024
5fba67f
build: exit on unsupported host OS for Android
VoltrexKeyva May 25, 2024
6b1731c
src: convert all endian checks to constexpr
tniessen May 25, 2024
ca655b6
build: fix -j propagation to ninja
tniessen May 25, 2024
9a47792
test: skip `test-setproctitle` when `ps` is not available
aduh95 May 25, 2024
088dff1
doc: move all TLS-PSK documentation to its section
mildsunrise May 25, 2024
d711942
build: use broader detection for 'help'
avivkeller May 25, 2024
cf47384
doc: add note for windows users and symlinks
avivkeller May 25, 2024
e079967
meta: remove `initializeCommand` from devcontainer
avivkeller May 26, 2024
7147c1d
doc: fix wrong function name in example of `context.plan()`
deokjinkim May 26, 2024
6165894
fs: mark recursive cp methods as stable
theoludwig May 26, 2024
11f790d
src: do not use deprecated V8 API
isheludko Mar 25, 2024
3bfce6c
src: use new V8 API to define stream accessor
isheludko Apr 30, 2024
070577e
doc: fix wrong variable name in example of `timers.tick()`
deokjinkim May 27, 2024
1702d26
doc: fix format in `esm.md`
popmoore May 27, 2024
afbfe89
doc: mention pm is not enforced when using fd
RafaelGSS May 27, 2024
65b64cf
test: fix Windows native test suites
StefanStojanovic May 27, 2024
728c861
deps: fix FP16 bitcasts.h
StefanStojanovic May 28, 2024
edcadf7
build: fix building embedtest in GN build
zcbenz May 25, 2024
67a766f
doc: fix minor grammar and style issues in SECURITY.md
Trott May 28, 2024
c249289
test_runner,doc: align documentation with actual stdout/stderr behavior
MoLow May 28, 2024
1eb55f3
doc: improve explanation about built-in modules
joyeecheung May 7, 2024
374743c
process: add process.getBuiltinModule(id)
joyeecheung Apr 30, 2024
fe007cd
lib: allow CJS source map cache to be reclaimed
legendecas May 28, 2024
c1138db
test: unskip v8-updates/test-linux-perf-logger
lukealbao May 7, 2024
45c1eb1
Revert "test: skip v8-updates/test-linux-perf-logger"
lukealbao May 7, 2024
33242ff
build: add `--skip-tests` to `test-ci-js` target
aduh95 May 29, 2024
1886fe9
src: use __FUNCSIG__ on Windows in backtrace
joyeecheung May 29, 2024
c391923
doc: include ESM import for HTTP
avivkeller May 30, 2024
74cefa5
build: update ruff to v0.4.5
anonrig May 30, 2024
a0766bd
net: add new net.server.listen tracing channel
ShogunPanda May 30, 2024
0b375a3
deps: upgrade npm to 10.8.1
npm-cli-bot May 30, 2024
f6d2af8
test_runner: add context.fullName
cjihrig May 26, 2024
048478d
doc: add context.assert docs
cjihrig May 27, 2024
8c6dffc
test_runner: add snapshot testing
cjihrig May 18, 2024
812f0e9
doc: add note to ninjia build for macOS using -jn flag
jakecastelli May 30, 2024
b5c30e2
module: print amount of load time of a cjs module
H4ad May 30, 2024
86e80dc
tools: move webcrypto into no-restricted-properties
zeeqko May 30, 2024
350c733
build: support python 3.13
legendecas May 30, 2024
91971ee
doc: reserve 128 for Electron 32
VerteDinde May 31, 2024
6708536
fs: fix cp dir/non-dir mismatch error messages
fahrradflucht May 31, 2024
75e5612
src,permission: --allow-wasi & prevent WASI exec
RafaelGSS Jun 1, 2024
e26166f
src,permission: handle process.chdir on pm
RafaelGSS Jun 1, 2024
07c601e
test_runner: refactor to use min/max of `validateInteger`
deokjinkim Jun 1, 2024
a656cf6
stream: fix memory usage regression in writable
orgads Jun 2, 2024
257004c
deps: update c-ares to 1.29.0
nodejs-github-bot Jun 2, 2024
d4f5f80
test_runner: handle file rename and deletion under watch mode
jakecastelli Jun 2, 2024
98ae1eb
lib: fix the name of the fetch global function
dygabo Jun 2, 2024
6303f19
deps: patch V8 to 12.4.254.20
nodejs-github-bot Jun 2, 2024
cebbd83
test: update TLS trace tests for OpenSSL >= 3.2
richardlau Jun 2, 2024
0e85a84
test: fix test when compiled without engine support
richardlau Jun 2, 2024
feb0ba2
benchmark: fix napi/ref addon
targos Jun 2, 2024
4b9cdea
Revert "module: have a single hooks thread for all workers"
mcollina Jun 2, 2024
0976439
build: fix --v8-lite-mode build
daeyeon Jun 3, 2024
b7f5662
meta: bump codecov/codecov-action from 4.3.1 to 4.4.1
dependabot[bot] Jun 3, 2024
96924f4
meta: bump github/codeql-action from 3.25.3 to 3.25.7
dependabot[bot] Jun 3, 2024
e59b744
meta: bump actions/checkout from 4.1.4 to 4.1.6
dependabot[bot] Jun 3, 2024
062a0c6
meta: bump ossf/scorecard-action from 2.3.1 to 2.3.3
dependabot[bot] Jun 3, 2024
d89bde2
doc: add `err` param to fs.copyFile callback
F3n67u May 31, 2024
718a3ab
doc: add err param to fs.cp callback
F3n67u May 31, 2024
6409b1f
tools: update gyp-next to 0.18.1
nodejs-github-bot Jun 4, 2024
b688050
deps: update simdjson to 3.9.3
nodejs-github-bot Jun 4, 2024
77907a2
deps: update corepack to 0.28.2
nodejs-github-bot Jun 4, 2024
e45cc2a
deps: update ada to 2.8.0
nodejs-github-bot Jun 4, 2024
1d59345
buffer: add .bytes() method to Blob
KhafraDev Jun 4, 2024
7c66b27
stream: micro-optimize writable condition
orgads Jun 4, 2024
4a17dda
deps: update undici to 6.18.2
nodejs-github-bot Jun 4, 2024
638b510
cli: add `--expose-gc` flag available to `NODE_OPTIONS`
juanarbol Jun 4, 2024
8c71522
doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE
Mrtenz Jun 5, 2024
98cc094
tools: update eslint to 9.4.0
nodejs-github-bot Jun 5, 2024
34f2098
crypto: fix propagation of "memory limit exceeded"
tniessen Jun 5, 2024
2d1ecbf
test_runner: calculate executed lines using source map
MoLow Jun 5, 2024
e7f3a3c
tools: use sccache Github action
MoLow Jun 5, 2024
505e9a4
lib: fix misleading argument of validateUint32
tniessen Jun 5, 2024
7bc5f96
doc: indicate requirement on VS 17.6 or newer
legendecas Jun 6, 2024
ec83431
build: generate binlog in out directories
legendecas Jun 6, 2024
fc94992
deps: update nghttp2 to 1.62.0
nodejs-github-bot May 13, 2024
fef067f
deps: update nghttp2 to 1.62.1
nodejs-github-bot May 26, 2024
0ecb770
tools: remove no-goma arg from make-v8 script
targos Jun 6, 2024
e66eb37
repl: fix await object patterns without values
lukehaas Jun 7, 2024
cb1329a
src: use v8::(Des|S)erializeInternalFieldsCallback
joyeecheung Jun 7, 2024
133cae0
doc: fix broken link in `static-analysis.md`
richardlau Jun 7, 2024
5a41bcf
src: traverse parent folders while running `--run`
anonrig Jun 7, 2024
2e7a776
2024-06-11, Version 22.3.0 (Current)
RafaelGSS Jun 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps: update c-ares to 1.29.0
PR-URL: #53155
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
  • Loading branch information
nodejs-github-bot authored and targos committed Jun 3, 2024
commit 257004c68fe0950e4055e223fc4c58f01785b1c9
449 changes: 293 additions & 156 deletions deps/cares/CHANGES

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions deps/cares/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ INCLUDE (CheckCSourceCompiles)
INCLUDE (CheckStructHasMember)
INCLUDE (CheckLibraryExists)

PROJECT (c-ares LANGUAGES C VERSION "1.28.1" )
PROJECT (c-ares LANGUAGES C VERSION "1.29.0" )

# Set this version before release
SET (CARES_VERSION "1.28.1")
SET (CARES_VERSION "1.29.0")

INCLUDE (GNUInstallDirs) # include this *AFTER* PROJECT(), otherwise paths are wrong.

Expand All @@ -30,7 +30,7 @@ INCLUDE (GNUInstallDirs) # include this *AFTER* PROJECT(), otherwise paths are w
# For example, a version of 4:0:2 would generate output such as:
# libname.so -> libname.so.2
# libname.so.2 -> libname.so.2.2.0
SET (CARES_LIB_VERSIONINFO "15:1:13")
SET (CARES_LIB_VERSIONINFO "16:0:14")


OPTION (CARES_STATIC "Build as a static library" OFF)
Expand Down Expand Up @@ -172,7 +172,7 @@ return 0;
MACOS_V1012)
ENDIF ()

IF ((IOS OR APPLE OR ZOS) AND HAVE_LIBRESOLV)
IF (ZOS AND HAVE_LIBRESOLV)
SET (CARES_USE_LIBRESOLV 1)
ENDIF()

Expand Down Expand Up @@ -227,7 +227,6 @@ CHECK_INCLUDE_FILES (sys/select.h HAVE_SYS_SELECT_H)
CHECK_INCLUDE_FILES (sys/stat.h HAVE_SYS_STAT_H)
CHECK_INCLUDE_FILES (sys/time.h HAVE_SYS_TIME_H)
CHECK_INCLUDE_FILES (sys/uio.h HAVE_SYS_UIO_H)
CHECK_INCLUDE_FILES (sys/random.h HAVE_SYS_RANDOM_H)
CHECK_INCLUDE_FILES (sys/event.h HAVE_SYS_EVENT_H)
CHECK_INCLUDE_FILES (sys/epoll.h HAVE_SYS_EPOLL_H)
CHECK_INCLUDE_FILES (ifaddrs.h HAVE_IFADDRS_H)
Expand Down Expand Up @@ -341,7 +340,6 @@ CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_SOCKIO_H sys/sockio.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_TIME_H sys/time.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_STAT_H sys/stat.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_UIO_H sys/uio.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_RANDOM_H sys/random.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_EVENT_H sys/event.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_EPOLL_H sys/epoll.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_TIME_H time.h)
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [![c-ares logo](https://c-ares.org/art/c-ares-logo.svg)](https://c-ares.org/)

[![Build Status](https://api.cirrus-ci.com/github/c-ares/c-ares.svg?branch=main)](https://cirrus-ci.com/github/c-ares/c-ares)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/aevgc5914tm72pvs/branch/master?svg=true)](https://ci.appveyor.com/project/c-ares/c-ares/branch/master)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/aevgc5914tm72pvs/branch/main?svg=true)](https://ci.appveyor.com/project/c-ares/c-ares/branch/main)
[![Coverage Status](https://coveralls.io/repos/github/c-ares/c-ares/badge.svg)](https://coveralls.io/github/c-ares/c-ares)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/291/badge)](https://bestpractices.coreinfrastructure.org/projects/291)
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/c-ares.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:c-ares)
Expand Down
59 changes: 26 additions & 33 deletions deps/cares/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,42 @@
## c-ares version 1.28.1 - Mar 30 2024

This release contains a fix for a single significant regression introduced
in c-ares 1.28.0.

* `ares_search()` and `ares_getaddrinfo()` resolution fails if no search domains
are specified. [Issue #737](https://github.com/c-ares/c-ares/issues/737)


## c-ares version 1.28.0 - Mar 29 2024
## c-ares version 1.29.0 - May 24 2024

This is a feature and bugfix release.

Features:

* Emit warnings when deprecated c-ares functions are used. This can be
disabled by passing a compiler definition of `CARES_NO_DEPRECATED`. [PR #732](https://github.com/c-ares/c-ares/pull/732)
* Add function `ares_search_dnsrec()` to search for records using the new DNS
record data structures. [PR #719](https://github.com/c-ares/c-ares/pull/719)
* Rework internals to pass around `ares_dns_record_t` instead of binary data,
this introduces new public functions of `ares_query_dnsrec()` and
`ares_send_dnsrec()`. [PR #730](https://github.com/c-ares/c-ares/pull/730)
* When using `ARES_OPT_EVENT_THREAD`, automatically reload system configuration
when network conditions change. [PR #759](https://github.com/c-ares/c-ares/pull/759)
* Apple: reimplement DNS configuration reading to more accurately pull DNS
settings. [PR #750](https://github.com/c-ares/c-ares/pull/750)
* Add observability into DNS server health via a server state callback, invoked
whenever a query finishes. [PR #744](https://github.com/c-ares/c-ares/pull/744)
* Add server failover retry behavior, where failed servers are retried with
small probability after a minimum delay. [PR #731](https://github.com/c-ares/c-ares/pull/731)

Changes:

* tests: when performing simulated queries, reduce timeouts to make tests run
faster
* Replace configuration file parsers with memory-safe parser. [PR #725](https://github.com/c-ares/c-ares/pull/725)
* Remove `acountry` completely, the manpage might still get installed otherwise. [Issue #718](https://github.com/c-ares/c-ares/pull/718)
* Mark `ares_channel_t *` as const in more places in the public API. [PR #758](https://github.com/c-ares/c-ares/pull/758)

Bugfixes:

* CMake: don't overwrite global required libraries/definitions/includes which
could cause build errors for projects chain building c-ares. [Issue #729](https://github.com/c-ares/c-ares/issues/729)
* On some platforms, `netinet6/in6.h` is not included by `netinet/in.h`
and needs to be included separately. [PR #728](https://github.com/c-ares/c-ares/pull/728)
* Fix a potential memory leak in `ares_init()`. [Issue #724](https://github.com/c-ares/c-ares/issues/724)
* Some platforms don't have the `isascii()` function. Implement as a macro. [PR #721](https://github.com/c-ares/c-ares/pull/721)
* CMake: Fix Chain building if CMAKE runtime paths not set
* NDots configuration should allow a value of zero. [PR #735](https://github.com/c-ares/c-ares/pull/735)
* Due to a logic flaw dns name compression writing was not properly implemented
which would result in the name prefix not being written for a partial match.
This could cause issues in various record types such as MX records when using
the deprecated API. Regression introduced in 1.28.0. [Issue #757](https://github.com/c-ares/c-ares/issues/757)
* Revert OpenBSD `SOCK_DNS` flag, it doesn't do what the docs say it does and
causes c-ares to become non-functional. [PR #754](https://github.com/c-ares/c-ares/pull/754)
* `ares_getnameinfo()`: loosen validation on `salen` parameter. [Issue #752](https://github.com/c-ares/c-ares/issues/752)
* cmake: Android requires C99. [PR #748](https://github.com/c-ares/c-ares/pull/748)
* `ares_queue_wait_empty()` does not honor timeout_ms >= 0. [Issue #742](https://github.com/c-ares/c-ares/pull/742)

Thanks go to these friendly people for their efforts and contributions for this release:
Thanks go to these friendly people for their efforts and contributions for this
release:

* Brad House (@bradh352)
* Cristian Rodríguez (@crrodriguez)
* Daniel Stenberg (@bagder)
* Faraz (@farazrbx)
* Faraz Fallahi (@fffaraz)
* David Hotham (@dimbleby)
* Jiwoo Park (@jimmy-park)
* Oliver Welsh (@oliverwelsh)
* Volker Schlecht (@VlkrS)


2 changes: 1 addition & 1 deletion deps/cares/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ announcement.

- If the report is rejected, the team writes to the reporter to explain why.

- If the report is accepted, the team writes to the reporter to let him/her
- If the report is accepted, the team writes to the reporter to let them
know it is accepted and that they are working on a fix.

- The security team discusses the problem, works out a fix, considers the
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/aminclude_static.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# aminclude_static.am generated automatically by Autoconf
# from AX_AM_MACROS_STATIC on Sat Mar 30 16:17:17 CET 2024
# from AX_AM_MACROS_STATIC on Fri May 24 08:50:03 CEST 2024


# Code coverage
Expand Down
12 changes: 11 additions & 1 deletion deps/cares/cares.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
'src/lib/ares__htable_strvp.h',
'src/lib/ares__htable_szvp.c',
'src/lib/ares__htable_szvp.h',
'src/lib/ares__htable_vpvp.c',
'src/lib/ares__htable_vpvp.h',
'src/lib/ares__iface_ips.c',
'src/lib/ares__iface_ips.h',
'src/lib/ares__llist.c',
Expand All @@ -46,6 +48,7 @@
'src/lib/ares_dns_record.c',
'src/lib/ares_dns_private.h',
'src/lib/ares_dns_write.c',
'src/lib/ares_event_configchg.c',
'src/lib/ares_event.h',
'src/lib/ares_event_win32.h',
'src/lib/ares_event_epoll.c',
Expand Down Expand Up @@ -113,6 +116,11 @@
'src/tools/ares_getopt.c',
'src/tools/ares_getopt.h',
],
'cares_sources_mac': [
'config/darwin/ares_config.h',
'src/lib/ares_sysconfig_mac.c',
'src/lib/thirdparty/apple/dnsinfo.h',
],
'cares_sources_win': [
'src/lib/config-win32.h',
'src/lib/windows_port.c',
Expand Down Expand Up @@ -206,7 +214,9 @@
}],
[ 'OS=="mac" or OS=="ios"', {
'include_dirs': [ 'config/darwin' ],
'sources': [ 'config/darwin/ares_config.h' ]
'sources': [
'<@(cares_sources_mac)',
]
}],
[ 'OS=="freebsd" or OS=="dragonflybsd"', {
'include_dirs': [ 'config/freebsd' ],
Expand Down
95 changes: 11 additions & 84 deletions deps/cares/configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for c-ares 1.28.1.
# Generated by GNU Autoconf 2.71 for c-ares 1.29.0.
#
# Report bugs to <c-ares mailing list: http://lists.haxx.se/listinfo/c-ares>.
#
Expand Down Expand Up @@ -621,8 +621,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='c-ares'
PACKAGE_TARNAME='c-ares'
PACKAGE_VERSION='1.28.1'
PACKAGE_STRING='c-ares 1.28.1'
PACKAGE_VERSION='1.29.0'
PACKAGE_STRING='c-ares 1.29.0'
PACKAGE_BUGREPORT='c-ares mailing list: http://lists.haxx.se/listinfo/c-ares'
PACKAGE_URL=''

Expand Down Expand Up @@ -1420,7 +1420,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.28.1 to adapt to many kinds of systems.
\`configure' configures c-ares 1.29.0 to adapt to many kinds of systems.

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

Expand Down Expand Up @@ -1491,7 +1491,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of c-ares 1.28.1:";;
short | recursive ) echo "Configuration of c-ares 1.29.0:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1627,7 +1627,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
c-ares configure 1.28.1
c-ares configure 1.29.0
generated by GNU Autoconf 2.71

Copyright (C) 2021 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2251,7 +2251,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.28.1, which was
It was created by c-ares $as_me 1.29.0, which was
generated by GNU Autoconf 2.71. Invocation command line was

$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3225,7 +3225,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu



CARES_VERSION_INFO="15:1:13"
CARES_VERSION_INFO="16:0:14"



Expand Down Expand Up @@ -5907,7 +5907,7 @@ fi

# Define the identity of the package.
PACKAGE='c-ares'
VERSION='1.28.1'
VERSION='1.29.0'


printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
Expand Down Expand Up @@ -20946,79 +20946,6 @@ esac
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $need_xnet" >&5
printf "%s\n" "$need_xnet" >&6; }

if test "x$host_vendor" = "xapple"
then :

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_servicename" >&5
printf %s "checking for library containing res_servicename... " >&6; }
if test ${ac_cv_search_res_servicename+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
char res_servicename ();
int
main (void)
{
return res_servicename ();
;
return 0;
}
_ACEOF
for ac_lib in '' resolv
do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_search_res_servicename=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext
if test ${ac_cv_search_res_servicename+y}
then :
break
fi
done
if test ${ac_cv_search_res_servicename+y}
then :

else $as_nop
ac_cv_search_res_servicename=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_servicename" >&5
printf "%s\n" "$ac_cv_search_res_servicename" >&6; }
ac_res=$ac_cv_search_res_servicename
if test "$ac_res" != no
then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"


printf "%s\n" "#define CARES_USE_LIBRESOLV 1" >>confdefs.h


else $as_nop

as_fn_error $? "Unable to find libresolv which is required for iPhone targets" "$LINENO" 5

fi


fi

if test "x$host_vendor" = "xibm" -a "x$host_os" = "xopenedition"
then :

Expand Down Expand Up @@ -25956,7 +25883,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.28.1, which was
This file was extended by c-ares $as_me 1.29.0, which was
generated by GNU Autoconf 2.71. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -26024,7 +25951,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.28.1
c-ares config.status 1.29.0
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"

Expand Down
13 changes: 2 additions & 11 deletions deps/cares/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ dnl Copyright (C) The c-ares project and its contributors
dnl SPDX-License-Identifier: MIT
AC_PREREQ([2.69])

AC_INIT([c-ares], [1.28.1],
AC_INIT([c-ares], [1.29.0],
[c-ares mailing list: http://lists.haxx.se/listinfo/c-ares])

CARES_VERSION_INFO="15:1:13"
CARES_VERSION_INFO="16:0:14"
dnl This flag accepts an argument of the form current[:revision[:age]]. So,
dnl passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
dnl 1.
Expand Down Expand Up @@ -334,15 +334,6 @@ case $host_os in
esac
AC_MSG_RESULT($need_xnet)

dnl resolv lib for Apple (MacOS and iOS)
AS_IF([test "x$host_vendor" = "xapple"], [
AC_SEARCH_LIBS([res_servicename], [resolv], [
AC_DEFINE([CARES_USE_LIBRESOLV], [1], [Use resolver library to configure cares])
], [
AC_MSG_ERROR([Unable to find libresolv which is required for iPhone targets])
])
])

dnl resolv lib for z/OS
AS_IF([test "x$host_vendor" = "xibm" -a "x$host_os" = "xopenedition" ], [
AC_SEARCH_LIBS([res_init], [resolv], [
Expand Down
1 change: 1 addition & 0 deletions deps/cares/docs/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ MANPAGES = ares_cancel.3 \
ares_set_local_dev.3 \
ares_set_local_ip4.3 \
ares_set_local_ip6.3 \
ares_set_server_state_callback.3 \
ares_set_servers.3 \
ares_set_servers_csv.3 \
ares_set_servers_ports.3 \
Expand Down
Loading