diff options
author | r3zch <r3zch@yandex-team.com> | 2024-11-29 12:27:52 +0300 |
---|---|---|
committer | r3zch <r3zch@yandex-team.com> | 2024-11-29 12:41:56 +0300 |
commit | 9a7a8a5fbc8b03deab5bf8811b4b9243a693bb1e (patch) | |
tree | 09ad0223de1eae02c0ae99eddb0166c4f6ad2f67 /contrib/libs/ngtcp2/.yandex_meta | |
parent | 0dd435081e96fb2c7d63a01971a01b4b446a7f21 (diff) | |
download | ydb-9a7a8a5fbc8b03deab5bf8811b4b9243a693bb1e.tar.gz |
curl build with http3 support
commit_hash:9033848a94b58ad32fb6c296eca4f77af9cda070
Diffstat (limited to 'contrib/libs/ngtcp2/.yandex_meta')
-rw-r--r-- | contrib/libs/ngtcp2/.yandex_meta/001_crypto_includes.patch | 28 | ||||
-rw-r--r-- | contrib/libs/ngtcp2/.yandex_meta/__init__.py | 31 | ||||
-rw-r--r-- | contrib/libs/ngtcp2/.yandex_meta/devtools.copyrights.report | 274 | ||||
-rw-r--r-- | contrib/libs/ngtcp2/.yandex_meta/devtools.licenses.report | 202 | ||||
-rw-r--r-- | contrib/libs/ngtcp2/.yandex_meta/licenses.list.txt | 184 | ||||
-rw-r--r-- | contrib/libs/ngtcp2/.yandex_meta/override.nix | 20 |
6 files changed, 739 insertions, 0 deletions
diff --git a/contrib/libs/ngtcp2/.yandex_meta/001_crypto_includes.patch b/contrib/libs/ngtcp2/.yandex_meta/001_crypto_includes.patch new file mode 100644 index 0000000000..c592c47aef --- /dev/null +++ b/contrib/libs/ngtcp2/.yandex_meta/001_crypto_includes.patch @@ -0,0 +1,28 @@ +diff -Naur ngtcp2-1.7.0/crypto/quictls/quictls.c ngtcp2-1.7.0_/crypto/quictls/quictls.c +--- ngtcp2-1.7.0/crypto/quictls/quictls.c 2024-08-24 08:46:22.370068166 +0300 ++++ ngtcp2-1.7.0_/crypto/quictls/quictls.c 2024-09-04 21:39:15.679675360 +0300 +@@ -37,10 +37,10 @@ + #include <openssl/rand.h> + + #if OPENSSL_VERSION_NUMBER >= 0x30000000L +-# include <openssl/core_names.h> ++# error #include <openssl/core_names.h> + #endif /* OPENSSL_VERSION_NUMBER >= 0x30000000L */ + +-#include "shared.h" ++#include "ngtcp2_crypto_shared.h" + + #if OPENSSL_VERSION_NUMBER >= 0x30000000L + static int crypto_initialized; +diff -Naur ngtcp2-1.7.0/crypto/shared.c ngtcp2-1.7.0_/crypto/shared.c +--- ngtcp2-1.7.0/crypto/shared.c 2024-08-24 08:46:22.370068166 +0300 ++++ ngtcp2-1.7.0_/crypto/shared.c 2024-09-04 21:39:30.427538339 +0300 +@@ -22,7 +22,7 @@ + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ +-#include "shared.h" ++#include "ngtcp2_crypto_shared.h" + + #ifdef WIN32 + # include <winsock2.h> diff --git a/contrib/libs/ngtcp2/.yandex_meta/__init__.py b/contrib/libs/ngtcp2/.yandex_meta/__init__.py new file mode 100644 index 0000000000..7c849ca99b --- /dev/null +++ b/contrib/libs/ngtcp2/.yandex_meta/__init__.py @@ -0,0 +1,31 @@ +from devtools.yamaker import fileutil +from devtools.yamaker.project import CMakeNinjaNixProject + + +def post_install(self): + for fname in ["quictls/quictls.c", "shared.c", "shared.h"]: + fileutil.copy([f"{self.srcdir}/crypto/{fname}"], f"{self.dstdir}/lib/") + for fname in ["quictls.c", "shared.c", "shared.h"]: + fileutil.rename(f"{self.dstdir}/lib/{fname}", f"ngtcp2_crypto_{fname}") + for fname in [ + "crypto/includes/ngtcp2/ngtcp2_crypto.h", + "crypto/includes/ngtcp2/ngtcp2_crypto_quictls.h", + "lib/ngtcp2_macro.h", + "lib/ngtcp2_net.h", + ]: + fileutil.copy([f"{self.srcdir}/{fname}"], f"{self.dstdir}/lib/includes/ngtcp2/") + with self.yamakes["."] as m: + m.PEERDIR.add("contrib/libs/openssl") + m.SRCS.add("lib/ngtcp2_crypto_quictls.c") + m.SRCS.add("lib/ngtcp2_crypto_shared.c") + + +ngtcp2 = CMakeNinjaNixProject( + license="MIT", + owners=["g:devtools-contrib", "g:yandex-io"], + nixattr="ngtcp2", + arcdir="contrib/libs/ngtcp2", + disable_includes=["openssl/core_names.h"], + platform_dispatchers=["config.h"], + post_install=post_install, +) diff --git a/contrib/libs/ngtcp2/.yandex_meta/devtools.copyrights.report b/contrib/libs/ngtcp2/.yandex_meta/devtools.copyrights.report new file mode 100644 index 0000000000..13037df63c --- /dev/null +++ b/contrib/libs/ngtcp2/.yandex_meta/devtools.copyrights.report @@ -0,0 +1,274 @@ +# File format ($ symbol means the beginning of a line): +# +# $ # this message +# $ # ======================= +# $ # comments (all commentaries should starts with some number of spaces and # symbol) +# $ IGNORE_FILES {file1.ext1} {file2.ext2} - (optional) ignore listed files when generating license macro and credits +# $ RENAME {original license id} TO {new license id} # user comments - (optional) use {new license id} instead {original license id} in ya.make files +# $ # user comments +# $ +# ${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 0badd8dd1e0fa79a05753bbdaf7b9220 +BELONGS ya.make + License text: + * Copyright (c) 2018 ngtcp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/ngtcp2_cc.c [4:4] + lib/ngtcp2_cc.h [4:4] + lib/ngtcp2_cid.c [4:4] + lib/ngtcp2_cid.h [4:4] + lib/ngtcp2_ksl.c [4:4] + lib/ngtcp2_ksl.h [4:4] + lib/ngtcp2_log.c [4:4] + lib/ngtcp2_log.h [4:4] + lib/ngtcp2_vec.c [4:4] + lib/ngtcp2_vec.h [4:4] + +KEEP COPYRIGHT_SERVICE_LABEL 277b7d2c7033dac98effbf39a0fa11c4 +BELONGS ya.make + License text: + * Copyright (c) 2023 ngtcp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/ngtcp2_conn_stat.h [4:4] + lib/ngtcp2_frame_chain.c [4:4] + lib/ngtcp2_frame_chain.h [4:4] + lib/ngtcp2_pktns_id.h [4:4] + lib/ngtcp2_transport_params.c [4:4] + lib/ngtcp2_transport_params.h [4:4] + lib/ngtcp2_tstamp.h [4:4] + +KEEP COPYRIGHT_SERVICE_LABEL 3782c9399af9718cb85783105b7784ae +BELONGS ya.make + License text: + Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free + Software Foundation, Inc. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + INSTALL [4:5] + +KEEP COPYRIGHT_SERVICE_LABEL 45c763ee42f330d97a4b988bd6ff227d +BELONGS ya.make + License text: + * Copyright (c) 2022 ngtcp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/includes/ngtcp2/ngtcp2_net.h [4:4] + lib/ngtcp2_balloc.c [4:4] + lib/ngtcp2_balloc.h [4:4] + lib/ngtcp2_net.h [4:4] + lib/ngtcp2_objalloc.c [4:4] + lib/ngtcp2_objalloc.h [4:4] + lib/ngtcp2_opl.c [4:4] + lib/ngtcp2_opl.h [4:4] + lib/ngtcp2_pmtud.c [4:4] + lib/ngtcp2_pmtud.h [4:4] + lib/ngtcp2_unreachable.c [4:4] + lib/ngtcp2_unreachable.h [4:4] + +KEEP COPYRIGHT_SERVICE_LABEL 4f1d12ee611509dda7cf5d5cbd920f3a +BELONGS ya.make + License text: + * Copyright (c) 2021 ngtcp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/ngtcp2_bbr.c [4:4] + lib/ngtcp2_bbr.h [4:4] + lib/ngtcp2_window_filter.c [4:4] + lib/ngtcp2_window_filter.h [4:4] + +KEEP COPYRIGHT_SERVICE_LABEL 58664e40c9f8424ff9aaf888f8b2814d +BELONGS ya.make + License text: + Copyright (c) 2016 ngtcp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + COPYING [3:3] + README.rst [355:355] + lib/includes/ngtcp2/version.h [4:4] + +KEEP COPYRIGHT_SERVICE_LABEL 94b9ad611aac02e9c9d2f6105f7ab5f2 +BELONGS ya.make + License text: + * Copyright (c) 2024 ngtcp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/ngtcp2_settings.c [4:4] + lib/ngtcp2_settings.h [4:4] + +KEEP COPYRIGHT_SERVICE_LABEL b9bce4a8047145ca716cda7c1ba12739 +BELONGS ya.make + License text: + * Copyright (c) 2017 ngtcp2 contributors + * Copyright (c) 2017 nghttp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/includes/ngtcp2/ngtcp2.h [4:5] + +KEEP COPYRIGHT_SERVICE_LABEL bc545ae6368aee638646db325e41a41c +BELONGS ya.make + License text: + * Copyright (c) 2017 ngtcp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/includes/ngtcp2/ngtcp2.h [4:5] + lib/includes/ngtcp2/ngtcp2_macro.h [4:4] + lib/ngtcp2_acktr.c [4:4] + lib/ngtcp2_acktr.h [4:4] + lib/ngtcp2_buf.c [4:4] + lib/ngtcp2_buf.h [4:4] + lib/ngtcp2_conn.c [4:4] + lib/ngtcp2_conn.h [4:4] + lib/ngtcp2_conv.c [4:4] + lib/ngtcp2_conv.h [4:4] + lib/ngtcp2_crypto.c [4:4] + lib/ngtcp2_crypto.h [4:4] + lib/ngtcp2_err.c [4:4] + lib/ngtcp2_err.h [4:4] + lib/ngtcp2_gaptr.c [4:4] + lib/ngtcp2_gaptr.h [4:4] + lib/ngtcp2_idtr.c [4:4] + lib/ngtcp2_idtr.h [4:4] + lib/ngtcp2_macro.h [4:4] + lib/ngtcp2_map.c [4:5] + lib/ngtcp2_map.h [4:5] + lib/ngtcp2_mem.c [4:5] + lib/ngtcp2_mem.h [4:5] + lib/ngtcp2_pkt.c [4:4] + lib/ngtcp2_pkt.h [4:4] + lib/ngtcp2_ppe.c [4:4] + lib/ngtcp2_ppe.h [4:4] + lib/ngtcp2_pq.c [4:5] + lib/ngtcp2_pq.h [4:5] + lib/ngtcp2_range.c [4:4] + lib/ngtcp2_range.h [4:4] + lib/ngtcp2_ringbuf.c [4:4] + lib/ngtcp2_ringbuf.h [4:4] + lib/ngtcp2_rob.c [4:4] + lib/ngtcp2_rob.h [4:4] + lib/ngtcp2_rtb.c [4:4] + lib/ngtcp2_rtb.h [4:4] + lib/ngtcp2_str.c [4:4] + lib/ngtcp2_str.h [4:4] + lib/ngtcp2_strm.c [4:4] + lib/ngtcp2_strm.h [4:4] + +KEEP COPYRIGHT_SERVICE_LABEL c812bfe524d8bc74ad8cf40a45902020 +BELONGS ya.make + License text: + * Copyright (c) 2017 ngtcp2 contributors + * Copyright (c) 2012 nghttp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/ngtcp2_map.c [4:5] + lib/ngtcp2_map.h [4:5] + lib/ngtcp2_pq.c [4:5] + lib/ngtcp2_pq.h [4:5] + +KEEP COPYRIGHT_SERVICE_LABEL d8ca50c11a8cd311a31e6462c4b42555 +BELONGS ya.make + License text: + * Copyright (c) 2017 ngtcp2 contributors + * Copyright (c) 2014 nghttp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/ngtcp2_mem.c [4:5] + lib/ngtcp2_mem.h [4:5] + +KEEP COPYRIGHT_SERVICE_LABEL ed9787b1511b75f8534d2b25efbe271c +BELONGS ya.make + License text: + * // Copyright (c) 2016 The Chromium Authors. All rights reserved. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/ngtcp2_window_filter.c [31:31] + lib/ngtcp2_window_filter.h [31:31] + +KEEP COPYRIGHT_SERVICE_LABEL f467e93f3d8b0ebd3dc4ff1696f09048 +BELONGS ya.make + License text: + * Copyright (c) 2019 ngtcp2 contributors + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + lib/includes/ngtcp2/ngtcp2_crypto.h [4:4] + lib/includes/ngtcp2/ngtcp2_crypto_quictls.h [4:4] + lib/ngtcp2_addr.c [4:4] + lib/ngtcp2_addr.h [4:4] + lib/ngtcp2_crypto_quictls.c [4:4] + lib/ngtcp2_crypto_shared.c [4:4] + lib/ngtcp2_crypto_shared.h [4:4] + lib/ngtcp2_path.c [4:4] + lib/ngtcp2_path.h [4:4] + lib/ngtcp2_pv.c [4:4] + lib/ngtcp2_pv.h [4:4] + lib/ngtcp2_qlog.c [4:4] + lib/ngtcp2_qlog.h [4:4] + lib/ngtcp2_rcvry.h [4:4] + lib/ngtcp2_rst.c [4:4] + lib/ngtcp2_rst.h [4:4] + lib/ngtcp2_version.c [4:4] diff --git a/contrib/libs/ngtcp2/.yandex_meta/devtools.licenses.report b/contrib/libs/ngtcp2/.yandex_meta/devtools.licenses.report new file mode 100644 index 0000000000..12434f6ac9 --- /dev/null +++ b/contrib/libs/ngtcp2/.yandex_meta/devtools.licenses.report @@ -0,0 +1,202 @@ +# File format ($ symbol means the beginning of a line): +# +# $ # this message +# $ # ======================= +# $ # comments (all commentaries should starts with some number of spaces and # symbol) +# $ IGNORE_FILES {file1.ext1} {file2.ext2} - (optional) ignore listed files when generating license macro and credits +# $ RENAME {original license id} TO {new license id} # user comments - (optional) use {new license id} instead {original license id} in ya.make files +# $ # user comments +# $ +# ${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 MIT 14395d49cccf7dd9c262788c7c3eb609 +BELONGS ya.make +FILE_INCLUDE AUTHORS found in files: COPYING 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: + COPYING [5:22] + +KEEP BSD-3-Clause 720be7eb831bfde6b4599190542bfa9a +BELONGS ya.make + License text: + * // Use of this source code is governed by a BSD-style license that can be + * // found in the LICENSE file. + Scancode info: + Original SPDX id: BSD-3-Clause + Score : 90.00 + Match type : NOTICE + Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause + Files with this license: + lib/ngtcp2_window_filter.c [32:33] + lib/ngtcp2_window_filter.h [32:33] + +KEEP MIT 8c6b397cbef46628bea401075e15b1d5 +BELONGS ya.make + License text: + The 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: + COPYING [1:1] + +KEEP MIT a00cb0c2918046e6e350bbe37dc87fff +BELONGS ya.make + License text: + License + ------- + The MIT License + 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.rst [350:353] + +KEEP MIT a3a8f7feced3937b87cd090ba748e24b +BELONGS ya.make +FILE_INCLUDE AUTHORS found in files: lib/includes/ngtcp2/ngtcp2.h at line 21, lib/includes/ngtcp2/ngtcp2_crypto.h at line 20, lib/includes/ngtcp2/ngtcp2_crypto_quictls.h at line 20, lib/includes/ngtcp2/ngtcp2_macro.h at line 20, lib/includes/ngtcp2/ngtcp2_net.h at line 20, lib/includes/ngtcp2/version.h at line 20, lib/ngtcp2_acktr.c at line 20, lib/ngtcp2_acktr.h at line 20, lib/ngtcp2_addr.c at line 20, lib/ngtcp2_addr.h at line 20, lib/ngtcp2_balloc.c at line 20, lib/ngtcp2_balloc.h at line 20, lib/ngtcp2_bbr.c at line 20, lib/ngtcp2_bbr.h at line 20, lib/ngtcp2_buf.c at line 20, lib/ngtcp2_buf.h at line 20, lib/ngtcp2_cc.c at line 20, lib/ngtcp2_cc.h at line 20, lib/ngtcp2_cid.c at line 20, lib/ngtcp2_cid.h at line 20, lib/ngtcp2_conn.c at line 20, lib/ngtcp2_conn.h at line 20, lib/ngtcp2_conn_stat.h at line 20, lib/ngtcp2_conv.c at line 20, lib/ngtcp2_conv.h at line 20, lib/ngtcp2_crypto.c at line 20, lib/ngtcp2_crypto.h at line 20, lib/ngtcp2_crypto_quictls.c at line 20, lib/ngtcp2_crypto_shared.c at line 20, lib/ngtcp2_crypto_shared.h at line 20, lib/ngtcp2_err.c at line 20, lib/ngtcp2_err.h at line 20, lib/ngtcp2_frame_chain.c at line 20, lib/ngtcp2_frame_chain.h at line 20, lib/ngtcp2_gaptr.c at line 20, lib/ngtcp2_gaptr.h at line 20, lib/ngtcp2_idtr.c at line 20, lib/ngtcp2_idtr.h at line 20, lib/ngtcp2_ksl.c at line 20, lib/ngtcp2_ksl.h at line 20, lib/ngtcp2_log.c at line 20, lib/ngtcp2_log.h at line 20, lib/ngtcp2_macro.h at line 20, lib/ngtcp2_map.c at line 21, lib/ngtcp2_map.h at line 21, lib/ngtcp2_mem.c at line 21, lib/ngtcp2_mem.h at line 21, lib/ngtcp2_net.h at line 20, lib/ngtcp2_objalloc.c at line 20, lib/ngtcp2_objalloc.h at line 20, lib/ngtcp2_opl.c at line 20, lib/ngtcp2_opl.h at line 20, lib/ngtcp2_path.c at line 20, lib/ngtcp2_path.h at line 20, lib/ngtcp2_pkt.c at line 20, lib/ngtcp2_pkt.h at line 20, lib/ngtcp2_pktns_id.h at line 20, lib/ngtcp2_pmtud.c at line 20, lib/ngtcp2_pmtud.h at line 20, lib/ngtcp2_ppe.c at line 20, lib/ngtcp2_ppe.h at line 20, lib/ngtcp2_pq.c at line 21, lib/ngtcp2_pq.h at line 21, lib/ngtcp2_pv.c at line 20, lib/ngtcp2_pv.h at line 20, lib/ngtcp2_qlog.c at line 20, lib/ngtcp2_qlog.h at line 20, lib/ngtcp2_range.c at line 20, lib/ngtcp2_range.h at line 20, lib/ngtcp2_rcvry.h at line 20, lib/ngtcp2_ringbuf.c at line 20, lib/ngtcp2_ringbuf.h at line 20, lib/ngtcp2_rob.c at line 20, lib/ngtcp2_rob.h at line 20, lib/ngtcp2_rst.c at line 20, lib/ngtcp2_rst.h at line 20, lib/ngtcp2_rtb.c at line 20, lib/ngtcp2_rtb.h at line 20, lib/ngtcp2_settings.c at line 20, lib/ngtcp2_settings.h at line 20, lib/ngtcp2_str.c at line 20, lib/ngtcp2_str.h at line 20, lib/ngtcp2_strm.c at line 20, lib/ngtcp2_strm.h at line 20, lib/ngtcp2_transport_params.c at line 20, lib/ngtcp2_transport_params.h at line 20, lib/ngtcp2_tstamp.h at line 20, lib/ngtcp2_unreachable.c at line 20, lib/ngtcp2_unreachable.h at line 20, lib/ngtcp2_vec.c at line 20, lib/ngtcp2_vec.h at line 20, lib/ngtcp2_version.c at line 20, lib/ngtcp2_window_filter.c at line 20, lib/ngtcp2_window_filter.h at line 20 + 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: + lib/includes/ngtcp2/ngtcp2.h [7:24] + lib/includes/ngtcp2/ngtcp2_crypto.h [6:23] + lib/includes/ngtcp2/ngtcp2_crypto_quictls.h [6:23] + lib/includes/ngtcp2/ngtcp2_macro.h [6:23] + lib/includes/ngtcp2/ngtcp2_net.h [6:23] + lib/includes/ngtcp2/version.h [6:23] + lib/ngtcp2_acktr.c [6:23] + lib/ngtcp2_acktr.h [6:23] + lib/ngtcp2_addr.c [6:23] + lib/ngtcp2_addr.h [6:23] + lib/ngtcp2_balloc.c [6:23] + lib/ngtcp2_balloc.h [6:23] + lib/ngtcp2_bbr.c [6:23] + lib/ngtcp2_bbr.h [6:23] + lib/ngtcp2_buf.c [6:23] + lib/ngtcp2_buf.h [6:23] + lib/ngtcp2_cc.c [6:23] + lib/ngtcp2_cc.h [6:23] + lib/ngtcp2_cid.c [6:23] + lib/ngtcp2_cid.h [6:23] + lib/ngtcp2_conn.c [6:23] + lib/ngtcp2_conn.h [6:23] + lib/ngtcp2_conn_stat.h [6:23] + lib/ngtcp2_conv.c [6:23] + lib/ngtcp2_conv.h [6:23] + lib/ngtcp2_crypto.c [6:23] + lib/ngtcp2_crypto.h [6:23] + lib/ngtcp2_crypto_quictls.c [6:23] + lib/ngtcp2_crypto_shared.c [6:23] + lib/ngtcp2_crypto_shared.h [6:23] + lib/ngtcp2_err.c [6:23] + lib/ngtcp2_err.h [6:23] + lib/ngtcp2_frame_chain.c [6:23] + lib/ngtcp2_frame_chain.h [6:23] + lib/ngtcp2_gaptr.c [6:23] + lib/ngtcp2_gaptr.h [6:23] + lib/ngtcp2_idtr.c [6:23] + lib/ngtcp2_idtr.h [6:23] + lib/ngtcp2_ksl.c [6:23] + lib/ngtcp2_ksl.h [6:23] + lib/ngtcp2_log.c [6:23] + lib/ngtcp2_log.h [6:23] + lib/ngtcp2_macro.h [6:23] + lib/ngtcp2_map.c [7:24] + lib/ngtcp2_map.h [7:24] + lib/ngtcp2_mem.c [7:24] + lib/ngtcp2_mem.h [7:24] + lib/ngtcp2_net.h [6:23] + lib/ngtcp2_objalloc.c [6:23] + lib/ngtcp2_objalloc.h [6:23] + lib/ngtcp2_opl.c [6:23] + lib/ngtcp2_opl.h [6:23] + lib/ngtcp2_path.c [6:23] + lib/ngtcp2_path.h [6:23] + lib/ngtcp2_pkt.c [6:23] + lib/ngtcp2_pkt.h [6:23] + lib/ngtcp2_pktns_id.h [6:23] + lib/ngtcp2_pmtud.c [6:23] + lib/ngtcp2_pmtud.h [6:23] + lib/ngtcp2_ppe.c [6:23] + lib/ngtcp2_ppe.h [6:23] + lib/ngtcp2_pq.c [7:24] + lib/ngtcp2_pq.h [7:24] + lib/ngtcp2_pv.c [6:23] + lib/ngtcp2_pv.h [6:23] + lib/ngtcp2_qlog.c [6:23] + lib/ngtcp2_qlog.h [6:23] + lib/ngtcp2_range.c [6:23] + lib/ngtcp2_range.h [6:23] + lib/ngtcp2_rcvry.h [6:23] + lib/ngtcp2_ringbuf.c [6:23] + lib/ngtcp2_ringbuf.h [6:23] + lib/ngtcp2_rob.c [6:23] + lib/ngtcp2_rob.h [6:23] + lib/ngtcp2_rst.c [6:23] + lib/ngtcp2_rst.h [6:23] + lib/ngtcp2_rtb.c [6:23] + lib/ngtcp2_rtb.h [6:23] + lib/ngtcp2_settings.c [6:23] + lib/ngtcp2_settings.h [6:23] + lib/ngtcp2_str.c [6:23] + lib/ngtcp2_str.h [6:23] + lib/ngtcp2_strm.c [6:23] + lib/ngtcp2_strm.h [6:23] + lib/ngtcp2_transport_params.c [6:23] + lib/ngtcp2_transport_params.h [6:23] + lib/ngtcp2_tstamp.h [6:23] + lib/ngtcp2_unreachable.c [6:23] + lib/ngtcp2_unreachable.h [6:23] + lib/ngtcp2_vec.c [6:23] + lib/ngtcp2_vec.h [6:23] + lib/ngtcp2_version.c [6:23] + lib/ngtcp2_window_filter.c [6:23] + lib/ngtcp2_window_filter.h [6:23] + +KEEP FSFAP d02cc4799cbd521d2aa8c3ff19e655f6 +BELONGS ya.make + Note: matched license text is too long. Read it in the source files. + Scancode info: + Original SPDX id: FSFAP + Score : 100.00 + Match type : TEXT + Links : http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html, https://spdx.org/licenses/FSFAP + Files with this license: + INSTALL [7:10] diff --git a/contrib/libs/ngtcp2/.yandex_meta/licenses.list.txt b/contrib/libs/ngtcp2/.yandex_meta/licenses.list.txt new file mode 100644 index 0000000000..ec8c3e3f37 --- /dev/null +++ b/contrib/libs/ngtcp2/.yandex_meta/licenses.list.txt @@ -0,0 +1,184 @@ +====================BSD-3-Clause==================== + * // Use of this source code is governed by a BSD-style license that can be + * // found in the LICENSE file. + + +====================COPYRIGHT==================== + Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free +Software Foundation, Inc. + + +====================COPYRIGHT==================== + * // Copyright (c) 2016 The Chromium Authors. All rights reserved. + + +====================COPYRIGHT==================== + * Copyright (c) 2017 ngtcp2 contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2017 ngtcp2 contributors + * Copyright (c) 2012 nghttp2 contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2017 ngtcp2 contributors + * Copyright (c) 2014 nghttp2 contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2017 ngtcp2 contributors + * Copyright (c) 2017 nghttp2 contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2018 ngtcp2 contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2019 ngtcp2 contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2021 ngtcp2 contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2022 ngtcp2 contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2023 ngtcp2 contributors + + +====================COPYRIGHT==================== + * Copyright (c) 2024 ngtcp2 contributors + + +====================COPYRIGHT==================== +Copyright (c) 2016 ngtcp2 contributors + + +====================FSFAP==================== + Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. This file is offered as-is, +without warranty of any kind. + + +====================File: AUTHORS==================== +Alexis La Goutte +Amir Livneh +Anna Henningsen +Atle Solbakken +Bas van den Berg +Billy Robert O'Neal III +Bruno S Marques +Bryan Call +Cheng Zhao +Daan De Meyer +Daiki Ueno +Daniel Bevenius +Daniel Stenberg +Dave Reisner +Don +Don Olmstead +Frédéric Lécaille +Félix Dagenais +Irina Guberman +James M Snell +Jason Rhinelander +Javier Blazquez +Jay Satiro +Jean-Philippe Boivin +Jiawen Geng +Junqi Wang +Karthikdasari0423 +Kazu Yamamoto +Ken-ichi ICHINO +Kenjiro Nakayama +Lars Eggert +Liang Ma +Marin Rukavina +Mark Chiou +Martin Thomson +Michael White +Moritz Buhl +NKTelnet +Natris +Nishant Nori +Patrick Griffis +Peter Wu +Samuel Henrique +Stefan Eissing +Tal Regev +Tatsuhiro Tsujikawa +Tim Gates +Tomas Mraz +Toni Uhlig +Valère Plantevin +Victor Loh +Viktor Szakats +Your Name +Zizhong Zhang +flx413 +hondaxiao +hyunjic +junqiw +msoxzw +nickfajones +rhoxn +scw00 +shibin k v + + +====================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 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==================== +License +------- + +The 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 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==================== +The MIT License diff --git a/contrib/libs/ngtcp2/.yandex_meta/override.nix b/contrib/libs/ngtcp2/.yandex_meta/override.nix new file mode 100644 index 0000000000..3f250b774b --- /dev/null +++ b/contrib/libs/ngtcp2/.yandex_meta/override.nix @@ -0,0 +1,20 @@ +pkgs: attrs: with pkgs; rec { + name = "ngtcp2"; + version = "1.8.1"; + + nativeBuildInputs = [ + autoreconfHook cmake pkg-config autoconf libtool automake openssl + ]; + + # without this nix tries to fetch and build quictls + buildInputs = [ ]; + + src = fetchurl { + url = "https://github.com/ngtcp2/ngtcp2/releases/download/v${version}/ngtcp2-${version}.tar.xz"; + hash = "sha256-rIRKees/FT5Mzc/szt9CxXqzUruKuS7IrF00F6ec+xE="; + }; + + patches = [ + ./001_crypto_includes.patch + ]; +} |