diff --git a/modules/c-ares/1.34.5.bcr.1/MODULE.bazel b/modules/c-ares/1.34.5.bcr.1/MODULE.bazel new file mode 100644 index 00000000000..8bc090a4a71 --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/MODULE.bazel @@ -0,0 +1,8 @@ +module( + name = "c-ares", + version = "1.34.5.bcr.1", + bazel_compatibility = [">=7.2.1"], + compatibility_level = 1, +) +bazel_dep(name = "bazel_skylib", version = "1.8.1") +bazel_dep(name = "platforms", version = "1.0.0") diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/BUILD.bazel b/modules/c-ares/1.34.5.bcr.1/overlay/BUILD.bazel new file mode 100644 index 00000000000..31cd9331f11 --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/BUILD.bazel @@ -0,0 +1,242 @@ +load("@bazel_skylib//rules:copy_file.bzl", "copy_file") + +config_setting( + name = "darwin", + constraint_values = ["@platforms//os:macos"], +) + +config_setting( + name = "windows", + constraint_values = ["@platforms//os:windows"], +) + +# Android is not officially supported through C++. +# This just helps with the build for now. +config_setting( + name = "android", + constraint_values = ["@platforms//os:android"], +) + +# iOS is not officially supported through C++. +# This just helps with the build for now. +config_setting( + name = "ios", + constraint_values = ["@platforms//os:ios"], +) + +config_setting( + name = "tvos", + constraint_values = ["@platforms//os:tvos"], +) + +config_setting( + name = "visionos", + constraint_values = ["@platforms//os:visionos"], +) + +config_setting( + name = "watchos", + constraint_values = ["@platforms//os:watchos"], +) + +config_setting( + name = "openbsd", + constraint_values = ["@platforms//os:openbsd"], +) + +config_setting( + name = "freebsd", + constraint_values = ["@platforms//os:freebsd"], +) + +copy_file( + name = "ares_build_h", + src = "configs/ares_build.h", + out = "ares_build.h", +) + +copy_file( + name = "ares_config_h", + src = select({ + ":ios": "configs/config_darwin/ares_config.h", + ":tvos": "configs/config_darwin/ares_config.h", + ":visionos": "configs/config_darwin/ares_config.h", + ":watchos": "configs/config_darwin/ares_config.h", + ":darwin": "configs/config_darwin/ares_config.h", + ":windows": "configs/config_windows/ares_config.h", + ":android": "configs/config_android/ares_config.h", + ":openbsd": "configs/config_openbsd/ares_config.h", + ":freebsd": "configs/config_freebsd/ares_config.h", + "//conditions:default": "configs/config_linux/ares_config.h", + }), + out = "ares_config.h", +) + +cc_library( + name = "ares", + srcs = [ + "src/lib/inet_ntop.c", + "src/lib/event/ares_event_configchg.c", + "src/lib/event/ares_event_poll.c", + "src/lib/event/ares_event_epoll.c", + "src/lib/event/ares_event_wake_pipe.c", + "src/lib/event/ares_event_select.c", + "src/lib/event/ares_event_kqueue.c", + "src/lib/event/ares_event_win32.c", + "src/lib/event/ares_event_thread.c", + "src/lib/ares_gethostbyaddr.c", + "src/lib/ares_set_socket_functions.c", + "src/lib/ares_options.c", + "src/lib/ares_getaddrinfo.c", + "src/lib/ares_init.c", + "src/lib/ares_android.c", + "src/lib/ares_destroy.c", + "src/lib/ares_getenv.c", + "src/lib/ares_addrinfo_localhost.c", + "src/lib/ares_send.c", + "src/lib/ares_free_hostent.c", + "src/lib/ares_data.c", + "src/lib/ares_parse_into_addrinfo.c", + "src/lib/ares_cancel.c", + "src/lib/ares_search.c", + "src/lib/ares_sysconfig_win.c", + "src/lib/ares_gethostbyname.c", + "src/lib/ares_addrinfo2hostent.c", + "src/lib/ares_freeaddrinfo.c", + "src/lib/ares_sysconfig.c", + "src/lib/ares_hosts_file.c", + "src/lib/ares_sortaddrinfo.c", + "src/lib/ares_free_string.c", + "src/lib/ares_qcache.c", + "src/lib/str/ares_str.c", + "src/lib/str/ares_strsplit.c", + "src/lib/str/ares_buf.c", + "src/lib/windows_port.c", + "src/lib/ares_socket.c", + "src/lib/ares_timeout.c", + "src/lib/ares_cookie.c", + "src/lib/dsa/ares_htable_vpstr.c", + "src/lib/dsa/ares_htable_strvp.c", + "src/lib/dsa/ares_htable_dict.c", + "src/lib/dsa/ares_htable_szvp.c", + "src/lib/dsa/ares_htable_vpvp.c", + "src/lib/dsa/ares_llist.c", + "src/lib/dsa/ares_htable.c", + "src/lib/dsa/ares_htable_asvp.c", + "src/lib/dsa/ares_array.c", + "src/lib/dsa/ares_slist.c", + "src/lib/ares_sysconfig_mac.c", + "src/lib/ares_process.c", + "src/lib/ares_close_sockets.c", + "src/lib/legacy/ares_create_query.c", + "src/lib/legacy/ares_parse_txt_reply.c", + "src/lib/legacy/ares_parse_ptr_reply.c", + "src/lib/legacy/ares_fds.c", + "src/lib/legacy/ares_expand_string.c", + "src/lib/legacy/ares_parse_uri_reply.c", + "src/lib/legacy/ares_parse_naptr_reply.c", + "src/lib/legacy/ares_parse_aaaa_reply.c", + "src/lib/legacy/ares_parse_srv_reply.c", + "src/lib/legacy/ares_parse_soa_reply.c", + "src/lib/legacy/ares_parse_mx_reply.c", + "src/lib/legacy/ares_parse_caa_reply.c", + "src/lib/legacy/ares_expand_name.c", + "src/lib/legacy/ares_getsock.c", + "src/lib/legacy/ares_parse_ns_reply.c", + "src/lib/legacy/ares_parse_a_reply.c", + "src/lib/ares_strerror.c", + "src/lib/ares_getnameinfo.c", + "src/lib/ares_version.c", + "src/lib/ares_library_init.c", + "src/lib/ares_sysconfig_files.c", + "src/lib/ares_metrics.c", + "src/lib/ares_conn.c", + "src/lib/ares_query.c", + "src/lib/inet_net_pton.c", + "src/lib/util/ares_rand.c", + "src/lib/util/ares_iface_ips.c", + "src/lib/util/ares_timeval.c", + "src/lib/util/ares_uri.c", + "src/lib/util/ares_threads.c", + "src/lib/util/ares_math.c", + "src/lib/ares_update_servers.c", + "src/lib/record/ares_dns_write.c", + "src/lib/record/ares_dns_record.c", + "src/lib/record/ares_dns_multistring.c", + "src/lib/record/ares_dns_mapping.c", + "src/lib/record/ares_dns_name.c", + "src/lib/record/ares_dns_parse.c", + ], + hdrs = [ + "ares_build.h", + "ares_config.h", + "include/ares_nameser.h", + "include/ares_dns_record.h", + "include/ares.h", + "include/ares_version.h", + "include/ares_dns.h", + "src/lib/event/ares_event_win32.h", + "src/lib/event/ares_event.h", + "src/lib/include/ares_htable_asvp.h", + "src/lib/include/ares_llist.h", + "src/lib/include/ares_htable_vpstr.h", + "src/lib/include/ares_htable_strvp.h", + "src/lib/include/ares_htable_vpvp.h", + "src/lib/include/ares_htable_szvp.h", + "src/lib/include/ares_mem.h", + "src/lib/include/ares_htable_dict.h", + "src/lib/include/ares_array.h", + "src/lib/include/ares_buf.h", + "src/lib/include/ares_str.h", + "src/lib/ares_android.h", + "src/lib/ares_private.h", + "src/lib/ares_socket.h", + "src/lib/ares_ipv6.h", + "src/lib/config-dos.h", + "src/lib/ares_inet_net_pton.h", + "src/lib/str/ares_strsplit.h", + "src/lib/dsa/ares_slist.h", + "src/lib/dsa/ares_htable.h", + "src/lib/ares_data.h", + "src/lib/ares_getenv.h", + "src/lib/config-win32.h", + "src/lib/ares_conn.h", + "src/lib/ares_setup.h", + "src/lib/thirdparty/apple/dnsinfo.h", + "src/lib/util/ares_threads.h", + "src/lib/util/ares_time.h", + "src/lib/util/ares_iface_ips.h", + "src/lib/util/ares_math.h", + "src/lib/util/ares_rand.h", + "src/lib/util/ares_uri.h", + "src/lib/record/ares_dns_multistring.h", + "src/lib/record/ares_dns_private.h", + ], + copts = [ + "-D_GNU_SOURCE", + "-D_HAS_EXCEPTIONS=0", + "-DHAVE_CONFIG_H", + ] + select({ + ":windows": [ + "-DNOMINMAX", + "-D_CRT_SECURE_NO_DEPRECATE", + "-D_CRT_NONSTDC_NO_DEPRECATE", + "-D_WIN32_WINNT=0x0600", + ], + "//conditions:default": [], + }), + defines = ["CARES_STATICLIB"], + includes = ["include", "src/lib/include", ".", "src/lib"], + linkopts = select({ + ":windows": [ + "-defaultlib:ws2_32.lib", + "-defaultlib:iphlpapi.lib", + ], + "//conditions:default": [], + }), + linkstatic = 1, + visibility = [ + "//visibility:public", + ], + alwayslink = 1, +) diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/MODULE.bazel b/modules/c-ares/1.34.5.bcr.1/overlay/MODULE.bazel new file mode 120000 index 00000000000..9b599e3ad9c --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel \ No newline at end of file diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/REPO.bazel b/modules/c-ares/1.34.5.bcr.1/overlay/REPO.bazel new file mode 100644 index 00000000000..4e2e8944866 --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/REPO.bazel @@ -0,0 +1 @@ +repo(features=["system_include_paths"]) diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/configs/ares_build.h b/modules/c-ares/1.34.5.bcr.1/overlay/configs/ares_build.h new file mode 100644 index 00000000000..e5988cfeaaf --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/configs/ares_build.h @@ -0,0 +1,223 @@ +#ifndef __CARES_BUILD_H +#define __CARES_BUILD_H + + +/* Copyright (C) 2009 - 2013 by Daniel Stenberg et al + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose and without fee is hereby granted, provided + * that the above copyright notice appear in all copies and that both that + * copyright notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in advertising or + * publicity pertaining to distribution of the software without specific, + * written prior permission. M.I.T. makes no representations about the + * suitability of this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +/* ================================================================ */ +/* NOTES FOR CONFIGURE CAPABLE SYSTEMS */ +/* ================================================================ */ + +/* + * NOTE 1: + * ------- + * + * See file ares_build.h.in, run configure, and forget that this file + * exists it is only used for non-configure systems. + * But you can keep reading if you want ;-) + * + */ + +/* ================================================================ */ +/* NOTES FOR NON-CONFIGURE SYSTEMS */ +/* ================================================================ */ + +/* + * NOTE 1: + * ------- + * + * Nothing in this file is intended to be modified or adjusted by the + * c-ares library user nor by the c-ares library builder. + * + * If you think that something actually needs to be changed, adjusted + * or fixed in this file, then, report it on the c-ares development + * mailing list: http://cool.haxx.se/mailman/listinfo/c-ares/ + * + * Try to keep one section per platform, compiler and architecture, + * otherwise, if an existing section is reused for a different one and + * later on the original is adjusted, probably the piggybacking one can + * be adversely changed. + * + * In order to differentiate between platforms/compilers/architectures + * use only compiler built in predefined preprocessor symbols. + * + * This header file shall only export symbols which are 'cares' or 'CARES' + * prefixed, otherwise public name space would be polluted. + * + * NOTE 2: + * ------- + * + * Right now you might be staring at file ares_build.h.dist or ares_build.h, + * this is due to the following reason: file ares_build.h.dist is renamed + * to ares_build.h when the c-ares source code distribution archive file is + * created. + * + * File ares_build.h.dist is not included in the distribution archive. + * File ares_build.h is not present in the git tree. + * + * The distributed ares_build.h file is only intended to be used on systems + * which can not run the also distributed configure script. + * + * On systems capable of running the configure script, the configure process + * will overwrite the distributed ares_build.h file with one that is suitable + * and specific to the library being configured and built, which is generated + * from the ares_build.h.in template file. + * + * If you check out from git on a non-configure platform, you must run the + * appropriate buildconf* script to set up ares_build.h and other local files. + * + */ + +/* ================================================================ */ +/* DEFINITION OF THESE SYMBOLS SHALL NOT TAKE PLACE ANYWHERE ELSE */ +/* ================================================================ */ + +#ifdef CARES_TYPEOF_ARES_SOCKLEN_T +# error "CARES_TYPEOF_ARES_SOCKLEN_T shall not be defined except in ares_build.h" + Error Compilation_aborted_CARES_TYPEOF_ARES_SOCKLEN_T_already_defined +#endif + +/* ================================================================ */ +/* EXTERNAL INTERFACE SETTINGS FOR NON-CONFIGURE SYSTEMS ONLY */ +/* ================================================================ */ + +#if defined(__DJGPP__) || defined(__GO32__) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(__SALFORDC__) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(__BORLANDC__) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(__TURBOC__) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(__WATCOMC__) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(__POCC__) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(__LCC__) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(__SYMBIAN32__) +# define CARES_TYPEOF_ARES_SOCKLEN_T unsigned int + +#elif defined(__MWERKS__) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(_WIN32_WCE) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(__MINGW32__) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +#elif defined(__VMS) +# define CARES_TYPEOF_ARES_SOCKLEN_T unsigned int + +#elif defined(__OS400__) +# if defined(__ILEC400__) +# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t +# define CARES_PULL_SYS_TYPES_H 1 +# define CARES_PULL_SYS_SOCKET_H 1 +# endif + +#elif defined(__MVS__) +# if defined(__IBMC__) || defined(__IBMCPP__) +# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t +# define CARES_PULL_SYS_TYPES_H 1 +# define CARES_PULL_SYS_SOCKET_H 1 +# endif + +#elif defined(__370__) +# if defined(__IBMC__) || defined(__IBMCPP__) +# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t +# define CARES_PULL_SYS_TYPES_H 1 +# define CARES_PULL_SYS_SOCKET_H 1 +# endif + +#elif defined(TPF) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +/* ===================================== */ +/* KEEP MSVC THE PENULTIMATE ENTRY */ +/* ===================================== */ + +#elif defined(_MSC_VER) +# define CARES_TYPEOF_ARES_SOCKLEN_T int + +/* ===================================== */ +/* KEEP GENERIC GCC THE LAST ENTRY */ +/* ===================================== */ + +#elif defined(__GNUC__) +# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t +# define CARES_PULL_SYS_TYPES_H 1 +# define CARES_PULL_SYS_SOCKET_H 1 + +#else +# error "Unknown non-configure build target!" + Error Compilation_aborted_Unknown_non_configure_build_target +#endif + +/* CARES_PULL_SYS_TYPES_H is defined above when inclusion of header file */ +/* sys/types.h is required here to properly make type definitions below. */ +#ifdef CARES_PULL_SYS_TYPES_H +# include +#endif + +/* CARES_PULL_SYS_SOCKET_H is defined above when inclusion of header file */ +/* sys/socket.h is required here to properly make type definitions below. */ +#ifdef CARES_PULL_SYS_SOCKET_H +# include +#endif + +/* Data type definition of ares_socklen_t. */ + +#ifdef CARES_TYPEOF_ARES_SOCKLEN_T + typedef CARES_TYPEOF_ARES_SOCKLEN_T ares_socklen_t; +#endif + +/* Data type definition of ares_ssize_t. */ +/* gRPC Manuel edit here! + * Possibly include <_mingw.h> header to define __int64 type under mingw */ +#ifdef _WIN32 +# ifdef _WIN64 +# ifdef __MINGW32__ +# include <_mingw.h> +# endif +# define CARES_TYPEOF_ARES_SSIZE_T __int64 +# else +# define CARES_TYPEOF_ARES_SSIZE_T long +# endif +#else +# define CARES_TYPEOF_ARES_SSIZE_T ssize_t +#endif + +typedef CARES_TYPEOF_ARES_SSIZE_T ares_ssize_t; + +/* IMPORTANT: gRPC MANUAL EDIT HERE! + * Undefine UNICODE, as c-ares does not use the ANSI version of functions + * explicitly. */ +#ifdef UNICODE +# undef UNICODE +#endif + +#ifdef _UNICODE +# undef _UNICODE +#endif + +#endif /* __CARES_BUILD_H */ diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_android/ares_config.h b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_android/ares_config.h new file mode 100644 index 00000000000..0945fae07c3 --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_android/ares_config.h @@ -0,0 +1,425 @@ +/* Generated from ares_config.h.cmake*/ + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* define this if ares is built for a big endian system */ +#undef ARES_BIG_ENDIAN + +/* when building as static part of libcurl */ +#undef BUILDING_LIBCURL + +/* Defined for build that exposes internal static functions for testing. */ +#undef CARES_EXPOSE_STATICS + +/* Defined for build with symbol hiding. */ +#undef CARES_SYMBOL_HIDING + +/* Definition to make a library symbol externally visible. */ +#undef CARES_SYMBOL_SCOPE_EXTERN + +/* Use resolver library to configure cares */ +/* #undef CARES_USE_LIBRESOLV */ + +/* if a /etc/inet dir is being used */ +#undef ETC_INET + +/* Define to the type of arg 2 for gethostname. */ +#define GETHOSTNAME_TYPE_ARG2 size_t + +/* Define to the type qualifier of arg 1 for getnameinfo. */ +#define GETNAMEINFO_QUAL_ARG1 + +/* Define to the type of arg 1 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG1 struct sockaddr * + +/* Define to the type of arg 2 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG2 socklen_t + +/* Define to the type of args 4 and 6 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG46 socklen_t + +/* Define to the type of arg 7 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG7 int + +/* Specifies the number of arguments to getservbyport_r */ +#define GETSERVBYPORT_R_ARGS + +/* Define to 1 if you have AF_INET6. */ +#define HAVE_AF_INET6 + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_INET_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_NAMESER_COMPAT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_NAMESER_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H + +/* Define to 1 if you have the `bitncmp' function. */ +/* #undef HAVE_BITNCMP */ + +/* Define to 1 if bool is an available type. */ +#define HAVE_BOOL_T + +/* 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. */ +/* #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 + +/* define if the compiler supports basic C++11 syntax */ +/* #undef HAVE_CXX11 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H + +/* Define to 1 if you have the fcntl function. */ +#define HAVE_FCNTL + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H + +/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ +#define HAVE_FCNTL_O_NONBLOCK + +/* Define to 1 if you have the freeaddrinfo function. */ +#define HAVE_FREEADDRINFO + +/* Define to 1 if you have a working getaddrinfo function. */ +#define HAVE_GETADDRINFO + +/* Define to 1 if the getaddrinfo function is threadsafe. */ +/* #undef HAVE_GETADDRINFO_THREADSAFE */ + +/* Define to 1 if you have the getenv function. */ +#define HAVE_GETENV + +/* Define to 1 if you have the gethostbyaddr function. */ +#define HAVE_GETHOSTBYADDR + +/* Define to 1 if you have the gethostbyname function. */ +#define HAVE_GETHOSTBYNAME + +/* Define to 1 if you have the gethostname function. */ +#define HAVE_GETHOSTNAME + +/* Define to 1 if you have the getnameinfo function. */ +#define HAVE_GETNAMEINFO + +/* Define to 1 if you have the getservbyport_r function. */ +/* #undef HAVE_GETSERVBYPORT_R */ + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY + +/* Define to 1 if you have the `if_indextoname' function. */ +#define HAVE_IF_INDEXTONAME + +/* Define to 1 if you have a IPv6 capable working inet_net_pton function. */ +/* #undef HAVE_INET_NET_PTON */ + +/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ +#define HAVE_INET_NTOP + +/* Define to 1 if you have a IPv6 capable working inet_pton function. */ +#define HAVE_INET_PTON + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H + +/* Define to 1 if you have the ioctl function. */ +#define HAVE_IOCTL + +/* Define to 1 if you have the ioctlsocket function. */ +/* #undef HAVE_IOCTLSOCKET */ + +/* Define to 1 if you have the IoctlSocket camel case function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL */ + +/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. + */ +/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ + +/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ +/* #undef HAVE_IOCTLSOCKET_FIONBIO */ + +/* Define to 1 if you have a working ioctl FIONBIO function. */ +#define HAVE_IOCTL_FIONBIO + +/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ +#define HAVE_IOCTL_SIOCGIFADDR + +/* Define to 1 if you have the `resolve' library (-lresolve). */ +/* #undef HAVE_LIBRESOLV */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H + +/* if your compiler supports LL */ +#define HAVE_LL + +/* Define to 1 if the compiler supports the 'long long' data type. */ +#define HAVE_LONGLONG + +/* Define to 1 if you have the malloc.h header file. */ +#define HAVE_MALLOC_H + +/* Define to 1 if you have the memory.h header file. */ +#define HAVE_MEMORY_H + +/* Define to 1 if you have the MSG_NOSIGNAL flag. */ +#define HAVE_MSG_NOSIGNAL + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_IN_H + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_TCP_H + +/* Define to 1 if you have the header file. */ +#define HAVE_NET_IF_H + +/* Define to 1 if you have PF_INET6. */ +#define HAVE_PF_INET6 + +/* Define to 1 if you have the recv function. */ +#define HAVE_RECV + +/* Define to 1 if you have the recvfrom function. */ +#define HAVE_RECVFROM + +/* Define to 1 if you have the send function. */ +#define HAVE_SEND + +/* Define to 1 if you have the setsockopt function. */ +#define HAVE_SETSOCKOPT + +/* 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. */ +#define HAVE_SIGNAL_H + +/* Define to 1 if sig_atomic_t is an available typedef. */ +#define HAVE_SIG_ATOMIC_T + +/* Define to 1 if sig_atomic_t is already defined as volatile. */ +/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */ + +/* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */ +#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID + +/* Define to 1 if you have the socket function. */ +#define HAVE_SOCKET + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SOCKET_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDBOOL_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H + +/* Define to 1 if you have the strcasecmp function. */ +#define HAVE_STRCASECMP + +/* Define to 1 if you have the strcmpi function. */ +/* #undef HAVE_STRCMPI */ + +/* Define to 1 if you have the strdup function. */ +#define HAVE_STRDUP + +/* Define to 1 if you have the stricmp function. */ +/* #undef HAVE_STRICMP */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H + +/* Define to 1 if you have the strncasecmp function. */ +#define HAVE_STRNCASECMP + +/* 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. */ +#define HAVE_STROPTS_H + +/* Define to 1 if you have struct addrinfo. */ +#define HAVE_STRUCT_ADDRINFO + +/* Define to 1 if you have struct in6_addr. */ +#define HAVE_STRUCT_IN6_ADDR + +/* Define to 1 if you have struct sockaddr_in6. */ +#define HAVE_STRUCT_SOCKADDR_IN6 + +/* if struct sockaddr_storage is defined */ +#define HAVE_STRUCT_SOCKADDR_STORAGE + +/* Define to 1 if you have the timeval struct. */ +#define HAVE_STRUCT_TIMEVAL + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SELECT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_UIO_H + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H + +/* Define to 1 if you have the windows.h header file. */ +/* #undef HAVE_WINDOWS_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 writev function. */ +#define HAVE_WRITEV + +/* Define to 1 if you have the ws2tcpip.h header file. */ +/* #undef HAVE_WS2TCPIP_H */ + +/* Define if __system_property_get exists. */ +/* #undef HAVE___SYSTEM_PROPERTY_GET */ + +/* 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 */ + +/* a suitable file/device to read random data from */ +/* #undef RANDOM_FILE */ + +/* Define to the type qualifier pointed by arg 5 for recvfrom. */ +#define RECVFROM_QUAL_ARG5 + +/* Define to the type of arg 1 for recvfrom. */ +#define RECVFROM_TYPE_ARG1 int + +/* Define to the type pointed by arg 2 for recvfrom. */ +#define RECVFROM_TYPE_ARG2 void * + +/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG2_IS_VOID 0 + +/* Define to the type of arg 3 for recvfrom. */ +#define RECVFROM_TYPE_ARG3 size_t + +/* Define to the type of arg 4 for recvfrom. */ +#define RECVFROM_TYPE_ARG4 int + +/* Define to the type pointed by arg 5 for recvfrom. */ +#define RECVFROM_TYPE_ARG5 struct sockaddr * + +/* Define to 1 if the type pointed by arg 5 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG5_IS_VOID 0 + +/* Define to the type pointed by arg 6 for recvfrom. */ +#define RECVFROM_TYPE_ARG6 socklen_t * + +/* Define to 1 if the type pointed by arg 6 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG6_IS_VOID 0 + +/* Define to the function return type for recvfrom. */ +#define RECVFROM_TYPE_RETV ssize_t + +/* Define to the type of arg 1 for recv. */ +#define RECV_TYPE_ARG1 int + +/* Define to the type of arg 2 for recv. */ +#define RECV_TYPE_ARG2 void * + +/* 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 + +/* Define to the type qualifier of arg 2 for send. */ +#define SEND_QUAL_ARG2 + +/* 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 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME + +/* Define to disable non-blocking sockets. */ +#undef USE_BLOCKING_SOCKETS + +/* Define to avoid automatic inclusion of winsock.h */ +#undef WIN32_LEAN_AND_MEAN + +/* Type to use in place of in_addr_t when system does not provide it. */ +#undef in_addr_t diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_darwin/ares_config.h b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_darwin/ares_config.h new file mode 100644 index 00000000000..9b8fc651a18 --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_darwin/ares_config.h @@ -0,0 +1,428 @@ +/* Generated from ares_config.h.cmake*/ + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* define this if ares is built for a big endian system */ +#undef ARES_BIG_ENDIAN + +/* when building as static part of libcurl */ +#undef BUILDING_LIBCURL + +/* Defined for build that exposes internal static functions for testing. */ +#undef CARES_EXPOSE_STATICS + +/* Defined for build with symbol hiding. */ +#undef CARES_SYMBOL_HIDING + +/* Definition to make a library symbol externally visible. */ +#undef CARES_SYMBOL_SCOPE_EXTERN + +/* Use resolver library to configure cares */ +/* #undef CARES_USE_LIBRESOLV */ + +/* if a /etc/inet dir is being used */ +#undef ETC_INET + +/* Define to the type of arg 2 for gethostname. */ +#define GETHOSTNAME_TYPE_ARG2 size_t + +/* Define to the type qualifier of arg 1 for getnameinfo. */ +#define GETNAMEINFO_QUAL_ARG1 + +/* Define to the type of arg 1 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG1 struct sockaddr * + +/* Define to the type of arg 2 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG2 socklen_t + +/* Define to the type of args 4 and 6 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG46 socklen_t + +/* Define to the type of arg 7 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG7 int + +/* Specifies the number of arguments to getservbyport_r */ +#define GETSERVBYPORT_R_ARGS + +/* Define to 1 if you have AF_INET6. */ +#define HAVE_AF_INET6 + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_INET_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_NAMESER_COMPAT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_NAMESER_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H + +/* Define to 1 if you have the `bitncmp' function. */ +/* #undef HAVE_BITNCMP */ + +/* Define to 1 if bool is an available type. */ +#define HAVE_BOOL_T + +/* Define to 1 if you have the clock_gettime function and monotonic timer. */ +/* IMPORTANT: gRPC MANUAL EDIT HERE! + * defining HAVE_CLOCK_GETTIME_MONOTONIC breaks the MacOS build on gRPC CI */ +/* #undef HAVE_CLOCK_GETTIME_MONOTONIC */ + +/* 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 + +/* define if the compiler supports basic C++11 syntax */ +/* #undef HAVE_CXX11 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H + +/* Define to 1 if you have the fcntl function. */ +#define HAVE_FCNTL + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H + +/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ +#define HAVE_FCNTL_O_NONBLOCK + +/* Define to 1 if you have the freeaddrinfo function. */ +#define HAVE_FREEADDRINFO + +/* Define to 1 if you have a working getaddrinfo function. */ +#define HAVE_GETADDRINFO + +/* Define to 1 if the getaddrinfo function is threadsafe. */ +#define HAVE_GETADDRINFO_THREADSAFE + +/* Define to 1 if you have the getenv function. */ +#define HAVE_GETENV + +/* Define to 1 if you have the gethostbyaddr function. */ +#define HAVE_GETHOSTBYADDR + +/* Define to 1 if you have the gethostbyname function. */ +#define HAVE_GETHOSTBYNAME + +/* Define to 1 if you have the gethostname function. */ +#define HAVE_GETHOSTNAME + +/* Define to 1 if you have the getnameinfo function. */ +#define HAVE_GETNAMEINFO + +/* Define to 1 if you have the getservbyport_r function. */ +/* #undef HAVE_GETSERVBYPORT_R */ + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY + +/* Define to 1 if you have the `if_indextoname' function. */ +#define HAVE_IF_INDEXTONAME + +/* Define to 1 if you have a IPv6 capable working inet_net_pton function. */ +#define HAVE_INET_NET_PTON + +/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ +#define HAVE_INET_NTOP + +/* Define to 1 if you have a IPv6 capable working inet_pton function. */ +#define HAVE_INET_PTON + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H + +/* Define to 1 if you have the ioctl function. */ +#define HAVE_IOCTL + +/* Define to 1 if you have the ioctlsocket function. */ +/* #undef HAVE_IOCTLSOCKET */ + +/* Define to 1 if you have the IoctlSocket camel case function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL */ + +/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. + */ +/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ + +/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ +/* #undef HAVE_IOCTLSOCKET_FIONBIO */ + +/* Define to 1 if you have a working ioctl FIONBIO function. */ +#define HAVE_IOCTL_FIONBIO + +/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ +#define HAVE_IOCTL_SIOCGIFADDR + +/* Define to 1 if you have the `resolve' library (-lresolve). */ +#define HAVE_LIBRESOLV + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H + +/* if your compiler supports LL */ +#define HAVE_LL + +/* Define to 1 if the compiler supports the 'long long' data type. */ +#define HAVE_LONGLONG + +/* 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 + +/* Define to 1 if you have the MSG_NOSIGNAL flag. */ +/* #undef HAVE_MSG_NOSIGNAL */ + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_IN_H + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_TCP_H + +/* Define to 1 if you have the header file. */ +#define HAVE_NET_IF_H + +/* Define to 1 if you have PF_INET6. */ +#define HAVE_PF_INET6 + +/* Define to 1 if you have the recv function. */ +#define HAVE_RECV + +/* Define to 1 if you have the recvfrom function. */ +#define HAVE_RECVFROM + +/* Define to 1 if you have the send function. */ +#define HAVE_SEND + +/* Define to 1 if you have the setsockopt function. */ +#define HAVE_SETSOCKOPT + +/* 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. */ +#define HAVE_SIGNAL_H + +/* Define to 1 if sig_atomic_t is an available typedef. */ +#define HAVE_SIG_ATOMIC_T + +/* Define to 1 if sig_atomic_t is already defined as volatile. */ +/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */ + +/* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */ +#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID + +/* Define to 1 if you have the socket function. */ +#define HAVE_SOCKET + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SOCKET_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDBOOL_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H + +/* Define to 1 if you have the strcasecmp function. */ +#define HAVE_STRCASECMP + +/* Define to 1 if you have the strcmpi function. */ +/* #undef HAVE_STRCMPI */ + +/* Define to 1 if you have the strdup function. */ +#define HAVE_STRDUP + +/* Define to 1 if you have the stricmp function. */ +/* #undef HAVE_STRICMP */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H + +/* Define to 1 if you have the strncasecmp function. */ +#define HAVE_STRNCASECMP + +/* 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 struct addrinfo. */ +#define HAVE_STRUCT_ADDRINFO + +/* Define to 1 if you have struct in6_addr. */ +#define HAVE_STRUCT_IN6_ADDR + +/* Define to 1 if you have struct sockaddr_in6. */ +#define HAVE_STRUCT_SOCKADDR_IN6 + +/* if struct sockaddr_storage is defined */ +#define HAVE_STRUCT_SOCKADDR_STORAGE + +/* Define to 1 if you have the timeval struct. */ +#define HAVE_STRUCT_TIMEVAL + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SELECT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_UIO_H + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H + +/* Define to 1 if you have the windows.h header file. */ +/* #undef HAVE_WINDOWS_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 writev function. */ +#define HAVE_WRITEV + +/* Define to 1 if you have the ws2tcpip.h header file. */ +/* #undef HAVE_WS2TCPIP_H */ + +/* Define if __system_property_get exists. */ +/* #undef HAVE___SYSTEM_PROPERTY_GET */ + +/* 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 */ + +/* a suitable file/device to read random data from */ +/* #undef RANDOM_FILE */ + +/* Define to the type qualifier pointed by arg 5 for recvfrom. */ +#define RECVFROM_QUAL_ARG5 + +/* Define to the type of arg 1 for recvfrom. */ +#define RECVFROM_TYPE_ARG1 int + +/* Define to the type pointed by arg 2 for recvfrom. */ +#define RECVFROM_TYPE_ARG2 void * + +/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG2_IS_VOID 0 + +/* Define to the type of arg 3 for recvfrom. */ +#define RECVFROM_TYPE_ARG3 size_t + +/* Define to the type of arg 4 for recvfrom. */ +#define RECVFROM_TYPE_ARG4 int + +/* Define to the type pointed by arg 5 for recvfrom. */ +#define RECVFROM_TYPE_ARG5 struct sockaddr * + +/* Define to 1 if the type pointed by arg 5 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG5_IS_VOID 0 + +/* Define to the type pointed by arg 6 for recvfrom. */ +#define RECVFROM_TYPE_ARG6 socklen_t * + +/* Define to 1 if the type pointed by arg 6 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG6_IS_VOID 0 + +/* Define to the function return type for recvfrom. */ +#define RECVFROM_TYPE_RETV ssize_t + +/* Define to the type of arg 1 for recv. */ +#define RECV_TYPE_ARG1 int + +/* Define to the type of arg 2 for recv. */ +#define RECV_TYPE_ARG2 void * + +/* 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 + +/* Define to the type qualifier of arg 2 for send. */ +#define SEND_QUAL_ARG2 + +/* 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 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME + +/* Define to disable non-blocking sockets. */ +#undef USE_BLOCKING_SOCKETS + +/* Define to avoid automatic inclusion of winsock.h */ +#undef WIN32_LEAN_AND_MEAN + +/* Type to use in place of in_addr_t when system does not provide it. */ +#undef in_addr_t + diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_freebsd/ares_config.h b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_freebsd/ares_config.h new file mode 100644 index 00000000000..e50a11d7f37 --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_freebsd/ares_config.h @@ -0,0 +1,505 @@ +/* ares_config.h. Generated from ares_config.h.in by configure. */ +/* ares_config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* define this if ares is built for a big endian system */ +/* #undef ARES_BIG_ENDIAN */ + +/* when building as static part of libcurl */ +/* #undef BUILDING_LIBCURL */ + +/* Defined for build that exposes internal static functions for testing. */ +/* #undef CARES_EXPOSE_STATICS */ + +/* Defined for build with symbol hiding. */ +#define CARES_SYMBOL_HIDING 1 + +/* Definition to make a library symbol externally visible. */ +#define CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((__visibility__ ("default"))) + +/* the signed version of size_t */ +#define CARES_TYPEOF_ARES_SSIZE_T ssize_t + +/* Use resolver library to configure cares */ +/* #undef CARES_USE_LIBRESOLV */ + +/* if a /etc/inet dir is being used */ +/* #undef ETC_INET */ + +/* Define to the type of arg 2 for gethostname. */ +#define GETHOSTNAME_TYPE_ARG2 size_t + +/* Define to the type qualifier of arg 1 for getnameinfo. */ +#define GETNAMEINFO_QUAL_ARG1 const + +/* Define to the type of arg 1 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG1 struct sockaddr * + +/* Define to the type of arg 2 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG2 socklen_t + +/* Define to the type of args 4 and 6 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG46 size_t + +/* Define to the type of arg 7 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG7 int + +/* 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 + +/* Define to 1 if you have AF_INET6. */ +#define HAVE_AF_INET6 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_NAMESER_COMPAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_NAMESER_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H 1 + +/* Define to 1 if you have the `bitncmp' function. */ +/* #undef HAVE_BITNCMP */ + +/* Define to 1 if bool is an available type. */ +#define HAVE_BOOL_T 1 + +/* 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. */ +/* #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 if the compiler supports basic C++11 syntax */ +#define HAVE_CXX11 1 + +/* 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 fcntl function. */ +#define HAVE_FCNTL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* 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 freeaddrinfo function. */ +#define HAVE_FREEADDRINFO 1 + +/* Define to 1 if you have a working getaddrinfo function. */ +#define HAVE_GETADDRINFO 1 + +/* Define to 1 if the getaddrinfo function is threadsafe. */ +#define HAVE_GETADDRINFO_THREADSAFE 1 + +/* Define to 1 if you have the getenv function. */ +#define HAVE_GETENV 1 + +/* Define to 1 if you have the gethostbyaddr function. */ +#define HAVE_GETHOSTBYADDR 1 + +/* Define to 1 if you have the gethostbyname function. */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define to 1 if you have the gethostname function. */ +#define HAVE_GETHOSTNAME 1 + +/* Define to 1 if you have the getnameinfo function. */ +#define HAVE_GETNAMEINFO 1 + +/* Define to 1 if you have the getservbyport_r function. */ +#define HAVE_GETSERVBYPORT_R 1 + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define to 1 if you have the `if_indextoname' function. */ +#define HAVE_IF_INDEXTONAME 1 + +/* Define to 1 if you have a IPv6 capable working inet_net_pton function. */ +#define HAVE_INET_NET_PTON 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 you have the ioctl function. */ +#define HAVE_IOCTL 1 + +/* Define to 1 if you have the ioctlsocket function. */ +/* #undef HAVE_IOCTLSOCKET */ + +/* Define to 1 if you have the IoctlSocket camel case function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL */ + +/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. + */ +/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ + +/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ +/* #undef HAVE_IOCTLSOCKET_FIONBIO */ + +/* Define to 1 if you have a working ioctl FIONBIO function. */ +#define HAVE_IOCTL_FIONBIO 1 + +/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ +#define HAVE_IOCTL_SIOCGIFADDR 1 + +/* Define to 1 if you have the `resolve' library (-lresolve). */ +/* #undef HAVE_LIBRESOLVE */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* if your compiler supports LL */ +#define HAVE_LL 1 + +/* Define to 1 if the compiler supports the 'long long' data type. */ +#define HAVE_LONGLONG 1 + +/* 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 MSG_NOSIGNAL flag. */ +#define HAVE_MSG_NOSIGNAL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H 1 + +/* 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_NET_IF_H 1 + +/* Define to 1 if you have PF_INET6. */ +#define HAVE_PF_INET6 1 + +/* Define to 1 if you have the recv function. */ +#define HAVE_RECV 1 + +/* Define to 1 if you have the recvfrom function. */ +#define HAVE_RECVFROM 1 + +/* Define to 1 if you have the send function. */ +#define HAVE_SEND 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. */ +#define HAVE_SIGNAL_H 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 your struct sockaddr_in6 has sin6_scope_id. */ +#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 + +/* Define to 1 if you have the socket function. */ +#define HAVE_SOCKET 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SOCKET_H */ + +/* 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 + +/* Define to 1 if you have the strcmpi function. */ +/* #undef HAVE_STRCMPI */ + +/* Define to 1 if you have the strdup function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if you have the stricmp function. */ +/* #undef HAVE_STRICMP */ + +/* 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 struct addrinfo. */ +#define HAVE_STRUCT_ADDRINFO 1 + +/* Define to 1 if you have struct in6_addr. */ +#define HAVE_STRUCT_IN6_ADDR 1 + +/* Define to 1 if you have struct sockaddr_in6. */ +#define HAVE_STRUCT_SOCKADDR_IN6 1 + +/* if struct sockaddr_storage is defined */ +#define HAVE_STRUCT_SOCKADDR_STORAGE 1 + +/* Define to 1 if you have the timeval struct. */ +#define HAVE_STRUCT_TIMEVAL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SELECT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* 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_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the windows.h header file. */ +/* #undef HAVE_WINDOWS_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 writev function. */ +#define HAVE_WRITEV 1 + +/* Define to 1 if you have the ws2tcpip.h header file. */ +/* #undef HAVE_WS2TCPIP_H */ + +/* Define if __system_property_get exists. */ +/* #undef HAVE___SYSTEM_PROPERTY_GET */ + +/* Define to the sub-directory where libtool stores uninstalled libraries. */ +#define LT_OBJDIR ".libs/" + +/* 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 */ + +/* cpu-machine-OS */ +#define OS "amd64-unknown-freebsd11.0" + +/* Name of package */ +#define PACKAGE "c-ares" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "c-ares" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "c-ares -" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "c-ares" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "-" + +/* a suitable file/device to read random data from */ +#define RANDOM_FILE "/dev/urandom" + +/* Define to the type qualifier pointed by arg 5 for recvfrom. */ +#define RECVFROM_QUAL_ARG5 + +/* Define to the type of arg 1 for recvfrom. */ +#define RECVFROM_TYPE_ARG1 int + +/* Define to the type pointed by arg 2 for recvfrom. */ +#define RECVFROM_TYPE_ARG2 void + +/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG2_IS_VOID 1 + +/* Define to the type of arg 3 for recvfrom. */ +#define RECVFROM_TYPE_ARG3 size_t + +/* Define to the type of arg 4 for recvfrom. */ +#define RECVFROM_TYPE_ARG4 int + +/* Define to the type pointed by arg 5 for recvfrom. */ +#define RECVFROM_TYPE_ARG5 struct sockaddr + +/* Define to 1 if the type pointed by arg 5 for recvfrom is void. */ +/* #undef RECVFROM_TYPE_ARG5_IS_VOID */ + +/* Define to the type pointed by arg 6 for recvfrom. */ +#define RECVFROM_TYPE_ARG6 socklen_t + +/* Define to 1 if the type pointed by arg 6 for recvfrom is void. */ +/* #undef RECVFROM_TYPE_ARG6_IS_VOID */ + +/* Define to the function return type for recvfrom. */ +#define RECVFROM_TYPE_RETV ssize_t + +/* Define to the type of arg 1 for recv. */ +#define RECV_TYPE_ARG1 int + +/* Define to the type of arg 2 for recv. */ +#define RECV_TYPE_ARG2 void * + +/* 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 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 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to disable non-blocking sockets. */ +/* #undef USE_BLOCKING_SOCKETS */ + +/* Version number of package */ +#define VERSION "-" + +/* Define to avoid automatic inclusion of winsock.h */ +/* #undef WIN32_LEAN_AND_MEAN */ + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* 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 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Type to use in place of in_addr_t when system does not provide it. */ +/* #undef in_addr_t */ + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_linux/ares_config.h b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_linux/ares_config.h new file mode 100644 index 00000000000..b09839e86ea --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_linux/ares_config.h @@ -0,0 +1,425 @@ +/* Generated from ares_config.h.cmake*/ + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* define this if ares is built for a big endian system */ +#undef ARES_BIG_ENDIAN + +/* when building as static part of libcurl */ +#undef BUILDING_LIBCURL + +/* Defined for build that exposes internal static functions for testing. */ +#undef CARES_EXPOSE_STATICS + +/* Defined for build with symbol hiding. */ +#undef CARES_SYMBOL_HIDING + +/* Definition to make a library symbol externally visible. */ +#undef CARES_SYMBOL_SCOPE_EXTERN + +/* Use resolver library to configure cares */ +/* #undef CARES_USE_LIBRESOLV */ + +/* if a /etc/inet dir is being used */ +#undef ETC_INET + +/* Define to the type of arg 2 for gethostname. */ +#define GETHOSTNAME_TYPE_ARG2 size_t + +/* Define to the type qualifier of arg 1 for getnameinfo. */ +#define GETNAMEINFO_QUAL_ARG1 + +/* Define to the type of arg 1 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG1 struct sockaddr * + +/* Define to the type of arg 2 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG2 socklen_t + +/* Define to the type of args 4 and 6 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG46 socklen_t + +/* Define to the type of arg 7 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG7 int + +/* Specifies the number of arguments to getservbyport_r */ +#define GETSERVBYPORT_R_ARGS 6 + +/* Define to 1 if you have AF_INET6. */ +#define HAVE_AF_INET6 + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_INET_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_NAMESER_COMPAT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_NAMESER_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H + +/* Define to 1 if you have the `bitncmp' function. */ +/* #undef HAVE_BITNCMP */ + +/* Define to 1 if bool is an available type. */ +#define HAVE_BOOL_T + +/* 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. */ +/* #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 + +/* define if the compiler supports basic C++11 syntax */ +/* #undef HAVE_CXX11 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H + +/* Define to 1 if you have the fcntl function. */ +#define HAVE_FCNTL + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H + +/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ +#define HAVE_FCNTL_O_NONBLOCK + +/* Define to 1 if you have the freeaddrinfo function. */ +#define HAVE_FREEADDRINFO + +/* Define to 1 if you have a working getaddrinfo function. */ +#define HAVE_GETADDRINFO + +/* Define to 1 if the getaddrinfo function is threadsafe. */ +/* #undef HAVE_GETADDRINFO_THREADSAFE */ + +/* Define to 1 if you have the getenv function. */ +#define HAVE_GETENV + +/* Define to 1 if you have the gethostbyaddr function. */ +#define HAVE_GETHOSTBYADDR + +/* Define to 1 if you have the gethostbyname function. */ +#define HAVE_GETHOSTBYNAME + +/* Define to 1 if you have the gethostname function. */ +#define HAVE_GETHOSTNAME + +/* Define to 1 if you have the getnameinfo function. */ +#define HAVE_GETNAMEINFO + +/* Define to 1 if you have the getservbyport_r function. */ +#define HAVE_GETSERVBYPORT_R + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY + +/* Define to 1 if you have the `if_indextoname' function. */ +#define HAVE_IF_INDEXTONAME + +/* Define to 1 if you have a IPv6 capable working inet_net_pton function. */ +/* #undef HAVE_INET_NET_PTON */ + +/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ +#define HAVE_INET_NTOP + +/* Define to 1 if you have a IPv6 capable working inet_pton function. */ +#define HAVE_INET_PTON + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H + +/* Define to 1 if you have the ioctl function. */ +#define HAVE_IOCTL + +/* Define to 1 if you have the ioctlsocket function. */ +/* #undef HAVE_IOCTLSOCKET */ + +/* Define to 1 if you have the IoctlSocket camel case function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL */ + +/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. + */ +/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ + +/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ +/* #undef HAVE_IOCTLSOCKET_FIONBIO */ + +/* Define to 1 if you have a working ioctl FIONBIO function. */ +#define HAVE_IOCTL_FIONBIO + +/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ +#define HAVE_IOCTL_SIOCGIFADDR + +/* Define to 1 if you have the `resolve' library (-lresolve). */ +/* #undef HAVE_LIBRESOLV */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H + +/* if your compiler supports LL */ +#define HAVE_LL + +/* Define to 1 if the compiler supports the 'long long' data type. */ +#define HAVE_LONGLONG + +/* Define to 1 if you have the malloc.h header file. */ +#define HAVE_MALLOC_H + +/* Define to 1 if you have the memory.h header file. */ +#define HAVE_MEMORY_H + +/* Define to 1 if you have the MSG_NOSIGNAL flag. */ +#define HAVE_MSG_NOSIGNAL + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_IN_H + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_TCP_H + +/* Define to 1 if you have the header file. */ +#define HAVE_NET_IF_H + +/* Define to 1 if you have PF_INET6. */ +#define HAVE_PF_INET6 + +/* Define to 1 if you have the recv function. */ +#define HAVE_RECV + +/* Define to 1 if you have the recvfrom function. */ +#define HAVE_RECVFROM + +/* Define to 1 if you have the send function. */ +#define HAVE_SEND + +/* Define to 1 if you have the setsockopt function. */ +#define HAVE_SETSOCKOPT + +/* 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. */ +#define HAVE_SIGNAL_H + +/* Define to 1 if sig_atomic_t is an available typedef. */ +#define HAVE_SIG_ATOMIC_T + +/* Define to 1 if sig_atomic_t is already defined as volatile. */ +/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */ + +/* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */ +#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID + +/* Define to 1 if you have the socket function. */ +#define HAVE_SOCKET + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SOCKET_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDBOOL_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H + +/* Define to 1 if you have the strcasecmp function. */ +#define HAVE_STRCASECMP + +/* Define to 1 if you have the strcmpi function. */ +/* #undef HAVE_STRCMPI */ + +/* Define to 1 if you have the strdup function. */ +#define HAVE_STRDUP + +/* Define to 1 if you have the stricmp function. */ +/* #undef HAVE_STRICMP */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H + +/* Define to 1 if you have the strncasecmp function. */ +#define HAVE_STRNCASECMP + +/* 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. */ +#define HAVE_STROPTS_H + +/* Define to 1 if you have struct addrinfo. */ +#define HAVE_STRUCT_ADDRINFO + +/* Define to 1 if you have struct in6_addr. */ +#define HAVE_STRUCT_IN6_ADDR + +/* Define to 1 if you have struct sockaddr_in6. */ +#define HAVE_STRUCT_SOCKADDR_IN6 + +/* if struct sockaddr_storage is defined */ +#define HAVE_STRUCT_SOCKADDR_STORAGE + +/* Define to 1 if you have the timeval struct. */ +#define HAVE_STRUCT_TIMEVAL + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SELECT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_UIO_H + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H + +/* Define to 1 if you have the windows.h header file. */ +/* #undef HAVE_WINDOWS_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 writev function. */ +#define HAVE_WRITEV + +/* Define to 1 if you have the ws2tcpip.h header file. */ +/* #undef HAVE_WS2TCPIP_H */ + +/* Define if __system_property_get exists. */ +/* #undef HAVE___SYSTEM_PROPERTY_GET */ + +/* 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 */ + +/* a suitable file/device to read random data from */ +/* #undef RANDOM_FILE */ + +/* Define to the type qualifier pointed by arg 5 for recvfrom. */ +#define RECVFROM_QUAL_ARG5 + +/* Define to the type of arg 1 for recvfrom. */ +#define RECVFROM_TYPE_ARG1 int + +/* Define to the type pointed by arg 2 for recvfrom. */ +#define RECVFROM_TYPE_ARG2 void * + +/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG2_IS_VOID 0 + +/* Define to the type of arg 3 for recvfrom. */ +#define RECVFROM_TYPE_ARG3 size_t + +/* Define to the type of arg 4 for recvfrom. */ +#define RECVFROM_TYPE_ARG4 int + +/* Define to the type pointed by arg 5 for recvfrom. */ +#define RECVFROM_TYPE_ARG5 struct sockaddr * + +/* Define to 1 if the type pointed by arg 5 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG5_IS_VOID 0 + +/* Define to the type pointed by arg 6 for recvfrom. */ +#define RECVFROM_TYPE_ARG6 socklen_t * + +/* Define to 1 if the type pointed by arg 6 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG6_IS_VOID 0 + +/* Define to the function return type for recvfrom. */ +#define RECVFROM_TYPE_RETV ssize_t + +/* Define to the type of arg 1 for recv. */ +#define RECV_TYPE_ARG1 int + +/* Define to the type of arg 2 for recv. */ +#define RECV_TYPE_ARG2 void * + +/* 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 + +/* Define to the type qualifier of arg 2 for send. */ +#define SEND_QUAL_ARG2 + +/* 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 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME + +/* Define to disable non-blocking sockets. */ +#undef USE_BLOCKING_SOCKETS + +/* Define to avoid automatic inclusion of winsock.h */ +#undef WIN32_LEAN_AND_MEAN + +/* Type to use in place of in_addr_t when system does not provide it. */ +#undef in_addr_t diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_openbsd/ares_config.h b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_openbsd/ares_config.h new file mode 100644 index 00000000000..18d1ea8c2c8 --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_openbsd/ares_config.h @@ -0,0 +1,505 @@ +/* ares_config.h. Generated from ares_config.h.in by configure. */ +/* ares_config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* define this if ares is built for a big endian system */ +/* #undef ARES_BIG_ENDIAN */ + +/* when building as static part of libcurl */ +/* #undef BUILDING_LIBCURL */ + +/* Defined for build that exposes internal static functions for testing. */ +/* #undef CARES_EXPOSE_STATICS */ + +/* Defined for build with symbol hiding. */ +#define CARES_SYMBOL_HIDING 1 + +/* Definition to make a library symbol externally visible. */ +#define CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((__visibility__ ("default"))) + +/* the signed version of size_t */ +#define CARES_TYPEOF_ARES_SSIZE_T ssize_t + +/* Use resolver library to configure cares */ +/* #undef CARES_USE_LIBRESOLV */ + +/* if a /etc/inet dir is being used */ +/* #undef ETC_INET */ + +/* Define to the type of arg 2 for gethostname. */ +#define GETHOSTNAME_TYPE_ARG2 size_t + +/* Define to the type qualifier of arg 1 for getnameinfo. */ +#define GETNAMEINFO_QUAL_ARG1 const + +/* Define to the type of arg 1 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG1 struct sockaddr * + +/* Define to the type of arg 2 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG2 socklen_t + +/* Define to the type of args 4 and 6 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG46 size_t + +/* Define to the type of arg 7 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG7 int + +/* Specifies the number of arguments to getservbyport_r */ +#define GETSERVBYPORT_R_ARGS 4 + +/* Specifies the size of the buffer to pass to getservbyport_r */ +#define GETSERVBYPORT_R_BUFSIZE sizeof(struct servent_data) + +/* Define to 1 if you have AF_INET6. */ +#define HAVE_AF_INET6 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. */ +/* #undef HAVE_ARPA_NAMESER_COMPAT_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_NAMESER_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H 1 + +/* Define to 1 if you have the `bitncmp' function. */ +/* #undef HAVE_BITNCMP */ + +/* Define to 1 if bool is an available type. */ +#define HAVE_BOOL_T 1 + +/* 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. */ +/* #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 if the compiler supports basic C++11 syntax */ +/* #undef HAVE_CXX11 */ + +/* 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 fcntl function. */ +#define HAVE_FCNTL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* 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 freeaddrinfo function. */ +#define HAVE_FREEADDRINFO 1 + +/* Define to 1 if you have a working getaddrinfo function. */ +#define HAVE_GETADDRINFO 1 + +/* Define to 1 if the getaddrinfo function is threadsafe. */ +/* #undef HAVE_GETADDRINFO_THREADSAFE */ + +/* Define to 1 if you have the getenv function. */ +#define HAVE_GETENV 1 + +/* Define to 1 if you have the gethostbyaddr function. */ +#define HAVE_GETHOSTBYADDR 1 + +/* Define to 1 if you have the gethostbyname function. */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define to 1 if you have the gethostname function. */ +#define HAVE_GETHOSTNAME 1 + +/* Define to 1 if you have the getnameinfo function. */ +#define HAVE_GETNAMEINFO 1 + +/* Define to 1 if you have the getservbyport_r function. */ +#define HAVE_GETSERVBYPORT_R 1 + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define to 1 if you have the `if_indextoname' function. */ +#define HAVE_IF_INDEXTONAME 1 + +/* Define to 1 if you have a IPv6 capable working inet_net_pton function. */ +/* #undef HAVE_INET_NET_PTON */ + +/* 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 you have the ioctl function. */ +#define HAVE_IOCTL 1 + +/* Define to 1 if you have the ioctlsocket function. */ +/* #undef HAVE_IOCTLSOCKET */ + +/* Define to 1 if you have the IoctlSocket camel case function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL */ + +/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. + */ +/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ + +/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ +/* #undef HAVE_IOCTLSOCKET_FIONBIO */ + +/* Define to 1 if you have a working ioctl FIONBIO function. */ +#define HAVE_IOCTL_FIONBIO 1 + +/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ +#define HAVE_IOCTL_SIOCGIFADDR 1 + +/* Define to 1 if you have the `resolve' library (-lresolve). */ +/* #undef HAVE_LIBRESOLVE */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* if your compiler supports LL */ +#define HAVE_LL 1 + +/* Define to 1 if the compiler supports the 'long long' data type. */ +#define HAVE_LONGLONG 1 + +/* 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 MSG_NOSIGNAL flag. */ +#define HAVE_MSG_NOSIGNAL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H 1 + +/* 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_NET_IF_H 1 + +/* Define to 1 if you have PF_INET6. */ +#define HAVE_PF_INET6 1 + +/* Define to 1 if you have the recv function. */ +#define HAVE_RECV 1 + +/* Define to 1 if you have the recvfrom function. */ +#define HAVE_RECVFROM 1 + +/* Define to 1 if you have the send function. */ +#define HAVE_SEND 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. */ +#define HAVE_SIGNAL_H 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 your struct sockaddr_in6 has sin6_scope_id. */ +#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 + +/* Define to 1 if you have the socket function. */ +#define HAVE_SOCKET 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SOCKET_H */ + +/* 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 + +/* Define to 1 if you have the strcmpi function. */ +/* #undef HAVE_STRCMPI */ + +/* Define to 1 if you have the strdup function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if you have the stricmp function. */ +/* #undef HAVE_STRICMP */ + +/* 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 struct addrinfo. */ +#define HAVE_STRUCT_ADDRINFO 1 + +/* Define to 1 if you have struct in6_addr. */ +#define HAVE_STRUCT_IN6_ADDR 1 + +/* Define to 1 if you have struct sockaddr_in6. */ +#define HAVE_STRUCT_SOCKADDR_IN6 1 + +/* if struct sockaddr_storage is defined */ +#define HAVE_STRUCT_SOCKADDR_STORAGE 1 + +/* Define to 1 if you have the timeval struct. */ +#define HAVE_STRUCT_TIMEVAL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SELECT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* 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_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the windows.h header file. */ +/* #undef HAVE_WINDOWS_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 writev function. */ +#define HAVE_WRITEV 1 + +/* Define to 1 if you have the ws2tcpip.h header file. */ +/* #undef HAVE_WS2TCPIP_H */ + +/* Define if __system_property_get exists. */ +/* #undef HAVE___SYSTEM_PROPERTY_GET */ + +/* Define to the sub-directory where libtool stores uninstalled libraries. */ +#define LT_OBJDIR ".libs/" + +/* 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 */ + +/* cpu-machine-OS */ +#define OS "x86_64-unknown-openbsd6.2" + +/* Name of package */ +#define PACKAGE "c-ares" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "c-ares" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "c-ares 1.13.0" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "c-ares" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.13.0" + +/* a suitable file/device to read random data from */ +#define RANDOM_FILE "/dev/urandom" + +/* Define to the type qualifier pointed by arg 5 for recvfrom. */ +#define RECVFROM_QUAL_ARG5 + +/* Define to the type of arg 1 for recvfrom. */ +#define RECVFROM_TYPE_ARG1 int + +/* Define to the type pointed by arg 2 for recvfrom. */ +#define RECVFROM_TYPE_ARG2 void + +/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG2_IS_VOID 1 + +/* Define to the type of arg 3 for recvfrom. */ +#define RECVFROM_TYPE_ARG3 size_t + +/* Define to the type of arg 4 for recvfrom. */ +#define RECVFROM_TYPE_ARG4 int + +/* Define to the type pointed by arg 5 for recvfrom. */ +#define RECVFROM_TYPE_ARG5 struct sockaddr + +/* Define to 1 if the type pointed by arg 5 for recvfrom is void. */ +/* #undef RECVFROM_TYPE_ARG5_IS_VOID */ + +/* Define to the type pointed by arg 6 for recvfrom. */ +#define RECVFROM_TYPE_ARG6 socklen_t + +/* Define to 1 if the type pointed by arg 6 for recvfrom is void. */ +/* #undef RECVFROM_TYPE_ARG6_IS_VOID */ + +/* Define to the function return type for recvfrom. */ +#define RECVFROM_TYPE_RETV ssize_t + +/* Define to the type of arg 1 for recv. */ +#define RECV_TYPE_ARG1 int + +/* Define to the type of arg 2 for recv. */ +#define RECV_TYPE_ARG2 void * + +/* 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 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 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to disable non-blocking sockets. */ +/* #undef USE_BLOCKING_SOCKETS */ + +/* Version number of package */ +#define VERSION "1.13.0" + +/* Define to avoid automatic inclusion of winsock.h */ +/* #undef WIN32_LEAN_AND_MEAN */ + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* 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 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Type to use in place of in_addr_t when system does not provide it. */ +/* #undef in_addr_t */ + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ diff --git a/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_windows/ares_config.h b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_windows/ares_config.h new file mode 100644 index 00000000000..93675987f3b --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/overlay/configs/config_windows/ares_config.h @@ -0,0 +1,429 @@ +/* Generated from ares_config.h.cmake*/ + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* define this if ares is built for a big endian system */ +#undef ARES_BIG_ENDIAN + +/* when building as static part of libcurl */ +#undef BUILDING_LIBCURL + +/* Defined for build that exposes internal static functions for testing. */ +#undef CARES_EXPOSE_STATICS + +/* Defined for build with symbol hiding. */ +#undef CARES_SYMBOL_HIDING + +/* Definition to make a library symbol externally visible. */ +#undef CARES_SYMBOL_SCOPE_EXTERN + +/* Use resolver library to configure cares */ +/* #undef CARES_USE_LIBRESOLV */ + +/* if a /etc/inet dir is being used */ +#undef ETC_INET + +/* Define to the type of arg 2 for gethostname. */ +#define GETHOSTNAME_TYPE_ARG2 int + +/* Define to the type qualifier of arg 1 for getnameinfo. */ +#define GETNAMEINFO_QUAL_ARG1 + +/* Define to the type of arg 1 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG1 struct sockaddr * + +/* Define to the type of arg 2 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG2 socklen_t + +/* Define to the type of args 4 and 6 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG46 socklen_t + +/* Define to the type of arg 7 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG7 int + +/* Specifies the number of arguments to getservbyport_r */ +#define GETSERVBYPORT_R_ARGS + +/* Define to 1 if you have AF_INET6. */ +#define HAVE_AF_INET6 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ARPA_INET_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ARPA_NAMESER_COMPAT_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ARPA_NAMESER_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H + +/* Define to 1 if you have the `bitncmp' function. */ +/* #undef HAVE_BITNCMP */ + +/* Define to 1 if bool is an available type. */ +#define HAVE_BOOL_T + +/* Define to 1 if you have the clock_gettime function and monotonic timer. */ +/* #undef HAVE_CLOCK_GETTIME_MONOTONIC */ + +/* Define to 1 if you have the closesocket function. */ +#define 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 + +/* define if the compiler supports basic C++11 syntax */ +/* #undef HAVE_CXX11 */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DLFCN_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H + +/* Define to 1 if you have the fcntl function. */ +/* #undef HAVE_FCNTL */ + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H + +/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ +/* #undef HAVE_FCNTL_O_NONBLOCK */ + +/* Define to 1 if you have the freeaddrinfo function. */ +#define HAVE_FREEADDRINFO + +/* Define to 1 if you have a working getaddrinfo function. */ +#define HAVE_GETADDRINFO + +/* Define to 1 if the getaddrinfo function is threadsafe. */ +#define HAVE_GETADDRINFO_THREADSAFE + +/* Define to 1 if you have the getenv function. */ +#define HAVE_GETENV + +/* Define to 1 if you have the gethostbyaddr function. */ +#define HAVE_GETHOSTBYADDR + +/* Define to 1 if you have the gethostbyname function. */ +#define HAVE_GETHOSTBYNAME + +/* Define to 1 if you have the gethostname function. */ +#define HAVE_GETHOSTNAME + +/* Define to 1 if you have the getnameinfo function. */ +#define HAVE_GETNAMEINFO + +/* Define to 1 if you have the getservbyport_r function. */ +/* #undef HAVE_GETSERVBYPORT_R */ + +/* Define to 1 if you have the `gettimeofday' function. */ +/* #undef HAVE_GETTIMEOFDAY */ + +/* Define to 1 if you have the `if_indextoname' function. */ +/* #undef HAVE_IF_INDEXTONAME */ + +/* Define to 1 if you have a IPv6 capable working inet_net_pton function. */ +/* #undef HAVE_INET_NET_PTON */ + +/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ +/* #undef HAVE_INET_NTOP */ + +/* Define to 1 if you have a IPv6 capable working inet_pton function. */ +/* #undef HAVE_INET_PTON */ + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H + +/* Define to 1 if you have the ioctl function. */ +/* #undef HAVE_IOCTL */ + +/* Define to 1 if you have the ioctlsocket function. */ +#define HAVE_IOCTLSOCKET + +/* Define to 1 if you have the IoctlSocket camel case function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL */ + +/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. + */ +/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ + +/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ +#define HAVE_IOCTLSOCKET_FIONBIO + +/* Define to 1 if you have a working ioctl FIONBIO function. */ +/* #undef HAVE_IOCTL_FIONBIO */ + +/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ +/* #undef HAVE_IOCTL_SIOCGIFADDR */ + +/* Define to 1 if you have the `resolve' library (-lresolve). */ +/* #undef HAVE_LIBRESOLV */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H + +/* if your compiler supports LL */ +#define HAVE_LL + +/* Define to 1 if the compiler supports the 'long long' data type. */ +#define HAVE_LONGLONG + +/* Define to 1 if you have the malloc.h header file. */ +#define HAVE_MALLOC_H + +/* Define to 1 if you have the memory.h header file. */ +#define HAVE_MEMORY_H + +/* Define to 1 if you have the MSG_NOSIGNAL flag. */ +/* #undef HAVE_MSG_NOSIGNAL */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NETDB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NETINET_IN_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NETINET_TCP_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NET_IF_H */ + +/* Define to 1 if you have PF_INET6. */ +#define HAVE_PF_INET6 + +/* Define to 1 if you have the recv function. */ +#define HAVE_RECV + +/* Define to 1 if you have the recvfrom function. */ +#define HAVE_RECVFROM + +/* Define to 1 if you have the send function. */ +#define HAVE_SEND + +/* Define to 1 if you have the setsockopt function. */ +#define HAVE_SETSOCKOPT + +/* 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. */ +#define HAVE_SIGNAL_H + +/* Define to 1 if sig_atomic_t is an available typedef. */ +#define HAVE_SIG_ATOMIC_T + +/* Define to 1 if sig_atomic_t is already defined as volatile. */ +/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */ + +/* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */ +#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID + +/* Define to 1 if you have the socket function. */ +#define HAVE_SOCKET + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SOCKET_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDBOOL_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H + +/* Define to 1 if you have the strcasecmp function. */ +/* #undef HAVE_STRCASECMP */ + +/* Define to 1 if you have the strcmpi function. */ +#define HAVE_STRCMPI + +/* Define to 1 if you have the strdup function. */ +#define HAVE_STRDUP + +/* Define to 1 if you have the stricmp function. */ +#define HAVE_STRICMP + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STRINGS_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H + +/* Define to 1 if you have the strncasecmp function. */ +/* #undef HAVE_STRNCASECMP */ + +/* Define to 1 if you have the strncmpi function. */ +/* #undef HAVE_STRNCMPI */ + +/* Define to 1 if you have the strnicmp function. */ +#define HAVE_STRNICMP + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STROPTS_H */ + +/* Define to 1 if you have struct addrinfo. */ +#define HAVE_STRUCT_ADDRINFO + +/* Define to 1 if you have struct in6_addr. */ +#define HAVE_STRUCT_IN6_ADDR + +/* Define to 1 if you have struct sockaddr_in6. */ +#define HAVE_STRUCT_SOCKADDR_IN6 + +/* if struct sockaddr_storage is defined */ +#define HAVE_STRUCT_SOCKADDR_STORAGE + +/* Define to 1 if you have the timeval struct. */ +#define HAVE_STRUCT_TIMEVAL + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_IOCTL_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_PARAM_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SELECT_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SOCKET_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_TIME_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_UIO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_UNISTD_H */ + +/* Define to 1 if you have the windows.h header file. */ +#define HAVE_WINDOWS_H + +/* Define to 1 if you have the winsock2.h header file. */ +#define HAVE_WINSOCK2_H + +/* Define to 1 if you have the winsock.h header file. */ +#define HAVE_WINSOCK_H + +/* Define to 1 if you have the writev function. */ +/* #undef HAVE_WRITEV */ + +/* Define to 1 if you have the ws2tcpip.h header file. */ +#define HAVE_WS2TCPIP_H + +/* Define if __system_property_get exists. */ +/* #undef HAVE___SYSTEM_PROPERTY_GET */ + +/* 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 */ + +/* a suitable file/device to read random data from */ +/* #undef RANDOM_FILE */ + +/* Define to the type qualifier pointed by arg 5 for recvfrom. */ +#define RECVFROM_QUAL_ARG5 + +/* Define to the type of arg 1 for recvfrom. */ +#define RECVFROM_TYPE_ARG1 SOCKET + +/* Define to the type pointed by arg 2 for recvfrom. */ +#define RECVFROM_TYPE_ARG2 void * + +/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG2_IS_VOID 0 + +/* Define to the type of arg 3 for recvfrom. */ +#define RECVFROM_TYPE_ARG3 int + +/* Define to the type of arg 4 for recvfrom. */ +#define RECVFROM_TYPE_ARG4 int + +/* Define to the type pointed by arg 5 for recvfrom. */ +#define RECVFROM_TYPE_ARG5 struct sockaddr * + +/* Define to 1 if the type pointed by arg 5 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG5_IS_VOID 0 + +/* Define to the type pointed by arg 6 for recvfrom. */ +#define RECVFROM_TYPE_ARG6 socklen_t * + +/* Define to 1 if the type pointed by arg 6 for recvfrom is void. */ +#define RECVFROM_TYPE_ARG6_IS_VOID 0 + +/* Define to the function return type for recvfrom. */ +#define RECVFROM_TYPE_RETV int + +/* Define to the type of arg 1 for recv. */ +#define RECV_TYPE_ARG1 SOCKET + +/* Define to the type of arg 2 for recv. */ +#define RECV_TYPE_ARG2 void * + +/* Define to the type of arg 3 for recv. */ +#define RECV_TYPE_ARG3 int + +/* 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 int + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE + +/* Define to the type qualifier of arg 2 for send. */ +#define SEND_QUAL_ARG2 + +/* Define to the type of arg 1 for send. */ +#define SEND_TYPE_ARG1 SOCKET + +/* 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 int + +/* 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 int + +/* Define to 1 if you can safely include both and . */ +/* #undef TIME_WITH_SYS_TIME */ + +/* Define to disable non-blocking sockets. */ +#undef USE_BLOCKING_SOCKETS + +/* Define to avoid automatic inclusion of winsock.h */ +#undef WIN32_LEAN_AND_MEAN + +/* Type to use in place of in_addr_t when system does not provide it. */ +#undef in_addr_t + +/* gRPC manual edits here! */ +#define HAVE_IPHLPAPI_H +#define HAVE_NETIOAPI_H diff --git a/modules/c-ares/1.34.5.bcr.1/presubmit.yml b/modules/c-ares/1.34.5.bcr.1/presubmit.yml new file mode 100644 index 00000000000..866d32ff19f --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/presubmit.yml @@ -0,0 +1,20 @@ +matrix: + platform: + - debian11 + - ubuntu2004 + - ubuntu2204 + - ubuntu2404 + - macos_arm64 + - windows + bazel: + - 8.x + - 7.x + - 9.* + +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@c-ares//...' diff --git a/modules/c-ares/1.34.5.bcr.1/source.json b/modules/c-ares/1.34.5.bcr.1/source.json new file mode 100644 index 00000000000..09934b01745 --- /dev/null +++ b/modules/c-ares/1.34.5.bcr.1/source.json @@ -0,0 +1,17 @@ +{ + "url": "https://github.com/c-ares/c-ares/releases/download/v1.34.5/c-ares-1.34.5.tar.gz", + "integrity": "sha256-fZNXkOmvCBwlxJX9E8LPzaR5KYNBjpY1jvbnMg7gY0Y=", + "strip_prefix": "c-ares-1.34.5", + "overlay": { + "BUILD.bazel": "sha256-s6r/jT81sV3dBu2IIg/bL80X8VQDmGCqMEYLGtp8j/s=", + "MODULE.bazel": "sha256-9GMvaNvAdTQpZkd9nJSopKKZ2R4VWYCwQuHNn1p+vPU=", + "REPO.bazel": "sha256-ATsuuuEy6sq6KDwrG2UUUOpazWHV9alEqqgMgUNzUTs=", + "configs/ares_build.h": "sha256-P4N/yKYYgfpqTsK+UPR1zYM/YPvSf1Joim9zNmnM2o4=", + "configs/config_android/ares_config.h": "sha256-o7Z0jA5pjw24FfOD3cliaIKsJbl9+yaj6SL9/BCEGfk=", + "configs/config_darwin/ares_config.h": "sha256-9uKPfRa8jxEdbKMSm7ABJ9NXqPXIv8c9p0YlMoQVtcY=", + "configs/config_freebsd/ares_config.h": "sha256-8R8Z4GcRbjssa4BdutiaRcNZnxNYkB3uphxqRAXMjkY=", + "configs/config_linux/ares_config.h": "sha256-jTDrf69PC4GRU8R28BZppydUVI4SFlnHOSg3jRLTfqI=", + "configs/config_openbsd/ares_config.h": "sha256-vU7qUaAiscCW9bw4+SjLNnPqbbj8hpKQ7jst0x9xYtU=", + "configs/config_windows/ares_config.h": "sha256-ai/WNOv3agYcaIZNDYPrvASwAAWFJYhthOrrK3r4sRw=" + } +} diff --git a/modules/c-ares/metadata.json b/modules/c-ares/metadata.json index ee1fcc67b99..cafbc470fd5 100644 --- a/modules/c-ares/metadata.json +++ b/modules/c-ares/metadata.json @@ -14,7 +14,8 @@ "1.16.1", "1.19.1", "1.19.1.bcr.1", - "1.34.5" + "1.34.5", + "1.34.5.bcr.1" ], "yanked_versions": {} } diff --git a/modules/envoy_api/0.0.0-20251105-4a2b9a3/MODULE.bazel b/modules/envoy_api/0.0.0-20251105-4a2b9a3/MODULE.bazel new file mode 100644 index 00000000000..9e971d9cb2a --- /dev/null +++ b/modules/envoy_api/0.0.0-20251105-4a2b9a3/MODULE.bazel @@ -0,0 +1,68 @@ +module( + name = "envoy_api", + version = "0.0.0-20251105-4a2b9a3", +) + +bazel_dep(name = "abseil-cpp", version = "20250814.1", repo_name = "com_google_absl") +bazel_dep(name = "bazel_skylib", version = "1.8.1") +bazel_dep(name = "gazelle", version = "0.46.0", repo_name = "bazel_gazelle") +bazel_dep(name = "googleapis", version = "0.0.0-20251003-2193a2bf", repo_name = "com_google_googleapis") +bazel_dep(name = "googletest", version = "1.17.0", repo_name = "com_google_googletest") +bazel_dep(name = "grpc", version = "1.74.1", repo_name = "com_github_grpc_grpc") +bazel_dep(name = "opencensus-proto", version = "0.4.1.bcr.2", repo_name = "opencensus_proto") +bazel_dep(name = "opentelemetry-proto", version = "1.5.0", repo_name = "opentelemetry_proto") +bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf") +bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.2", repo_name = "com_envoyproxy_protoc_gen_validate") +bazel_dep(name = "re2", version = "2024-07-02.bcr.1", repo_name = "com_googlesource_code_re2") +bazel_dep(name = "rules_go", version = "0.58.3", repo_name = "io_bazel_rules_go") +bazel_dep(name = "rules_proto", version = "7.1.0") +bazel_dep(name = "rules_python", version = "1.6.0") +bazel_dep(name = "rules_cc", version = "0.2.13") +bazel_dep(name = "xds", version = "0.0.0-20240423-555b57e", repo_name = "com_github_cncf_xds") + +# Bump google_benchmark to avoid rules_foreign_cc +bazel_dep(name = "google_benchmark", version = "1.9.4") + +non_module_deps = use_extension("//bazel:repositories.bzl", "non_module_deps") +use_repo( + non_module_deps, + "prometheus_metrics_model", +) + +go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") +go_sdk.download(version = "1.24.0") + +go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") +go_deps.module( + path = "github.com/planetscale/vtprotobuf", + sum = "h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo=", + version = "v0.6.1-0.20240319094008-0393e58bdf10", +) +go_deps.module( + path = "google.golang.org/protobuf", + sum = "h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=", + version = "v1.31.0", +) +go_deps.module( + path = "google.golang.org/genproto/googleapis/rpc", + sum = "h1:Elxv5MwEkCI9f5SkoL6afed6NTdxaGoAo39eANBwHL8=", + version = "v0.0.0-20240521202816-d264139d666e", +) +go_deps.module( + path = "google.golang.org/genproto/googleapis/api", + sum = "h1:SkdGTrROJl2jRGT/Fxv5QUf9jtdKCQh4KQJXbXVLAi0=", + version = "v0.0.0-20240521202816-d264139d666e", +) +go_deps.module( + path = "github.com/golang/protobuf", + sum = "h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=", + version = "v1.5.4", +) +use_repo( + go_deps, + "com_github_golang_protobuf", + "com_github_planetscale_vtprotobuf", + "org_golang_google_genproto_googleapis_api", + "org_golang_google_genproto_googleapis_rpc", + "org_golang_google_protobuf", +) \ No newline at end of file diff --git a/modules/envoy_api/0.0.0-20251105-4a2b9a3/patches/bzlmod_fixes.patch b/modules/envoy_api/0.0.0-20251105-4a2b9a3/patches/bzlmod_fixes.patch new file mode 100644 index 00000000000..f193e6a8a77 --- /dev/null +++ b/modules/envoy_api/0.0.0-20251105-4a2b9a3/patches/bzlmod_fixes.patch @@ -0,0 +1,116 @@ +diff --git a/bazel/BUILD b/bazel/BUILD +index f68f07c9..feaada93 100644 +--- a/bazel/BUILD ++++ b/bazel/BUILD +@@ -1,4 +1,3 @@ +-load("@envoy_toolshed//:macros.bzl", "json_data") + load("@io_bazel_rules_go//proto:compiler.bzl", "go_proto_compiler") + load( + ":external_proto_deps.bzl", +@@ -28,17 +27,3 @@ go_proto_compiler( + valid_archive = False, + visibility = ["//visibility:public"], + ) +- +-json_data( +- name = "repository_locations", +- data = load_repository_locations_spec(REPOSITORY_LOCATIONS_SPEC), +-) +- +-json_data( +- name = "external_proto_deps", +- data = dict( +- cc = EXTERNAL_PROTO_CC_BAZEL_DEP_MAP, +- go = EXTERNAL_PROTO_GO_BAZEL_DEP_MAP, +- imports = EXTERNAL_PROTO_IMPORT_BAZEL_DEP_MAP, +- ), +-) +diff --git a/bazel/api_build_system.bzl b/bazel/api_build_system.bzl +index e3047cac..a5d4ae70 100644 +--- a/bazel/api_build_system.bzl ++++ b/bazel/api_build_system.bzl +@@ -1,6 +1,7 @@ + load("@com_envoyproxy_protoc_gen_validate//bazel:pgv_proto_library.bzl", "pgv_cc_proto_library") + load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library") + load("@com_github_grpc_grpc//bazel:python_rules.bzl", _py_proto_library = "py_proto_library") ++load("@com_google_protobuf//bazel:java_proto_library.bzl", "java_proto_library") + load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library") + load("@io_bazel_rules_go//go:def.bzl", "go_test") + load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") +@@ -24,6 +25,7 @@ _CC_GRPC_SUFFIX = "_cc_grpc" + _GO_PROTO_SUFFIX = "_go_proto" + _GO_IMPORTPATH_PREFIX = "github.com/envoyproxy/go-control-plane/" + _JAVA_PROTO_SUFFIX = "_java_proto" ++_IS_BZLMOD = str(Label("//:invalid")).startswith("@@") + + _COMMON_PROTO_DEPS = [ + "@com_google_protobuf//:any_proto", +@@ -43,7 +45,8 @@ _COMMON_PROTO_DEPS = [ + def _proto_mapping(dep, proto_dep_map, proto_suffix): + mapped = proto_dep_map.get(dep) + if mapped == None: +- prefix = "@" + Label(dep).workspace_name if not dep.startswith("//") else "" ++ prefix = "@@" if _IS_BZLMOD else "@" ++ prefix = prefix + Label(dep).repo_name if not dep.startswith("//") else "" + return prefix + "//" + Label(dep).package + ":" + Label(dep).name + proto_suffix + return mapped + +@@ -113,7 +116,7 @@ def api_cc_py_proto_library( + ) + + if java: +- native.java_proto_library( ++ java_proto_library( + name = name + _JAVA_PROTO_SUFFIX, + visibility = ["//visibility:public"], + deps = [relative_name], +diff --git a/bazel/cc_proto_descriptor_library/builddefs.bzl b/bazel/cc_proto_descriptor_library/builddefs.bzl +index 23d9f558..e3ae549e 100644 +--- a/bazel/cc_proto_descriptor_library/builddefs.bzl ++++ b/bazel/cc_proto_descriptor_library/builddefs.bzl +@@ -3,6 +3,9 @@ + """ + + load("@bazel_skylib//lib:paths.bzl", "paths") ++load("@com_google_protobuf//bazel/common:proto_info.bzl", "ProtoInfo") ++load("@rules_cc//cc/common:cc_common.bzl", "cc_common") ++load("@rules_cc//cc/common:cc_info.bzl", "CcInfo") + + # begin:google_only + # load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain", "use_cpp_toolchain") +diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl +index 217614f5..274bee87 100644 +--- a/bazel/repositories.bzl ++++ b/bazel/repositories.bzl +@@ -12,7 +12,13 @@ def external_http_archive(name, **kwargs): + **kwargs + ) + +-def api_dependencies(): ++def api_dependencies(bzlmod = False): ++ external_http_archive( ++ name = "prometheus_metrics_model", ++ build_file_content = PROMETHEUSMETRICS_BUILD_CONTENT, ++ ) ++ if bzlmod: ++ return + external_http_archive( + name = "bazel_skylib", + ) +@@ -30,10 +36,6 @@ def api_dependencies(): + external_http_archive( + name = "com_github_cncf_xds", + ) +- external_http_archive( +- name = "prometheus_metrics_model", +- build_file_content = PROMETHEUSMETRICS_BUILD_CONTENT, +- ) + external_http_archive( + name = "rules_buf", + ) +@@ -380,3 +382,5 @@ go_grpc_library( + ], + ) + """ ++ ++non_module_deps = module_extension(implementation = lambda ctx: api_dependencies(bzlmod = True)) diff --git a/modules/envoy_api/0.0.0-20251105-4a2b9a3/patches/module_dot_bazel.patch b/modules/envoy_api/0.0.0-20251105-4a2b9a3/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..e6181bce765 --- /dev/null +++ b/modules/envoy_api/0.0.0-20251105-4a2b9a3/patches/module_dot_bazel.patch @@ -0,0 +1,74 @@ +diff --git a/MODULE.bazel b/MODULE.bazel +new file mode 100644 +index 00000000..7e4f959a +--- /dev/null ++++ b/MODULE.bazel +@@ -0,0 +1,68 @@ ++module( ++ name = "envoy_api", ++ version = "0.0.0-20251105-4a2b9a3", ++) ++ ++bazel_dep(name = "abseil-cpp", version = "20250814.1", repo_name = "com_google_absl") ++bazel_dep(name = "bazel_skylib", version = "1.8.1") ++bazel_dep(name = "gazelle", version = "0.46.0", repo_name = "bazel_gazelle") ++bazel_dep(name = "googleapis", version = "0.0.0-20251003-2193a2bf", repo_name = "com_google_googleapis") ++bazel_dep(name = "googletest", version = "1.17.0", repo_name = "com_google_googletest") ++bazel_dep(name = "grpc", version = "1.74.1", repo_name = "com_github_grpc_grpc") ++bazel_dep(name = "opencensus-proto", version = "0.4.1.bcr.2", repo_name = "opencensus_proto") ++bazel_dep(name = "opentelemetry-proto", version = "1.5.0", repo_name = "opentelemetry_proto") ++bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf") ++bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.2", repo_name = "com_envoyproxy_protoc_gen_validate") ++bazel_dep(name = "re2", version = "2024-07-02.bcr.1", repo_name = "com_googlesource_code_re2") ++bazel_dep(name = "rules_go", version = "0.58.3", repo_name = "io_bazel_rules_go") ++bazel_dep(name = "rules_proto", version = "7.1.0") ++bazel_dep(name = "rules_python", version = "1.6.0") ++bazel_dep(name = "rules_cc", version = "0.2.13") ++bazel_dep(name = "xds", version = "0.0.0-20240423-555b57e", repo_name = "com_github_cncf_xds") ++ ++# Bump google_benchmark to avoid rules_foreign_cc ++bazel_dep(name = "google_benchmark", version = "1.9.4") ++ ++non_module_deps = use_extension("//bazel:repositories.bzl", "non_module_deps") ++use_repo( ++ non_module_deps, ++ "prometheus_metrics_model", ++) ++ ++go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") ++go_sdk.download(version = "1.24.0") ++ ++go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") ++go_deps.module( ++ path = "github.com/planetscale/vtprotobuf", ++ sum = "h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo=", ++ version = "v0.6.1-0.20240319094008-0393e58bdf10", ++) ++go_deps.module( ++ path = "google.golang.org/protobuf", ++ sum = "h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=", ++ version = "v1.31.0", ++) ++go_deps.module( ++ path = "google.golang.org/genproto/googleapis/rpc", ++ sum = "h1:Elxv5MwEkCI9f5SkoL6afed6NTdxaGoAo39eANBwHL8=", ++ version = "v0.0.0-20240521202816-d264139d666e", ++) ++go_deps.module( ++ path = "google.golang.org/genproto/googleapis/api", ++ sum = "h1:SkdGTrROJl2jRGT/Fxv5QUf9jtdKCQh4KQJXbXVLAi0=", ++ version = "v0.0.0-20240521202816-d264139d666e", ++) ++go_deps.module( ++ path = "github.com/golang/protobuf", ++ sum = "h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=", ++ version = "v1.5.4", ++) ++use_repo( ++ go_deps, ++ "com_github_golang_protobuf", ++ "com_github_planetscale_vtprotobuf", ++ "org_golang_google_genproto_googleapis_api", ++ "org_golang_google_genproto_googleapis_rpc", ++ "org_golang_google_protobuf", ++) diff --git a/modules/envoy_api/0.0.0-20251105-4a2b9a3/presubmit.yml b/modules/envoy_api/0.0.0-20251105-4a2b9a3/presubmit.yml new file mode 100644 index 00000000000..e54d7302147 --- /dev/null +++ b/modules/envoy_api/0.0.0-20251105-4a2b9a3/presubmit.yml @@ -0,0 +1,32 @@ +matrix: + unix_platform: + - debian11 + - ubuntu2404 + - macos_arm64 + bazel: + - 7.x + - 8.x + - 9.* +tasks: + verify_targets: + name: Verify build targets + platform: ${{ unix_platform }} + bazel: ${{ bazel }} + build_targets: + - "@envoy_api//test/build:go_build_test" + - "@envoy_api//tools/..." + build_flags: + - "--java_runtime_version=remotejdk_21" + - '--cxxopt=-std=c++17' + - '--host_cxxopt=-std=c++17' + verify_targets_windows: + name: Verify build targets + platform: windows + bazel: ${{ bazel }} + build_targets: + - "@envoy_api//test/build:go_build_test" + - "@envoy_api//tools/..." + build_flags: + - "--java_runtime_version=remotejdk_21" + - '--cxxopt=/std:c++17' + - '--host_cxxopt=/std:c++17' diff --git a/modules/envoy_api/0.0.0-20251105-4a2b9a3/source.json b/modules/envoy_api/0.0.0-20251105-4a2b9a3/source.json new file mode 100644 index 00000000000..1eb288f5477 --- /dev/null +++ b/modules/envoy_api/0.0.0-20251105-4a2b9a3/source.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/envoyproxy/data-plane-api/archive/4a2b9a30628e95e0cfe985c45c10adc8a6b1643b.tar.gz", + "integrity": "sha256-o/2aW/FgnYAAai84BXRkEpiwprYG5z3dKzDsB1t+SMU=", + "strip_prefix": "data-plane-api-4a2b9a30628e95e0cfe985c45c10adc8a6b1643b", + "patch_strip": 1, + "patches": { + "bzlmod_fixes.patch": "sha256-ZSNfOF4rh3KtVXMaElLazh08fd0Mu376hedcEQo4wfA=", + "module_dot_bazel.patch": "sha256-QrdIOmzA/K+wStl4BkV1QoihFEdwIc6FIn+SIEQxvGk=" + } +} diff --git a/modules/envoy_api/metadata.json b/modules/envoy_api/metadata.json index 9ef66986b24..c53dbcae6de 100644 --- a/modules/envoy_api/metadata.json +++ b/modules/envoy_api/metadata.json @@ -11,7 +11,8 @@ ], "versions": [ "0.0.0-20241214-918efc9", - "0.0.0-20250128-4de3c74" + "0.0.0-20250128-4de3c74", + "0.0.0-20251105-4a2b9a3" ], "yanked_versions": {} } diff --git a/modules/grpc/1.76.0/MODULE.bazel b/modules/grpc/1.76.0/MODULE.bazel new file mode 100644 index 00000000000..e1e8115048b --- /dev/null +++ b/modules/grpc/1.76.0/MODULE.bazel @@ -0,0 +1,103 @@ +# Copyright 2025 the gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +module( + name = "grpc", + version = "1.76.0", + compatibility_level = 1, + repo_name = "com_github_grpc_grpc", +) + +# Regular dependencies +# ==================== + +bazel_dep(name = "abseil-cpp", version = "20250814.1", repo_name = "com_google_absl") +bazel_dep(name = "apple_support", version = "1.24.2", repo_name = "build_bazel_apple_support") +bazel_dep(name = "bazel_skylib", version = "1.8.1") +bazel_dep(name = "boringssl", version = "0.20241024.0") # mistmatched 20241211 +bazel_dep(name = "c-ares", version = "1.34.5.bcr.1", repo_name = "com_github_cares_cares") +bazel_dep(name = "envoy_api", version = "0.0.0-20251105-4a2b9a3") +bazel_dep(name = "googleapis", version = "0.0.0-20251003-2193a2bf", repo_name = "com_google_googleapis") +bazel_dep(name = "googletest", version = "1.17.0", repo_name = "com_google_googletest") +bazel_dep(name = "opencensus-cpp", version = "0.0.0-20230502-50eb5de.bcr.2", repo_name = "io_opencensus_cpp") +bazel_dep(name = "openssl", version = "3.3.1.bcr.1") +bazel_dep(name = "opentelemetry-cpp", version = "1.19.0", repo_name = "io_opentelemetry_cpp") +bazel_dep(name = "platforms", version = "1.0.0") +bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf") +bazel_dep(name = "re2", version = "2024-07-02.bcr.1", repo_name = "com_googlesource_code_re2") # mistmached 2022-04-01 +bazel_dep(name = "rules_apple", version = "4.1.0", repo_name = "build_bazel_rules_apple") +bazel_dep(name = "rules_cc", version = "0.2.13") +bazel_dep(name = "rules_proto", version = "7.1.0") +bazel_dep(name = "xds", version = "0.0.0-20240423-555b57e", repo_name = "com_github_cncf_xds") # mismatched 20231116 +bazel_dep(name = "zlib", version = "1.3.1.bcr.5") +bazel_dep(name = "rules_shell", version = "0.6.1") + +# Only for version bump +bazel_dep(name = "cel-spec", version = "0.24.0", repo_name = None) +bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.2", repo_name = "com_envoyproxy_protoc_gen_validate") # Not needed directly +bazel_dep(name = "rules_swift", version = "3.1.2") + +# Development dependencies +# ======================== + +bazel_dep(name = "fuzztest", version = "20241028.0", dev_dependency = True, repo_name = "com_google_fuzztest") # mistmached 2023-05-16 +bazel_dep(name = "google_benchmark", version = "1.9.4", dev_dependency = True, repo_name = "com_github_google_benchmark") + +# Python dependencies +# =================== + +bazel_dep(name = "rules_python", version = "1.6.0") + +PYTHON_VERSIONS = [ + "3.9", + "3.10", + "3.11", + "3.12", + "3.13", +] + +python = use_extension("@rules_python//python/extensions:python.bzl", "python") + +[ + python.toolchain( + is_default = python_version == PYTHON_VERSIONS[-1], + python_version = python_version, + ) + for python_version in PYTHON_VERSIONS +] + +pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") + +[ + pip.parse( + hub_name = "grpc_python_dependencies", + python_version = python_version, + requirements_lock = "//:requirements.bazel.lock", + ) + for python_version in PYTHON_VERSIONS +] + +use_repo(pip, "grpc_python_dependencies") + +bazel_dep(name = "cython", version = "3.0.11-1") + +http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +http_archive( + name = "typing_extensions", + url = "https://github.com/python/typing_extensions/archive/4.12.2.tar.gz", + sha256 = "bf6f56b36d8bc9156e518eb1cc37a146284082fa53522033f772aefbecfd15fc", + strip_prefix = "typing_extensions-4.12.2", + build_file = "//third_party:typing_extensions.BUILD", +) diff --git a/modules/grpc/1.76.0/patches/add_repo_bazel.patch b/modules/grpc/1.76.0/patches/add_repo_bazel.patch new file mode 100644 index 00000000000..bdf78168b91 --- /dev/null +++ b/modules/grpc/1.76.0/patches/add_repo_bazel.patch @@ -0,0 +1,7 @@ +diff --git a/REPO.bazel b/REPO.bazel +new file mode 100644 +index 0000000000..4e2e894486 +--- /dev/null ++++ b/REPO.bazel +@@ -0,0 +1 @@ ++repo(features=["system_include_paths"]) diff --git a/modules/grpc/1.76.0/patches/adopt_bzlmod.patch b/modules/grpc/1.76.0/patches/adopt_bzlmod.patch new file mode 100644 index 00000000000..91ac568f1ee --- /dev/null +++ b/modules/grpc/1.76.0/patches/adopt_bzlmod.patch @@ -0,0 +1,33 @@ +diff --git a/bazel/cython_library.bzl b/bazel/cython_library.bzl +index ed6ccc34ac..8618605df9 100644 +--- a/bazel/cython_library.bzl ++++ b/bazel/cython_library.bzl +@@ -74,7 +74,10 @@ def pyx_library(name, deps = [], py_deps = [], srcs = [], **kwargs): + native.cc_binary( + name = shared_object_name, + srcs = [stem + ".cpp"], +- deps = deps + ["@local_config_python//:python_headers"], ++ deps = deps + [ ++ "@rules_python//python/cc:current_py_cc_headers", ++ "@rules_python//python/cc:current_py_cc_libs", ++ ], + defines = defines, + linkshared = 1, + ) +diff --git a/bazel/python_rules.bzl b/bazel/python_rules.bzl +index e6cf84dca2..cf4be5b528 100644 +--- a/bazel/python_rules.bzl ++++ b/bazel/python_rules.bzl +@@ -209,11 +209,7 @@ def _generate_pb2_grpc_src_impl(context): + arguments = [] + tools = [context.executable._protoc, context.executable._grpc_plugin] + out_dir = get_out_dir(protos, context) +- if out_dir.import_path: +- # is virtual imports +- out_path = get_include_directory(out_files[0]) +- else: +- out_path = out_dir.path ++ out_path = out_dir.path + arguments += get_plugin_args( + context.executable._grpc_plugin, + plugin_flags, diff --git a/modules/grpc/1.76.0/patches/bazel_9_fixes.patch b/modules/grpc/1.76.0/patches/bazel_9_fixes.patch new file mode 100644 index 00000000000..cfef759f84a --- /dev/null +++ b/modules/grpc/1.76.0/patches/bazel_9_fixes.patch @@ -0,0 +1,252 @@ +diff --git a/MODULE.bazel b/MODULE.bazel +index 60f216d6a8..e1e8115048 100644 +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -22,45 +22,42 @@ module( + # Regular dependencies + # ==================== + +-bazel_dep(name = "abseil-cpp", version = "20250512.1", repo_name = "com_google_absl") +-bazel_dep(name = "apple_support", version = "1.17.1", repo_name = "build_bazel_apple_support") +-bazel_dep(name = "bazel_skylib", version = "1.7.1") ++bazel_dep(name = "abseil-cpp", version = "20250814.1", repo_name = "com_google_absl") ++bazel_dep(name = "apple_support", version = "1.24.2", repo_name = "build_bazel_apple_support") ++bazel_dep(name = "bazel_skylib", version = "1.8.1") + bazel_dep(name = "boringssl", version = "0.20241024.0") # mistmatched 20241211 +-bazel_dep(name = "c-ares", version = "1.19.1", repo_name = "com_github_cares_cares") +-bazel_dep(name = "envoy_api", version = "0.0.0-20250128-4de3c74") +-bazel_dep(name = "googleapis", version = "0.0.0-20240819-fe8ba054a", repo_name = "com_google_googleapis") ++bazel_dep(name = "c-ares", version = "1.34.5.bcr.1", repo_name = "com_github_cares_cares") ++bazel_dep(name = "envoy_api", version = "0.0.0-20251105-4a2b9a3") ++bazel_dep(name = "googleapis", version = "0.0.0-20251003-2193a2bf", repo_name = "com_google_googleapis") + bazel_dep(name = "googletest", version = "1.17.0", repo_name = "com_google_googletest") + bazel_dep(name = "opencensus-cpp", version = "0.0.0-20230502-50eb5de.bcr.2", repo_name = "io_opencensus_cpp") + bazel_dep(name = "openssl", version = "3.3.1.bcr.1") + bazel_dep(name = "opentelemetry-cpp", version = "1.19.0", repo_name = "io_opentelemetry_cpp") +-bazel_dep(name = "platforms", version = "0.0.10") +-bazel_dep(name = "protobuf", version = "31.1", repo_name = "com_google_protobuf") +-bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.1", repo_name = "com_envoyproxy_protoc_gen_validate") # Not needed directly +-bazel_dep(name = "re2", version = "2024-07-02", repo_name = "com_googlesource_code_re2") # mistmached 2022-04-01 +-bazel_dep(name = "rules_apple", version = "3.16.0", repo_name = "build_bazel_rules_apple") +-bazel_dep(name = "rules_cc", version = "0.0.17") +-bazel_dep(name = "rules_proto", version = "7.0.2") ++bazel_dep(name = "platforms", version = "1.0.0") ++bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf") ++bazel_dep(name = "re2", version = "2024-07-02.bcr.1", repo_name = "com_googlesource_code_re2") # mistmached 2022-04-01 ++bazel_dep(name = "rules_apple", version = "4.1.0", repo_name = "build_bazel_rules_apple") ++bazel_dep(name = "rules_cc", version = "0.2.13") ++bazel_dep(name = "rules_proto", version = "7.1.0") + bazel_dep(name = "xds", version = "0.0.0-20240423-555b57e", repo_name = "com_github_cncf_xds") # mismatched 20231116 + bazel_dep(name = "zlib", version = "1.3.1.bcr.5") ++bazel_dep(name = "rules_shell", version = "0.6.1") + +-switched_rules = use_extension("@com_google_googleapis//:extensions.bzl", "switched_rules") +-switched_rules.use_languages( +- cc = True, +- grpc = True, +- python = True, +-) ++# Only for version bump ++bazel_dep(name = "cel-spec", version = "0.24.0", repo_name = None) ++bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.2", repo_name = "com_envoyproxy_protoc_gen_validate") # Not needed directly ++bazel_dep(name = "rules_swift", version = "3.1.2") + + # Development dependencies + # ======================== + + bazel_dep(name = "fuzztest", version = "20241028.0", dev_dependency = True, repo_name = "com_google_fuzztest") # mistmached 2023-05-16 +-bazel_dep(name = "google_benchmark", version = "1.9.0", dev_dependency = True, repo_name = "com_github_google_benchmark") +-bazel_dep(name = "rules_shell", version = "0.4.0", dev_dependency = True) ++bazel_dep(name = "google_benchmark", version = "1.9.4", dev_dependency = True, repo_name = "com_github_google_benchmark") + + # Python dependencies + # =================== + +-bazel_dep(name = "rules_python", version = "1.5.4") ++bazel_dep(name = "rules_python", version = "1.6.0") + + PYTHON_VERSIONS = [ + "3.9", +@@ -68,7 +65,6 @@ PYTHON_VERSIONS = [ + "3.11", + "3.12", + "3.13", +- "3.14.0b2", + ] + + python = use_extension("@rules_python//python/extensions:python.bzl", "python") +@@ -95,3 +91,13 @@ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") + use_repo(pip, "grpc_python_dependencies") + + bazel_dep(name = "cython", version = "3.0.11-1") ++ ++http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") ++ ++http_archive( ++ name = "typing_extensions", ++ url = "https://github.com/python/typing_extensions/archive/4.12.2.tar.gz", ++ sha256 = "bf6f56b36d8bc9156e518eb1cc37a146284082fa53522033f772aefbecfd15fc", ++ strip_prefix = "typing_extensions-4.12.2", ++ build_file = "//third_party:typing_extensions.BUILD", ++) +diff --git a/bazel/cc_grpc_library.bzl b/bazel/cc_grpc_library.bzl +index 3f4f5347fb..f6c3720b12 100644 +--- a/bazel/cc_grpc_library.bzl ++++ b/bazel/cc_grpc_library.bzl +@@ -14,6 +14,7 @@ + """Generates and compiles C++ grpc stubs from proto_library rules.""" + + load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") ++load("@rules_cc//cc:cc_library.bzl", "cc_library") + load("@rules_proto//proto:defs.bzl", "proto_library") + load("//bazel:generate_cc.bzl", "generate_cc") + load("//bazel:protobuf.bzl", "well_known_proto_libs") +@@ -111,8 +112,7 @@ def cc_grpc_library( + allow_deprecated = allow_deprecated, + **kwargs + ) +- +- native.cc_library( ++ cc_library( + name = name, + srcs = [":" + codegen_grpc_target], + hdrs = [":" + codegen_grpc_target], +diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl +index a3b8923b6e..aaba40dacc 100644 +--- a/bazel/grpc_build_system.bzl ++++ b/bazel/grpc_build_system.bzl +@@ -32,8 +32,14 @@ load("@build_bazel_rules_apple//apple:ios.bzl", "ios_unit_test") + load("@build_bazel_rules_apple//apple/testing/default_runner:ios_test_runner.bzl", "ios_test_runner") + load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") + load("@com_google_protobuf//bazel:upb_proto_library.bzl", "upb_proto_library", "upb_proto_reflection_library") ++load("@rules_cc//cc:cc_binary.bzl", "cc_binary") ++load("@rules_cc//cc:cc_library.bzl", "cc_library") ++load("@rules_cc//cc:cc_test.bzl", "cc_test") ++load("@rules_cc//cc:objc_library.bzl", "objc_library") + load("@rules_proto//proto:defs.bzl", "proto_library") + load("@rules_python//python:defs.bzl", "py_binary") ++load("@rules_shell//shell:sh_binary.bzl", "sh_binary") ++load("@rules_shell//shell:sh_test.bzl", "sh_test") + load("//bazel:cc_grpc_library.bzl", "cc_grpc_library") + load("//bazel:copts.bzl", "GRPC_DEFAULT_COPTS") + load("//bazel:experiments.bzl", "EXPERIMENTS", "EXPERIMENT_ENABLES", "EXPERIMENT_POLLERS") +@@ -155,7 +161,7 @@ def grpc_cc_library( + # See b/391433873. + if "fuzztest" in external_deps and "grpc-fuzztest" not in tags: + tags = tags + ["grpc-fuzztest"] +- native.cc_library( ++ cc_library( + name = name, + srcs = srcs, + defines = defines + +@@ -190,7 +196,7 @@ def grpc_cc_library( + ) + + def grpc_proto_plugin(name, srcs = [], deps = []): +- native.cc_binary( ++ cc_binary( + name = name + "_native", + srcs = srcs, + deps = deps, +@@ -293,7 +299,7 @@ def ios_cc_test( + device_type = "iPhone X", + ) + if not any([t for t in tags if t.startswith("no_test_ios")]): +- native.objc_library( ++ objc_library( + name = test_lib_ios, + srcs = kwargs.get("srcs"), + deps = kwargs.get("deps"), +@@ -585,8 +591,7 @@ def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data + flaky = True, + **test_args + ) +- +- native.cc_library( ++ cc_library( + name = "%s_TEST_LIBRARY" % name, + testonly = 1, + srcs = srcs, +@@ -600,7 +605,7 @@ def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data + fail("srcs changed") + if poller_config["deps"] != core_deps: + fail("deps changed: %r --> %r" % (deps, poller_config["deps"])) +- native.cc_test( ++ cc_test( + name = poller_config["name"], + deps = ["%s_TEST_LIBRARY" % name], + tags = poller_config["tags"], +@@ -629,7 +634,7 @@ def grpc_cc_binary(name, srcs = [], deps = [], external_deps = [], args = [], da + """ + visibility = _update_visibility(visibility) + copts = [] +- native.cc_binary( ++ cc_binary( + name = name, + srcs = srcs, + args = args, +@@ -695,7 +700,7 @@ def grpc_sh_test(name, srcs = [], args = [], data = [], uses_polling = True, siz + } + + for poller_config in expand_tests(name, srcs, [], tags, args, exclude_pollers, uses_polling, uses_event_engine, flaky): +- native.sh_test( ++ sh_test( + name = poller_config["name"], + srcs = poller_config["srcs"], + deps = poller_config["deps"], +@@ -707,7 +712,7 @@ def grpc_sh_test(name, srcs = [], args = [], data = [], uses_polling = True, siz + ) + + def grpc_sh_binary(name, srcs, data = []): +- native.sh_binary( ++ sh_binary( + name = name, + srcs = srcs, + data = data, +@@ -794,8 +799,7 @@ def grpc_objc_library( + deps: dependencies + visibility: visibility, default to public + """ +- +- native.objc_library( ++ objc_library( + name = name, + hdrs = hdrs, + srcs = srcs, +diff --git a/third_party/address_sorting/address_sorting.bzl b/third_party/address_sorting/address_sorting.bzl +index 05b4c6d847..323f2353b7 100644 +--- a/third_party/address_sorting/address_sorting.bzl ++++ b/third_party/address_sorting/address_sorting.bzl +@@ -28,8 +28,10 @@ + # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + # SUCH DAMAGE. + +-def address_sorting_cc_library(name, srcs, hdrs, copts, includes, linkopts=[]): +- native.cc_library( ++load("@rules_cc//cc:cc_library.bzl", "cc_library") ++ ++def address_sorting_cc_library(name, srcs, hdrs, copts, includes, linkopts = []): ++ cc_library( + name = name, + srcs = srcs, + hdrs = hdrs, +diff --git a/third_party/typing_extensions.BUILD b/third_party/typing_extensions.BUILD +index 9d8c77f0cb..f2e1524752 100644 +--- a/third_party/typing_extensions.BUILD ++++ b/third_party/typing_extensions.BUILD +@@ -1,3 +1,5 @@ ++load("@rules_python//python:defs.bzl", "py_library") ++ + genrule( + name = "copy_typing_extensions", + srcs = ["src/typing_extensions.py"], +diff --git a/third_party/xxhash/BUILD b/third_party/xxhash/BUILD +index 91d7bd0566..8c32e0bfc2 100644 +--- a/third_party/xxhash/BUILD ++++ b/third_party/xxhash/BUILD +@@ -1,3 +1,5 @@ ++load("@rules_cc//cc:cc_library.bzl", "cc_library") ++ + # TODO(donnadionne): describe this package. + cc_library( + name = "xxhash", diff --git a/modules/grpc/1.76.0/presubmit.yml b/modules/grpc/1.76.0/presubmit.yml new file mode 100644 index 00000000000..67070b236a4 --- /dev/null +++ b/modules/grpc/1.76.0/presubmit.yml @@ -0,0 +1,101 @@ +matrix: + platform: + - debian11 + - macos_arm64 + - ubuntu2004 + - ubuntu2204 + - ubuntu2404 + bazel: + - 8.x + - 9.* + all_bazel: + - 7.x + - 8.x + - 9.* + +tasks: + verify_targets: + platform: ${{ platform }} + bazel: ${{ bazel }} + build_flags: + - '--cxxopt=-std=c++17' + - '--host_cxxopt=-std=c++17' + build_targets: + - "@grpc//:grpc" + - "@grpc//:grpc_unsecure" + - "@grpc//:grpc_opencensus_plugin" + - "@grpc//:grpc_security_base" + - "@grpc//:grpc++" + - "@grpc//:grpc++_unsecure" + - "@grpc//:grpc++_reflection" + - "@grpc//:grpc++_test" + - "@grpc//:grpcpp_admin" + - "@grpc//:grpcpp_channelz" + - "@grpc//:grpcpp_csds" + - "@grpc//:grpcpp_orca_service" + - "@grpc//examples/protos/..." + + verify_targets_with_openssl: + platform: ${{ platform }} + bazel: ${{ bazel }} + build_flags: + - '--cxxopt=-std=c++17' + - '--host_cxxopt=-std=c++17' + - '--define=@grpc//third_party:use_openssl=true' + build_targets: + - "@grpc//:grpc" + - "@grpc//:grpc_unsecure" + - "@grpc//:grpc_opencensus_plugin" + - "@grpc//:grpc_security_base" + - "@grpc//:grpc++" + - "@grpc//:grpc++_unsecure" + - "@grpc//:grpc++_reflection" + - "@grpc//:grpc++_test" + - "@grpc//:grpcpp_admin" + - "@grpc//:grpcpp_channelz" + - "@grpc//:grpcpp_csds" + - "@grpc//:grpcpp_orca_service" + - "@grpc//examples/protos/..." + + verify_targets_on_windows: + platform: "windows" + bazel: ${{ all_bazel }} + build_flags: + - '--cxxopt=/std:c++17' + - '--host_cxxopt=/std:c++17' + - '--define=protobuf_allow_msvc=true' + build_targets: + - "@grpc//:grpc" + - "@grpc//:grpc_unsecure" + - "@grpc//:grpc_opencensus_plugin" + - "@grpc//:grpc_security_base" + - "@grpc//:grpc++" + - "@grpc//:grpc++_unsecure" + - "@grpc//:grpc++_reflection" + - "@grpc//:grpc++_test" + - "@grpc//:grpcpp_admin" + - "@grpc//:grpcpp_channelz" + - "@grpc//:grpcpp_csds" + - "@grpc//:grpcpp_orca_service" + + verify_targets_bazel_7: + platform: ${{ platform }} + bazel: 7.x + build_flags: + - '--cxxopt=-std=c++17' + - '--host_cxxopt=-std=c++17' + - '--features=-module_maps' # This is needed for Bazel 7 on macOS + build_targets: + - "@grpc//:grpc" + - "@grpc//:grpc_unsecure" + - "@grpc//:grpc_opencensus_plugin" + - "@grpc//:grpc_security_base" + - "@grpc//:grpc++" + - "@grpc//:grpc++_unsecure" + - "@grpc//:grpc++_reflection" + - "@grpc//:grpc++_test" + - "@grpc//:grpcpp_admin" + - "@grpc//:grpcpp_channelz" + - "@grpc//:grpcpp_csds" + - "@grpc//:grpcpp_orca_service" + - "@grpc//examples/protos/..." diff --git a/modules/grpc/1.76.0/source.json b/modules/grpc/1.76.0/source.json new file mode 100644 index 00000000000..92c436dbe00 --- /dev/null +++ b/modules/grpc/1.76.0/source.json @@ -0,0 +1,11 @@ +{ + "integrity": "sha256-CvN7gAlTEwtHwHW1ZoPuYL3D7aPDf8YAQZP1tWl1ggQ=", + "strip_prefix": "grpc-1.76.0", + "url": "https://github.com/grpc/grpc/archive/refs/tags/v1.76.0.tar.gz", + "patch_strip": 1, + "patches": { + "adopt_bzlmod.patch": "sha256-VcTAEbxQ5NmrwoZBGweeHOSDIjttotQ2JcfJjUvqTgI=", + "bazel_9_fixes.patch": "sha256-iuSqKK5DPNX2GnP1acMrCniMXnrai+2Ghwsc2/pTIyo=", + "add_repo_bazel.patch": "sha256-MNvogHhurl0FIY6o4tqWv/OfrAO3UAVE9bh7R/ZCMSI=" + } +} diff --git a/modules/grpc/metadata.json b/modules/grpc/metadata.json index 335df178265..714e9c950d4 100644 --- a/modules/grpc/metadata.json +++ b/modules/grpc/metadata.json @@ -4,68 +4,68 @@ { "email": "veblush@google.com", "github": "veblush", - "name": "Esun Kim", - "github_user_id": 2793282 + "github_user_id": 2793282, + "name": "Esun Kim" }, { "email": "bpawan@google.com", "github": "pawbhard", - "name": "Pawan Bhardwaj", - "github_user_id": 13415978 + "github_user_id": 13415978, + "name": "Pawan Bhardwaj" }, { "email": "eostroukhov@google.com", "github": "eugeneo", - "name": "Eugene Ostroukhov", - "github_user_id": 287917 + "github_user_id": 287917, + "name": "Eugene Ostroukhov" }, { "email": "hork@google.com", "github": "drfloob", - "name": "Adam Heller", - "github_user_id": 295906 + "github_user_id": 295906, + "name": "Adam Heller" }, { "email": "rishesh@google.com", "github": "rishesh007", - "name": "Rishesh Agarwal", - "github_user_id": 40896662 + "github_user_id": 40896662, + "name": "Rishesh Agarwal" }, { "email": "roth@google.com", "github": "markdroth", - "name": "Mark Roth", - "github_user_id": 18664614 + "github_user_id": 18664614, + "name": "Mark Roth" }, { "email": "yashkt@google.com", "github": "yashykt", - "name": "Yash Tibrewal", - "github_user_id": 4181124 + "github_user_id": 4181124, + "name": "Yash Tibrewal" }, { "email": "apolcyn@google.com", "github": "apolcyn", - "name": "Alexander Polcyn", - "github_user_id": 9566254 + "github_user_id": 9566254, + "name": "Alexander Polcyn" }, { "email": "sergiitk@google.com", "github": "sergiitk", - "name": "Sergii Tkachenko", - "github_user_id": 672669 + "github_user_id": 672669, + "name": "Sergii Tkachenko" }, { "email": "ssreenithi@google.com", "github": "sreenithi", - "name": "Sreenithi Sridharan", - "github_user_id": 22791051 + "github_user_id": 22791051, + "name": "Sreenithi Sridharan" }, { "email": "stanleycheung@google.com", "github": "stanley-cheung", - "name": "Stanley Cheung", - "github_user_id": 11674202 + "github_user_id": 11674202, + "name": "Stanley Cheung" } ], "repository": [ @@ -102,7 +102,8 @@ "1.73.1", "1.74.0-pre2", "1.74.0", - "1.74.1" + "1.74.1", + "1.76.0" ], "yanked_versions": {} } diff --git a/modules/protoc-gen-validate/1.2.1.bcr.2/MODULE.bazel b/modules/protoc-gen-validate/1.2.1.bcr.2/MODULE.bazel new file mode 100644 index 00000000000..f5e5b73c631 --- /dev/null +++ b/modules/protoc-gen-validate/1.2.1.bcr.2/MODULE.bazel @@ -0,0 +1,93 @@ +module( + name = "protoc-gen-validate", + version = "1.2.1.bcr.2", + compatibility_level = 1, + repo_name = "com_envoyproxy_protoc_gen_validate", + bazel_compatibility = ['>=7.2.1'], +) + +bazel_dep( + name = "bazel_skylib", + version = "1.8.1", +) +bazel_dep( + name = "gazelle", + version = "0.46.0", + repo_name = "bazel_gazelle", +) +bazel_dep( + name = "protobuf", + version = "33.0", + repo_name = "com_google_protobuf", +) +bazel_dep( + name = "re2", + version = "2024-07-02.bcr.1", + repo_name = "com_googlesource_code_re2", +) +bazel_dep( + name = "rules_cc", + version = "0.2.13", +) +bazel_dep( + name = "rules_go", + version = "0.58.3", + repo_name = "io_bazel_rules_go", +) +bazel_dep( + name = "rules_java", + version = "8.16.1", +) +bazel_dep( + name = "rules_proto", + version = "7.1.0", +) +bazel_dep( + name = "rules_python", + version = "1.6.0", +) +# -- bazel_dep definitions -- # + +go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") +go_sdk.download(version = "1.24.0") + +go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") +go_deps.from_file(go_mod = "//:go.mod") +use_repo( + go_deps, + "com_github_iancoleman_strcase", + "com_github_lyft_protoc_gen_star_v2", + "org_golang_google_protobuf", + "org_golang_x_net", +) + +PYTHON_VERSIONS = [ + "3.9", + "3.10", + "3.11", + "3.12", + "3.13", +] + +python = use_extension("@rules_python//python/extensions:python.bzl", "python") + +[ + python.toolchain( + is_default = python_version == PYTHON_VERSIONS[-1], + python_version = python_version, + ) + for python_version in PYTHON_VERSIONS +] + +pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") + +[ + pip.parse( + hub_name = "pgv_pip_deps", + python_version = python_version, + requirements_lock = "//python:requirements.txt", + ) + for python_version in PYTHON_VERSIONS +] + +use_repo(pip, "pgv_pip_deps") diff --git a/modules/protoc-gen-validate/1.2.1.bcr.2/overlay/MODULE.bazel b/modules/protoc-gen-validate/1.2.1.bcr.2/overlay/MODULE.bazel new file mode 120000 index 00000000000..9b599e3ad9c --- /dev/null +++ b/modules/protoc-gen-validate/1.2.1.bcr.2/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel \ No newline at end of file diff --git a/modules/protoc-gen-validate/1.2.1.bcr.2/patches/bazel_9_fixes.patch b/modules/protoc-gen-validate/1.2.1.bcr.2/patches/bazel_9_fixes.patch new file mode 100644 index 00000000000..e1aa8198009 --- /dev/null +++ b/modules/protoc-gen-validate/1.2.1.bcr.2/patches/bazel_9_fixes.patch @@ -0,0 +1,47 @@ +diff --git a/bazel/protobuf.bzl b/bazel/protobuf.bzl +index 08d9d56..d131bd6 100644 +--- a/bazel/protobuf.bzl ++++ b/bazel/protobuf.bzl +@@ -1,6 +1,8 @@ + load("@bazel_skylib//rules:common_settings.bzl", "BuildSettingInfo") +-load("@bazel_tools//tools/jdk:toolchain_utils.bzl", "find_java_runtime_toolchain", "find_java_toolchain") +-load("@rules_proto//proto:defs.bzl", "ProtoInfo") ++load("@bazel_tools//tools/jdk:toolchain_utils.bzl", "find_java_toolchain") ++load("@com_google_protobuf//bazel/common:proto_info.bzl", "ProtoInfo") ++load("@rules_java//java/common:java_common.bzl", "java_common") ++load("@rules_java//java/common:java_info.bzl", "JavaInfo") + + # Borrowed from https://github.com/grpc/grpc-java/blob/v1.28.0/java_grpc_library.bzl#L59 + # "repository" here is for Bazel builds that span multiple WORKSPACES. +@@ -110,13 +112,13 @@ cc_proto_gen_validate = rule( + default = [Label("@com_googlesource_code_re2//:re2")], + ), + "_protoc": attr.label( +- cfg = "host", ++ cfg = "exec", + default = Label("@com_google_protobuf//:protoc"), + executable = True, + allow_single_file = True, + ), + "_plugin": attr.label( +- cfg = "host", ++ cfg = "exec", + default = Label("@com_envoyproxy_protoc_gen_validate//:protoc-gen-validate"), + allow_files = True, + executable = True, +@@ -171,13 +173,13 @@ _java_proto_gen_validate_aspect = aspect( + attr_aspects = ["deps"], + attrs = { + "_protoc": attr.label( +- cfg = "host", ++ cfg = "exec", + default = Label("@com_google_protobuf//:protoc"), + executable = True, + allow_single_file = True, + ), + "_plugin": attr.label( +- cfg = "host", ++ cfg = "exec", + default = Label("@com_envoyproxy_protoc_gen_validate//:protoc-gen-validate"), + allow_files = True, + executable = True, diff --git a/modules/protoc-gen-validate/1.2.1.bcr.2/presubmit.yml b/modules/protoc-gen-validate/1.2.1.bcr.2/presubmit.yml new file mode 100644 index 00000000000..209b6a48af7 --- /dev/null +++ b/modules/protoc-gen-validate/1.2.1.bcr.2/presubmit.yml @@ -0,0 +1,36 @@ +matrix: + unix_platform: + - debian11 + - macos_arm64 + - ubuntu2004 + - ubuntu2204 + - ubuntu2404 + bazel: + - 7.x + - 8.x + - 9.* +tasks: + verify_targets: + name: Verify build targets + platform: ${{ unix_platform }} + bazel: ${{ bazel }} + build_flags: + - '--cxxopt=-std=c++17' + - '--host_cxxopt=-std=c++17' + build_targets: + - '@protoc-gen-validate//bazel/go:pgv_plugin_go' + - '@protoc-gen-validate//validate:cc_validate' + - '@protoc-gen-validate//validate:go_default_library' + - '@protoc-gen-validate//validate:validate_proto' + verify_targets_windows: + name: Verify build targets + platform: windows + bazel: ${{ bazel }} + build_flags: + - '--cxxopt=/std:c++17' + - '--host_cxxopt=/std:c++17' + build_targets: + - '@protoc-gen-validate//bazel/go:pgv_plugin_go' + - '@protoc-gen-validate//validate:cc_validate' + - '@protoc-gen-validate//validate:go_default_library' + - '@protoc-gen-validate//validate:validate_proto' \ No newline at end of file diff --git a/modules/protoc-gen-validate/1.2.1.bcr.2/source.json b/modules/protoc-gen-validate/1.2.1.bcr.2/source.json new file mode 100644 index 00000000000..3ee5233b4e0 --- /dev/null +++ b/modules/protoc-gen-validate/1.2.1.bcr.2/source.json @@ -0,0 +1,12 @@ +{ + "url": "https://github.com/bufbuild/protoc-gen-validate/archive/refs/tags/v1.2.1.tar.gz", + "integrity": "sha256-5HGDUnVN8Tk7h5K2MTOKqFYvOQ6BYHg+NlRUvBHZYyg=", + "strip_prefix": "protoc-gen-validate-1.2.1", + "overlay": { + "MODULE.bazel": "sha256-O9SxSo58eNvvlzKA3quqE52x/jUKqS2gNzCjH1kIIGg=" + }, + "patches": { + "bazel_9_fixes.patch": "sha256-bv6l2BHe/pw7Zi5HBwBloPAzIC5YxEuqlW+26Brn3fM=" + }, + "patch_strip": 1 +} diff --git a/modules/protoc-gen-validate/metadata.json b/modules/protoc-gen-validate/metadata.json index 125c92e91e3..8d3b9ba1fa3 100644 --- a/modules/protoc-gen-validate/metadata.json +++ b/modules/protoc-gen-validate/metadata.json @@ -14,7 +14,8 @@ "1.0.4.bcr.1", "1.0.4.bcr.2", "1.2.1", - "1.2.1.bcr.1" + "1.2.1.bcr.1", + "1.2.1.bcr.2" ], "yanked_versions": {} }