From 344831ec06668089f85b9d495ef3d4e8644b737a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Mon, 15 Apr 2024 15:43:30 +0200 Subject: [PATCH] curl: update to version 8.7.1 This commits updates the contrib sources to version 8.7.1. This version requires more random entropy as it queries OpenSSL about the current random state and will bail if it is not sufficient. Doubling the content of the '' VFS plugin as used in static configurations seems satisfactory. Furthermore DNS resolving needs a configured '' plugin to work properly. Fixes #5184. --- .../raw/test-wg_reconnect/dynamic.config | 6 +- repos/dde_linux/run/wg_reconnect.run | 1 + repos/gems/recipes/pkg/dbg_download/archives | 1 + repos/gems/recipes/pkg/dbg_download/runtime | 1 + repos/gems/run/depot_download.run | 1 + .../depot_download_manager/gen_fetchurl.cc | 9 +- .../src/app/sculpt_manager/runtime/update.cc | 1 + repos/libports/lib/mk/curl.inc | 49 +- repos/libports/lib/symbols/curl | 5 + repos/libports/ports/curl.hash | 2 +- repos/libports/ports/curl.port | 8 +- repos/libports/run/fetchurl.inc | 7 +- repos/libports/src/app/fetchurl/component.cc | 18 +- repos/libports/src/lib/curl/curl_setup.patch | 12 + .../libports/src/lib/curl/no_socketpair.patch | 9 - .../src/lib/curl/spec/32bit/curl_config.h | 881 ++++++------------ .../src/lib/curl/spec/64bit/curl_config.h | 879 ++++++----------- repos/ports/run/lighttpd_fetchurl.run | 6 +- 18 files changed, 660 insertions(+), 1236 deletions(-) create mode 100644 repos/libports/src/lib/curl/curl_setup.patch delete mode 100644 repos/libports/src/lib/curl/no_socketpair.patch diff --git a/repos/dde_linux/recipes/raw/test-wg_reconnect/dynamic.config b/repos/dde_linux/recipes/raw/test-wg_reconnect/dynamic.config index db9e1807cd..686036d10c 100644 --- a/repos/dde_linux/recipes/raw/test-wg_reconnect/dynamic.config +++ b/repos/dde_linux/recipes/raw/test-wg_reconnect/dynamic.config @@ -30,7 +30,8 @@ - + @@ -40,6 +41,9 @@ + + + diff --git a/repos/dde_linux/run/wg_reconnect.run b/repos/dde_linux/run/wg_reconnect.run index ab09de15e4..5a3c0d053a 100644 --- a/repos/dde_linux/run/wg_reconnect.run +++ b/repos/dde_linux/run/wg_reconnect.run @@ -79,6 +79,7 @@ lappend depot_archives [depot_user]/src/[rtc_drv_binary_name] lappend depot_archives [depot_user]/src/vfs lappend depot_archives [depot_user]/src/vfs_jitterentropy lappend depot_archives [depot_user]/src/vfs_lwip +lappend depot_archives [depot_user]/src/vfs_pipe lappend depot_archives [depot_user]/src/wireguard lappend depot_archives [depot_user]/src/zlib diff --git a/repos/gems/recipes/pkg/dbg_download/archives b/repos/gems/recipes/pkg/dbg_download/archives index a4d4c1f545..ccd24054f4 100644 --- a/repos/gems/recipes/pkg/dbg_download/archives +++ b/repos/gems/recipes/pkg/dbg_download/archives @@ -1,3 +1,4 @@ _/pkg/depot_download _/src/dbg_download _/src/vfs_lxip +_/src/vfs_pipe diff --git a/repos/gems/recipes/pkg/dbg_download/runtime b/repos/gems/recipes/pkg/dbg_download/runtime index 95f77ae340..0c7e011ae6 100644 --- a/repos/gems/recipes/pkg/dbg_download/runtime +++ b/repos/gems/recipes/pkg/dbg_download/runtime @@ -32,6 +32,7 @@ + diff --git a/repos/gems/run/depot_download.run b/repos/gems/run/depot_download.run index 2928c8eff7..24bf521b42 100644 --- a/repos/gems/run/depot_download.run +++ b/repos/gems/run/depot_download.run @@ -16,6 +16,7 @@ import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/fs_rom \ [depot_user]/src/vfs \ [depot_user]/src/vfs_lxip \ + [depot_user]/src/vfs_pipe \ [depot_user]/src/fetchurl \ [depot_user]/src/libc \ [depot_user]/src/libssh \ diff --git a/repos/gems/src/app/depot_download_manager/gen_fetchurl.cc b/repos/gems/src/app/depot_download_manager/gen_fetchurl.cc index a3f59b63ce..e185f8cf5e 100644 --- a/repos/gems/src/app/depot_download_manager/gen_fetchurl.cc +++ b/repos/gems/src/app/depot_download_manager/gen_fetchurl.cc @@ -29,6 +29,7 @@ void Depot_download_manager::gen_fetchurl_start_content(Xml_generator &xml, xml.attribute("stdout", "/dev/log"); xml.attribute("stderr", "/dev/log"); xml.attribute("rtc", "/dev/rtc"); + xml.attribute("pipe", "/pipe"); xml.attribute("socket", "/socket"); }); xml.node("report", [&] { @@ -53,10 +54,15 @@ void Depot_download_manager::gen_fetchurl_start_content(Xml_generator &xml, }); xml.node("inline", [&] { xml.attribute("name", "random"); - String<64> entropy("01234567890123456789"); + String<64> entropy("01234567890123456789" + "01234567890123456789"); xml.append(entropy.string()); }); }); + xml.node("dir", [&] { + xml.attribute("name", "pipe"); + xml.node("pipe", [&] { }); + }); xml.node("fs", [&] { xml.attribute("label", "tcpip"); }); }); @@ -106,6 +112,7 @@ void Depot_download_manager::gen_fetchurl_start_content(Xml_generator &xml, gen_parent_rom_route(xml, "libssl.lib.so"); gen_parent_rom_route(xml, "libcrypto.lib.so"); gen_parent_rom_route(xml, "vfs.lib.so"); + gen_parent_rom_route(xml, "vfs_pipe.lib.so"); gen_parent_rom_route(xml, "zlib.lib.so"); gen_parent_route (xml); gen_parent_route (xml); diff --git a/repos/gems/src/app/sculpt_manager/runtime/update.cc b/repos/gems/src/app/sculpt_manager/runtime/update.cc index b1ff32f302..1cbba13d1b 100644 --- a/repos/gems/src/app/sculpt_manager/runtime/update.cc +++ b/repos/gems/src/app/sculpt_manager/runtime/update.cc @@ -49,6 +49,7 @@ void Sculpt::gen_update_start_content(Xml_generator &xml) gen_parent_rom_route(xml, "vfs"); gen_parent_rom_route(xml, "lxip.lib.so"); gen_parent_rom_route(xml, "vfs_lxip.lib.so"); + gen_parent_rom_route(xml, "vfs_pipe.lib.so"); gen_parent_rom_route(xml, "posix.lib.so"); gen_parent_rom_route(xml, "libssh.lib.so"); gen_parent_rom_route(xml, "libssl.lib.so"); diff --git a/repos/libports/lib/mk/curl.inc b/repos/libports/lib/mk/curl.inc index 6bba5e925e..67d41b15ab 100644 --- a/repos/libports/lib/mk/curl.inc +++ b/repos/libports/lib/mk/curl.inc @@ -3,16 +3,21 @@ LIB_SRC_DIR := $(CURL_PORT_DIR)/src/lib/curl/lib SRC_C = \ altsvc.c \ - amigaos.c \ - asyn-ares.c \ asyn-thread.c \ base64.c \ + bufq.c \ + bufref.c \ + cf-h1-proxy.c \ + cf-h2-proxy.c \ + cf-haproxy.c \ + cf-https-connect.c \ + cf-socket.c \ + cfilters.c \ conncache.c \ connect.c \ content_encoding.c \ cookie.c \ curl_addrinfo.c \ - curl_ctype.c \ curl_des.c \ curl_endian.c \ curl_fnmatch.c \ @@ -27,11 +32,15 @@ SRC_C = \ curl_range.c \ curl_rtmp.c \ curl_sasl.c \ + curl_sha512_256.c \ curl_sspi.c \ curl_threads.c \ + curl_trc.c \ + cw-out.c \ dict.c \ doh.c \ - dotdot.c \ + dynbuf.c \ + dynhds.c \ easy.c \ escape.c \ file.c \ @@ -43,21 +52,23 @@ SRC_C = \ getinfo.c \ gopher.c \ hash.c \ + headers.c \ hmac.c \ hostasyn.c \ - hostcheck.c \ hostip.c \ hostip4.c \ hostip6.c \ hostsyn.c \ + hsts.c \ http.c \ + http1.c \ http2.c \ http_chunks.c \ http_digest.c \ http_negotiate.c \ http_ntlm.c \ http_proxy.c \ - idn_win32.c \ + idn.c \ if2ip.c \ imap.c \ inet_ntop.c \ @@ -73,8 +84,8 @@ SRC_C = \ mqtt.c \ multi.c \ netrc.c \ - non-ascii.c \ nonblock.c \ + noproxy.c \ openldap.c \ parsedate.c \ pingpong.c \ @@ -83,8 +94,8 @@ SRC_C = \ psl.c \ rand.c \ rename.c \ + request.c \ rtsp.c \ - security.c \ select.c \ sendf.c \ setopt.c \ @@ -107,11 +118,11 @@ SRC_C = \ system_win32.c \ telnet.c \ tftp.c \ + timediff.c \ timeval.c \ transfer.c \ url.c \ urlapi.c \ - vauth/cleartext.c \ vauth/cram.c \ vauth/digest.c \ vauth/digest_sspi.c \ @@ -124,27 +135,19 @@ SRC_C = \ vauth/spnego_sspi.c \ vauth/vauth.c \ version.c \ - vquic/ngtcp2.c \ - vquic/quiche.c \ + vquic/curl_ngtcp2.c \ + vquic/curl_quiche.c \ vssh/libssh.c \ vssh/libssh2.c \ - vssh/wolfssh.c \ - vtls/bearssl.c \ - vtls/gskit.c \ - vtls/gtls.c \ - vtls/mbedtls.c \ - vtls/mbedtls_threadlock.c \ - vtls/mesalink.c \ - vtls/nss.c \ + vtls/hostcheck.c \ + vtls/keylog.c \ vtls/openssl.c \ vtls/schannel.c \ vtls/schannel_verify.c \ vtls/sectransp.c \ vtls/vtls.c \ - vtls/wolfssl.c \ - warnless.c \ - wildcard.c \ - x509asn1.c \ + vtls/x509asn1.c \ + warnless.c # end of SRC_C CC_OPT += -DHAVE_CONFIG_H -DBUILDING_LIBCURL=1 diff --git a/repos/libports/lib/symbols/curl b/repos/libports/lib/symbols/curl index 02ef2d77e1..af4410fab4 100644 --- a/repos/libports/lib/symbols/curl +++ b/repos/libports/lib/symbols/curl @@ -2,7 +2,9 @@ curl_easy_cleanup T curl_easy_duphandle T curl_easy_escape T curl_easy_getinfo T +curl_easy_header T curl_easy_init T +curl_easy_nextheader T curl_easy_pause T curl_easy_perform T curl_easy_recv T @@ -23,6 +25,7 @@ curl_global_cleanup T curl_global_init T curl_global_init_mem T curl_global_sslset T +curl_global_trace T curl_maprintf T curl_mfprintf T curl_mime_addpart T @@ -44,6 +47,7 @@ curl_multi_add_handle T curl_multi_assign T curl_multi_cleanup T curl_multi_fdset T +curl_multi_get_handles T curl_multi_info_read T curl_multi_init T curl_multi_perform T @@ -78,5 +82,6 @@ curl_url_cleanup T curl_url_dup T curl_url_get T curl_url_set T +curl_url_strerror T curl_version T curl_version_info T diff --git a/repos/libports/ports/curl.hash b/repos/libports/ports/curl.hash index 20e4b9733f..4e459c1f96 100644 --- a/repos/libports/ports/curl.hash +++ b/repos/libports/ports/curl.hash @@ -1 +1 @@ -b2103a900cd655abca670fc02d1574be4785585a +1394305484ec022e78dfe5c85c87f5bfd8ab2980 diff --git a/repos/libports/ports/curl.port b/repos/libports/ports/curl.port index 7e5f6de90d..d76553d311 100644 --- a/repos/libports/ports/curl.port +++ b/repos/libports/ports/curl.port @@ -1,14 +1,14 @@ LICENSE := MIT DOWNLOADS := curl.archive -VERSION := 7.70.0 +VERSION := 8.7.1 -URL(curl) := http://curl.haxx.se/download/curl-$(VERSION).tar.gz -SHA(curl) := ca2feeb8ef13368ce5d5e5849a5fd5e2dd4755fecf7d8f0cc94000a4206fb8e7 +URL(curl) := https://curl.se/download/curl-$(VERSION).tar.gz +SHA(curl) := f91249c87f68ea00cf27c44fdfa5a78423e41e71b7d408e5901a9896d905c495 SIG(curl) := ${URL(curl)}.asc KEY(curl) := daniel@haxx.se DIR(curl) := src/lib/curl -PATCHES := $(addprefix src/lib/curl/,no_socketpair.patch max_write_size.patch) +PATCHES := $(addprefix src/lib/curl/,curl_setup.patch max_write_size.patch) DIRS := include DIR_CONTENT(include) = src/lib/curl/include/curl diff --git a/repos/libports/run/fetchurl.inc b/repos/libports/run/fetchurl.inc index ddf7aac34c..a9ce37e02a 100644 --- a/repos/libports/run/fetchurl.inc +++ b/repos/libports/run/fetchurl.inc @@ -53,6 +53,8 @@ import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/report_rom \ [depot_user]/src/vfs \ [depot_user]/src/vfs_[ip_stack] \ + [depot_user]/src/vfs_jitterentropy \ + [depot_user]/src/vfs_pipe \ [depot_user]/src/zlib install_config { @@ -135,12 +137,13 @@ install_config { 2000-01-01 00:00 - 01234567890123456789 + 0123456789012345678901234567890123456789 + } [socket_fs_plugin] { + rng="/dev/random" socket="/socket" pipe="/pipe"/> diff --git a/repos/libports/src/app/fetchurl/component.cc b/repos/libports/src/app/fetchurl/component.cc index 5236096ad1..b5b67a66fd 100644 --- a/repos/libports/src/app/fetchurl/component.cc +++ b/repos/libports/src/app/fetchurl/component.cc @@ -48,8 +48,8 @@ static size_t write_callback(char *ptr, void *userdata); static int progress_callback(void *userdata, - double dltotal, double dlnow, - double ultotal, double ulnow); + curl_off_t dltotal, curl_off_t dlnow, + curl_off_t ultotal, curl_off_t ulnow); class Fetchurl::Fetch : Genode::List::Element @@ -262,6 +262,8 @@ struct Fetchurl::Main } _fetch.fd = fd; + curl_easy_setopt(_curl, CURLOPT_VERBOSE, 1L); + curl_easy_setopt(_curl, CURLOPT_URL, _fetch.url.string()); curl_easy_setopt(_curl, CURLOPT_FOLLOWLOCATION, true); @@ -272,7 +274,7 @@ struct Fetchurl::Main curl_easy_setopt(_curl, CURLOPT_WRITEDATA, &_fetch); curl_easy_setopt(_curl, CURLOPT_NOPROGRESS, 0L); - curl_easy_setopt(_curl, CURLOPT_PROGRESSFUNCTION, progress_callback); + curl_easy_setopt(_curl, CURLOPT_XFERINFOFUNCTION, progress_callback); User_data ud { .timer = _timer, .last_ms = _timer.curr_time().trunc_to_plain_ms(), @@ -354,8 +356,8 @@ static size_t write_callback(char *ptr, static int progress_callback(void *userdata, - double dltotal, double dlnow, - double ultotal, double ulnow) + curl_off_t dltotal, curl_off_t dlnow, + curl_off_t ultotal, curl_off_t ulnow) { (void)ultotal; (void)ulnow; @@ -377,7 +379,7 @@ static int progress_callback(void *userdata, * the max timeout value, we will abort the download attempt. */ - if (dlnow == fetch.dlnow) { + if ((double)dlnow == fetch.dlnow) { ud.curr_timeout.value += diff.value; } else { @@ -385,8 +387,8 @@ static int progress_callback(void *userdata, } bool const timeout = ud.curr_timeout.value >= ud.max_timeout.value; - fetch.dltotal = dltotal; - fetch.dlnow = dlnow; + fetch.dltotal = (double)dltotal; + fetch.dlnow = (double)dlnow; fetch.timeout = timeout; fetch.main._schedule_report(); diff --git a/repos/libports/src/lib/curl/curl_setup.patch b/repos/libports/src/lib/curl/curl_setup.patch new file mode 100644 index 0000000000..3dce136ee7 --- /dev/null +++ b/repos/libports/src/lib/curl/curl_setup.patch @@ -0,0 +1,12 @@ +Include limits.h header before setting SIZE_* defines to prevent +redefine warnings. ++++ src/lib/curl/lib/curl_setup.h +@@ -35,6 +35,8 @@ + #endif + #endif + ++#include ++ + /* Set default _WIN32_WINNT */ + #ifdef __MINGW32__ + #include <_mingw.h> diff --git a/repos/libports/src/lib/curl/no_socketpair.patch b/repos/libports/src/lib/curl/no_socketpair.patch deleted file mode 100644 index f36d80b3f4..0000000000 --- a/repos/libports/src/lib/curl/no_socketpair.patch +++ /dev/null @@ -1,9 +0,0 @@ -+++ src/lib/curl/lib/socketpair.h -@@ -32,5 +32,7 @@ - - /* Defined here to allow specific build configs to disable it completely */ - #define USE_SOCKETPAIR 1 -+/* prevent use of socketpair on Genode */ -+#undef USE_SOCKETPAIR - - #endif /* HEADER_CURL_SOCKETPAIR_H */ diff --git a/repos/libports/src/lib/curl/spec/32bit/curl_config.h b/repos/libports/src/lib/curl/spec/32bit/curl_config.h index e75e184028..b485741760 100644 --- a/repos/libports/src/lib/curl/spec/32bit/curl_config.h +++ b/repos/libports/src/lib/curl/spec/32bit/curl_config.h @@ -1,196 +1,204 @@ -/* lib/curl_config.h. Generated from curl_config.h.in by configure. */ -/* lib/curl_config.h.in. Generated from configure.ac by autoheader. */ - -/* to enable curl debug memory tracking */ -/* #undef CURLDEBUG */ +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at https://curl.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + * SPDX-License-Identifier: curl + * + ***************************************************************************/ +/* lib/curl_config.h.in. Generated somehow by cmake. */ /* Location of default ca bundle */ #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" -/* define "1" to use built in CA store of SSL library */ +/* define "1" to use built-in ca store of TLS backend */ /* #undef CURL_CA_FALLBACK */ /* Location of default ca path */ -/* #undef CURL_CA_PATH */ +#define CURL_CA_PATH "/etc/ssl/certs" /* Default SSL backend */ /* #undef CURL_DEFAULT_SSL_BACKEND */ -/* to disable cookies support */ +/* disables alt-svc */ +/* #undef CURL_DISABLE_ALTSVC */ + +/* disables cookies support */ /* #undef CURL_DISABLE_COOKIES */ -/* to disable cryptographic authentication */ -/* #undef CURL_DISABLE_CRYPTO_AUTH */ +/* disables Basic authentication */ +/* #undef CURL_DISABLE_BASIC_AUTH */ -/* to disable DICT */ +/* disables Bearer authentication */ +/* #undef CURL_DISABLE_BEARER_AUTH */ + +/* disables Digest authentication */ +/* #undef CURL_DISABLE_DIGEST_AUTH */ + +/* disables Kerberos authentication */ +/* #undef CURL_DISABLE_KERBEROS_AUTH */ + +/* disables negotiate authentication */ +/* #undef CURL_DISABLE_NEGOTIATE_AUTH */ + +/* disables AWS-SIG4 */ +/* #undef CURL_DISABLE_AWS */ + +/* disables DICT */ #define CURL_DISABLE_DICT 1 -/* disable DoH */ +/* disables DNS-over-HTTPS */ /* #undef CURL_DISABLE_DOH */ -/* to disable FILE */ +/* disables FILE */ #define CURL_DISABLE_FILE 1 -/* to disable FTP */ +/* disables form api */ +/* #undef CURL_DISABLE_FORM_API */ + +/* disables FTP */ /* #undef CURL_DISABLE_FTP */ -/* to disable Gopher */ +/* disables curl_easy_options API for existing options to curl_easy_setopt */ +/* #undef CURL_DISABLE_GETOPTIONS */ + +/* disables GOPHER */ #define CURL_DISABLE_GOPHER 1 -/* to disable HTTP */ +/* disables headers-api support */ +/* #undef CURL_DISABLE_HEADERS_API */ + +/* disables HSTS support */ +/* #undef CURL_DISABLE_HSTS */ + +/* disables HTTP */ /* #undef CURL_DISABLE_HTTP */ -/* disable HTTP authentication */ -/* #undef CURL_DISABLE_HTTP_AUTH */ - -/* to disable IMAP */ +/* disables IMAP */ #define CURL_DISABLE_IMAP 1 -/* to disable LDAP */ +/* disables LDAP */ #define CURL_DISABLE_LDAP 1 -/* to disable LDAPS */ +/* disables LDAPS */ #define CURL_DISABLE_LDAPS 1 -/* to disable --libcurl C code generation option */ +/* disables --libcurl option from the curl tool */ /* #undef CURL_DISABLE_LIBCURL_OPTION */ -/* disable mime API */ +/* disables MIME support */ /* #undef CURL_DISABLE_MIME */ -/* disable netrc parsing */ +/* disables local binding support */ +/* #undef CURL_DISABLE_BINDLOCAL */ + +/* disables MQTT */ +/* #undef CURL_DISABLE_MQTT */ + +/* disables netrc parser */ /* #undef CURL_DISABLE_NETRC */ -/* if the OpenSSL configuration won't be loaded automatically */ -/* #undef CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG */ +/* disables NTLM support */ +/* #undef CURL_DISABLE_NTLM */ -/* disable date parsing */ +/* disables date parsing */ /* #undef CURL_DISABLE_PARSEDATE */ -/* to disable POP3 */ +/* disables POP3 */ #define CURL_DISABLE_POP3 1 -/* disable progress-meter */ +/* disables built-in progress meter */ /* #undef CURL_DISABLE_PROGRESS_METER */ -/* to disable proxies */ +/* disables proxies */ /* #undef CURL_DISABLE_PROXY */ -/* to disable RTSP */ +/* disables RTSP */ #define CURL_DISABLE_RTSP 1 -/* disable DNS shuffling */ -/* #undef CURL_DISABLE_SHUFFLE_DNS */ - -/* to disable SMB/CIFS */ +/* disables SMB */ #define CURL_DISABLE_SMB 1 -/* to disable SMTP */ +/* disables SMTP */ #define CURL_DISABLE_SMTP 1 -/* to disable TELNET */ +/* disables use of socketpair for curl_multi_poll */ +/* #undef CURL_DISABLE_SOCKETPAIR */ + +/* disables TELNET */ #define CURL_DISABLE_TELNET 1 -/* to disable TFTP */ +/* disables TFTP */ /* #undef CURL_DISABLE_TFTP */ -/* to disable verbose strings */ +/* disables verbose strings */ /* #undef CURL_DISABLE_VERBOSE_STRINGS */ -/* to enable MQTT */ -/* #undef CURL_ENABLE_MQTT */ - -/* Definition to make a library symbol externally visible. */ +/* to make a symbol visible */ #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default"))) +/* Ensure using CURL_EXTERN_SYMBOL is possible */ +#ifndef CURL_EXTERN_SYMBOL +#define CURL_EXTERN_SYMBOL +#endif -/* IP address type in sockaddr */ -#define CURL_SA_FAMILY_T sa_family_t +/* Allow SMB to work on Windows */ +/* #undef USE_WIN32_CRYPTO */ -/* built with multiple SSL backends */ -/* #undef CURL_WITH_MULTI_SSL */ - -/* enable debug build options */ -/* #undef DEBUGBUILD */ - -/* your Entropy Gathering Daemon socket pathname */ -/* #undef EGD_SOCKET */ +/* Use Windows LDAP implementation */ +/* #undef USE_WIN32_LDAP */ /* Define if you want to enable IPv6 support */ -#define ENABLE_IPV6 1 - -/* Define to the type of arg 2 for gethostname. */ -#define GETHOSTNAME_TYPE_ARG2 size_t - -/* Specifies the number of arguments to getservbyport_r */ -#define GETSERVBYPORT_R_ARGS 6 - -/* Specifies the size of the buffer to pass to getservbyport_r */ -#define GETSERVBYPORT_R_BUFSIZE 4096 +/* #undef ENABLE_IPV6 */ /* Define to 1 if you have the alarm function. */ #define HAVE_ALARM 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_ALLOCA_H */ +/* Define to 1 if you have the arc4random function. */ +#define HAVE_ARC4RANDOM 1 /* Define to 1 if you have the header file. */ #define HAVE_ARPA_INET_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_ARPA_TFTP_H 1 +/* Define to 1 if you have _Atomic support. */ +#define HAVE_ATOMIC 1 -/* Define to 1 if you have the header file. */ -#define HAVE_ASSERT_H 1 +/* Define to 1 if you have the `fnmatch' function. */ +#define HAVE_FNMATCH 1 -/* Define to 1 if you have the basename function. */ +/* Define to 1 if you have the `basename' function. */ #define HAVE_BASENAME 1 /* Define to 1 if bool is an available type. */ #define HAVE_BOOL_T 1 -/* Define to 1 if using BoringSSL. */ -/* #undef HAVE_BORINGSSL */ - -/* if BROTLI is in use */ -/* #undef HAVE_BROTLI */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BROTLI_DECODE_H */ - /* Define to 1 if you have the __builtin_available function. */ /* #undef HAVE_BUILTIN_AVAILABLE */ /* Define to 1 if you have the clock_gettime function and monotonic timer. */ #define HAVE_CLOCK_GETTIME_MONOTONIC 1 -/* Define to 1 if you have the closesocket function. */ +/* Define to 1 if you have the clock_gettime function and raw monotonic timer. + */ +/* #undef HAVE_CLOCK_GETTIME_MONOTONIC_RAW */ + +/* Define to 1 if you have the `closesocket' function. */ /* #undef HAVE_CLOSESOCKET */ -/* Define to 1 if you have the CloseSocket camel case function. */ -/* #undef HAVE_CLOSESOCKET_CAMEL */ - -/* Define to 1 if you have the connect function. */ -#define HAVE_CONNECT 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_CRYPTO_H */ - -/* Define to 1 if you have the declaration of `getpwuid_r', and to 0 if you - don't. */ -#define HAVE_DECL_GETPWUID_R 1 - -/* "Set if getpwuid_r() declaration is missing" */ -/* #undef HAVE_DECL_GETPWUID_R_MISSING */ - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_ERRNO_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_ERR_H */ - /* Define to 1 if you have the fcntl function. */ #define HAVE_FCNTL 1 @@ -200,30 +208,21 @@ /* Define to 1 if you have a working fcntl O_NONBLOCK function. */ #define HAVE_FCNTL_O_NONBLOCK 1 -/* Define to 1 if you have the `fnmatch' function. */ -#define HAVE_FNMATCH 1 - /* Define to 1 if you have the freeaddrinfo function. */ #define HAVE_FREEADDRINFO 1 -/* Define to 1 if you have the freeifaddrs function. */ -#define HAVE_FREEIFADDRS 1 +/* Define to 1 if you have the fseeko function. */ +#define HAVE_FSEEKO 1 -/* Define to 1 if you have the fsetxattr function. */ -/* #undef HAVE_FSETXATTR */ +/* Define to 1 if you have the fseeko declaration. */ +#define HAVE_DECL_FSEEKO 1 -/* fsetxattr() takes 5 args */ -/* #undef HAVE_FSETXATTR_5 */ - -/* fsetxattr() takes 6 args */ -/* #undef HAVE_FSETXATTR_6 */ +/* Define to 1 if you have the _fseeki64 function. */ +/* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the ftruncate function. */ #define HAVE_FTRUNCATE 1 -/* Define to 1 if you have the gai_strerror function. */ -#define HAVE_GAI_STRERROR 1 - /* Define to 1 if you have a working getaddrinfo function. */ #define HAVE_GETADDRINFO 1 @@ -233,23 +232,8 @@ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 -/* Define to 1 if you have the gethostbyaddr function. */ -#define HAVE_GETHOSTBYADDR 1 - -/* Define to 1 if you have the gethostbyaddr_r function. */ -#define HAVE_GETHOSTBYADDR_R 1 - -/* gethostbyaddr_r() takes 5 args */ -/* #undef HAVE_GETHOSTBYADDR_R_5 */ - -/* gethostbyaddr_r() takes 7 args */ -/* #undef HAVE_GETHOSTBYADDR_R_7 */ - -/* gethostbyaddr_r() takes 8 args */ -#define HAVE_GETHOSTBYADDR_R_8 1 - -/* Define to 1 if you have the gethostbyname function. */ -#define HAVE_GETHOSTBYNAME 1 +/* Define to 1 if you have the `getppid' function. */ +#define HAVE_GETPPID 1 /* Define to 1 if you have the gethostbyname_r function. */ #define HAVE_GETHOSTBYNAME_R 1 @@ -272,11 +256,14 @@ /* Define to 1 if you have the `getpass_r' function. */ /* #undef HAVE_GETPASS_R */ -/* Define to 1 if you have the getpeername function. */ +/* Define to 1 if you have the `getpeername' function. */ #define HAVE_GETPEERNAME 1 -/* Define to 1 if you have the `getppid' function. */ -#define HAVE_GETPPID 1 +/* Define to 1 if you have the `getsockname' function. */ +#define HAVE_GETSOCKNAME 1 + +/* Define to 1 if you have the `if_nametoindex' function. */ +#define HAVE_IF_NAMETOINDEX 1 /* Define to 1 if you have the `getpwuid' function. */ #define HAVE_GETPWUID 1 @@ -287,12 +274,6 @@ /* Define to 1 if you have the `getrlimit' function. */ #define HAVE_GETRLIMIT 1 -/* Define to 1 if you have the getservbyport_r function. */ -#define HAVE_GETSERVBYPORT_R 1 - -/* Define to 1 if you have the getsockname function. */ -#define HAVE_GETSOCKNAME 1 - /* Define to 1 if you have the `gettimeofday' function. */ #define HAVE_GETTIMEOFDAY 1 @@ -302,10 +283,7 @@ /* Define to 1 if you have a working gmtime_r function. */ #define HAVE_GMTIME_R 1 -/* if you have the function gnutls_srp_verifier */ -/* #undef HAVE_GNUTLS_SRP */ - -/* if you have GSS-API libraries */ +/* if you have the gssapi libraries */ /* #undef HAVE_GSSAPI */ /* Define to 1 if you have the header file. */ @@ -317,44 +295,26 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_GSSAPI_GSSAPI_KRB5_H */ -/* if you have GNU GSS */ +/* if you have the GNU gssapi libraries */ /* #undef HAVE_GSSGNU */ -/* if you have Heimdal */ -/* #undef HAVE_GSSHEIMDAL */ - -/* if you have MIT Kerberos */ -/* #undef HAVE_GSSMIT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_IDN2_H 1 +/* Define to 1 if you have the `idna_strerror' function. */ +/* #undef HAVE_IDNA_STRERROR */ /* Define to 1 if you have the header file. */ #define HAVE_IFADDRS_H 1 -/* Define to 1 if you have the `if_nametoindex' function. */ -#define HAVE_IF_NAMETOINDEX 1 - -/* Define to 1 if you have the inet_ntoa_r function. */ -#define HAVE_INET_NTOA_R 1 - -/* inet_ntoa_r() takes 2 args */ -/* #undef HAVE_INET_NTOA_R_2 */ - -/* inet_ntoa_r() takes 3 args */ -#define HAVE_INET_NTOA_R_3 1 - /* Define to 1 if you have a IPv6 capable working inet_ntop function. */ #define HAVE_INET_NTOP 1 /* Define to 1 if you have a IPv6 capable working inet_pton function. */ #define HAVE_INET_PTON 1 -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 +/* Define to 1 if symbol `sa_family_t' exists */ +#define HAVE_SA_FAMILY_T 1 -/* Define to 1 if you have the ioctl function. */ -#define HAVE_IOCTL 1 +/* Define to 1 if symbol `ADDRESS_FAMILY' exists */ +/* #undef HAVE_ADDRESS_FAMILY */ /* Define to 1 if you have the ioctlsocket function. */ /* #undef HAVE_IOCTLSOCKET */ @@ -381,15 +341,9 @@ /* Define to 1 if you have the lber.h header file. */ /* #undef HAVE_LBER_H */ -/* Define to 1 if you have the ldapssl.h header file. */ -/* #undef HAVE_LDAPSSL_H */ - /* Define to 1 if you have the ldap.h header file. */ /* #undef HAVE_LDAP_H */ -/* Define to 1 if you have the `ldap_init_fd' function. */ -/* #undef HAVE_LDAP_INIT_FD */ - /* Use LDAPS implementation */ /* #undef HAVE_LDAP_SSL */ @@ -399,68 +353,38 @@ /* Define to 1 if you have the `ldap_url_parse' function. */ /* #undef HAVE_LDAP_URL_PARSE */ -/* Define to 1 if you have the `brotlidec' library (-lbrotlidec). */ -/* #undef HAVE_LIBBROTLIDEC */ - /* Define to 1 if you have the header file. */ #define HAVE_LIBGEN_H 1 -/* Define to 1 if you have the `idn' library (-lidn). */ -/* #undef HAVE_LIBIDN */ +/* Define to 1 if you have the `idn2' library (-lidn2). */ +/* #undef HAVE_LIBIDN2 */ -/* Define to 1 if using libressl. */ -/* #undef HAVE_LIBRESSL */ +/* Define to 1 if you have the idn2.h header file. */ +/* #undef HAVE_IDN2_H */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_LIBRTMP_RTMP_H */ - -/* Define to 1 if you have the `ssh' library (-lssh). */ -#define HAVE_LIBSSH 1 +/* Define to 1 if you have the `socket' library (-lsocket). */ +/* #undef HAVE_LIBSOCKET */ /* Define to 1 if you have the `ssh2' library (-lssh2). */ /* #undef HAVE_LIBSSH2 */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_LIBSSH2_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_LIBSSH_LIBSSH_H 1 - -/* Define to 1 if you have the `ssl' library (-lssl). */ -#define HAVE_LIBSSL 1 - -/* Define to 1 if you have the `wolfssh' library (-lwolfssh). */ -/* #undef HAVE_LIBWOLFSSH */ - /* if zlib is available */ #define HAVE_LIBZ 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_LINUX_TCP_H */ +/* if brotli is available */ +/* #undef HAVE_BROTLI */ -/* if your compiler supports LL */ -#define HAVE_LL 1 +/* if zstd is available */ +/* #undef HAVE_ZSTD */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 -/* Define to 1 if you have a working localtime_r function. */ -#define HAVE_LOCALTIME_R 1 - /* Define to 1 if the compiler supports the 'long long' data type. */ #define HAVE_LONGLONG 1 -/* Define to 1 if you have the `mach_absolute_time' function. */ -/* #undef HAVE_MACH_ABSOLUTE_TIME */ - -/* Define to 1 if you have the malloc.h header file. */ -/* #undef HAVE_MALLOC_H */ - -/* Define to 1 if you have the memory.h header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the memrchr function or macro. */ -#define HAVE_MEMRCHR 1 +/* Define to 1 if you have the 'suseconds_t' data type. */ +#define HAVE_SUSECONDS_T 1 /* Define to 1 if you have the MSG_NOSIGNAL flag. */ #define HAVE_MSG_NOSIGNAL 1 @@ -468,75 +392,29 @@ /* Define to 1 if you have the header file. */ #define HAVE_NETDB_H 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NETINET_IN6_H */ - /* Define to 1 if you have the header file. */ #define HAVE_NETINET_IN_H 1 /* Define to 1 if you have the header file. */ #define HAVE_NETINET_TCP_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_UDP_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_TCP_H */ + /* Define to 1 if you have the header file. */ #define HAVE_NET_IF_H 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NGHTTP2_NGHTTP2_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NGHTTP3_NGHTTP3_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NGTCP2_NGTCP2_CRYPTO_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NGTCP2_NGTCP2_H */ - -/* if you have an old MIT Kerberos version, lacking GSS_C_NT_HOSTBASED_SERVICE - */ +/* if you have an old MIT gssapi library, lacking GSS_C_NT_HOSTBASED_SERVICE */ /* #undef HAVE_OLD_GSSMIT */ -/* Define to 1 if using OpenSSL 3 or later. */ -/* #undef HAVE_OPENSSL3 */ - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_CRYPTO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_ERR_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_PEM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_RSA_H 1 - -/* if you have the function SRP_Calc_client_key */ -#define HAVE_OPENSSL_SRP 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_SSL_H 1 - -/* Define to 1 if you have the `OpenSSL_version' function. */ -#define HAVE_OPENSSL_VERSION 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_X509_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_PEM_H */ - /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 -/* if you have the PK11_CreateManagedGenericObject function */ -/* #undef HAVE_PK11_CREATEMANAGEDGENERICOBJECT */ - -/* Define to 1 if you have a working poll function. */ -#define HAVE_POLL 1 - /* If you have a fine poll */ -/* #undef HAVE_POLL_FINE */ +#define HAVE_POLL_FINE 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 @@ -544,54 +422,51 @@ /* Define to 1 if you have a working POSIX-style strerror_r function. */ #define HAVE_POSIX_STRERROR_R 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_PROTO_BSDSOCKET_H */ - -/* if you have */ +/* Define to 1 if you have the header file */ #define HAVE_PTHREAD_H 1 /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_QUICHE_H */ - -/* Define to 1 if you have the `RAND_egd' function. */ -/* #undef HAVE_RAND_EGD */ +/* Define to 1 if OpenSSL has the `SSL_set0_wbio` function. */ +#define HAVE_SSL_SET0_WBIO 1 /* Define to 1 if you have the recv function. */ #define HAVE_RECV 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_RSA_H */ - /* Define to 1 if you have the select function. */ #define HAVE_SELECT 1 +/* Define to 1 if you have the sched_yield function. */ +#define HAVE_SCHED_YIELD 1 + /* Define to 1 if you have the send function. */ #define HAVE_SEND 1 -/* Define to 1 if you have the header file. */ -#define HAVE_SETJMP_H 1 +/* Define to 1 if you have the sendmsg function. */ +#define HAVE_SENDMSG 1 + +/* Define to 1 if you have the 'fsetxattr' function. */ +#define HAVE_FSETXATTR 1 + +/* fsetxattr() takes 5 args */ +#define HAVE_FSETXATTR_5 1 + +/* fsetxattr() takes 6 args */ +/* #undef HAVE_FSETXATTR_6 */ /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `setmode' function. */ -#define HAVE_SETMODE 1 +/* #undef HAVE_SETMODE */ /* Define to 1 if you have the `setrlimit' function. */ #define HAVE_SETRLIMIT 1 -/* Define to 1 if you have the setsockopt function. */ -#define HAVE_SETSOCKOPT 1 - /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */ /* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SGTTY_H */ - /* Define to 1 if you have the sigaction function. */ #define HAVE_SIGACTION 1 @@ -601,48 +476,27 @@ /* Define to 1 if you have the signal function. */ #define HAVE_SIGNAL 1 -/* Define to 1 if you have the header file. */ -#define HAVE_SIGNAL_H 1 - /* Define to 1 if you have the sigsetjmp function or macro. */ -/* #undef HAVE_SIGSETJMP */ +#define HAVE_SIGSETJMP 1 -/* Define to 1 if sig_atomic_t is an available typedef. */ -#define HAVE_SIG_ATOMIC_T 1 - -/* Define to 1 if sig_atomic_t is already defined as volatile. */ -/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */ +/* Define to 1 if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 /* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */ -/* #undef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID */ +#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 -/* Define to 1 if you have the socket function. */ +/* Define to 1 if you have the `socket' function. */ #define HAVE_SOCKET 1 /* Define to 1 if you have the socketpair function. */ -/* #undef HAVE_SOCKETPAIR */ +#define HAVE_SOCKETPAIR 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SOCKET_H */ - -/* Define to 1 if you have the `SSLv2_client_method' function. */ -/* #undef HAVE_SSLV2_CLIENT_METHOD */ - -/* Define to 1 if you have the `SSL_get_esni_status' function. */ -/* #undef HAVE_SSL_GET_ESNI_STATUS */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SSL_H */ +/* Define to 1 if you have the header file. */ +#define HAVE_STDATOMIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDBOOL_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - /* Define to 1 if you have the strcasecmp function. */ #define HAVE_STRCASECMP 1 @@ -661,30 +515,18 @@ /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the strncasecmp function. */ -#define HAVE_STRNCASECMP 1 - -/* Define to 1 if you have the strncmpi function. */ -/* #undef HAVE_STRNCMPI */ - -/* Define to 1 if you have the strnicmp function. */ -/* #undef HAVE_STRNICMP */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_STROPTS_H */ -/* Define to 1 if you have the strstr function. */ -#define HAVE_STRSTR 1 - /* Define to 1 if you have the strtok_r function. */ #define HAVE_STRTOK_R 1 /* Define to 1 if you have the strtoll function. */ #define HAVE_STRTOLL 1 +/* Define to 1 if you have the memrchr function. */ +/* #undef HAVE_MEMRCHR */ + /* if struct sockaddr_storage is defined */ #define HAVE_STRUCT_SOCKADDR_STORAGE 1 @@ -692,7 +534,10 @@ #define HAVE_STRUCT_TIMEVAL 1 /* Define to 1 if you have the header file. */ -#define HAVE_SYS_FILIO_H 1 +/* #undef HAVE_SYS_FILIO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 @@ -713,7 +558,7 @@ #define HAVE_SYS_SOCKET_H 1 /* Define to 1 if you have the header file. */ -#define HAVE_SYS_SOCKIO_H 1 +/* #undef HAVE_SYS_SOCKIO_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 @@ -724,39 +569,21 @@ /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_UIO_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_SYS_UN_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_WAIT_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_XATTR_H */ - /* Define to 1 if you have the header file. */ #define HAVE_TERMIOS_H 1 /* Define to 1 if you have the header file. */ -/* #undef HAVE_TERMIO_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_TIME_H 1 - -/* Define this if time_t is unsigned */ -/* #undef HAVE_TIME_T_UNSIGNED */ +#define HAVE_TERMIO_H 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 -/* Define to 1 if you have the `usleep' function. */ -#define HAVE_USLEEP 1 - /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 @@ -766,56 +593,8 @@ /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 -/* Define to 1 if compiler supports C99 variadic macro style. */ -#define HAVE_VARIADIC_MACROS_C99 1 - -/* Define to 1 if compiler supports old gcc variadic macro style. */ -#define HAVE_VARIADIC_MACROS_GCC 1 - -/* Define to 1 if you have the winber.h header file. */ -/* #undef HAVE_WINBER_H */ - -/* Define to 1 if you have the windows.h header file. */ -/* #undef HAVE_WINDOWS_H */ - -/* Define to 1 if you have the winldap.h header file. */ -/* #undef HAVE_WINLDAP_H */ - -/* Define to 1 if you have the winsock2.h header file. */ -/* #undef HAVE_WINSOCK2_H */ - -/* Define to 1 if you have the winsock.h header file. */ -/* #undef HAVE_WINSOCK_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_WOLFSSH_SSH_H */ - -/* Define to 1 if you have the `wolfSSLv3_client_method' function. */ -/* #undef HAVE_WOLFSSLV3_CLIENT_METHOD */ - -/* Define to 1 if you have the `wolfSSL_get_peer_certificate' function. */ -/* #undef HAVE_WOLFSSL_GET_PEER_CERTIFICATE */ - -/* Define to 1 if you have the `wolfSSL_UseALPN' function. */ -/* #undef HAVE_WOLFSSL_USEALPN */ - /* Define this symbol if your OS supports changing the contents of argv */ -/* #undef HAVE_WRITABLE_ARGV */ - -/* Define to 1 if you have the writev function. */ -#define HAVE_WRITEV 1 - -/* Define to 1 if you have the ws2tcpip.h header file. */ -/* #undef HAVE_WS2TCPIP_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_X509_H */ - -/* if you have the zlib.h header file */ -#define HAVE_ZLIB_H 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" +#define HAVE_WRITABLE_ARGV 1 /* Define to 1 if you need the lber.h header file even with ldap.h */ /* #undef NEED_LBER_H */ @@ -823,158 +602,92 @@ /* Define to 1 if you need the malloc.h header file even with stdlib.h */ /* #undef NEED_MALLOC_H */ -/* Define to 1 if you need the memory.h header file even with stdlib.h */ -/* #undef NEED_MEMORY_H */ - /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ /* #undef NEED_REENTRANT */ -/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ -/* #undef NEED_THREAD_SAFE */ - -/* Define to enable NTLM delegation to winbind's ntlm_auth helper. */ -/* #undef NTLM_WB_ENABLED */ - -/* Define absolute filename for winbind's ntlm_auth helper. */ -/* #undef NTLM_WB_FILE */ - /* cpu-machine-OS */ -#define OS "i386-pc-elf" +#define OS "x86_64-pc-elf" /* Name of package */ -#define PACKAGE "curl" +/* #undef PACKAGE */ /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" +/* #undef PACKAGE_BUGREPORT */ /* Define to the full name of this package. */ -#define PACKAGE_NAME "curl" +/* #undef PACKAGE_NAME */ /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "curl -" +/* #undef PACKAGE_STRING */ /* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "curl" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "" +/* #undef PACKAGE_TARNAME */ /* Define to the version of this package. */ -#define PACKAGE_VERSION "-" +/* #undef PACKAGE_VERSION */ /* a suitable file to read random data from */ -/* #undef RANDOM_FILE */ +#define RANDOM_FILE "/dev/random" -/* Define to the type of arg 1 for recv. */ -#define RECV_TYPE_ARG1 int +/* + Note: SIZEOF_* variables are fetched with CMake through check_type_size(). + As per CMake documentation on CheckTypeSize, C preprocessor code is + generated by CMake into SIZEOF_*_CODE. This is what we use in the + following statements. -/* Define to the type of arg 2 for recv. */ -#define RECV_TYPE_ARG2 void * + Reference: https://cmake.org/cmake/help/latest/module/CheckTypeSize.html +*/ -/* Define to the type of arg 3 for recv. */ -#define RECV_TYPE_ARG3 size_t - -/* Define to the type of arg 4 for recv. */ -#define RECV_TYPE_ARG4 int - -/* Define to the function return type for recv. */ -#define RECV_TYPE_RETV ssize_t - -/* Define as the return type of signal handlers (`int' or `void'). */ -#define RETSIGTYPE void - -/* Define to the type qualifier of arg 5 for select. */ -#define SELECT_QUAL_ARG5 - -/* Define to the type of arg 1 for select. */ -#define SELECT_TYPE_ARG1 int - -/* Define to the type of args 2, 3 and 4 for select. */ -#define SELECT_TYPE_ARG234 fd_set * - -/* Define to the type of arg 5 for select. */ -#define SELECT_TYPE_ARG5 struct timeval * - -/* Define to the function return type for select. */ -#define SELECT_TYPE_RETV int - -/* Define to the type qualifier of arg 2 for send. */ -#define SEND_QUAL_ARG2 const - -/* Define to the type of arg 1 for send. */ -#define SEND_TYPE_ARG1 int - -/* Define to the type of arg 2 for send. */ -#define SEND_TYPE_ARG2 void * - -/* Define to the type of arg 3 for send. */ -#define SEND_TYPE_ARG3 size_t - -/* Define to the type of arg 4 for send. */ -#define SEND_TYPE_ARG4 int - -/* Define to the function return type for send. */ -#define SEND_TYPE_RETV ssize_t - -/* The number of bytes in type curl_off_t */ -#define SIZEOF_CURL_OFF_T 8 - -/* The number of bytes in type int */ +/* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 -/* The number of bytes in type long */ +/* The size of `long', as computed by sizeof. */ #define SIZEOF_LONG 4 -/* The number of bytes in type long long */ -/* #undef SIZEOF_LONG_LONG */ +/* The size of `long long', as computed by sizeof. */ +#define SIZEOF_LONG_LONG 8 -/* The number of bytes in type off_t */ +/* The size of `off_t', as computed by sizeof. */ #define SIZEOF_OFF_T 8 -/* The number of bytes in type short */ -#define SIZEOF_SHORT 2 +/* The size of `curl_off_t', as computed by sizeof. */ +#define SIZEOF_CURL_OFF_T 8 -/* The number of bytes in type size_t */ +/* The size of `curl_socket_t', as computed by sizeof. */ +#define SIZEOF_CURL_SOCKET_T 4 + +/* The size of `size_t', as computed by sizeof. */ #define SIZEOF_SIZE_T 4 -/* The number of bytes in type time_t */ +/* The size of `time_t', as computed by sizeof. */ #define SIZEOF_TIME_T 4 /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 -/* Define to the type of arg 3 for strerror_r. */ -#define STRERROR_R_TYPE_ARG3 size_t - -/* Define to 1 if you can safely include both and . */ -#define TIME_WITH_SYS_TIME 1 - -/* to enable alt-svc */ -/* #undef USE_ALTSVC */ - -/* if AmiSSL is in use */ -/* #undef USE_AMISSL */ - -/* Define to enable c-ares support */ +/* Define if you want to enable c-ares support */ /* #undef USE_ARES */ -/* if BearSSL is enabled */ -/* #undef USE_BEARSSL */ +/* Define if you want to enable POSIX threaded DNS lookup */ +#define USE_THREADS_POSIX 1 -/* if ESNI support is available */ -/* #undef USE_ESNI */ +/* Define if you want to enable WIN32 threaded DNS lookup */ +/* #undef USE_THREADS_WIN32 */ /* if GnuTLS is enabled */ /* #undef USE_GNUTLS */ -/* if GnuTLS uses nettle as crypto backend */ -/* #undef USE_GNUTLS_NETTLE */ +/* if Secure Transport is enabled */ +/* #undef USE_SECTRANSP */ -/* PSL support enabled */ -/* #undef USE_LIBPSL */ +/* if mbedTLS is enabled */ +/* #undef USE_MBEDTLS */ -/* if librtmp is in use */ -/* #undef USE_LIBRTMP */ +/* if BearSSL is enabled */ +/* #undef USE_BEARSSL */ + +/* if WolfSSL is enabled */ +/* #undef USE_WOLFSSL */ /* if libSSH is in use */ #define USE_LIBSSH 1 @@ -982,108 +695,72 @@ /* if libSSH2 is in use */ /* #undef USE_LIBSSH2 */ -/* If you want to build curl with the built-in manual */ -#define USE_MANUAL 1 +/* if libPSL is in use */ +/* undef USE_LIBPSL */ -/* if mbedTLS is enabled */ -/* #undef USE_MBEDTLS */ - -/* if MesaLink is enabled */ -/* #undef USE_MESALINK */ - -/* Define to enable metalink support */ -/* #undef USE_METALINK */ - -/* if nghttp2 is in use */ -/* #undef USE_NGHTTP2 */ - -/* if nghttp3 is in use */ -/* #undef USE_NGHTTP3 */ - -/* if ngtcp2 is in use */ -/* #undef USE_NGTCP2 */ - -/* if ngtcp2_crypto_gnutls is in use */ -/* #undef USE_NGTCP2_CRYPTO_GNUTLS */ - -/* if ngtcp2_crypto_openssl is in use */ -/* #undef USE_NGTCP2_CRYPTO_OPENSSL */ - -/* if NSS is enabled */ -/* #undef USE_NSS */ - -/* Use OpenLDAP-specific code */ +/* if you want to use OpenLDAP code instead of legacy ldap implementation */ /* #undef USE_OPENLDAP */ /* if OpenSSL is in use */ #define USE_OPENSSL 1 -/* if quiche is in use */ +/* Define to 1 if you don't want the OpenSSL configuration to be loaded + automatically */ +/* #undef CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG */ + +/* to enable NGHTTP2 */ +/* #undef USE_NGHTTP2 */ + +/* to enable NGTCP2 */ +/* #undef USE_NGTCP2 */ + +/* to enable NGHTTP3 */ +/* #undef USE_NGHTTP3 */ + +/* to enable quiche */ /* #undef USE_QUICHE */ -/* to enable Windows native SSL/TLS support */ -/* #undef USE_SCHANNEL */ +/* to enable openssl + nghttp3 */ +/* #undef USE_OPENSSL_QUIC */ -/* enable Secure Transport */ -/* #undef USE_SECTRANSP */ +/* Define to 1 if you have the quiche_conn_set_qlog_fd function. */ +/* #undef HAVE_QUICHE_CONN_SET_QLOG_FD */ -/* if you want POSIX threaded DNS lookup */ -#define USE_THREADS_POSIX 1 +/* to enable msh3 */ +/* #undef USE_MSH3 */ -/* if you want Win32 threaded DNS lookup */ -/* #undef USE_THREADS_WIN32 */ +/* if Unix domain sockets are enabled */ +#define USE_UNIX_SOCKETS 1 -/* Use TLS-SRP authentication */ -#define USE_TLS_SRP 1 - -/* Use Unix domain sockets */ -/* #undef USE_UNIX_SOCKETS */ - -/* Define to 1 if you have the `normaliz' (WinIDN) library (-lnormaliz). */ -/* #undef USE_WIN32_IDN */ - -/* Define to 1 if you are building a Windows target with large file support. - */ +/* Define to 1 if you are building a Windows target with large file support. */ /* #undef USE_WIN32_LARGE_FILES */ -/* Use Windows LDAP implementation */ -/* #undef USE_WIN32_LDAP */ - -/* Define to 1 if you are building a Windows target without large file - support. */ -/* #undef USE_WIN32_SMALL_FILES */ - /* to enable SSPI support */ /* #undef USE_WINDOWS_SSPI */ -/* if wolfSSH is in use */ -/* #undef USE_WOLFSSH */ +/* to enable Windows SSL */ +/* #undef USE_SCHANNEL */ -/* if wolfSSL is enabled */ -/* #undef USE_WOLFSSL */ +/* enable multiple SSL backends */ +/* #undef CURL_WITH_MULTI_SSL */ /* Version number of package */ -#define VERSION "-" - -/* Define to 1 to provide own prototypes. */ -/* #undef WANT_IDN_PROTOTYPES */ +/* #undef VERSION */ /* Define to 1 if OS is AIX. */ #ifndef _ALL_SOURCE -/* # undef _ALL_SOURCE */ -#endif - -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 +# undef _ALL_SOURCE #endif /* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ +#define _FILE_OFFSET_BITS 64 /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ +/* define this if you need it to compile thread-safe code */ +/* #undef _THREAD_SAFE */ + /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ @@ -1093,7 +770,7 @@ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus -/* #undef inline */ +#undef inline #endif /* Define to `unsigned int' if does not define. */ @@ -1101,3 +778,21 @@ /* the signed version of size_t */ /* #undef ssize_t */ + +/* Define to 1 if you have the mach_absolute_time function. */ +/* #undef HAVE_MACH_ABSOLUTE_TIME */ + +/* to enable Windows IDN */ +/* #undef USE_WIN32_IDN */ + +/* Define to 1 to enable websocket support. */ +/* #undef USE_WEBSOCKETS */ + +/* Define to 1 if OpenSSL has the SSL_CTX_set_srp_username function. */ +#define HAVE_OPENSSL_SRP 1 + +/* Define to 1 if GnuTLS has the gnutls_srp_verifier function. */ +/* #undef HAVE_GNUTLS_SRP */ + +/* Define to 1 to enable TLS-SRP support. */ +#define USE_TLS_SRP 1 diff --git a/repos/libports/src/lib/curl/spec/64bit/curl_config.h b/repos/libports/src/lib/curl/spec/64bit/curl_config.h index eba53ab040..d1b7f30d80 100644 --- a/repos/libports/src/lib/curl/spec/64bit/curl_config.h +++ b/repos/libports/src/lib/curl/spec/64bit/curl_config.h @@ -1,196 +1,204 @@ -/* lib/curl_config.h. Generated from curl_config.h.in by configure. */ -/* lib/curl_config.h.in. Generated from configure.ac by autoheader. */ - -/* to enable curl debug memory tracking */ -/* #undef CURLDEBUG */ +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at https://curl.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + * SPDX-License-Identifier: curl + * + ***************************************************************************/ +/* lib/curl_config.h.in. Generated somehow by cmake. */ /* Location of default ca bundle */ #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" -/* define "1" to use built in CA store of SSL library */ +/* define "1" to use built-in ca store of TLS backend */ /* #undef CURL_CA_FALLBACK */ /* Location of default ca path */ -/* #undef CURL_CA_PATH */ +#define CURL_CA_PATH "/etc/ssl/certs" /* Default SSL backend */ /* #undef CURL_DEFAULT_SSL_BACKEND */ -/* to disable cookies support */ +/* disables alt-svc */ +/* #undef CURL_DISABLE_ALTSVC */ + +/* disables cookies support */ /* #undef CURL_DISABLE_COOKIES */ -/* to disable cryptographic authentication */ -/* #undef CURL_DISABLE_CRYPTO_AUTH */ +/* disables Basic authentication */ +/* #undef CURL_DISABLE_BASIC_AUTH */ -/* to disable DICT */ +/* disables Bearer authentication */ +/* #undef CURL_DISABLE_BEARER_AUTH */ + +/* disables Digest authentication */ +/* #undef CURL_DISABLE_DIGEST_AUTH */ + +/* disables Kerberos authentication */ +/* #undef CURL_DISABLE_KERBEROS_AUTH */ + +/* disables negotiate authentication */ +/* #undef CURL_DISABLE_NEGOTIATE_AUTH */ + +/* disables AWS-SIG4 */ +/* #undef CURL_DISABLE_AWS */ + +/* disables DICT */ #define CURL_DISABLE_DICT 1 -/* disable DoH */ +/* disables DNS-over-HTTPS */ /* #undef CURL_DISABLE_DOH */ -/* to disable FILE */ +/* disables FILE */ #define CURL_DISABLE_FILE 1 -/* to disable FTP */ +/* disables form api */ +/* #undef CURL_DISABLE_FORM_API */ + +/* disables FTP */ /* #undef CURL_DISABLE_FTP */ -/* to disable Gopher */ +/* disables curl_easy_options API for existing options to curl_easy_setopt */ +/* #undef CURL_DISABLE_GETOPTIONS */ + +/* disables GOPHER */ #define CURL_DISABLE_GOPHER 1 -/* to disable HTTP */ +/* disables headers-api support */ +/* #undef CURL_DISABLE_HEADERS_API */ + +/* disables HSTS support */ +/* #undef CURL_DISABLE_HSTS */ + +/* disables HTTP */ /* #undef CURL_DISABLE_HTTP */ -/* disable HTTP authentication */ -/* #undef CURL_DISABLE_HTTP_AUTH */ - -/* to disable IMAP */ +/* disables IMAP */ #define CURL_DISABLE_IMAP 1 -/* to disable LDAP */ +/* disables LDAP */ #define CURL_DISABLE_LDAP 1 -/* to disable LDAPS */ +/* disables LDAPS */ #define CURL_DISABLE_LDAPS 1 -/* to disable --libcurl C code generation option */ +/* disables --libcurl option from the curl tool */ /* #undef CURL_DISABLE_LIBCURL_OPTION */ -/* disable mime API */ +/* disables MIME support */ /* #undef CURL_DISABLE_MIME */ -/* disable netrc parsing */ +/* disables local binding support */ +/* #undef CURL_DISABLE_BINDLOCAL */ + +/* disables MQTT */ +/* #undef CURL_DISABLE_MQTT */ + +/* disables netrc parser */ /* #undef CURL_DISABLE_NETRC */ -/* if the OpenSSL configuration won't be loaded automatically */ -/* #undef CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG */ +/* disables NTLM support */ +/* #undef CURL_DISABLE_NTLM */ -/* disable date parsing */ +/* disables date parsing */ /* #undef CURL_DISABLE_PARSEDATE */ -/* to disable POP3 */ +/* disables POP3 */ #define CURL_DISABLE_POP3 1 -/* disable progress-meter */ +/* disables built-in progress meter */ /* #undef CURL_DISABLE_PROGRESS_METER */ -/* to disable proxies */ +/* disables proxies */ /* #undef CURL_DISABLE_PROXY */ -/* to disable RTSP */ +/* disables RTSP */ #define CURL_DISABLE_RTSP 1 -/* disable DNS shuffling */ -/* #undef CURL_DISABLE_SHUFFLE_DNS */ - -/* to disable SMB/CIFS */ +/* disables SMB */ #define CURL_DISABLE_SMB 1 -/* to disable SMTP */ +/* disables SMTP */ #define CURL_DISABLE_SMTP 1 -/* to disable TELNET */ +/* disables use of socketpair for curl_multi_poll */ +/* #undef CURL_DISABLE_SOCKETPAIR */ + +/* disables TELNET */ #define CURL_DISABLE_TELNET 1 -/* to disable TFTP */ +/* disables TFTP */ /* #undef CURL_DISABLE_TFTP */ -/* to disable verbose strings */ +/* disables verbose strings */ /* #undef CURL_DISABLE_VERBOSE_STRINGS */ -/* to enable MQTT */ -/* #undef CURL_ENABLE_MQTT */ - -/* Definition to make a library symbol externally visible. */ +/* to make a symbol visible */ #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default"))) +/* Ensure using CURL_EXTERN_SYMBOL is possible */ +#ifndef CURL_EXTERN_SYMBOL +#define CURL_EXTERN_SYMBOL +#endif -/* IP address type in sockaddr */ -#define CURL_SA_FAMILY_T sa_family_t +/* Allow SMB to work on Windows */ +/* #undef USE_WIN32_CRYPTO */ -/* built with multiple SSL backends */ -/* #undef CURL_WITH_MULTI_SSL */ - -/* enable debug build options */ -/* #undef DEBUGBUILD */ - -/* your Entropy Gathering Daemon socket pathname */ -/* #undef EGD_SOCKET */ +/* Use Windows LDAP implementation */ +/* #undef USE_WIN32_LDAP */ /* Define if you want to enable IPv6 support */ -#define ENABLE_IPV6 1 - -/* Define to the type of arg 2 for gethostname. */ -#define GETHOSTNAME_TYPE_ARG2 size_t - -/* Specifies the number of arguments to getservbyport_r */ -#define GETSERVBYPORT_R_ARGS 6 - -/* Specifies the size of the buffer to pass to getservbyport_r */ -#define GETSERVBYPORT_R_BUFSIZE 4096 +/* #undef ENABLE_IPV6 */ /* Define to 1 if you have the alarm function. */ #define HAVE_ALARM 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_ALLOCA_H */ +/* Define to 1 if you have the arc4random function. */ +#define HAVE_ARC4RANDOM 1 /* Define to 1 if you have the header file. */ #define HAVE_ARPA_INET_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_ARPA_TFTP_H 1 +/* Define to 1 if you have _Atomic support. */ +#define HAVE_ATOMIC 1 -/* Define to 1 if you have the header file. */ -#define HAVE_ASSERT_H 1 +/* Define to 1 if you have the `fnmatch' function. */ +#define HAVE_FNMATCH 1 -/* Define to 1 if you have the basename function. */ +/* Define to 1 if you have the `basename' function. */ #define HAVE_BASENAME 1 /* Define to 1 if bool is an available type. */ #define HAVE_BOOL_T 1 -/* Define to 1 if using BoringSSL. */ -/* #undef HAVE_BORINGSSL */ - -/* if BROTLI is in use */ -/* #undef HAVE_BROTLI */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BROTLI_DECODE_H */ - /* Define to 1 if you have the __builtin_available function. */ /* #undef HAVE_BUILTIN_AVAILABLE */ /* Define to 1 if you have the clock_gettime function and monotonic timer. */ #define HAVE_CLOCK_GETTIME_MONOTONIC 1 -/* Define to 1 if you have the closesocket function. */ +/* Define to 1 if you have the clock_gettime function and raw monotonic timer. + */ +/* #undef HAVE_CLOCK_GETTIME_MONOTONIC_RAW */ + +/* Define to 1 if you have the `closesocket' function. */ /* #undef HAVE_CLOSESOCKET */ -/* Define to 1 if you have the CloseSocket camel case function. */ -/* #undef HAVE_CLOSESOCKET_CAMEL */ - -/* Define to 1 if you have the connect function. */ -#define HAVE_CONNECT 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_CRYPTO_H */ - -/* Define to 1 if you have the declaration of `getpwuid_r', and to 0 if you - don't. */ -#define HAVE_DECL_GETPWUID_R 1 - -/* "Set if getpwuid_r() declaration is missing" */ -/* #undef HAVE_DECL_GETPWUID_R_MISSING */ - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_ERRNO_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_ERR_H */ - /* Define to 1 if you have the fcntl function. */ #define HAVE_FCNTL 1 @@ -200,30 +208,21 @@ /* Define to 1 if you have a working fcntl O_NONBLOCK function. */ #define HAVE_FCNTL_O_NONBLOCK 1 -/* Define to 1 if you have the `fnmatch' function. */ -#define HAVE_FNMATCH 1 - /* Define to 1 if you have the freeaddrinfo function. */ #define HAVE_FREEADDRINFO 1 -/* Define to 1 if you have the freeifaddrs function. */ -#define HAVE_FREEIFADDRS 1 +/* Define to 1 if you have the fseeko function. */ +#define HAVE_FSEEKO 1 -/* Define to 1 if you have the fsetxattr function. */ -/* #undef HAVE_FSETXATTR */ +/* Define to 1 if you have the fseeko declaration. */ +#define HAVE_DECL_FSEEKO 1 -/* fsetxattr() takes 5 args */ -/* #undef HAVE_FSETXATTR_5 */ - -/* fsetxattr() takes 6 args */ -/* #undef HAVE_FSETXATTR_6 */ +/* Define to 1 if you have the _fseeki64 function. */ +/* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the ftruncate function. */ #define HAVE_FTRUNCATE 1 -/* Define to 1 if you have the gai_strerror function. */ -#define HAVE_GAI_STRERROR 1 - /* Define to 1 if you have a working getaddrinfo function. */ #define HAVE_GETADDRINFO 1 @@ -233,23 +232,8 @@ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 -/* Define to 1 if you have the gethostbyaddr function. */ -#define HAVE_GETHOSTBYADDR 1 - -/* Define to 1 if you have the gethostbyaddr_r function. */ -#define HAVE_GETHOSTBYADDR_R 1 - -/* gethostbyaddr_r() takes 5 args */ -/* #undef HAVE_GETHOSTBYADDR_R_5 */ - -/* gethostbyaddr_r() takes 7 args */ -/* #undef HAVE_GETHOSTBYADDR_R_7 */ - -/* gethostbyaddr_r() takes 8 args */ -#define HAVE_GETHOSTBYADDR_R_8 1 - -/* Define to 1 if you have the gethostbyname function. */ -#define HAVE_GETHOSTBYNAME 1 +/* Define to 1 if you have the `getppid' function. */ +#define HAVE_GETPPID 1 /* Define to 1 if you have the gethostbyname_r function. */ #define HAVE_GETHOSTBYNAME_R 1 @@ -272,11 +256,14 @@ /* Define to 1 if you have the `getpass_r' function. */ /* #undef HAVE_GETPASS_R */ -/* Define to 1 if you have the getpeername function. */ +/* Define to 1 if you have the `getpeername' function. */ #define HAVE_GETPEERNAME 1 -/* Define to 1 if you have the `getppid' function. */ -#define HAVE_GETPPID 1 +/* Define to 1 if you have the `getsockname' function. */ +#define HAVE_GETSOCKNAME 1 + +/* Define to 1 if you have the `if_nametoindex' function. */ +#define HAVE_IF_NAMETOINDEX 1 /* Define to 1 if you have the `getpwuid' function. */ #define HAVE_GETPWUID 1 @@ -287,12 +274,6 @@ /* Define to 1 if you have the `getrlimit' function. */ #define HAVE_GETRLIMIT 1 -/* Define to 1 if you have the getservbyport_r function. */ -#define HAVE_GETSERVBYPORT_R 1 - -/* Define to 1 if you have the getsockname function. */ -#define HAVE_GETSOCKNAME 1 - /* Define to 1 if you have the `gettimeofday' function. */ #define HAVE_GETTIMEOFDAY 1 @@ -302,10 +283,7 @@ /* Define to 1 if you have a working gmtime_r function. */ #define HAVE_GMTIME_R 1 -/* if you have the function gnutls_srp_verifier */ -/* #undef HAVE_GNUTLS_SRP */ - -/* if you have GSS-API libraries */ +/* if you have the gssapi libraries */ /* #undef HAVE_GSSAPI */ /* Define to 1 if you have the header file. */ @@ -317,44 +295,26 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_GSSAPI_GSSAPI_KRB5_H */ -/* if you have GNU GSS */ +/* if you have the GNU gssapi libraries */ /* #undef HAVE_GSSGNU */ -/* if you have Heimdal */ -/* #undef HAVE_GSSHEIMDAL */ - -/* if you have MIT Kerberos */ -/* #undef HAVE_GSSMIT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_IDN2_H 1 +/* Define to 1 if you have the `idna_strerror' function. */ +/* #undef HAVE_IDNA_STRERROR */ /* Define to 1 if you have the header file. */ #define HAVE_IFADDRS_H 1 -/* Define to 1 if you have the `if_nametoindex' function. */ -#define HAVE_IF_NAMETOINDEX 1 - -/* Define to 1 if you have the inet_ntoa_r function. */ -#define HAVE_INET_NTOA_R 1 - -/* inet_ntoa_r() takes 2 args */ -/* #undef HAVE_INET_NTOA_R_2 */ - -/* inet_ntoa_r() takes 3 args */ -#define HAVE_INET_NTOA_R_3 1 - /* Define to 1 if you have a IPv6 capable working inet_ntop function. */ #define HAVE_INET_NTOP 1 /* Define to 1 if you have a IPv6 capable working inet_pton function. */ #define HAVE_INET_PTON 1 -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 +/* Define to 1 if symbol `sa_family_t' exists */ +#define HAVE_SA_FAMILY_T 1 -/* Define to 1 if you have the ioctl function. */ -#define HAVE_IOCTL 1 +/* Define to 1 if symbol `ADDRESS_FAMILY' exists */ +/* #undef HAVE_ADDRESS_FAMILY */ /* Define to 1 if you have the ioctlsocket function. */ /* #undef HAVE_IOCTLSOCKET */ @@ -381,15 +341,9 @@ /* Define to 1 if you have the lber.h header file. */ /* #undef HAVE_LBER_H */ -/* Define to 1 if you have the ldapssl.h header file. */ -/* #undef HAVE_LDAPSSL_H */ - /* Define to 1 if you have the ldap.h header file. */ /* #undef HAVE_LDAP_H */ -/* Define to 1 if you have the `ldap_init_fd' function. */ -/* #undef HAVE_LDAP_INIT_FD */ - /* Use LDAPS implementation */ /* #undef HAVE_LDAP_SSL */ @@ -399,68 +353,38 @@ /* Define to 1 if you have the `ldap_url_parse' function. */ /* #undef HAVE_LDAP_URL_PARSE */ -/* Define to 1 if you have the `brotlidec' library (-lbrotlidec). */ -/* #undef HAVE_LIBBROTLIDEC */ - /* Define to 1 if you have the header file. */ #define HAVE_LIBGEN_H 1 -/* Define to 1 if you have the `idn' library (-lidn). */ -/* #undef HAVE_LIBIDN */ +/* Define to 1 if you have the `idn2' library (-lidn2). */ +/* #undef HAVE_LIBIDN2 */ -/* Define to 1 if using libressl. */ -/* #undef HAVE_LIBRESSL */ +/* Define to 1 if you have the idn2.h header file. */ +/* #undef HAVE_IDN2_H */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_LIBRTMP_RTMP_H */ - -/* Define to 1 if you have the `ssh' library (-lssh). */ -#define HAVE_LIBSSH 1 +/* Define to 1 if you have the `socket' library (-lsocket). */ +/* #undef HAVE_LIBSOCKET */ /* Define to 1 if you have the `ssh2' library (-lssh2). */ /* #undef HAVE_LIBSSH2 */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_LIBSSH2_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_LIBSSH_LIBSSH_H 1 - -/* Define to 1 if you have the `ssl' library (-lssl). */ -#define HAVE_LIBSSL 1 - -/* Define to 1 if you have the `wolfssh' library (-lwolfssh). */ -/* #undef HAVE_LIBWOLFSSH */ - /* if zlib is available */ #define HAVE_LIBZ 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_LINUX_TCP_H */ +/* if brotli is available */ +/* #undef HAVE_BROTLI */ -/* if your compiler supports LL */ -#define HAVE_LL 1 +/* if zstd is available */ +/* #undef HAVE_ZSTD */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 -/* Define to 1 if you have a working localtime_r function. */ -#define HAVE_LOCALTIME_R 1 - /* Define to 1 if the compiler supports the 'long long' data type. */ #define HAVE_LONGLONG 1 -/* Define to 1 if you have the `mach_absolute_time' function. */ -/* #undef HAVE_MACH_ABSOLUTE_TIME */ - -/* Define to 1 if you have the malloc.h header file. */ -/* #undef HAVE_MALLOC_H */ - -/* Define to 1 if you have the memory.h header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the memrchr function or macro. */ -#define HAVE_MEMRCHR 1 +/* Define to 1 if you have the 'suseconds_t' data type. */ +#define HAVE_SUSECONDS_T 1 /* Define to 1 if you have the MSG_NOSIGNAL flag. */ #define HAVE_MSG_NOSIGNAL 1 @@ -468,75 +392,29 @@ /* Define to 1 if you have the header file. */ #define HAVE_NETDB_H 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NETINET_IN6_H */ - /* Define to 1 if you have the header file. */ #define HAVE_NETINET_IN_H 1 /* Define to 1 if you have the header file. */ #define HAVE_NETINET_TCP_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_UDP_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_TCP_H */ + /* Define to 1 if you have the header file. */ #define HAVE_NET_IF_H 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NGHTTP2_NGHTTP2_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NGHTTP3_NGHTTP3_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NGTCP2_NGTCP2_CRYPTO_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NGTCP2_NGTCP2_H */ - -/* if you have an old MIT Kerberos version, lacking GSS_C_NT_HOSTBASED_SERVICE - */ +/* if you have an old MIT gssapi library, lacking GSS_C_NT_HOSTBASED_SERVICE */ /* #undef HAVE_OLD_GSSMIT */ -/* Define to 1 if using OpenSSL 3 or later. */ -/* #undef HAVE_OPENSSL3 */ - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_CRYPTO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_ERR_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_PEM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_RSA_H 1 - -/* if you have the function SRP_Calc_client_key */ -#define HAVE_OPENSSL_SRP 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_SSL_H 1 - -/* Define to 1 if you have the `OpenSSL_version' function. */ -#define HAVE_OPENSSL_VERSION 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OPENSSL_X509_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_PEM_H */ - /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 -/* if you have the PK11_CreateManagedGenericObject function */ -/* #undef HAVE_PK11_CREATEMANAGEDGENERICOBJECT */ - -/* Define to 1 if you have a working poll function. */ -#define HAVE_POLL 1 - /* If you have a fine poll */ -/* #undef HAVE_POLL_FINE */ +#define HAVE_POLL_FINE 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 @@ -544,54 +422,51 @@ /* Define to 1 if you have a working POSIX-style strerror_r function. */ #define HAVE_POSIX_STRERROR_R 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_PROTO_BSDSOCKET_H */ - -/* if you have */ +/* Define to 1 if you have the header file */ #define HAVE_PTHREAD_H 1 /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_QUICHE_H */ - -/* Define to 1 if you have the `RAND_egd' function. */ -/* #undef HAVE_RAND_EGD */ +/* Define to 1 if OpenSSL has the `SSL_set0_wbio` function. */ +#define HAVE_SSL_SET0_WBIO 1 /* Define to 1 if you have the recv function. */ #define HAVE_RECV 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_RSA_H */ - /* Define to 1 if you have the select function. */ #define HAVE_SELECT 1 +/* Define to 1 if you have the sched_yield function. */ +#define HAVE_SCHED_YIELD 1 + /* Define to 1 if you have the send function. */ #define HAVE_SEND 1 -/* Define to 1 if you have the header file. */ -#define HAVE_SETJMP_H 1 +/* Define to 1 if you have the sendmsg function. */ +#define HAVE_SENDMSG 1 + +/* Define to 1 if you have the 'fsetxattr' function. */ +#define HAVE_FSETXATTR 1 + +/* fsetxattr() takes 5 args */ +#define HAVE_FSETXATTR_5 1 + +/* fsetxattr() takes 6 args */ +/* #undef HAVE_FSETXATTR_6 */ /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `setmode' function. */ -#define HAVE_SETMODE 1 +/* #undef HAVE_SETMODE */ /* Define to 1 if you have the `setrlimit' function. */ #define HAVE_SETRLIMIT 1 -/* Define to 1 if you have the setsockopt function. */ -#define HAVE_SETSOCKOPT 1 - /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */ /* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SGTTY_H */ - /* Define to 1 if you have the sigaction function. */ #define HAVE_SIGACTION 1 @@ -601,48 +476,27 @@ /* Define to 1 if you have the signal function. */ #define HAVE_SIGNAL 1 -/* Define to 1 if you have the header file. */ -#define HAVE_SIGNAL_H 1 - /* Define to 1 if you have the sigsetjmp function or macro. */ -/* #undef HAVE_SIGSETJMP */ +#define HAVE_SIGSETJMP 1 -/* Define to 1 if sig_atomic_t is an available typedef. */ -#define HAVE_SIG_ATOMIC_T 1 - -/* Define to 1 if sig_atomic_t is already defined as volatile. */ -/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */ +/* Define to 1 if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 /* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */ -/* #undef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID */ +#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 -/* Define to 1 if you have the socket function. */ +/* Define to 1 if you have the `socket' function. */ #define HAVE_SOCKET 1 /* Define to 1 if you have the socketpair function. */ -/* #undef HAVE_SOCKETPAIR */ +#define HAVE_SOCKETPAIR 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SOCKET_H */ - -/* Define to 1 if you have the `SSLv2_client_method' function. */ -/* #undef HAVE_SSLV2_CLIENT_METHOD */ - -/* Define to 1 if you have the `SSL_get_esni_status' function. */ -/* #undef HAVE_SSL_GET_ESNI_STATUS */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SSL_H */ +/* Define to 1 if you have the header file. */ +#define HAVE_STDATOMIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDBOOL_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - /* Define to 1 if you have the strcasecmp function. */ #define HAVE_STRCASECMP 1 @@ -661,30 +515,18 @@ /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the strncasecmp function. */ -#define HAVE_STRNCASECMP 1 - -/* Define to 1 if you have the strncmpi function. */ -/* #undef HAVE_STRNCMPI */ - -/* Define to 1 if you have the strnicmp function. */ -/* #undef HAVE_STRNICMP */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_STROPTS_H */ -/* Define to 1 if you have the strstr function. */ -#define HAVE_STRSTR 1 - /* Define to 1 if you have the strtok_r function. */ #define HAVE_STRTOK_R 1 /* Define to 1 if you have the strtoll function. */ #define HAVE_STRTOLL 1 +/* Define to 1 if you have the memrchr function. */ +/* #undef HAVE_MEMRCHR */ + /* if struct sockaddr_storage is defined */ #define HAVE_STRUCT_SOCKADDR_STORAGE 1 @@ -692,7 +534,10 @@ #define HAVE_STRUCT_TIMEVAL 1 /* Define to 1 if you have the header file. */ -#define HAVE_SYS_FILIO_H 1 +/* #undef HAVE_SYS_FILIO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 @@ -713,7 +558,7 @@ #define HAVE_SYS_SOCKET_H 1 /* Define to 1 if you have the header file. */ -#define HAVE_SYS_SOCKIO_H 1 +/* #undef HAVE_SYS_SOCKIO_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 @@ -724,39 +569,21 @@ /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_UIO_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_SYS_UN_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_WAIT_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_XATTR_H */ - /* Define to 1 if you have the header file. */ #define HAVE_TERMIOS_H 1 /* Define to 1 if you have the header file. */ -/* #undef HAVE_TERMIO_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_TIME_H 1 - -/* Define this if time_t is unsigned */ -/* #undef HAVE_TIME_T_UNSIGNED */ +#define HAVE_TERMIO_H 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 -/* Define to 1 if you have the `usleep' function. */ -#define HAVE_USLEEP 1 - /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 @@ -766,56 +593,8 @@ /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 -/* Define to 1 if compiler supports C99 variadic macro style. */ -#define HAVE_VARIADIC_MACROS_C99 1 - -/* Define to 1 if compiler supports old gcc variadic macro style. */ -#define HAVE_VARIADIC_MACROS_GCC 1 - -/* Define to 1 if you have the winber.h header file. */ -/* #undef HAVE_WINBER_H */ - -/* Define to 1 if you have the windows.h header file. */ -/* #undef HAVE_WINDOWS_H */ - -/* Define to 1 if you have the winldap.h header file. */ -/* #undef HAVE_WINLDAP_H */ - -/* Define to 1 if you have the winsock2.h header file. */ -/* #undef HAVE_WINSOCK2_H */ - -/* Define to 1 if you have the winsock.h header file. */ -/* #undef HAVE_WINSOCK_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_WOLFSSH_SSH_H */ - -/* Define to 1 if you have the `wolfSSLv3_client_method' function. */ -/* #undef HAVE_WOLFSSLV3_CLIENT_METHOD */ - -/* Define to 1 if you have the `wolfSSL_get_peer_certificate' function. */ -/* #undef HAVE_WOLFSSL_GET_PEER_CERTIFICATE */ - -/* Define to 1 if you have the `wolfSSL_UseALPN' function. */ -/* #undef HAVE_WOLFSSL_USEALPN */ - /* Define this symbol if your OS supports changing the contents of argv */ -/* #undef HAVE_WRITABLE_ARGV */ - -/* Define to 1 if you have the writev function. */ -#define HAVE_WRITEV 1 - -/* Define to 1 if you have the ws2tcpip.h header file. */ -/* #undef HAVE_WS2TCPIP_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_X509_H */ - -/* if you have the zlib.h header file */ -#define HAVE_ZLIB_H 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" +#define HAVE_WRITABLE_ARGV 1 /* Define to 1 if you need the lber.h header file even with ldap.h */ /* #undef NEED_LBER_H */ @@ -823,158 +602,92 @@ /* Define to 1 if you need the malloc.h header file even with stdlib.h */ /* #undef NEED_MALLOC_H */ -/* Define to 1 if you need the memory.h header file even with stdlib.h */ -/* #undef NEED_MEMORY_H */ - /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ /* #undef NEED_REENTRANT */ -/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ -/* #undef NEED_THREAD_SAFE */ - -/* Define to enable NTLM delegation to winbind's ntlm_auth helper. */ -/* #undef NTLM_WB_ENABLED */ - -/* Define absolute filename for winbind's ntlm_auth helper. */ -/* #undef NTLM_WB_FILE */ - /* cpu-machine-OS */ #define OS "x86_64-pc-elf" /* Name of package */ -#define PACKAGE "curl" +/* #undef PACKAGE */ /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" +/* #undef PACKAGE_BUGREPORT */ /* Define to the full name of this package. */ -#define PACKAGE_NAME "curl" +/* #undef PACKAGE_NAME */ /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "curl -" +/* #undef PACKAGE_STRING */ /* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "curl" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "" +/* #undef PACKAGE_TARNAME */ /* Define to the version of this package. */ -#define PACKAGE_VERSION "-" +/* #undef PACKAGE_VERSION */ /* a suitable file to read random data from */ -/* #undef RANDOM_FILE */ +#define RANDOM_FILE "/dev/random" -/* Define to the type of arg 1 for recv. */ -#define RECV_TYPE_ARG1 int +/* + Note: SIZEOF_* variables are fetched with CMake through check_type_size(). + As per CMake documentation on CheckTypeSize, C preprocessor code is + generated by CMake into SIZEOF_*_CODE. This is what we use in the + following statements. -/* Define to the type of arg 2 for recv. */ -#define RECV_TYPE_ARG2 void * + Reference: https://cmake.org/cmake/help/latest/module/CheckTypeSize.html +*/ -/* Define to the type of arg 3 for recv. */ -#define RECV_TYPE_ARG3 size_t - -/* Define to the type of arg 4 for recv. */ -#define RECV_TYPE_ARG4 int - -/* Define to the function return type for recv. */ -#define RECV_TYPE_RETV ssize_t - -/* Define as the return type of signal handlers (`int' or `void'). */ -#define RETSIGTYPE void - -/* Define to the type qualifier of arg 5 for select. */ -#define SELECT_QUAL_ARG5 - -/* Define to the type of arg 1 for select. */ -#define SELECT_TYPE_ARG1 int - -/* Define to the type of args 2, 3 and 4 for select. */ -#define SELECT_TYPE_ARG234 fd_set * - -/* Define to the type of arg 5 for select. */ -#define SELECT_TYPE_ARG5 struct timeval * - -/* Define to the function return type for select. */ -#define SELECT_TYPE_RETV int - -/* Define to the type qualifier of arg 2 for send. */ -#define SEND_QUAL_ARG2 const - -/* Define to the type of arg 1 for send. */ -#define SEND_TYPE_ARG1 int - -/* Define to the type of arg 2 for send. */ -#define SEND_TYPE_ARG2 void * - -/* Define to the type of arg 3 for send. */ -#define SEND_TYPE_ARG3 size_t - -/* Define to the type of arg 4 for send. */ -#define SEND_TYPE_ARG4 int - -/* Define to the function return type for send. */ -#define SEND_TYPE_RETV ssize_t - -/* The number of bytes in type curl_off_t */ -#define SIZEOF_CURL_OFF_T 8 - -/* The number of bytes in type int */ +/* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 -/* The number of bytes in type long */ +/* The size of `long', as computed by sizeof. */ #define SIZEOF_LONG 8 -/* The number of bytes in type long long */ -/* #undef SIZEOF_LONG_LONG */ +/* The size of `long long', as computed by sizeof. */ +#define SIZEOF_LONG_LONG 8 -/* The number of bytes in type off_t */ +/* The size of `off_t', as computed by sizeof. */ #define SIZEOF_OFF_T 8 -/* The number of bytes in type short */ -#define SIZEOF_SHORT 2 +/* The size of `curl_off_t', as computed by sizeof. */ +#define SIZEOF_CURL_OFF_T 8 -/* The number of bytes in type size_t */ +/* The size of `curl_socket_t', as computed by sizeof. */ +#define SIZEOF_CURL_SOCKET_T 4 + +/* The size of `size_t', as computed by sizeof. */ #define SIZEOF_SIZE_T 8 -/* The number of bytes in type time_t */ +/* The size of `time_t', as computed by sizeof. */ #define SIZEOF_TIME_T 8 /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 -/* Define to the type of arg 3 for strerror_r. */ -#define STRERROR_R_TYPE_ARG3 size_t - -/* Define to 1 if you can safely include both and . */ -#define TIME_WITH_SYS_TIME 1 - -/* to enable alt-svc */ -/* #undef USE_ALTSVC */ - -/* if AmiSSL is in use */ -/* #undef USE_AMISSL */ - -/* Define to enable c-ares support */ +/* Define if you want to enable c-ares support */ /* #undef USE_ARES */ -/* if BearSSL is enabled */ -/* #undef USE_BEARSSL */ +/* Define if you want to enable POSIX threaded DNS lookup */ +#define USE_THREADS_POSIX 1 -/* if ESNI support is available */ -/* #undef USE_ESNI */ +/* Define if you want to enable WIN32 threaded DNS lookup */ +/* #undef USE_THREADS_WIN32 */ /* if GnuTLS is enabled */ /* #undef USE_GNUTLS */ -/* if GnuTLS uses nettle as crypto backend */ -/* #undef USE_GNUTLS_NETTLE */ +/* if Secure Transport is enabled */ +/* #undef USE_SECTRANSP */ -/* PSL support enabled */ -/* #undef USE_LIBPSL */ +/* if mbedTLS is enabled */ +/* #undef USE_MBEDTLS */ -/* if librtmp is in use */ -/* #undef USE_LIBRTMP */ +/* if BearSSL is enabled */ +/* #undef USE_BEARSSL */ + +/* if WolfSSL is enabled */ +/* #undef USE_WOLFSSL */ /* if libSSH is in use */ #define USE_LIBSSH 1 @@ -982,108 +695,72 @@ /* if libSSH2 is in use */ /* #undef USE_LIBSSH2 */ -/* If you want to build curl with the built-in manual */ -#define USE_MANUAL 1 +/* if libPSL is in use */ +/* undef USE_LIBPSL */ -/* if mbedTLS is enabled */ -/* #undef USE_MBEDTLS */ - -/* if MesaLink is enabled */ -/* #undef USE_MESALINK */ - -/* Define to enable metalink support */ -/* #undef USE_METALINK */ - -/* if nghttp2 is in use */ -/* #undef USE_NGHTTP2 */ - -/* if nghttp3 is in use */ -/* #undef USE_NGHTTP3 */ - -/* if ngtcp2 is in use */ -/* #undef USE_NGTCP2 */ - -/* if ngtcp2_crypto_gnutls is in use */ -/* #undef USE_NGTCP2_CRYPTO_GNUTLS */ - -/* if ngtcp2_crypto_openssl is in use */ -/* #undef USE_NGTCP2_CRYPTO_OPENSSL */ - -/* if NSS is enabled */ -/* #undef USE_NSS */ - -/* Use OpenLDAP-specific code */ +/* if you want to use OpenLDAP code instead of legacy ldap implementation */ /* #undef USE_OPENLDAP */ /* if OpenSSL is in use */ #define USE_OPENSSL 1 -/* if quiche is in use */ +/* Define to 1 if you don't want the OpenSSL configuration to be loaded + automatically */ +/* #undef CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG */ + +/* to enable NGHTTP2 */ +/* #undef USE_NGHTTP2 */ + +/* to enable NGTCP2 */ +/* #undef USE_NGTCP2 */ + +/* to enable NGHTTP3 */ +/* #undef USE_NGHTTP3 */ + +/* to enable quiche */ /* #undef USE_QUICHE */ -/* to enable Windows native SSL/TLS support */ -/* #undef USE_SCHANNEL */ +/* to enable openssl + nghttp3 */ +/* #undef USE_OPENSSL_QUIC */ -/* enable Secure Transport */ -/* #undef USE_SECTRANSP */ +/* Define to 1 if you have the quiche_conn_set_qlog_fd function. */ +/* #undef HAVE_QUICHE_CONN_SET_QLOG_FD */ -/* if you want POSIX threaded DNS lookup */ -#define USE_THREADS_POSIX 1 +/* to enable msh3 */ +/* #undef USE_MSH3 */ -/* if you want Win32 threaded DNS lookup */ -/* #undef USE_THREADS_WIN32 */ +/* if Unix domain sockets are enabled */ +#define USE_UNIX_SOCKETS 1 -/* Use TLS-SRP authentication */ -#define USE_TLS_SRP 1 - -/* Use Unix domain sockets */ -/* #undef USE_UNIX_SOCKETS */ - -/* Define to 1 if you have the `normaliz' (WinIDN) library (-lnormaliz). */ -/* #undef USE_WIN32_IDN */ - -/* Define to 1 if you are building a Windows target with large file support. - */ +/* Define to 1 if you are building a Windows target with large file support. */ /* #undef USE_WIN32_LARGE_FILES */ -/* Use Windows LDAP implementation */ -/* #undef USE_WIN32_LDAP */ - -/* Define to 1 if you are building a Windows target without large file - support. */ -/* #undef USE_WIN32_SMALL_FILES */ - /* to enable SSPI support */ /* #undef USE_WINDOWS_SSPI */ -/* if wolfSSH is in use */ -/* #undef USE_WOLFSSH */ +/* to enable Windows SSL */ +/* #undef USE_SCHANNEL */ -/* if wolfSSL is enabled */ -/* #undef USE_WOLFSSL */ +/* enable multiple SSL backends */ +/* #undef CURL_WITH_MULTI_SSL */ /* Version number of package */ -#define VERSION "-" - -/* Define to 1 to provide own prototypes. */ -/* #undef WANT_IDN_PROTOTYPES */ +/* #undef VERSION */ /* Define to 1 if OS is AIX. */ #ifndef _ALL_SOURCE -/* # undef _ALL_SOURCE */ -#endif - -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 +# undef _ALL_SOURCE #endif /* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ +#define _FILE_OFFSET_BITS 64 /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ +/* define this if you need it to compile thread-safe code */ +/* #undef _THREAD_SAFE */ + /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ @@ -1093,7 +770,7 @@ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus -/* #undef inline */ +#undef inline #endif /* Define to `unsigned int' if does not define. */ @@ -1101,3 +778,21 @@ /* the signed version of size_t */ /* #undef ssize_t */ + +/* Define to 1 if you have the mach_absolute_time function. */ +/* #undef HAVE_MACH_ABSOLUTE_TIME */ + +/* to enable Windows IDN */ +/* #undef USE_WIN32_IDN */ + +/* Define to 1 to enable websocket support. */ +/* #undef USE_WEBSOCKETS */ + +/* Define to 1 if OpenSSL has the SSL_CTX_set_srp_username function. */ +#define HAVE_OPENSSL_SRP 1 + +/* Define to 1 if GnuTLS has the gnutls_srp_verifier function. */ +/* #undef HAVE_GNUTLS_SRP */ + +/* Define to 1 to enable TLS-SRP support. */ +#define USE_TLS_SRP 1 diff --git a/repos/ports/run/lighttpd_fetchurl.run b/repos/ports/run/lighttpd_fetchurl.run index 8066319a48..bd403cbc39 100644 --- a/repos/ports/run/lighttpd_fetchurl.run +++ b/repos/ports/run/lighttpd_fetchurl.run @@ -31,6 +31,7 @@ import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/vfs \ [depot_user]/src/vfs_[ip_stack] \ [depot_user]/src/vfs_audit \ + [depot_user]/src/vfs_pipe \ [depot_user]/src/zlib proc lighttpd_config { } { @@ -134,13 +135,14 @@ install_config { 2000-01-01 00:00 - 01234567890123456789 + 0123456789012345678901234567890123456789 } [socket_fs_plugin] { + + rng="/dev/random" socket="} [socket_path] {" pipe="/pipe"/>