diff options
author | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 12:29:46 +0300 |
---|---|---|
committer | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 13:14:22 +0300 |
commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/c-ares | |
parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) | |
download | ydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/c-ares')
-rw-r--r-- | contrib/libs/c-ares/.yandex_meta/__init__.py | 82 | ||||
-rw-r--r-- | contrib/libs/c-ares/.yandex_meta/devtools.copyrights.report | 558 | ||||
-rw-r--r-- | contrib/libs/c-ares/.yandex_meta/devtools.licenses.report | 535 | ||||
-rw-r--r-- | contrib/libs/c-ares/.yandex_meta/licenses.list.txt | 341 | ||||
-rw-r--r-- | contrib/libs/c-ares/.yandex_meta/override.nix | 18 | ||||
-rw-r--r-- | contrib/libs/c-ares/GIT-INFO | 9 | ||||
-rw-r--r-- | contrib/libs/c-ares/patches/01-ini-fini.patch | 40 | ||||
-rw-r--r-- | contrib/libs/c-ares/patches/02-config-assorted.patch | 7 | ||||
-rw-r--r-- | contrib/libs/c-ares/patches/10-fix-config-win32.patch | 15 | ||||
-rw-r--r-- | contrib/libs/c-ares/patches/ubuntu16-compat.patch | 11 | ||||
-rw-r--r-- | contrib/libs/c-ares/patches/undeprecate.patch | 11 |
11 files changed, 1627 insertions, 0 deletions
diff --git a/contrib/libs/c-ares/.yandex_meta/__init__.py b/contrib/libs/c-ares/.yandex_meta/__init__.py new file mode 100644 index 0000000000..abe01d05f1 --- /dev/null +++ b/contrib/libs/c-ares/.yandex_meta/__init__.py @@ -0,0 +1,82 @@ +import os + +from devtools.yamaker.modules import GLOBAL, Linkable, Switch +from devtools.yamaker.project import CMakeNinjaNixProject + + +def post_build(self): + # make ares_build.h includeable from c-ares headers + os.rename( + f"{self.dstdir}/ares_build.h", + f"{self.dstdir}/include/ares_build.h", + ) + # make ares_config.h includeable from c-ares sources + os.rename( + f"{self.dstdir}/ares_config.h", + f"{self.dstdir}/src/lib/ares_config.h", + ) + + +def post_install(self): + with self.yamakes["."] as c_ares: + # remove autodetected ADDINCL for moved headers above + c_ares.ADDINCL.remove(self.arcdir) + + c_ares.PEERDIR.add("contrib/libs/libc_compat") + c_ares.SRCS.add("src/lib/atomic.cpp") + c_ares.before( + "SRCS", + Switch({"NOT EXPORT_CMAKE": "CHECK_CONFIG_H(src/lib/ares_setup.h)"}), + ) + + c_ares.after( + "CFLAGS", + Switch( + ARCH_ARM7=Linkable(CFLAGS=[GLOBAL("-D__SIZEOF_LONG__=4")]), + ), + ) + + c_ares.after( + "CFLAGS", + Switch({"OS_DARWIN OR OS_IOS": Linkable(LDFLAGS=["-lresolv"])}), + ) + + c_ares.CFLAGS.append(GLOBAL("-DCARES_STATICLIB")) + + # atomic.cpp depends on util (IGNIETFERRO-1491) + c_ares.NO_RUNTIME = False + c_ares.NO_UTIL = False + + +c_ares = CMakeNinjaNixProject( + owners=["max42", "g:cpp-contrib"], + arcdir="contrib/libs/c-ares", + nixattr="c-ares", + copy_sources=[ + "src/lib/ares_android.h", + "src/lib/ares_iphlpapi.h", + "src/lib/ares_writev.h", + "src/lib/config-win32.h", + "src/lib/thirdparty/apple", + ], + # Keep arcadia files. + keep_paths=[ + "src/lib/atomic.cpp", + "src/lib/atomic.h", + ], + addincl_global={ + ".": {"./include"}, + }, + install_targets={ + "cares", + }, + put={ + "cares": ".", + }, + platform_dispatchers=[ + "include/ares_build.h", + "src/lib/ares_config.h", + ], + post_build=post_build, + post_install=post_install, +) diff --git a/contrib/libs/c-ares/.yandex_meta/devtools.copyrights.report b/contrib/libs/c-ares/.yandex_meta/devtools.copyrights.report new file mode 100644 index 0000000000..79b26c01c2 --- /dev/null +++ b/contrib/libs/c-ares/.yandex_meta/devtools.copyrights.report @@ -0,0 +1,558 @@ +# File format ($ symbol means the beginning of a line): +# +# $ # this message +# $ # ======================= +# $ # comments (all commentaries should starts with some number of spaces and # symbol) +# ${action} {license id} {license text hash} +# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make +# ${all_file_action} filename +# $ # user commentaries (many lines) +# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify) +# ${action} {license spdx} {license text hash} +# $BELONGS ./ya/make/file/relative/path/3/ya.make +# ${all_file_action} filename +# $ # user commentaries +# $ generated description +# $ ... +# +# You can modify action, all_file_action and add commentaries +# Available actions: +# keep - keep license in contrib and use in credits +# skip - skip license +# remove - remove all files with this license +# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file +# +# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory) +# We suppose that that files can contain some license info +# Available all file actions: +# FILE_IGNORE - ignore file (do nothing) +# FILE_INCLUDE - include all file data into licenses text file +# ======================= + +KEEP COPYRIGHT_SERVICE_LABEL 0f195640bf540f098471ed5658bc51d7 +BELONGS ya.make + License text: + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2010 Daniel Stenberg + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_private.h [3:4] + src/lib/ares_process.c [3:4] + +KEEP COPYRIGHT_SERVICE_LABEL 1603219f79de2a9f05d3f530d21680fd +BELONGS ya.make + License text: + * Copyright (c) Massachusetts Institute of Technology + * Copyright (c) Daniel Stenberg + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + include/ares.h [3:4] + include/ares_dns.h [3:4] + include/ares_nameser.h [3:4] + src/lib/ares__addrinfo_localhost.c [3:4] + src/lib/ares__socket.c [3:4] + +KEEP COPYRIGHT_SERVICE_LABEL 169a51bc2a181587c3cadfcf8c1d7365 +BELONGS ya.make + License text: + * Copyright (c) 2012 by Gilles Chehade <gilles@openbsd.org> + * Copyright (c) 1996,1999 by Internet Software Consortium. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/inet_net_pton.c [2:3] + +KEEP COPYRIGHT_SERVICE_LABEL 39576df1509c67e327ee115665da4bfb +BELONGS ya.make + License text: + * Copyright (c) 2009 Daniel Stenberg + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_data.c [3:3] + src/lib/ares_data.h [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL 446ee43611aaf851683b4c03ccf758bc +BELONGS ya.make + License text: + * Copyright (c) 2004-2006, 2008, 2009, 2011 Apple Inc. All rights reserved. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/thirdparty/apple/dnsinfo.h [2:2] + +KEEP COPYRIGHT_SERVICE_LABEL 48ffec1257b89f61dee97bd92eaea3b0 +BELONGS ya.make + License text: + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2007 Daniel Stenberg + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_init.c [3:4] + src/lib/ares_sysconfig.c [3:4] + src/lib/ares_sysconfig_files.c [3:4] + src/lib/ares_sysconfig_win.c [3:4] + +KEEP COPYRIGHT_SERVICE_LABEL 4bfabf5a21c1373fd44a1a8d3224081a +BELONGS ya.make + License text: + * Copyright (c) 2023 Brad House + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + include/ares_dns_record.h [3:3] + src/lib/ares__hosts_file.c [3:3] + src/lib/ares__parse_into_addrinfo.c [3:4] + src/lib/ares_qcache.c [3:3] + src/lib/ares_update_servers.c [3:5] + src/lib/dsa/ares__htable.c [3:3] + src/lib/dsa/ares__htable.h [3:3] + src/lib/dsa/ares__htable_asvp.c [3:3] + src/lib/dsa/ares__htable_asvp.h [3:3] + src/lib/dsa/ares__htable_strvp.c [3:3] + src/lib/dsa/ares__htable_strvp.h [3:3] + src/lib/dsa/ares__htable_szvp.c [3:3] + src/lib/dsa/ares__htable_szvp.h [3:3] + src/lib/dsa/ares__llist.c [3:3] + src/lib/dsa/ares__llist.h [3:3] + src/lib/dsa/ares__slist.c [3:3] + src/lib/dsa/ares__slist.h [3:3] + src/lib/event/ares_event.h [3:3] + src/lib/legacy/ares_create_query.c [3:3] + src/lib/legacy/ares_parse_caa_reply.c [3:3] + src/lib/legacy/ares_parse_mx_reply.c [3:3] + src/lib/legacy/ares_parse_naptr_reply.c [3:3] + src/lib/legacy/ares_parse_ns_reply.c [3:3] + src/lib/legacy/ares_parse_ptr_reply.c [3:3] + src/lib/legacy/ares_parse_soa_reply.c [3:3] + src/lib/legacy/ares_parse_srv_reply.c [3:3] + src/lib/legacy/ares_parse_txt_reply.c [3:3] + src/lib/legacy/ares_parse_uri_reply.c [3:3] + src/lib/record/ares_dns_mapping.c [3:3] + src/lib/record/ares_dns_name.c [3:3] + src/lib/record/ares_dns_parse.c [3:3] + src/lib/record/ares_dns_private.h [3:3] + src/lib/record/ares_dns_record.c [3:3] + src/lib/record/ares_dns_write.c [3:3] + src/lib/str/ares__buf.c [3:3] + src/lib/str/ares__buf.h [3:3] + src/lib/util/ares__iface_ips.c [3:3] + src/lib/util/ares__iface_ips.h [3:3] + src/lib/util/ares__threads.c [3:3] + src/lib/util/ares__threads.h [3:3] + src/lib/util/ares_math.c [3:3] + src/lib/util/ares_rand.c [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL 581a26659693b3672712a294efb19777 +BELONGS ya.make + License text: + * Copyright (c) 2000 Massachusetts Institute of Technology + * Copyright (c) The c-ares project and its contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_free_string.c [3:4] + +KEEP COPYRIGHT_SERVICE_LABEL 59a5d4a5ee570c05deb62c0668f64397 +BELONGS ya.make +FILE_INCLUDE AUTHORS found in files: LICENSE.md at line 4, src/lib/ares__addrinfo2hostent.c at line 4, src/lib/ares__close_sockets.c at line 4, src/lib/ares_destroy.c at line 4, src/lib/ares_free_hostent.c at line 4, src/lib/ares_freeaddrinfo.c at line 4, src/lib/ares_getenv.c at line 4, src/lib/ares_getenv.h at line 4, src/lib/ares_gethostbyaddr.c at line 4, src/lib/ares_init.c at line 4, src/lib/ares_library_init.c at line 4, src/lib/ares_options.c at line 4, src/lib/ares_platform.c at line 4, src/lib/ares_platform.h at line 4, src/lib/ares_private.h at line 4, src/lib/ares_process.c at line 4, src/lib/ares_query.c at line 4, src/lib/ares_search.c at line 4, src/lib/ares_send.c at line 4, src/lib/ares_strerror.c at line 4, src/lib/ares_sysconfig.c at line 4, src/lib/ares_sysconfig_files.c at line 4, src/lib/ares_sysconfig_win.c at line 4, src/lib/ares_timeout.c at line 4, src/lib/ares_update_servers.c at line 4, src/lib/ares_version.c at line 4, src/lib/legacy/ares_expand_string.c at line 4, src/lib/legacy/ares_fds.c at line 4, src/lib/legacy/ares_parse_a_reply.c at line 4, src/lib/legacy/ares_parse_aaaa_reply.c at line 4, src/lib/str/ares_str.c at line 4, src/lib/str/ares_str.h at line 4, src/lib/str/ares_strcasecmp.c at line 4, src/lib/str/ares_strcasecmp.h at line 4, src/lib/windows_port.c at line 4 + License text: + Copyright (c) 1998 Massachusetts Institute of Technology + Copyright (c) 2007 - 2023 Daniel Stenberg with many contributors, see AUTHORS + file. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + LICENSE.md [3:5] + src/lib/ares__addrinfo2hostent.c [3:6] + src/lib/ares__close_sockets.c [3:4] + src/lib/ares_destroy.c [3:4] + src/lib/ares_free_hostent.c [3:4] + src/lib/ares_freeaddrinfo.c [3:4] + src/lib/ares_getenv.c [3:4] + src/lib/ares_getenv.h [3:4] + src/lib/ares_gethostbyaddr.c [3:4] + src/lib/ares_init.c [3:4] + src/lib/ares_library_init.c [3:4] + src/lib/ares_options.c [3:4] + src/lib/ares_platform.c [3:4] + src/lib/ares_platform.h [3:4] + src/lib/ares_private.h [3:4] + src/lib/ares_process.c [3:4] + src/lib/ares_query.c [3:4] + src/lib/ares_search.c [3:4] + src/lib/ares_send.c [3:4] + src/lib/ares_strerror.c [3:4] + src/lib/ares_sysconfig.c [3:4] + src/lib/ares_sysconfig_files.c [3:4] + src/lib/ares_sysconfig_win.c [3:4] + src/lib/ares_timeout.c [3:4] + src/lib/ares_update_servers.c [3:5] + src/lib/ares_version.c [3:4] + src/lib/legacy/ares_expand_string.c [3:4] + src/lib/legacy/ares_fds.c [3:4] + src/lib/legacy/ares_parse_a_reply.c [3:4] + src/lib/legacy/ares_parse_aaaa_reply.c [3:5] + src/lib/str/ares_str.c [3:4] + src/lib/str/ares_str.h [3:4] + src/lib/str/ares_strcasecmp.c [3:4] + src/lib/str/ares_strcasecmp.h [3:4] + src/lib/windows_port.c [3:4] + +KEEP COPYRIGHT_SERVICE_LABEL 6c49b190fc96e32ee1e8f2ea59984e79 +BELONGS ya.make +FILE_INCLUDE AUTHORS found in files: LICENSE.md at line 4 + License text: + Copyright (c) 1998 Massachusetts Institute of Technology + Copyright (c) 2007 - 2023 Daniel Stenberg with many contributors, see AUTHORS + file. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + LICENSE.md [3:5] + +KEEP COPYRIGHT_SERVICE_LABEL 70af93267c7fff9c5904461bb7939043 +BELONGS ya.make + License text: + * Copyright (c) 2005 Daniel Stenberg + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_inet_net_pton.h [3:3] + src/lib/legacy/ares_getsock.c [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL 772d70e950c69b1a32c0a0047f47ee2d +BELONGS ya.make + License text: + * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. + * Copyright (C) 2018 The Android Open Source Project + * Copyright (C) 2019 Andrew Selivanov + * All rights reserved. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares__sortaddrinfo.c [7:10] + +KEEP COPYRIGHT_SERVICE_LABEL 78db66be56803e72faf0c0319b5841bb +BELONGS ya.make + License text: + * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. + * Copyright (C) 2018 The Android Open Source Project + * Copyright (C) 2019 Andrew Selivanov + * All rights reserved. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares__sortaddrinfo.c [7:10] + +KEEP COPYRIGHT_SERVICE_LABEL 85865ce667770443f065d82a66073a8b +BELONGS ya.make + License text: + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2008 Daniel Stenberg + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_options.c [3:4] + src/lib/ares_update_servers.c [3:5] + src/lib/util/ares__timeval.c [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL 960dbf90fade4be8db2ae541b9662785 +BELONGS ya.make + License text: + * Copyright (c) 1998, 2011, 2013 Massachusetts Institute of Technology + * Copyright (c) 2017 Christian Ammer + * Copyright (c) 2019 Andrew Selivanov + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_getaddrinfo.c [3:5] + +KEEP COPYRIGHT_SERVICE_LABEL 98066aaf98df7e6fe716b166e095ddc4 +BELONGS ya.make + License text: + * Copyright (c) 2018 John Schember + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/str/ares_strsplit.c [3:3] + src/lib/str/ares_strsplit.h [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL 998d598c0b2c4665183fefe5ae17d48c +BELONGS ya.make + License text: + * Copyright (c) Massachusetts Institute of Technology + * Copyright (c) Daniel Stenberg + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + include/ares.h [3:4] + include/ares_nameser.h [3:4] + include/ares_version.h [3:3] + src/lib/ares__addrinfo_localhost.c [3:4] + src/lib/windows_port.c [3:4] + +KEEP COPYRIGHT_SERVICE_LABEL a9fd87d904be8e622d0a1f64972520b3 +BELONGS ya.make + License text: + * Copyright (c) 2005, 2013 Dominick Meglio + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_getnameinfo.c [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL b0ba0e82ac2b1e74adc884bf65ffb51a +BELONGS ya.make + License text: + * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 1996-1999 by Internet Software Consortium. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/inet_ntop.c [2:3] + +KEEP COPYRIGHT_SERVICE_LABEL b58dbe43b7469b7a9aa96d066da57b7e +BELONGS ya.make + License text: + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2005 Dominick Meglio + * Copyright (c) 2019 Andrew Selivanov + * Copyright (c) 2021 Brad House + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares__addrinfo2hostent.c [3:6] + +KEEP COPYRIGHT_SERVICE_LABEL b631dfa8a965ca744a170d01122adde3 +BELONGS ya.make + License text: + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2005 Dominick Meglio + * Copyright (c) 2019 Andrew Selivanov + * Copyright (c) 2021 Brad House + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares__addrinfo2hostent.c [3:6] + src/lib/ares__parse_into_addrinfo.c [3:4] + src/lib/ares__sortaddrinfo.c [7:10] + src/lib/ares_freeaddrinfo.c [3:4] + src/lib/ares_getaddrinfo.c [3:5] + src/lib/legacy/ares_parse_a_reply.c [3:4] + src/lib/legacy/ares_parse_aaaa_reply.c [3:5] + +KEEP COPYRIGHT_SERVICE_LABEL b7d1516b5e21748e16929fa3c23efeb8 +BELONGS ya.make + License text: + * Copyright (c) 2024 The c-ares project and its contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_sysconfig_mac.c [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL c77c02a30f970451b71b72c5c8d97a70 +BELONGS ya.make + License text: + * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 1996-1999 by Internet Software Consortium. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/inet_ntop.c [2:3] + +KEEP COPYRIGHT_SERVICE_LABEL cd267f8a3f59eba67ef2e3f6fc109f3b +BELONGS ya.make + License text: + * Copyright (c) 2024 Brad House + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_cookie.c [3:3] + src/lib/ares_metrics.c [3:3] + src/lib/dsa/ares__array.c [3:3] + src/lib/dsa/ares__array.h [3:3] + src/lib/dsa/ares__htable_vpvp.c [3:3] + src/lib/dsa/ares__htable_vpvp.h [3:3] + src/lib/event/ares_event_configchg.c [3:3] + src/lib/event/ares_event_epoll.c [3:3] + src/lib/event/ares_event_kqueue.c [3:3] + src/lib/event/ares_event_poll.c [3:3] + src/lib/event/ares_event_select.c [3:3] + src/lib/event/ares_event_thread.c [3:3] + src/lib/event/ares_event_wake_pipe.c [3:3] + src/lib/event/ares_event_win32.c [3:3] + src/lib/event/ares_event_win32.h [3:3] + src/lib/record/ares_dns_multistring.c [3:3] + src/lib/record/ares_dns_multistring.h [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL ce0977756b380247a8bc4bd331fcaee5 +BELONGS ya.make + License text: + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2005 Dominick Meglio + * Copyright (c) 2019 Andrew Selivanov + * Copyright (c) 2021 Brad House + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares__addrinfo2hostent.c [3:6] + src/lib/ares_ipv6.h [3:3] + src/lib/legacy/ares_parse_aaaa_reply.c [3:5] + +KEEP COPYRIGHT_SERVICE_LABEL e50787fed1e80434d7b808f2a2b6aaf3 +BELONGS ya.make + License text: + * Copyright (c) 2004 Daniel Stenberg + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_cancel.c [3:3] + src/lib/ares_destroy.c [3:4] + src/lib/ares_library_init.c [3:4] + src/lib/ares_platform.c [3:4] + src/lib/ares_platform.h [3:4] + src/lib/ares_setup.h [3:3] + src/lib/config-win32.h [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL e85d4cea18c1e08cc2c5c813f258c778 +BELONGS ya.make + License text: + * Copyright (c) 1998, 2011 Massachusetts Institute of Technology + * Copyright (c) The c-ares project and its contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/legacy/ares_expand_name.c [3:4] + +KEEP COPYRIGHT_SERVICE_LABEL f505d10c72d522acd9580354202cfa77 +BELONGS ya.make + License text: + * Copyright (c) 2012 by Gilles Chehade <gilles@openbsd.org> + * Copyright (c) 1996,1999 by Internet Software Consortium. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/inet_net_pton.c [2:3] + +KEEP COPYRIGHT_SERVICE_LABEL f528e0ce103c02c3071767b67846c26b +BELONGS ya.make + License text: + * Copyright (c) John Schember + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_android.c [3:3] + src/lib/ares_android.h [3:3] + +KEEP COPYRIGHT_SERVICE_LABEL f7cc0654f141abfc3194dd95ce3ddda7 +BELONGS ya.make + License text: + * Copyright (C) The c-ares project and its contributors + * SPDX-License-Identifier: MIT + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + include/ares_build-ios.h [4:5] + include/ares_build-linux.h [4:5] + include/ares_dns.h [3:4] + src/lib/ares__close_sockets.c [3:4] + src/lib/ares__socket.c [3:4] + src/lib/ares_config-android.h [1:2] + src/lib/ares_config-linux.h [1:2] + src/lib/ares_config-osx.h [1:2] + src/lib/ares_free_hostent.c [3:4] + src/lib/ares_free_string.c [3:4] + src/lib/ares_getenv.c [3:4] + src/lib/ares_getenv.h [3:4] + src/lib/ares_gethostbyaddr.c [3:4] + src/lib/ares_gethostbyname.c [3:4] + src/lib/ares_query.c [3:4] + src/lib/ares_search.c [3:4] + src/lib/ares_send.c [3:4] + src/lib/ares_strerror.c [3:4] + src/lib/ares_timeout.c [3:4] + src/lib/ares_version.c [3:4] + src/lib/legacy/ares_expand_name.c [3:4] + src/lib/legacy/ares_expand_string.c [3:4] + src/lib/legacy/ares_fds.c [3:4] + src/lib/str/ares_str.c [3:4] + src/lib/str/ares_str.h [3:4] + src/lib/str/ares_strcasecmp.c [3:4] + src/lib/str/ares_strcasecmp.h [3:4] + +KEEP COPYRIGHT_SERVICE_LABEL fad8fe46bbe1d4c48e0cc175486c8a47 +BELONGS ya.make + License text: + * Copyright (c) 1998, 2011, 2013 Massachusetts Institute of Technology + * Copyright (c) 2017 Christian Ammer + * Copyright (c) 2019 Andrew Selivanov + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + src/lib/ares_getaddrinfo.c [3:5] + src/lib/ares_gethostbyname.c [3:4] diff --git a/contrib/libs/c-ares/.yandex_meta/devtools.licenses.report b/contrib/libs/c-ares/.yandex_meta/devtools.licenses.report new file mode 100644 index 0000000000..a484ec0e21 --- /dev/null +++ b/contrib/libs/c-ares/.yandex_meta/devtools.licenses.report @@ -0,0 +1,535 @@ +# File format ($ symbol means the beginning of a line): +# +# $ # this message +# $ # ======================= +# $ # comments (all commentaries should starts with some number of spaces and # symbol) +# ${action} {license spdx} {license text hash} +# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make +# ${all_file_action} filename +# $ # user commentaries (many lines) +# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify) +# ${action} {license spdx} {license text hash} +# $BELONGS ./ya/make/file/relative/path/3/ya.make +# ${all_file_action} filename +# $ # user commentaries +# $ generated description +# $ ... +# +# You can modify action, all_file_action and add commentaries +# Available actions: +# keep - keep license in contrib and use in credits +# skip - skip license +# remove - remove all files with this license +# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file +# +# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory) +# We suppose that that files can contain some license info +# Available all file actions: +# FILE_IGNORE - ignore file (do nothing) +# FILE_INCLUDE - include all file data into licenses text file +# ======================= + +KEEP MIT 07056dc9c6a316252fc58ce2d224dedb +BELONGS ya.make + License text: + /* MIT License + Scancode info: + Original SPDX id: MIT + Score : 100.00 + Match type : REFERENCE + Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT + Files with this license: + include/ares.h [1:1] + include/ares_dns.h [1:1] + include/ares_dns_record.h [1:1] + include/ares_nameser.h [1:1] + include/ares_version.h [1:1] + src/lib/ares__addrinfo2hostent.c [1:1] + src/lib/ares__addrinfo_localhost.c [1:1] + src/lib/ares__close_sockets.c [1:1] + src/lib/ares__hosts_file.c [1:1] + src/lib/ares__parse_into_addrinfo.c [1:1] + src/lib/ares__socket.c [1:1] + src/lib/ares_android.c [1:1] + src/lib/ares_android.h [1:1] + src/lib/ares_cancel.c [1:1] + src/lib/ares_cookie.c [1:1] + src/lib/ares_data.c [1:1] + src/lib/ares_data.h [1:1] + src/lib/ares_destroy.c [1:1] + src/lib/ares_free_hostent.c [1:1] + src/lib/ares_free_string.c [1:1] + src/lib/ares_freeaddrinfo.c [1:1] + src/lib/ares_getaddrinfo.c [1:1] + src/lib/ares_getenv.c [1:1] + src/lib/ares_getenv.h [1:1] + src/lib/ares_gethostbyaddr.c [1:1] + src/lib/ares_gethostbyname.c [1:1] + src/lib/ares_getnameinfo.c [1:1] + src/lib/ares_inet_net_pton.h [1:1] + src/lib/ares_init.c [1:1] + src/lib/ares_ipv6.h [1:1] + src/lib/ares_library_init.c [1:1] + src/lib/ares_metrics.c [1:1] + src/lib/ares_options.c [1:1] + src/lib/ares_platform.c [1:1] + src/lib/ares_platform.h [1:1] + src/lib/ares_private.h [1:1] + src/lib/ares_process.c [1:1] + src/lib/ares_qcache.c [1:1] + src/lib/ares_query.c [1:1] + src/lib/ares_search.c [1:1] + src/lib/ares_send.c [1:1] + src/lib/ares_setup.h [1:1] + src/lib/ares_strerror.c [1:1] + src/lib/ares_sysconfig.c [1:1] + src/lib/ares_sysconfig_files.c [1:1] + src/lib/ares_sysconfig_mac.c [1:1] + src/lib/ares_sysconfig_win.c [1:1] + src/lib/ares_timeout.c [1:1] + src/lib/ares_update_servers.c [1:1] + src/lib/ares_version.c [1:1] + src/lib/config-win32.h [1:1] + src/lib/dsa/ares__array.c [1:1] + src/lib/dsa/ares__array.h [1:1] + src/lib/dsa/ares__htable.c [1:1] + src/lib/dsa/ares__htable.h [1:1] + src/lib/dsa/ares__htable_asvp.c [1:1] + src/lib/dsa/ares__htable_asvp.h [1:1] + src/lib/dsa/ares__htable_strvp.c [1:1] + src/lib/dsa/ares__htable_strvp.h [1:1] + src/lib/dsa/ares__htable_szvp.c [1:1] + src/lib/dsa/ares__htable_szvp.h [1:1] + src/lib/dsa/ares__htable_vpvp.c [1:1] + src/lib/dsa/ares__htable_vpvp.h [1:1] + src/lib/dsa/ares__llist.c [1:1] + src/lib/dsa/ares__llist.h [1:1] + src/lib/dsa/ares__slist.c [1:1] + src/lib/dsa/ares__slist.h [1:1] + src/lib/event/ares_event.h [1:1] + src/lib/event/ares_event_configchg.c [1:1] + src/lib/event/ares_event_epoll.c [1:1] + src/lib/event/ares_event_kqueue.c [1:1] + src/lib/event/ares_event_poll.c [1:1] + src/lib/event/ares_event_select.c [1:1] + src/lib/event/ares_event_thread.c [1:1] + src/lib/event/ares_event_wake_pipe.c [1:1] + src/lib/event/ares_event_win32.c [1:1] + src/lib/event/ares_event_win32.h [1:1] + src/lib/legacy/ares_create_query.c [1:1] + src/lib/legacy/ares_expand_name.c [1:1] + src/lib/legacy/ares_expand_string.c [1:1] + src/lib/legacy/ares_fds.c [1:1] + src/lib/legacy/ares_getsock.c [1:1] + src/lib/legacy/ares_parse_a_reply.c [1:1] + src/lib/legacy/ares_parse_aaaa_reply.c [1:1] + src/lib/legacy/ares_parse_caa_reply.c [1:1] + src/lib/legacy/ares_parse_mx_reply.c [1:1] + src/lib/legacy/ares_parse_naptr_reply.c [1:1] + src/lib/legacy/ares_parse_ns_reply.c [1:1] + src/lib/legacy/ares_parse_ptr_reply.c [1:1] + src/lib/legacy/ares_parse_soa_reply.c [1:1] + src/lib/legacy/ares_parse_srv_reply.c [1:1] + src/lib/legacy/ares_parse_txt_reply.c [1:1] + src/lib/legacy/ares_parse_uri_reply.c [1:1] + src/lib/record/ares_dns_mapping.c [1:1] + src/lib/record/ares_dns_multistring.c [1:1] + src/lib/record/ares_dns_multistring.h [1:1] + src/lib/record/ares_dns_name.c [1:1] + src/lib/record/ares_dns_parse.c [1:1] + src/lib/record/ares_dns_private.h [1:1] + src/lib/record/ares_dns_record.c [1:1] + src/lib/record/ares_dns_write.c [1:1] + src/lib/str/ares__buf.c [1:1] + src/lib/str/ares__buf.h [1:1] + src/lib/str/ares_str.c [1:1] + src/lib/str/ares_str.h [1:1] + src/lib/str/ares_strcasecmp.c [1:1] + src/lib/str/ares_strcasecmp.h [1:1] + src/lib/str/ares_strsplit.c [1:1] + src/lib/str/ares_strsplit.h [1:1] + src/lib/util/ares__iface_ips.c [1:1] + src/lib/util/ares__iface_ips.h [1:1] + src/lib/util/ares__threads.c [1:1] + src/lib/util/ares__threads.h [1:1] + src/lib/util/ares__timeval.c [1:1] + src/lib/util/ares_math.c [1:1] + src/lib/util/ares_rand.c [1:1] + +KEEP APSL-2.0 1d515ca9f03c1c884ee87fdbbafed30b +BELONGS ya.make + Note: matched license text is too long. Read it in the source files. + Scancode info: + Original SPDX id: APSL-2.0 + Score : 100.00 + Match type : NOTICE + Links : http://www.opensource.apple.com/license/apsl/, https://spdx.org/licenses/APSL-2.0 + Files with this license: + src/lib/thirdparty/apple/dnsinfo.h [4:21] + +KEEP Public-Domain 272a72d9bbb24bb4aa3eba1740f4de24 +BELONGS ya.make + License text: + /* Uses public domain code snippets from + Scancode info: + Original SPDX id: LicenseRef-scancode-public-domain + Score : 100.00 + Match type : NOTICE + Links : http://www.linfo.org/publicdomain.html, https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE + Files with this license: + src/lib/util/ares_math.c [29:29] + +KEEP MIT 3158a75221c70090b7e127aa7c980dd8 +BELONGS ya.make + License text: + * SPDX-License-Identifier: MIT + Scancode info: + Original SPDX id: MIT + Score : 100.00 + Match type : TAG + Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT + Files with this license: + include/ares.h [25:25] + include/ares_build-ios.h [5:5] + include/ares_build-linux.h [5:5] + include/ares_dns.h [25:25] + include/ares_dns_record.h [24:24] + include/ares_nameser.h [25:25] + include/ares_version.h [24:24] + src/lib/ares__addrinfo2hostent.c [27:27] + src/lib/ares__addrinfo_localhost.c [25:25] + src/lib/ares__close_sockets.c [25:25] + src/lib/ares__hosts_file.c [24:24] + src/lib/ares__parse_into_addrinfo.c [25:25] + src/lib/ares__socket.c [25:25] + src/lib/ares_android.c [24:24] + src/lib/ares_android.h [24:24] + src/lib/ares_cancel.c [24:24] + src/lib/ares_config-android.h [2:2] + src/lib/ares_config-linux.h [2:2] + src/lib/ares_config-osx.h [2:2] + src/lib/ares_cookie.c [24:24] + src/lib/ares_data.c [24:24] + src/lib/ares_data.h [24:24] + src/lib/ares_destroy.c [25:25] + src/lib/ares_free_hostent.c [25:25] + src/lib/ares_free_string.c [25:25] + src/lib/ares_freeaddrinfo.c [25:25] + src/lib/ares_getaddrinfo.c [26:26] + src/lib/ares_getenv.c [25:25] + src/lib/ares_getenv.h [25:25] + src/lib/ares_gethostbyaddr.c [25:25] + src/lib/ares_gethostbyname.c [25:25] + src/lib/ares_getnameinfo.c [24:24] + src/lib/ares_inet_net_pton.h [24:24] + src/lib/ares_init.c [25:25] + src/lib/ares_ipv6.h [24:24] + src/lib/ares_library_init.c [25:25] + src/lib/ares_metrics.c [24:24] + src/lib/ares_options.c [25:25] + src/lib/ares_platform.c [25:25] + src/lib/ares_platform.h [25:25] + src/lib/ares_private.h [25:25] + src/lib/ares_process.c [25:25] + src/lib/ares_qcache.c [24:24] + src/lib/ares_query.c [25:25] + src/lib/ares_search.c [25:25] + src/lib/ares_send.c [25:25] + src/lib/ares_setup.h [24:24] + src/lib/ares_strerror.c [25:25] + src/lib/ares_sysconfig.c [25:25] + src/lib/ares_sysconfig_files.c [25:25] + src/lib/ares_sysconfig_mac.c [24:24] + src/lib/ares_sysconfig_win.c [25:25] + src/lib/ares_timeout.c [25:25] + src/lib/ares_update_servers.c [26:26] + src/lib/ares_version.c [25:25] + src/lib/config-win32.h [24:24] + src/lib/dsa/ares__array.c [24:24] + src/lib/dsa/ares__array.h [24:24] + src/lib/dsa/ares__htable.c [24:24] + src/lib/dsa/ares__htable.h [24:24] + src/lib/dsa/ares__htable_asvp.c [24:24] + src/lib/dsa/ares__htable_asvp.h [24:24] + src/lib/dsa/ares__htable_strvp.c [24:24] + src/lib/dsa/ares__htable_strvp.h [24:24] + src/lib/dsa/ares__htable_szvp.c [24:24] + src/lib/dsa/ares__htable_szvp.h [24:24] + src/lib/dsa/ares__htable_vpvp.c [24:24] + src/lib/dsa/ares__htable_vpvp.h [24:24] + src/lib/dsa/ares__llist.c [24:24] + src/lib/dsa/ares__llist.h [24:24] + src/lib/dsa/ares__slist.c [24:24] + src/lib/dsa/ares__slist.h [24:24] + src/lib/event/ares_event.h [24:24] + src/lib/event/ares_event_configchg.c [24:24] + src/lib/event/ares_event_epoll.c [24:24] + src/lib/event/ares_event_kqueue.c [24:24] + src/lib/event/ares_event_poll.c [24:24] + src/lib/event/ares_event_select.c [24:24] + src/lib/event/ares_event_thread.c [24:24] + src/lib/event/ares_event_wake_pipe.c [24:24] + src/lib/event/ares_event_win32.c [24:24] + src/lib/event/ares_event_win32.h [24:24] + src/lib/inet_net_pton.c [18:18] + src/lib/inet_ntop.c [17:17] + src/lib/legacy/ares_create_query.c [24:24] + src/lib/legacy/ares_expand_name.c [25:25] + src/lib/legacy/ares_expand_string.c [25:25] + src/lib/legacy/ares_fds.c [25:25] + src/lib/legacy/ares_getsock.c [24:24] + src/lib/legacy/ares_parse_a_reply.c [25:25] + src/lib/legacy/ares_parse_aaaa_reply.c [26:26] + src/lib/legacy/ares_parse_caa_reply.c [24:24] + src/lib/legacy/ares_parse_mx_reply.c [24:24] + src/lib/legacy/ares_parse_naptr_reply.c [24:24] + src/lib/legacy/ares_parse_ns_reply.c [24:24] + src/lib/legacy/ares_parse_ptr_reply.c [24:24] + src/lib/legacy/ares_parse_soa_reply.c [24:24] + src/lib/legacy/ares_parse_srv_reply.c [24:24] + src/lib/legacy/ares_parse_txt_reply.c [24:24] + src/lib/legacy/ares_parse_uri_reply.c [24:24] + src/lib/record/ares_dns_mapping.c [24:24] + src/lib/record/ares_dns_multistring.c [24:24] + src/lib/record/ares_dns_multistring.h [24:24] + src/lib/record/ares_dns_name.c [24:24] + src/lib/record/ares_dns_parse.c [24:24] + src/lib/record/ares_dns_private.h [24:24] + src/lib/record/ares_dns_record.c [24:24] + src/lib/record/ares_dns_write.c [24:24] + src/lib/str/ares__buf.c [24:24] + src/lib/str/ares__buf.h [24:24] + src/lib/str/ares_str.c [25:25] + src/lib/str/ares_str.h [25:25] + src/lib/str/ares_strcasecmp.c [25:25] + src/lib/str/ares_strcasecmp.h [25:25] + src/lib/str/ares_strsplit.c [24:24] + src/lib/str/ares_strsplit.h [24:24] + src/lib/util/ares__iface_ips.c [24:24] + src/lib/util/ares__iface_ips.h [24:24] + src/lib/util/ares__threads.c [24:24] + src/lib/util/ares__threads.h [24:24] + src/lib/util/ares__timeval.c [24:24] + src/lib/util/ares_math.c [24:24] + src/lib/util/ares_rand.c [24:24] + src/lib/windows_port.c [6:6] + +KEEP MIT 399584035c417b91040964779555dfac +BELONGS ya.make + License text: + MIT License + Scancode info: + Original SPDX id: MIT + Score : 100.00 + Match type : REFERENCE + Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT + Files with this license: + LICENSE.md [1:1] + +KEEP ISC 496ba8557c8105b63a14ddbb272cca56 +BELONGS ya.make + Note: matched license text is too long. Read it in the source files. + Scancode info: + Original SPDX id: ISC + Score : 100.00 + Match type : TEXT + Links : http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_with_legal_disclaimer_2, https://spdx.org/licenses/ISC, https://www.isc.org/software/license + Files with this license: + src/lib/inet_ntop.c [5:15] + +KEEP BSD-3-Clause 9d018aaf6e89baa34c9bc9407e762114 +BELONGS ya.make + License text: + * Lifted from the 'Android Bionic' project with the BSD license. + Scancode info: + Original SPDX id: BSD-3-Clause + Score : 99.00 + Match type : REFERENCE + Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause + Files with this license: + src/lib/ares__sortaddrinfo.c [3:3] + +KEEP MIT 9f87b7b185f90608bae6d2b5c377f145 +BELONGS ya.make + License text: + c-ares will build with any C89 compiler and is [MIT licensed](LICENSE.md), + Scancode info: + Original SPDX id: MIT + Score : 100.00 + Match type : NOTICE + Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT + Files with this license: + README.md [31:31] + +KEEP BSD-3-Clause 9f9f74951499b982d601e33ab0c03bed +BELONGS ya.make + Note: matched license text is too long. Read it in the source files. + Scancode info: + Original SPDX id: BSD-3-Clause + Score : 100.00 + Match type : TEXT + Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause + Files with this license: + src/lib/ares__sortaddrinfo.c [12:34] + +KEEP ISC a33bf68b7a1c6d0ca7948114d5f40d02 +BELONGS ya.make + Note: matched license text is too long. Read it in the source files. + Scancode info: + Original SPDX id: ISC + Score : 100.00 + Match type : TEXT + Links : http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_with_legal_disclaimer_2, https://spdx.org/licenses/ISC, https://www.isc.org/software/license + Files with this license: + src/lib/inet_net_pton.c [5:16] + +KEEP BSD-3-Clause bcd96bf495243cd22767952d056c373c +BELONGS ya.make + License text: + * SPDX-License-Identifier: BSD-3-Clause + Scancode info: + Original SPDX id: BSD-3-Clause + Score : 100.00 + Match type : TAG + Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause + Files with this license: + src/lib/ares__sortaddrinfo.c [36:36] + +KEEP MIT c2fd01dec4e4c4c415b4e2bd90cd2e6b +BELONGS ya.make +FILE_INCLUDE AUTHORS found in files: include/ares.h at line 20, include/ares_dns.h at line 20, include/ares_dns_record.h at line 19, include/ares_nameser.h at line 20, include/ares_version.h at line 19, src/lib/ares__addrinfo2hostent.c at line 22, src/lib/ares__addrinfo_localhost.c at line 20, src/lib/ares__close_sockets.c at line 20, src/lib/ares__hosts_file.c at line 19, src/lib/ares__parse_into_addrinfo.c at line 20, src/lib/ares__socket.c at line 20, src/lib/ares_android.c at line 19, src/lib/ares_android.h at line 19, src/lib/ares_cancel.c at line 19, src/lib/ares_cookie.c at line 19, src/lib/ares_data.c at line 19, src/lib/ares_data.h at line 19, src/lib/ares_destroy.c at line 20, src/lib/ares_free_hostent.c at line 20, src/lib/ares_free_string.c at line 20, src/lib/ares_freeaddrinfo.c at line 20, src/lib/ares_getaddrinfo.c at line 21, src/lib/ares_getenv.c at line 20, src/lib/ares_getenv.h at line 20, src/lib/ares_gethostbyaddr.c at line 20, src/lib/ares_gethostbyname.c at line 20, src/lib/ares_getnameinfo.c at line 19, src/lib/ares_inet_net_pton.h at line 19, src/lib/ares_init.c at line 20, src/lib/ares_ipv6.h at line 19, src/lib/ares_library_init.c at line 20, src/lib/ares_metrics.c at line 19, src/lib/ares_options.c at line 20, src/lib/ares_platform.c at line 20, src/lib/ares_platform.h at line 20, src/lib/ares_private.h at line 20, src/lib/ares_process.c at line 20, src/lib/ares_qcache.c at line 19, src/lib/ares_query.c at line 20, src/lib/ares_search.c at line 20, src/lib/ares_send.c at line 20, src/lib/ares_setup.h at line 19, src/lib/ares_strerror.c at line 20, src/lib/ares_sysconfig.c at line 20, src/lib/ares_sysconfig_files.c at line 20, src/lib/ares_sysconfig_mac.c at line 19, src/lib/ares_sysconfig_win.c at line 20, src/lib/ares_timeout.c at line 20, src/lib/ares_update_servers.c at line 21, src/lib/ares_version.c at line 20, src/lib/config-win32.h at line 19, src/lib/dsa/ares__array.c at line 19, src/lib/dsa/ares__array.h at line 19, src/lib/dsa/ares__htable.c at line 19, src/lib/dsa/ares__htable.h at line 19, src/lib/dsa/ares__htable_asvp.c at line 19, src/lib/dsa/ares__htable_asvp.h at line 19, src/lib/dsa/ares__htable_strvp.c at line 19, src/lib/dsa/ares__htable_strvp.h at line 19, src/lib/dsa/ares__htable_szvp.c at line 19, src/lib/dsa/ares__htable_szvp.h at line 19, src/lib/dsa/ares__htable_vpvp.c at line 19, src/lib/dsa/ares__htable_vpvp.h at line 19, src/lib/dsa/ares__llist.c at line 19, src/lib/dsa/ares__llist.h at line 19, src/lib/dsa/ares__slist.c at line 19, src/lib/dsa/ares__slist.h at line 19, src/lib/event/ares_event.h at line 19, src/lib/event/ares_event_configchg.c at line 19, src/lib/event/ares_event_epoll.c at line 19, src/lib/event/ares_event_kqueue.c at line 19, src/lib/event/ares_event_poll.c at line 19, src/lib/event/ares_event_select.c at line 19, src/lib/event/ares_event_thread.c at line 19, src/lib/event/ares_event_wake_pipe.c at line 19, src/lib/event/ares_event_win32.c at line 19, src/lib/event/ares_event_win32.h at line 19, src/lib/legacy/ares_create_query.c at line 19, src/lib/legacy/ares_expand_name.c at line 20, src/lib/legacy/ares_expand_string.c at line 20, src/lib/legacy/ares_fds.c at line 20, src/lib/legacy/ares_getsock.c at line 19, src/lib/legacy/ares_parse_a_reply.c at line 20, src/lib/legacy/ares_parse_aaaa_reply.c at line 21, src/lib/legacy/ares_parse_caa_reply.c at line 19, src/lib/legacy/ares_parse_mx_reply.c at line 19, src/lib/legacy/ares_parse_naptr_reply.c at line 19, src/lib/legacy/ares_parse_ns_reply.c at line 19, src/lib/legacy/ares_parse_ptr_reply.c at line 19, src/lib/legacy/ares_parse_soa_reply.c at line 19, src/lib/legacy/ares_parse_srv_reply.c at line 19, src/lib/legacy/ares_parse_txt_reply.c at line 19, src/lib/legacy/ares_parse_uri_reply.c at line 19, src/lib/record/ares_dns_mapping.c at line 19, src/lib/record/ares_dns_multistring.c at line 19, src/lib/record/ares_dns_multistring.h at line 19, src/lib/record/ares_dns_name.c at line 19, src/lib/record/ares_dns_parse.c at line 19, src/lib/record/ares_dns_private.h at line 19, src/lib/record/ares_dns_record.c at line 19, src/lib/record/ares_dns_write.c at line 19, src/lib/str/ares__buf.c at line 19, src/lib/str/ares__buf.h at line 19, src/lib/str/ares_str.c at line 20, src/lib/str/ares_str.h at line 20, src/lib/str/ares_strcasecmp.c at line 20, src/lib/str/ares_strcasecmp.h at line 20, src/lib/str/ares_strsplit.c at line 19, src/lib/str/ares_strsplit.h at line 19, src/lib/util/ares__iface_ips.c at line 19, src/lib/util/ares__iface_ips.h at line 19, src/lib/util/ares__threads.c at line 19, src/lib/util/ares__threads.h at line 19, src/lib/util/ares__timeval.c at line 19, src/lib/util/ares_math.c at line 19, src/lib/util/ares_rand.c at line 19 + Note: matched license text is too long. Read it in the source files. + Scancode info: + Original SPDX id: MIT + Score : 100.00 + Match type : TEXT + Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT + Files with this license: + include/ares.h [6:23] + include/ares_dns.h [6:23] + include/ares_dns_record.h [5:22] + include/ares_nameser.h [6:23] + include/ares_version.h [5:22] + src/lib/ares__addrinfo2hostent.c [8:25] + src/lib/ares__addrinfo_localhost.c [6:23] + src/lib/ares__close_sockets.c [6:23] + src/lib/ares__hosts_file.c [5:22] + src/lib/ares__parse_into_addrinfo.c [6:23] + src/lib/ares__socket.c [6:23] + src/lib/ares_android.c [5:22] + src/lib/ares_android.h [5:22] + src/lib/ares_cancel.c [5:22] + src/lib/ares_cookie.c [5:22] + src/lib/ares_data.c [5:22] + src/lib/ares_data.h [5:22] + src/lib/ares_destroy.c [6:23] + src/lib/ares_free_hostent.c [6:23] + src/lib/ares_free_string.c [6:23] + src/lib/ares_freeaddrinfo.c [6:23] + src/lib/ares_getaddrinfo.c [7:24] + src/lib/ares_getenv.c [6:23] + src/lib/ares_getenv.h [6:23] + src/lib/ares_gethostbyaddr.c [6:23] + src/lib/ares_gethostbyname.c [6:23] + src/lib/ares_getnameinfo.c [5:22] + src/lib/ares_inet_net_pton.h [5:22] + src/lib/ares_init.c [6:23] + src/lib/ares_ipv6.h [5:22] + src/lib/ares_library_init.c [6:23] + src/lib/ares_metrics.c [5:22] + src/lib/ares_options.c [6:23] + src/lib/ares_platform.c [6:23] + src/lib/ares_platform.h [6:23] + src/lib/ares_private.h [6:23] + src/lib/ares_process.c [6:23] + src/lib/ares_qcache.c [5:22] + src/lib/ares_query.c [6:23] + src/lib/ares_search.c [6:23] + src/lib/ares_send.c [6:23] + src/lib/ares_setup.h [5:22] + src/lib/ares_strerror.c [6:23] + src/lib/ares_sysconfig.c [6:23] + src/lib/ares_sysconfig_files.c [6:23] + src/lib/ares_sysconfig_mac.c [5:22] + src/lib/ares_sysconfig_win.c [6:23] + src/lib/ares_timeout.c [6:23] + src/lib/ares_update_servers.c [7:24] + src/lib/ares_version.c [6:23] + src/lib/config-win32.h [5:22] + src/lib/dsa/ares__array.c [5:22] + src/lib/dsa/ares__array.h [5:22] + src/lib/dsa/ares__htable.c [5:22] + src/lib/dsa/ares__htable.h [5:22] + src/lib/dsa/ares__htable_asvp.c [5:22] + src/lib/dsa/ares__htable_asvp.h [5:22] + src/lib/dsa/ares__htable_strvp.c [5:22] + src/lib/dsa/ares__htable_strvp.h [5:22] + src/lib/dsa/ares__htable_szvp.c [5:22] + src/lib/dsa/ares__htable_szvp.h [5:22] + src/lib/dsa/ares__htable_vpvp.c [5:22] + src/lib/dsa/ares__htable_vpvp.h [5:22] + src/lib/dsa/ares__llist.c [5:22] + src/lib/dsa/ares__llist.h [5:22] + src/lib/dsa/ares__slist.c [5:22] + src/lib/dsa/ares__slist.h [5:22] + src/lib/event/ares_event.h [5:22] + src/lib/event/ares_event_configchg.c [5:22] + src/lib/event/ares_event_epoll.c [5:22] + src/lib/event/ares_event_kqueue.c [5:22] + src/lib/event/ares_event_poll.c [5:22] + src/lib/event/ares_event_select.c [5:22] + src/lib/event/ares_event_thread.c [5:22] + src/lib/event/ares_event_wake_pipe.c [5:22] + src/lib/event/ares_event_win32.c [5:22] + src/lib/event/ares_event_win32.h [5:22] + src/lib/legacy/ares_create_query.c [5:22] + src/lib/legacy/ares_expand_name.c [6:23] + src/lib/legacy/ares_expand_string.c [6:23] + src/lib/legacy/ares_fds.c [6:23] + src/lib/legacy/ares_getsock.c [5:22] + src/lib/legacy/ares_parse_a_reply.c [6:23] + src/lib/legacy/ares_parse_aaaa_reply.c [7:24] + src/lib/legacy/ares_parse_caa_reply.c [5:22] + src/lib/legacy/ares_parse_mx_reply.c [5:22] + src/lib/legacy/ares_parse_naptr_reply.c [5:22] + src/lib/legacy/ares_parse_ns_reply.c [5:22] + src/lib/legacy/ares_parse_ptr_reply.c [5:22] + src/lib/legacy/ares_parse_soa_reply.c [5:22] + src/lib/legacy/ares_parse_srv_reply.c [5:22] + src/lib/legacy/ares_parse_txt_reply.c [5:22] + src/lib/legacy/ares_parse_uri_reply.c [5:22] + src/lib/record/ares_dns_mapping.c [5:22] + src/lib/record/ares_dns_multistring.c [5:22] + src/lib/record/ares_dns_multistring.h [5:22] + src/lib/record/ares_dns_name.c [5:22] + src/lib/record/ares_dns_parse.c [5:22] + src/lib/record/ares_dns_private.h [5:22] + src/lib/record/ares_dns_record.c [5:22] + src/lib/record/ares_dns_write.c [5:22] + src/lib/str/ares__buf.c [5:22] + src/lib/str/ares__buf.h [5:22] + src/lib/str/ares_str.c [6:23] + src/lib/str/ares_str.h [6:23] + src/lib/str/ares_strcasecmp.c [6:23] + src/lib/str/ares_strcasecmp.h [6:23] + src/lib/str/ares_strsplit.c [5:22] + src/lib/str/ares_strsplit.h [5:22] + src/lib/util/ares__iface_ips.c [5:22] + src/lib/util/ares__iface_ips.h [5:22] + src/lib/util/ares__threads.c [5:22] + src/lib/util/ares__threads.h [5:22] + src/lib/util/ares__timeval.c [5:22] + src/lib/util/ares_math.c [5:22] + src/lib/util/ares_rand.c [5:22] + +KEEP MIT e5e4ee9811f07656fe849a31959bb283 +BELONGS ya.make +FILE_INCLUDE AUTHORS found in files: LICENSE.md at line 21 + Note: matched license text is too long. Read it in the source files. + Scancode info: + Original SPDX id: MIT + Score : 100.00 + Match type : TEXT + Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT + Files with this license: + LICENSE.md [7:24] diff --git a/contrib/libs/c-ares/.yandex_meta/licenses.list.txt b/contrib/libs/c-ares/.yandex_meta/licenses.list.txt new file mode 100644 index 0000000000..949a0c5924 --- /dev/null +++ b/contrib/libs/c-ares/.yandex_meta/licenses.list.txt @@ -0,0 +1,341 @@ +====================APSL-2.0==================== + * @APPLE_LICENSE_HEADER_START@ + * + * This file contains Original Code and/or Modifications of Original Code + * as defined in and that are subject to the Apple Public Source License + * Version 2.0 (the 'License'). You may not use this file except in + * compliance with the License. Please obtain a copy of the License at + * http://www.opensource.apple.com/apsl/ and read it before using this + * file. + * + * The Original Code and all software distributed under the License are + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. + * Please see the License for the specific language governing rights and + * limitations under the License. + * + * @APPLE_LICENSE_HEADER_END@ + + +====================BSD-3-Clause==================== + * Lifted from the 'Android Bionic' project with the BSD license. + + +====================BSD-3-Clause==================== + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the project nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + + +====================BSD-3-Clause==================== + * SPDX-License-Identifier: BSD-3-Clause + + +====================COPYRIGHT==================== + * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. + * Copyright (C) 2018 The Android Open Source Project + * Copyright (C) 2019 Andrew Selivanov + * All rights reserved. + + +====================COPYRIGHT==================== + * Copyright (C) The c-ares project and its contributors + * SPDX-License-Identifier: MIT + + +====================COPYRIGHT==================== + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2005 Dominick Meglio + * Copyright (c) 2019 Andrew Selivanov + * Copyright (c) 2021 Brad House + + +====================COPYRIGHT==================== + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2007 Daniel Stenberg + + +====================COPYRIGHT==================== + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2008 Daniel Stenberg + + +====================COPYRIGHT==================== + * Copyright (c) 1998 Massachusetts Institute of Technology + * Copyright (c) 2010 Daniel Stenberg + + +====================COPYRIGHT==================== + * Copyright (c) 1998, 2011 Massachusetts Institute of Technology + * Copyright (c) The c-ares project and its contributors + + +====================COPYRIGHT==================== + * Copyright (c) 1998, 2011, 2013 Massachusetts Institute of Technology + * Copyright (c) 2017 Christian Ammer + * Copyright (c) 2019 Andrew Selivanov + + +====================COPYRIGHT==================== + * Copyright (c) 2000 Massachusetts Institute of Technology + * Copyright (c) The c-ares project and its contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2004 Daniel Stenberg + + +====================COPYRIGHT==================== + * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 1996-1999 by Internet Software Consortium. + + +====================COPYRIGHT==================== + * Copyright (c) 2004-2006, 2008, 2009, 2011 Apple Inc. All rights reserved. + + +====================COPYRIGHT==================== + * Copyright (c) 2005 Daniel Stenberg + + +====================COPYRIGHT==================== + * Copyright (c) 2005, 2013 Dominick Meglio + + +====================COPYRIGHT==================== + * Copyright (c) 2009 Daniel Stenberg + + +====================COPYRIGHT==================== + * Copyright (c) 2012 by Gilles Chehade <gilles@openbsd.org> + * Copyright (c) 1996,1999 by Internet Software Consortium. + + +====================COPYRIGHT==================== + * Copyright (c) 2018 John Schember + + +====================COPYRIGHT==================== + * Copyright (c) 2023 Brad House + + +====================COPYRIGHT==================== + * Copyright (c) 2024 Brad House + + +====================COPYRIGHT==================== + * Copyright (c) 2024 The c-ares project and its contributors + + +====================COPYRIGHT==================== + * Copyright (c) John Schember + + +====================COPYRIGHT==================== + * Copyright (c) Massachusetts Institute of Technology + * Copyright (c) Daniel Stenberg + + +====================COPYRIGHT==================== +Copyright (c) 1998 Massachusetts Institute of Technology +Copyright (c) 2007 - 2023 Daniel Stenberg with many contributors, see AUTHORS +file. + + +====================File: AUTHORS==================== +c-ares is based on ares, and these are the people that have worked on it since +the fork was made: + +Albert Chin +Alex Loukissas +Alexander Klauer +Alexander Lazic +Alexey Simak +Andreas Rieke +Andrew Andkjar +Andrew Ayer +Andrew C. Morrow +Ashish Sharma +Ben Greear +Ben Noordhuis +BogDan Vatra +Brad House +Brad Spencer +Bram Matthys +Chris Araman +Dan Fandrich +Daniel Johnson +Daniel Stenberg +David Drysdale +David Stuart +Denis Bilenko +Dima Tisnek +Dirk Manske +Dominick Meglio +Doug Goldstein +Doug Kwan +Duncan Wilcox +Eino Tuominen +Erik Kline +Fedor Indutny +Frederic Germain +Geert Uytterhoeven +George Neill +Gisle Vanem +Google LLC +Gregor Jasny +Guenter Knauf +Guilherme Balena Versiani +Gunter Knauf +Henrik Stoerner +Jakub Hrozek +James Bursa +Jérémy Lal +John Schember +Keith Shaw +Lei Shi +Marko Kreen +Michael Wallner +Mike Crowe +Nick Alcock +Nick Mathewson +Nicolas "Pixel" Noble +Ning Dong +Oleg Pudeyev +Patrick Valsecchi +Patrik Thunstrom +Paul Saab +Peter Pentchev +Phil Blundell +Poul Thomas Lomholt +Ravi Pratap +Robin Cornelius +Saúl Ibarra Corretgé +Sebastian at basti79.de +Shmulik Regev +Stefan Bühler +Steinar H. Gunderson +Svante Karlsson +Tofu Linden +Tom Hughes +Tor Arntsen +Viktor Szakats +Vlad Dinulescu +William Ahern +Yang Tse +hpopescu at ixiacom.com +liren at vivisimo.com +nordsturm +saghul + + +====================ISC==================== + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + + +====================ISC==================== + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT + * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +====================MIT==================== + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + + +====================MIT==================== + * SPDX-License-Identifier: MIT + + +====================MIT==================== +/* MIT License + + +====================MIT==================== +MIT License + + +====================MIT==================== +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +====================MIT==================== +c-ares will build with any C89 compiler and is [MIT licensed](LICENSE.md), + + +====================Public-Domain==================== +/* Uses public domain code snippets from diff --git a/contrib/libs/c-ares/.yandex_meta/override.nix b/contrib/libs/c-ares/.yandex_meta/override.nix new file mode 100644 index 0000000000..a823408057 --- /dev/null +++ b/contrib/libs/c-ares/.yandex_meta/override.nix @@ -0,0 +1,18 @@ +pkgs: attrs: with pkgs; with attrs; rec { + version = "1.33.1"; + + src = fetchFromGitHub { + owner = "c-ares"; + repo = "c-ares"; + rev= "v${version}"; + hash = "sha256-aLHTvyAcCNY0mr96D68Ubf4RL0zmU7ARSdjQ59+2Pv0="; + }; + + patches = []; + + cmakeFlags = [ + "-DCARES_BUILD_TESTS=OFF" + "-DCARES_SHARED=ON" + "-DCARES_STATIC=OFF" + ]; +} diff --git a/contrib/libs/c-ares/GIT-INFO b/contrib/libs/c-ares/GIT-INFO new file mode 100644 index 0000000000..9ced82f70f --- /dev/null +++ b/contrib/libs/c-ares/GIT-INFO @@ -0,0 +1,9 @@ + +GIT-INFO + +This file is only present in git - never in release archives. It is used as a +sentinel file in buildconf.bat in order to differentiate a git checkout from +release and daily snapshot archives. + +On *nix-like systems, run the ./buildconf script first to generate a fresh +configure script. This requires autotools to be installed locally. diff --git a/contrib/libs/c-ares/patches/01-ini-fini.patch b/contrib/libs/c-ares/patches/01-ini-fini.patch new file mode 100644 index 0000000000..042f009db4 --- /dev/null +++ b/contrib/libs/c-ares/patches/01-ini-fini.patch @@ -0,0 +1,40 @@ +--- contrib/libs/c-ares/src/lib/ares_library_init.c (index) ++++ contrib/libs/c-ares/src/lib/ares_library_init.c (working tree) +@@ -51,1 +54,1 @@ void *(*ares_malloc)(size_t size) = default_malloc; +-int ares_library_init(int flags) ++int ares_library_init_unsafe(int flags) +@@ -82,1 +93,1 @@ int ares_library_init_mem(int flags, +-void ares_library_cleanup(void) ++void ares_library_cleanup_unsafe(void) +@@ -110,1 +115,1 @@ void ares_library_cleanup(void) +-int ares_library_initialized(void) ++int ares_library_initialized_unsafe(void) +@@ -140,3 +140,28 @@ int ares_library_initialized(void) + #endif + return ARES_SUCCESS; + } ++#include "atomic.h" ++static atomic_t ares_init_lock; ++int ares_library_init(int flags) ++{ ++ acquire_lock(&ares_init_lock); ++ int res = ares_library_init_unsafe(flags); ++ release_lock(&ares_init_lock); ++ return res; ++} ++ ++void ares_library_cleanup(void) ++{ ++ acquire_lock(&ares_init_lock); ++ ares_library_cleanup_unsafe(); ++ release_lock(&ares_init_lock); ++} ++ ++ ++int ares_library_initialized(void) ++{ ++ acquire_lock(&ares_init_lock); ++ int res = ares_library_initialized_unsafe(); ++ release_lock(&ares_init_lock); ++ return res; ++} diff --git a/contrib/libs/c-ares/patches/02-config-assorted.patch b/contrib/libs/c-ares/patches/02-config-assorted.patch new file mode 100644 index 0000000000..ef7f723d6f --- /dev/null +++ b/contrib/libs/c-ares/patches/02-config-assorted.patch @@ -0,0 +1,7 @@ +diff --git a/ares_setup.h b/ares_setup.h +index 4df7961..b9a1fd5 100644 +--- a/src/lib/ares_setup.h ++++ b/src/lib/ares_setup.h +@@ -28,1 +28,1 @@ +-#ifdef HAVE_CONFIG_H ++#if defined(HAVE_CONFIG_H) && !defined(_MSC_VER) diff --git a/contrib/libs/c-ares/patches/10-fix-config-win32.patch b/contrib/libs/c-ares/patches/10-fix-config-win32.patch new file mode 100644 index 0000000000..03994e1fdb --- /dev/null +++ b/contrib/libs/c-ares/patches/10-fix-config-win32.patch @@ -0,0 +1,15 @@ +--- a/src/lib/config-win32.h (index) ++++ b/src/lib/config-win32.h (working tree) +@@ -72,6 +72,12 @@ + #define HAVE_WS2TCPIP_H 1 + #endif + ++/* Define to 1 if you have the <sys/uio.h> header file. */ ++#define HAVE_SYS_UIO_H 1 ++ ++/* Define to 1 if you have the writev function. */ ++#define HAVE_WRITEV 1 ++ + /* ---------------------------------------------------------------- */ + /* OTHER HEADER INFO */ + /* ---------------------------------------------------------------- */ diff --git a/contrib/libs/c-ares/patches/ubuntu16-compat.patch b/contrib/libs/c-ares/patches/ubuntu16-compat.patch new file mode 100644 index 0000000000..710feaa354 --- /dev/null +++ b/contrib/libs/c-ares/patches/ubuntu16-compat.patch @@ -0,0 +1,11 @@ +--- contrib/libs/c-ares/src/lib/ares__socket.c (index) ++++ contrib/libs/c-ares/src/lib/ares__socket.c (working tree) +@@ -61,7 +61,7 @@ + # define TFO_SKIP_CONNECT 0 + # define TFO_USE_SENDTO 0 + # define TFO_USE_CONNECTX 0 +-# define TFO_CLIENT_SOCKOPT TCP_FASTOPEN_CONNECT ++# define TFO_CLIENT_SOCKOPT 0 + #elif defined(__FreeBSD__) && defined(TCP_FASTOPEN) + # define TFO_SUPPORTED 1 + # define TFO_SKIP_CONNECT 1 diff --git a/contrib/libs/c-ares/patches/undeprecate.patch b/contrib/libs/c-ares/patches/undeprecate.patch new file mode 100644 index 0000000000..df4d15202e --- /dev/null +++ b/contrib/libs/c-ares/patches/undeprecate.patch @@ -0,0 +1,11 @@ +--- contrib/libs/c-ares/include/ares.h (index) ++++ contrib/libs/c-ares/include/ares.h (working tree) +@@ -130,7 +130,7 @@ extern "C" { + # define __has_attribute(x) 0 + #endif + +-#ifdef CARES_NO_DEPRECATED ++#if 1 + # define CARES_DEPRECATED + # define CARES_DEPRECATED_FOR(f) + #else |