aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/zstd/.yandex_meta
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/zstd/.yandex_meta
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
downloadydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/zstd/.yandex_meta')
-rw-r--r--contrib/libs/zstd/.yandex_meta/__init__.py77
-rw-r--r--contrib/libs/zstd/.yandex_meta/devtools.copyrights.report338
-rw-r--r--contrib/libs/zstd/.yandex_meta/devtools.licenses.report570
-rw-r--r--contrib/libs/zstd/.yandex_meta/licenses.list.txt902
-rw-r--r--contrib/libs/zstd/.yandex_meta/override.nix21
5 files changed, 1908 insertions, 0 deletions
diff --git a/contrib/libs/zstd/.yandex_meta/__init__.py b/contrib/libs/zstd/.yandex_meta/__init__.py
new file mode 100644
index 0000000000..feb0a17876
--- /dev/null
+++ b/contrib/libs/zstd/.yandex_meta/__init__.py
@@ -0,0 +1,77 @@
+import os
+
+from devtools.yamaker import fileutil
+from devtools.yamaker.modules import Switch, Linkable
+from devtools.yamaker.project import CMakeNinjaNixProject
+
+
+def post_install(self):
+ with self.yamakes["."] as libzstd:
+ # Unbundle xxhash.
+ fileutil.re_sub_dir(self.dstdir, '"([^"]*/)?xxhash.h"', "<contrib/libs/xxhash/xxhash.h>")
+ libzstd.CFLAGS.remove("-DXXH_NAMESPACE=ZSTD_")
+ libzstd.SRCS.remove("lib/common/xxhash.c")
+ libzstd.PEERDIR.add("contrib/libs/xxhash")
+
+ os.remove(f"{self.dstdir}/lib/common/xxhash.h")
+ os.remove(f"{self.dstdir}/lib/common/xxhash.c")
+
+ # Enable runtime-dispatching for bmi2
+ libzstd.SRCS.remove("lib/decompress/huf_decompress_amd64.S")
+ libzstd.after(
+ "CFLAGS",
+ Switch(
+ {
+ "ARCH_X86_64 AND NOT MSVC": Linkable(
+ CFLAGS=["-DDYNAMIC_BMI2"],
+ SRCS=["lib/decompress/huf_decompress_amd64.S"],
+ )
+ }
+ ),
+ )
+
+ with self.yamakes["programs/zstd"] as zstd:
+ zstd.CFLAGS.remove("-DXXH_NAMESPACE=ZSTD_")
+
+ # Update version stored in python binding
+ # (we have to update two different files for py2 and py3 correspondingly)
+ version_as_number = self.version.replace(".", "0")
+ fileutil.re_sub_file(
+ f"{self.ctx.arc}/contrib/python/zstandard/py2/zstd.c",
+ r"(ZSTD_VERSION_NUMBER != )[0-9]+( \|\| ZSTD_versionNumber\(\) != )[0-9]+",
+ r"\g<1>{v}\g<2>{v}".format(v=version_as_number),
+ )
+ fileutil.re_sub_file(
+ f"{self.ctx.arc}/contrib/python/zstandard/py3/c-ext/backend_c.c",
+ r"unsigned our_hardcoded_version = [0-9]+;",
+ rf"unsigned our_hardcoded_version = {version_as_number};",
+ )
+
+
+zstd = CMakeNinjaNixProject(
+ owners=["g:cpp-contrib"],
+ arcdir="contrib/libs/zstd",
+ nixattr="zstd",
+ build_subdir="build_",
+ install_targets=["zstd", "programs/zstd"],
+ put={
+ "zstd": ".",
+ "Program zstd": "programs/zstd",
+ },
+ disable_includes=[
+ # our zstd is built without other codecs support
+ "lz4.h",
+ "lz4frame.h",
+ "lzma.h",
+ "zlib.h",
+ ],
+ inclink={
+ # list of public headers, obtained from `dpkg -L libzstd-dev`
+ "include": [
+ "lib/zstd_errors.h",
+ "lib/zdict.h",
+ "lib/zstd.h",
+ ],
+ },
+ post_install=post_install,
+)
diff --git a/contrib/libs/zstd/.yandex_meta/devtools.copyrights.report b/contrib/libs/zstd/.yandex_meta/devtools.copyrights.report
new file mode 100644
index 0000000000..d601c34e69
--- /dev/null
+++ b/contrib/libs/zstd/.yandex_meta/devtools.copyrights.report
@@ -0,0 +1,338 @@
+# 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 60dedc50df2dfbb5803ab8c06c37b2b7
+BELONGS ya.make
+ License text:
+ Copyright (C) 2015-2016, Yann Collet.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/legacy/zstd_v04.c [2346:2346]
+ lib/legacy/zstd_v05.c [3702:3702]
+ lib/legacy/zstd_v06.c [2621:2621]
+ lib/legacy/zstd_v06.c [3841:3841]
+ lib/legacy/zstd_v07.c [2523:2523]
+ lib/legacy/zstd_v07.c [4202:4202]
+
+KEEP COPYRIGHT_SERVICE_LABEL 62d56644cdf8ece55fd332ea0e910023
+BELONGS ya.make
+ License text:
+ * Copyright (c) Yann Collet, Meta Platforms, Inc. and affiliates.
+ * All rights reserved.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/legacy/zstd_v01.c [2:3]
+ lib/legacy/zstd_v01.h [2:3]
+ lib/legacy/zstd_v02.c [2:3]
+ lib/legacy/zstd_v02.h [2:3]
+ lib/legacy/zstd_v03.c [2:3]
+ lib/legacy/zstd_v03.h [2:3]
+ lib/legacy/zstd_v04.c [2:3]
+ lib/legacy/zstd_v04.h [2:3]
+ lib/legacy/zstd_v05.c [2:3]
+ lib/legacy/zstd_v05.h [2:3]
+ lib/legacy/zstd_v06.c [2:3]
+ lib/legacy/zstd_v06.h [2:3]
+ lib/legacy/zstd_v07.c [2:3]
+ lib/legacy/zstd_v07.h [2:3]
+
+KEEP COPYRIGHT_SERVICE_LABEL 668fd951f1189c73b184ffc4a46a38ef
+BELONGS ya.make
+ License text:
+ * Copyright (c) 2016 Tino Reichardt
+ * All rights reserved.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/common/threading.c [2:3]
+ lib/common/threading.h [2:3]
+
+KEEP COPYRIGHT_SERVICE_LABEL 7731ae09d39c3540c9ba235033acee11
+BELONGS ya.make
+ License text:
+ Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ LICENSE [5:5]
+ lib/common/allocations.h [2:3]
+ lib/common/bits.h [2:3]
+ lib/common/bitstream.h [4:4]
+ lib/common/compiler.h [2:3]
+ lib/common/cpu.h [2:3]
+ lib/common/debug.c [4:4]
+ lib/common/debug.h [4:4]
+ lib/common/entropy_common.c [3:3]
+ lib/common/error_private.c [2:3]
+ lib/common/error_private.h [2:3]
+ lib/common/fse.h [4:4]
+ lib/common/fse_decompress.c [3:3]
+ lib/common/huf.h [4:4]
+ lib/common/mem.h [2:3]
+ lib/common/pool.c [2:3]
+ lib/common/pool.h [2:3]
+ lib/common/portability_macros.h [2:3]
+ lib/common/zstd_common.c [2:3]
+ lib/common/zstd_deps.h [2:3]
+ lib/common/zstd_internal.h [2:3]
+ lib/common/zstd_trace.h [2:3]
+ lib/compress/clevels.h [2:3]
+ lib/compress/fse_compress.c [3:3]
+ lib/compress/hist.c [4:4]
+ lib/compress/hist.h [4:4]
+ lib/compress/huf_compress.c [3:3]
+ lib/compress/zstd_compress.c [2:3]
+ lib/compress/zstd_compress_internal.h [2:3]
+ lib/compress/zstd_compress_literals.c [2:3]
+ lib/compress/zstd_compress_literals.h [2:3]
+ lib/compress/zstd_compress_sequences.c [2:3]
+ lib/compress/zstd_compress_sequences.h [2:3]
+ lib/compress/zstd_compress_superblock.c [2:3]
+ lib/compress/zstd_compress_superblock.h [2:3]
+ lib/compress/zstd_cwksp.h [2:3]
+ lib/compress/zstd_double_fast.c [2:3]
+ lib/compress/zstd_double_fast.h [2:3]
+ lib/compress/zstd_fast.c [2:3]
+ lib/compress/zstd_fast.h [2:3]
+ lib/compress/zstd_lazy.c [2:3]
+ lib/compress/zstd_lazy.h [2:3]
+ lib/compress/zstd_ldm.c [2:3]
+ lib/compress/zstd_ldm.h [2:3]
+ lib/compress/zstd_ldm_geartab.h [2:3]
+ lib/compress/zstd_opt.c [2:3]
+ lib/compress/zstd_opt.h [2:3]
+ lib/compress/zstdmt_compress.c [2:3]
+ lib/compress/zstdmt_compress.h [2:3]
+ lib/decompress/huf_decompress.c [4:4]
+ lib/decompress/huf_decompress_amd64.S [2:3]
+ lib/decompress/zstd_ddict.c [2:3]
+ lib/decompress/zstd_ddict.h [2:3]
+ lib/decompress/zstd_decompress.c [2:3]
+ lib/decompress/zstd_decompress_block.c [2:3]
+ lib/decompress/zstd_decompress_block.h [2:3]
+ lib/decompress/zstd_decompress_internal.h [2:3]
+ lib/dictBuilder/cover.c [2:3]
+ lib/dictBuilder/cover.h [2:3]
+ lib/dictBuilder/fastcover.c [2:3]
+ lib/dictBuilder/zdict.c [2:3]
+ lib/legacy/zstd_legacy.h [2:3]
+ lib/zdict.h [2:3]
+ lib/zstd.h [2:3]
+ lib/zstd_errors.h [2:3]
+ programs/benchfn.c [2:3]
+ programs/benchfn.h [2:3]
+ programs/benchzstd.c [2:3]
+ programs/benchzstd.h [2:3]
+ programs/datagen.c [2:3]
+ programs/datagen.h [2:3]
+ programs/dibio.c [2:3]
+ programs/dibio.h [2:3]
+ programs/fileio.c [2:3]
+ programs/fileio.h [2:3]
+ programs/fileio_asyncio.c [2:3]
+ programs/fileio_asyncio.h [2:3]
+ programs/fileio_common.h [2:3]
+ programs/fileio_types.h [2:3]
+ programs/lorem.c [2:3]
+ programs/lorem.h [2:3]
+ programs/platform.h [2:3]
+ programs/timefn.c [2:3]
+ programs/timefn.h [2:3]
+ programs/util.c [2:3]
+ programs/util.h [2:3]
+ programs/zstdcli.c [2:3]
+ programs/zstdcli_trace.c [2:3]
+ programs/zstdcli_trace.h [2:3]
+
+KEEP COPYRIGHT_SERVICE_LABEL 8cf91579d8cb4087b6bd775cd2b2bbed
+BELONGS ya.make
+ License text:
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ COPYING [4:6]
+
+KEEP COPYRIGHT_SERVICE_LABEL 9bac3c97130abc8c870f82482a080ad5
+BELONGS ya.make
+ License text:
+ Copyright (C) 2016, Yann Collet.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/legacy/zstd_v06.c [1155:1155]
+ lib/legacy/zstd_v07.c [1097:1097]
+
+KEEP COPYRIGHT_SERVICE_LABEL a1d9cf517686e50d319a872a6c8ceea3
+BELONGS ya.make
+ License text:
+ Copyright (C) 2015, Yann Collet.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/legacy/zstd_v04.c [3235:3235]
+
+KEEP COPYRIGHT_SERVICE_LABEL b744334040298f68f20519b1b14ecb5d
+BELONGS ya.make
+ License text:
+ Copyright (C) 2014-2016, Yann Collet.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/legacy/zstd_v05.c [211:211]
+ lib/legacy/zstd_v05.c [347:347]
+ lib/legacy/zstd_v05.c [2496:2496]
+ lib/legacy/zstd_v06.c [226:226]
+ lib/legacy/zstd_v06.c [357:357]
+ lib/legacy/zstd_v06.c [2675:2675]
+ lib/legacy/zstd_v07.c [2593:2593]
+ lib/legacy/zstd_v07.c [2800:2800]
+
+KEEP COPYRIGHT_SERVICE_LABEL bfa11679e8aa9dec874dae4956c4fb1a
+BELONGS ya.make
+ License text:
+ * Copyright (c) 2003-2008 Yuta Mori All Rights Reserved.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/dictBuilder/divsufsort.c [3:3]
+ lib/dictBuilder/divsufsort.h [3:3]
+
+KEEP COPYRIGHT_SERVICE_LABEL c0a580767e4df988cbeb3a33fe57d251
+BELONGS ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ COPYING [251:256]
+
+KEEP COPYRIGHT_SERVICE_LABEL cfb0456e9480cfa370c877a39f68162c
+BELONGS ya.make
+ License text:
+ Copyright (C) 2013-2016, Yann Collet.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/legacy/zstd_v05.c [621:621]
+ lib/legacy/zstd_v05.c [1486:1486]
+ lib/legacy/zstd_v05.c [1559:1559]
+ lib/legacy/zstd_v06.c [564:564]
+ lib/legacy/zstd_v06.c [712:712]
+ lib/legacy/zstd_v06.c [1624:1624]
+ lib/legacy/zstd_v06.c [1694:1694]
+ lib/legacy/zstd_v06.c [1876:1876]
+ lib/legacy/zstd_v07.c [385:385]
+ lib/legacy/zstd_v07.c [616:616]
+ lib/legacy/zstd_v07.c [924:924]
+ lib/legacy/zstd_v07.c [1645:1645]
+
+KEEP COPYRIGHT_SERVICE_LABEL f2757a06c2b7cab0410e36b6ed9d6545
+BELONGS ya.make
+ License text:
+ Copyright (C) 2014-2015, Yann Collet.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/legacy/zstd_v01.c [1153:1153]
+ lib/legacy/zstd_v02.c [762:762]
+ lib/legacy/zstd_v02.c [822:822]
+ lib/legacy/zstd_v02.c [2549:2549]
+ lib/legacy/zstd_v03.c [762:762]
+ lib/legacy/zstd_v03.c [822:822]
+ lib/legacy/zstd_v03.c [2187:2187]
+
+KEEP COPYRIGHT_SERVICE_LABEL fb8c544d980fd8ff71f2560f301e3908
+BELONGS ya.make
+ License text:
+ Copyright (C) 2013-2015, Yann Collet.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ lib/legacy/zstd_v02.c [30:30]
+ lib/legacy/zstd_v02.c [209:209]
+ lib/legacy/zstd_v02.c [450:450]
+ lib/legacy/zstd_v02.c [549:549]
+ lib/legacy/zstd_v02.c [693:693]
+ lib/legacy/zstd_v02.c [886:886]
+ lib/legacy/zstd_v02.c [1390:1390]
+ lib/legacy/zstd_v03.c [31:31]
+ lib/legacy/zstd_v03.c [210:210]
+ lib/legacy/zstd_v03.c [451:451]
+ lib/legacy/zstd_v03.c [550:550]
+ lib/legacy/zstd_v03.c [694:694]
+ lib/legacy/zstd_v03.c [886:886]
+ lib/legacy/zstd_v03.c [1390:1390]
+ lib/legacy/zstd_v04.c [487:487]
+ lib/legacy/zstd_v04.c [726:726]
+ lib/legacy/zstd_v04.c [875:875]
+ lib/legacy/zstd_v04.c [1381:1381]
+ lib/legacy/zstd_v04.c [1459:1459]
+ lib/legacy/zstd_v04.c [1546:1546]
+ lib/legacy/zstd_v05.c [20:20]
+ lib/legacy/zstd_v05.c [502:502]
+ lib/legacy/zstd_v05.c [850:850]
+ lib/legacy/zstd_v05.c [1000:1000]
+ lib/legacy/zstd_v05.c [1651:1651]
+ lib/legacy/zstd_v06.c [25:25]
+ lib/legacy/zstd_v06.c [947:947]
+ lib/legacy/zstd_v06.c [1300:1300]
+ lib/legacy/zstd_v07.c [186:186]
+ lib/legacy/zstd_v07.c [1321:1321]
diff --git a/contrib/libs/zstd/.yandex_meta/devtools.licenses.report b/contrib/libs/zstd/.yandex_meta/devtools.licenses.report
new file mode 100644
index 0000000000..108cf22ea4
--- /dev/null
+++ b/contrib/libs/zstd/.yandex_meta/devtools.licenses.report
@@ -0,0 +1,570 @@
+# 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
+# =======================
+IGNORE_FILES CHANGELOG
+
+KEEP MIT 04380297db22a888ca5ed52dc9d62896
+BELONGS ya.make
+ 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/dictBuilder/divsufsort.c [5:24]
+ lib/dictBuilder/divsufsort.h [5:24]
+
+KEEP BSD-3-Clause OR GPL-2.0-only 08cc21e89f47b7d754951b372ad6340e
+BELONGS ya.make
+ License text:
+ \## License
+ Zstandard is dual-licensed under [BSD](LICENSE) OR [GPLv2](COPYING).
+ Scancode info:
+ Original SPDX id: BSD-3-Clause
+ Score : 90.91
+ Match type : NOTICE
+ Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause
+ Files with this license:
+ README.md [218:220]
+ Scancode info:
+ Original SPDX id: GPL-2.0-only
+ Score : 90.91
+ Match type : NOTICE
+ Links : http://www.gnu.org/licenses/gpl-2.0.html, http://www.gnu.org/licenses/gpl-2.0.txt, https://spdx.org/licenses/GPL-2.0-only
+ Files with this license:
+ README.md [218:220]
+
+KEEP BSD-3-Clause 3558a3d8190bccbcb77e37475a533262
+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 : 93.39
+ Match type : TEXT
+ Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause
+ Files with this license:
+ LICENSE [1:30]
+
+KEEP "(BSD-3-Clause OR GPL-2.0-only)" 39bba7d2cf0ba1036f2a6e2be52fe3f0
+BELONGS ya.make
+FILE_INCLUDE COPYING found in files: COPYING at line 60
+FILE_INCLUDE LICENSE found in files: COPYING at line 1, COPYING at line 59
+ # We consider that dual-license should be interpreted as OR. The source code explicitly says
+ # You may select, at your option, one of the above-listed licenses.
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: GPL-2.0-only
+ Score : 100.00
+ Match type : TEXT
+ Links : http://www.gnu.org/licenses/gpl-2.0.html, http://www.gnu.org/licenses/gpl-2.0.txt, https://spdx.org/licenses/GPL-2.0-only
+ Files with this license:
+ COPYING [1:339]
+
+KEEP BSD-2-Clause 4297c106811922bb21a828238ae39102
+BELONGS ya.make
+ License text:
+ BSD 2-Clause License (https://opensource.org/licenses/bsd-license.php)
+ Scancode info:
+ Original SPDX id: BSD-2-Clause
+ Score : 100.00
+ Match type : NOTICE
+ Links : http://opensource.org/licenses/bsd-license.php, http://www.opensource.org/licenses/BSD-2-Clause, https://spdx.org/licenses/BSD-2-Clause
+ Files with this license:
+ lib/legacy/zstd_v02.c [32:32]
+ lib/legacy/zstd_v02.c [211:211]
+ lib/legacy/zstd_v02.c [452:452]
+ lib/legacy/zstd_v02.c [551:551]
+ lib/legacy/zstd_v02.c [695:695]
+ lib/legacy/zstd_v02.c [888:888]
+ lib/legacy/zstd_v02.c [1392:1392]
+ lib/legacy/zstd_v03.c [33:33]
+ lib/legacy/zstd_v03.c [212:212]
+ lib/legacy/zstd_v03.c [453:453]
+ lib/legacy/zstd_v03.c [552:552]
+ lib/legacy/zstd_v03.c [696:696]
+ lib/legacy/zstd_v03.c [888:888]
+ lib/legacy/zstd_v03.c [1392:1392]
+ lib/legacy/zstd_v04.c [489:489]
+ lib/legacy/zstd_v04.c [728:728]
+ lib/legacy/zstd_v04.c [877:877]
+ lib/legacy/zstd_v04.c [1383:1383]
+ lib/legacy/zstd_v04.c [1461:1461]
+ lib/legacy/zstd_v04.c [1548:1548]
+ lib/legacy/zstd_v05.c [22:22]
+ lib/legacy/zstd_v05.c [504:504]
+ lib/legacy/zstd_v05.c [623:623]
+ lib/legacy/zstd_v05.c [852:852]
+ lib/legacy/zstd_v05.c [1002:1002]
+ lib/legacy/zstd_v05.c [1488:1488]
+ lib/legacy/zstd_v05.c [1561:1561]
+ lib/legacy/zstd_v05.c [1653:1653]
+ lib/legacy/zstd_v06.c [27:27]
+ lib/legacy/zstd_v06.c [566:566]
+ lib/legacy/zstd_v06.c [714:714]
+ lib/legacy/zstd_v06.c [949:949]
+ lib/legacy/zstd_v06.c [1157:1157]
+ lib/legacy/zstd_v06.c [1302:1302]
+ lib/legacy/zstd_v06.c [1626:1626]
+ lib/legacy/zstd_v06.c [1696:1696]
+ lib/legacy/zstd_v06.c [1878:1878]
+ lib/legacy/zstd_v07.c [188:188]
+ lib/legacy/zstd_v07.c [387:387]
+ lib/legacy/zstd_v07.c [618:618]
+ lib/legacy/zstd_v07.c [926:926]
+ lib/legacy/zstd_v07.c [1099:1099]
+ lib/legacy/zstd_v07.c [1323:1323]
+ lib/legacy/zstd_v07.c [1647:1647]
+
+SKIP LicenseRef-scancode-generic-cla 48655d2ad7a012f625f944caf1f36e00
+BELONGS ya.make
+ # CLA is intended for the code owners, not code users
+ License text:
+ 6. If you haven't already, complete the Contributor License Agreement ("CLA").
+ Scancode info:
+ Original SPDX id: LicenseRef-scancode-generic-cla
+ Score : 22.00
+ Match type : NOTICE
+ Links : https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/generic-cla.LICENSE
+ Files with this license:
+ CONTRIBUTING.md [21:21]
+
+KEEP BSD-2-Clause 6ca0834139eb9247627b34236ec57382
+BELONGS ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: BSD-2-Clause
+ Score : 100.00
+ Match type : TEXT
+ Links : http://opensource.org/licenses/bsd-license.php, http://www.opensource.org/licenses/BSD-2-Clause, https://spdx.org/licenses/BSD-2-Clause
+ Files with this license:
+ lib/legacy/zstd_v01.c [1157:1176]
+ lib/legacy/zstd_v02.c [766:785]
+ lib/legacy/zstd_v02.c [826:845]
+ lib/legacy/zstd_v02.c [2553:2572]
+ lib/legacy/zstd_v03.c [766:785]
+ lib/legacy/zstd_v03.c [826:845]
+ lib/legacy/zstd_v03.c [2191:2210]
+ lib/legacy/zstd_v04.c [2350:2369]
+ lib/legacy/zstd_v04.c [3239:3258]
+ lib/legacy/zstd_v05.c [215:234]
+ lib/legacy/zstd_v05.c [351:370]
+ lib/legacy/zstd_v05.c [2500:2519]
+ lib/legacy/zstd_v05.c [3706:3725]
+ lib/legacy/zstd_v06.c [230:249]
+ lib/legacy/zstd_v06.c [361:380]
+ lib/legacy/zstd_v06.c [2625:2644]
+ lib/legacy/zstd_v06.c [2679:2698]
+ lib/legacy/zstd_v06.c [3845:3864]
+ lib/legacy/zstd_v07.c [2527:2546]
+ lib/legacy/zstd_v07.c [2597:2616]
+ lib/legacy/zstd_v07.c [2804:2823]
+ lib/legacy/zstd_v07.c [4206:4225]
+
+KEEP BSD-2-Clause 6f0749d4986832a1bc037394cb7e6657
+BELONGS ya.make
+ License text:
+ BSD 2-Clause License (https://opensource.org/licenses/bsd-license.php)
+ Scancode info:
+ Original SPDX id: BSD-2-Clause
+ Score : 100.00
+ Match type : NOTICE
+ Links : http://opensource.org/licenses/bsd-license.php, http://www.opensource.org/licenses/BSD-2-Clause, https://spdx.org/licenses/BSD-2-Clause
+ Files with this license:
+ lib/legacy/zstd_v01.c [1155:1155]
+ lib/legacy/zstd_v02.c [764:764]
+ lib/legacy/zstd_v02.c [824:824]
+ lib/legacy/zstd_v02.c [2551:2551]
+ lib/legacy/zstd_v03.c [764:764]
+ lib/legacy/zstd_v03.c [824:824]
+ lib/legacy/zstd_v03.c [2189:2189]
+ lib/legacy/zstd_v04.c [2348:2348]
+ lib/legacy/zstd_v04.c [3237:3237]
+ lib/legacy/zstd_v05.c [213:213]
+ lib/legacy/zstd_v05.c [349:349]
+ lib/legacy/zstd_v05.c [2498:2498]
+ lib/legacy/zstd_v05.c [3704:3704]
+ lib/legacy/zstd_v06.c [228:228]
+ lib/legacy/zstd_v06.c [359:359]
+ lib/legacy/zstd_v06.c [2623:2623]
+ lib/legacy/zstd_v06.c [2677:2677]
+ lib/legacy/zstd_v06.c [3843:3843]
+ lib/legacy/zstd_v07.c [2525:2525]
+ lib/legacy/zstd_v07.c [2595:2595]
+ lib/legacy/zstd_v07.c [2802:2802]
+ lib/legacy/zstd_v07.c [4204:4204]
+
+KEEP "(BSD-2-Clause OR GPL-2.0-only)" 6f7ad0bdd3c593de2e2e20a000feb85f
+BELONGS ya.make
+FILE_INCLUDE COPYING found in files: lib/zdict.h at line 7, lib/zstd.h at line 7
+FILE_INCLUDE LICENSE found in files: lib/zdict.h at line 6, lib/zstd.h at line 6
+ # We consider that dual-license should be interpreted as OR. The source code explicitly says
+ # You may select, at your option, one of the above-listed licenses.
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: BSD-2-Clause
+ Score : 100.00
+ Match type : NOTICE
+ Links : http://opensource.org/licenses/bsd-license.php, http://www.opensource.org/licenses/BSD-2-Clause, https://spdx.org/licenses/BSD-2-Clause
+ Files with this license:
+ lib/zdict.h [5:8]
+ lib/zstd.h [5:8]
+ Scancode info:
+ Original SPDX id: GPL-2.0-only
+ Score : 100.00
+ Match type : NOTICE
+ Links : http://www.gnu.org/licenses/gpl-2.0.html, http://www.gnu.org/licenses/gpl-2.0.txt, https://spdx.org/licenses/GPL-2.0-only
+ Files with this license:
+ lib/zdict.h [5:8]
+ lib/zstd.h [5:8]
+
+SKIP LicenseRef-scancode-generic-cla ad49803b7b931b4ef1a24e5473e3f269
+BELONGS ya.make
+ # CLA is intended for the code owners, not code users
+ License text:
+ \## Contributor License Agreement ("CLA")
+ Scancode info:
+ Original SPDX id: LicenseRef-scancode-generic-cla
+ Score : 22.00
+ Match type : NOTICE
+ Links : https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/generic-cla.LICENSE
+ Files with this license:
+ CONTRIBUTING.md [23:23]
+
+KEEP BSD-3-Clause OR GPL-2.0-only ad9a690b6b45d546beb34637b7d1159c
+BELONGS ya.make
+ License text:
+ This repository represents the reference implementation, provided as an open-source dual [BSD](LICENSE) OR [GPLv2](COPYING) licensed **C** library,
+ Scancode info:
+ Original SPDX id: BSD-3-Clause
+ Score : 76.47
+ Match type : NOTICE
+ Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause
+ Files with this license:
+ README.md [8:8]
+ Scancode info:
+ Original SPDX id: GPL-2.0-only
+ Score : 76.47
+ Match type : NOTICE
+ Links : http://www.gnu.org/licenses/gpl-2.0.html, http://www.gnu.org/licenses/gpl-2.0.txt, https://spdx.org/licenses/GPL-2.0-only
+ Files with this license:
+ README.md [8:8]
+
+KEEP BSD-2-Clause c67981f06ea0c00fcf4c73a2ef8d2c8a
+BELONGS ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: BSD-2-Clause
+ Score : 100.00
+ Match type : TEXT
+ Links : http://opensource.org/licenses/bsd-license.php, http://www.opensource.org/licenses/BSD-2-Clause, https://spdx.org/licenses/BSD-2-Clause
+ Files with this license:
+ lib/legacy/zstd_v02.c [34:55]
+ lib/legacy/zstd_v02.c [213:234]
+ lib/legacy/zstd_v02.c [454:475]
+ lib/legacy/zstd_v02.c [553:574]
+ lib/legacy/zstd_v02.c [697:718]
+ lib/legacy/zstd_v02.c [890:911]
+ lib/legacy/zstd_v02.c [1394:1415]
+ lib/legacy/zstd_v03.c [35:56]
+ lib/legacy/zstd_v03.c [214:235]
+ lib/legacy/zstd_v03.c [455:476]
+ lib/legacy/zstd_v03.c [554:575]
+ lib/legacy/zstd_v03.c [698:719]
+ lib/legacy/zstd_v03.c [890:911]
+ lib/legacy/zstd_v03.c [1394:1415]
+ lib/legacy/zstd_v04.c [491:512]
+ lib/legacy/zstd_v04.c [730:751]
+ lib/legacy/zstd_v04.c [879:900]
+ lib/legacy/zstd_v04.c [1385:1406]
+ lib/legacy/zstd_v04.c [1463:1484]
+ lib/legacy/zstd_v04.c [1550:1571]
+ lib/legacy/zstd_v05.c [24:45]
+ lib/legacy/zstd_v05.c [506:527]
+ lib/legacy/zstd_v05.c [625:646]
+ lib/legacy/zstd_v05.c [854:875]
+ lib/legacy/zstd_v05.c [1004:1025]
+ lib/legacy/zstd_v05.c [1490:1511]
+ lib/legacy/zstd_v05.c [1563:1584]
+ lib/legacy/zstd_v05.c [1655:1676]
+ lib/legacy/zstd_v06.c [29:50]
+ lib/legacy/zstd_v06.c [568:589]
+ lib/legacy/zstd_v06.c [716:737]
+ lib/legacy/zstd_v06.c [951:972]
+ lib/legacy/zstd_v06.c [1159:1180]
+ lib/legacy/zstd_v06.c [1304:1325]
+ lib/legacy/zstd_v06.c [1628:1649]
+ lib/legacy/zstd_v06.c [1698:1719]
+ lib/legacy/zstd_v06.c [1880:1901]
+ lib/legacy/zstd_v07.c [190:211]
+ lib/legacy/zstd_v07.c [389:410]
+ lib/legacy/zstd_v07.c [620:641]
+ lib/legacy/zstd_v07.c [928:949]
+ lib/legacy/zstd_v07.c [1101:1122]
+ lib/legacy/zstd_v07.c [1325:1346]
+ lib/legacy/zstd_v07.c [1649:1670]
+
+SKIP MIT cce6439656e544e767329cf7faaff00c
+BELONGS ya.make
+ # LICENSE was already scanned and contains BSD-style license, not MIT
+ License text:
+ licensed
+ under both the [LICENSE](LICENSE)
+ Scancode info:
+ Original SPDX id: MIT
+ Score : 12.50
+ Match type : NOTICE
+ Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
+ Files with this license:
+ CONTRIBUTING.md [488:489]
+
+KEEP "(BSD-2-Clause OR GPL-2.0-only)" e884260c5ca39c4e993ef8760401c0ae
+BELONGS ya.make
+FILE_INCLUDE COPYING found in files: lib/common/allocations.h at line 7, lib/common/bits.h at line 7, lib/common/bitstream.h at line 11, lib/common/compiler.h at line 7, lib/common/cpu.h at line 7, lib/common/debug.c at line 11, lib/common/debug.h at line 11, lib/common/entropy_common.c at line 11, lib/common/error_private.c at line 7, lib/common/error_private.h at line 7, lib/common/fse.h at line 11, lib/common/fse_decompress.c at line 11, lib/common/huf.h at line 11, lib/common/mem.h at line 7, lib/common/pool.c at line 7, lib/common/pool.h at line 7, lib/common/portability_macros.h at line 7, lib/common/threading.c at line 10, lib/common/threading.h at line 10, lib/common/zstd_common.c at line 7, lib/common/zstd_deps.h at line 7, lib/common/zstd_internal.h at line 7, lib/common/zstd_trace.h at line 7, lib/compress/clevels.h at line 7, lib/compress/fse_compress.c at line 11, lib/compress/hist.c at line 12, lib/compress/hist.h at line 12, lib/compress/huf_compress.c at line 11, lib/compress/zstd_compress.c at line 7, lib/compress/zstd_compress_internal.h at line 7, lib/compress/zstd_compress_literals.c at line 7, lib/compress/zstd_compress_literals.h at line 7, lib/compress/zstd_compress_sequences.c at line 7, lib/compress/zstd_compress_sequences.h at line 7, lib/compress/zstd_compress_superblock.c at line 7, lib/compress/zstd_compress_superblock.h at line 7, lib/compress/zstd_cwksp.h at line 7, lib/compress/zstd_double_fast.c at line 7, lib/compress/zstd_double_fast.h at line 7, lib/compress/zstd_fast.c at line 7, lib/compress/zstd_fast.h at line 7, lib/compress/zstd_lazy.c at line 7, lib/compress/zstd_lazy.h at line 7, lib/compress/zstd_ldm.c at line 7, lib/compress/zstd_ldm.h at line 7, lib/compress/zstd_ldm_geartab.h at line 7, lib/compress/zstd_opt.c at line 7, lib/compress/zstd_opt.h at line 7, lib/compress/zstdmt_compress.c at line 7, lib/compress/zstdmt_compress.h at line 7, lib/decompress/huf_decompress.c at line 11, lib/decompress/huf_decompress_amd64.S at line 7, lib/decompress/zstd_ddict.c at line 7, lib/decompress/zstd_ddict.h at line 7, lib/decompress/zstd_decompress.c at line 7, lib/decompress/zstd_decompress_block.c at line 7, lib/decompress/zstd_decompress_block.h at line 7, lib/decompress/zstd_decompress_internal.h at line 7, lib/dictBuilder/cover.c at line 7, lib/dictBuilder/cover.h at line 7, lib/dictBuilder/fastcover.c at line 7, lib/dictBuilder/zdict.c at line 7, lib/legacy/zstd_legacy.h at line 7, lib/legacy/zstd_v01.c at line 7, lib/legacy/zstd_v01.h at line 7, lib/legacy/zstd_v02.c at line 7, lib/legacy/zstd_v02.h at line 7, lib/legacy/zstd_v03.c at line 7, lib/legacy/zstd_v03.h at line 7, lib/legacy/zstd_v04.c at line 7, lib/legacy/zstd_v04.h at line 7, lib/legacy/zstd_v05.c at line 7, lib/legacy/zstd_v05.h at line 7, lib/legacy/zstd_v06.c at line 7, lib/legacy/zstd_v06.h at line 7, lib/legacy/zstd_v07.c at line 7, lib/legacy/zstd_v07.h at line 7, lib/zstd_errors.h at line 7, programs/benchfn.c at line 7, programs/benchfn.h at line 7, programs/benchzstd.c at line 7, programs/benchzstd.h at line 7, programs/datagen.c at line 7, programs/datagen.h at line 7, programs/dibio.c at line 7, programs/dibio.h at line 7, programs/fileio.c at line 7, programs/fileio.h at line 7, programs/fileio_asyncio.c at line 7, programs/fileio_asyncio.h at line 7, programs/fileio_common.h at line 7, programs/fileio_types.h at line 7, programs/lorem.c at line 7, programs/lorem.h at line 7, programs/platform.h at line 7, programs/timefn.c at line 7, programs/timefn.h at line 7, programs/util.c at line 7, programs/util.h at line 7, programs/zstdcli.c at line 7, programs/zstdcli_trace.c at line 7, programs/zstdcli_trace.h at line 7
+FILE_INCLUDE LICENSE found in files: lib/common/allocations.h at line 6, lib/common/bits.h at line 6, lib/common/bitstream.h at line 10, lib/common/compiler.h at line 6, lib/common/cpu.h at line 6, lib/common/debug.c at line 10, lib/common/debug.h at line 10, lib/common/entropy_common.c at line 10, lib/common/error_private.c at line 6, lib/common/error_private.h at line 6, lib/common/fse.h at line 10, lib/common/fse_decompress.c at line 10, lib/common/huf.h at line 10, lib/common/mem.h at line 6, lib/common/pool.c at line 6, lib/common/pool.h at line 6, lib/common/portability_macros.h at line 6, lib/common/threading.c at line 9, lib/common/threading.h at line 9, lib/common/zstd_common.c at line 6, lib/common/zstd_deps.h at line 6, lib/common/zstd_internal.h at line 6, lib/common/zstd_trace.h at line 6, lib/compress/clevels.h at line 6, lib/compress/fse_compress.c at line 10, lib/compress/hist.c at line 11, lib/compress/hist.h at line 11, lib/compress/huf_compress.c at line 10, lib/compress/zstd_compress.c at line 6, lib/compress/zstd_compress_internal.h at line 6, lib/compress/zstd_compress_literals.c at line 6, lib/compress/zstd_compress_literals.h at line 6, lib/compress/zstd_compress_sequences.c at line 6, lib/compress/zstd_compress_sequences.h at line 6, lib/compress/zstd_compress_superblock.c at line 6, lib/compress/zstd_compress_superblock.h at line 6, lib/compress/zstd_cwksp.h at line 6, lib/compress/zstd_double_fast.c at line 6, lib/compress/zstd_double_fast.h at line 6, lib/compress/zstd_fast.c at line 6, lib/compress/zstd_fast.h at line 6, lib/compress/zstd_lazy.c at line 6, lib/compress/zstd_lazy.h at line 6, lib/compress/zstd_ldm.c at line 6, lib/compress/zstd_ldm.h at line 6, lib/compress/zstd_ldm_geartab.h at line 6, lib/compress/zstd_opt.c at line 6, lib/compress/zstd_opt.h at line 6, lib/compress/zstdmt_compress.c at line 6, lib/compress/zstdmt_compress.h at line 6, lib/decompress/huf_decompress.c at line 10, lib/decompress/huf_decompress_amd64.S at line 6, lib/decompress/zstd_ddict.c at line 6, lib/decompress/zstd_ddict.h at line 6, lib/decompress/zstd_decompress.c at line 6, lib/decompress/zstd_decompress_block.c at line 6, lib/decompress/zstd_decompress_block.h at line 6, lib/decompress/zstd_decompress_internal.h at line 6, lib/dictBuilder/cover.c at line 6, lib/dictBuilder/cover.h at line 6, lib/dictBuilder/fastcover.c at line 6, lib/dictBuilder/zdict.c at line 6, lib/legacy/zstd_legacy.h at line 6, lib/legacy/zstd_v01.c at line 6, lib/legacy/zstd_v01.h at line 6, lib/legacy/zstd_v02.c at line 6, lib/legacy/zstd_v02.h at line 6, lib/legacy/zstd_v03.c at line 6, lib/legacy/zstd_v03.h at line 6, lib/legacy/zstd_v04.c at line 6, lib/legacy/zstd_v04.h at line 6, lib/legacy/zstd_v05.c at line 6, lib/legacy/zstd_v05.h at line 6, lib/legacy/zstd_v06.c at line 6, lib/legacy/zstd_v06.h at line 6, lib/legacy/zstd_v07.c at line 6, lib/legacy/zstd_v07.h at line 6, lib/zstd_errors.h at line 6, programs/benchfn.c at line 6, programs/benchfn.h at line 6, programs/benchzstd.c at line 6, programs/benchzstd.h at line 6, programs/datagen.c at line 6, programs/datagen.h at line 6, programs/dibio.c at line 6, programs/dibio.h at line 6, programs/fileio.c at line 6, programs/fileio.h at line 6, programs/fileio_asyncio.c at line 6, programs/fileio_asyncio.h at line 6, programs/fileio_common.h at line 6, programs/fileio_types.h at line 6, programs/lorem.c at line 6, programs/lorem.h at line 6, programs/platform.h at line 6, programs/timefn.c at line 6, programs/timefn.h at line 6, programs/util.c at line 6, programs/util.h at line 6, programs/zstdcli.c at line 6, programs/zstdcli_trace.c at line 6, programs/zstdcli_trace.h at line 6
+ # We consider that dual-license should be interpreted as OR. The source code explicitly says
+ # You may select, at your option, one of the above-listed licenses.
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: BSD-2-Clause
+ Score : 100.00
+ Match type : NOTICE
+ Links : http://opensource.org/licenses/bsd-license.php, http://www.opensource.org/licenses/BSD-2-Clause, https://spdx.org/licenses/BSD-2-Clause
+ Files with this license:
+ lib/common/allocations.h [5:8]
+ lib/common/bits.h [5:8]
+ lib/common/bitstream.h [9:12]
+ lib/common/compiler.h [5:8]
+ lib/common/cpu.h [5:8]
+ lib/common/debug.c [9:12]
+ lib/common/debug.h [9:12]
+ lib/common/entropy_common.c [9:12]
+ lib/common/error_private.c [5:8]
+ lib/common/error_private.h [5:8]
+ lib/common/fse.h [9:12]
+ lib/common/fse_decompress.c [9:12]
+ lib/common/huf.h [9:12]
+ lib/common/mem.h [5:8]
+ lib/common/pool.c [5:8]
+ lib/common/pool.h [5:8]
+ lib/common/portability_macros.h [5:8]
+ lib/common/threading.c [8:11]
+ lib/common/threading.h [8:11]
+ lib/common/zstd_common.c [5:8]
+ lib/common/zstd_deps.h [5:8]
+ lib/common/zstd_internal.h [5:8]
+ lib/common/zstd_trace.h [5:8]
+ lib/compress/clevels.h [5:8]
+ lib/compress/fse_compress.c [9:12]
+ lib/compress/hist.c [10:13]
+ lib/compress/hist.h [10:13]
+ lib/compress/huf_compress.c [9:12]
+ lib/compress/zstd_compress.c [5:8]
+ lib/compress/zstd_compress_internal.h [5:8]
+ lib/compress/zstd_compress_literals.c [5:8]
+ lib/compress/zstd_compress_literals.h [5:8]
+ lib/compress/zstd_compress_sequences.c [5:8]
+ lib/compress/zstd_compress_sequences.h [5:8]
+ lib/compress/zstd_compress_superblock.c [5:8]
+ lib/compress/zstd_compress_superblock.h [5:8]
+ lib/compress/zstd_cwksp.h [5:8]
+ lib/compress/zstd_double_fast.c [5:8]
+ lib/compress/zstd_double_fast.h [5:8]
+ lib/compress/zstd_fast.c [5:8]
+ lib/compress/zstd_fast.h [5:8]
+ lib/compress/zstd_lazy.c [5:8]
+ lib/compress/zstd_lazy.h [5:8]
+ lib/compress/zstd_ldm.c [5:8]
+ lib/compress/zstd_ldm.h [5:8]
+ lib/compress/zstd_ldm_geartab.h [5:8]
+ lib/compress/zstd_opt.c [5:8]
+ lib/compress/zstd_opt.h [5:8]
+ lib/compress/zstdmt_compress.c [5:8]
+ lib/compress/zstdmt_compress.h [5:8]
+ lib/decompress/huf_decompress.c [9:12]
+ lib/decompress/huf_decompress_amd64.S [5:8]
+ lib/decompress/zstd_ddict.c [5:8]
+ lib/decompress/zstd_ddict.h [5:8]
+ lib/decompress/zstd_decompress.c [5:8]
+ lib/decompress/zstd_decompress_block.c [5:8]
+ lib/decompress/zstd_decompress_block.h [5:8]
+ lib/decompress/zstd_decompress_internal.h [5:8]
+ lib/dictBuilder/cover.c [5:8]
+ lib/dictBuilder/cover.h [5:8]
+ lib/dictBuilder/fastcover.c [5:8]
+ lib/dictBuilder/zdict.c [5:8]
+ lib/legacy/zstd_legacy.h [5:8]
+ lib/legacy/zstd_v01.c [5:8]
+ lib/legacy/zstd_v01.h [5:8]
+ lib/legacy/zstd_v02.c [5:8]
+ lib/legacy/zstd_v02.h [5:8]
+ lib/legacy/zstd_v03.c [5:8]
+ lib/legacy/zstd_v03.h [5:8]
+ lib/legacy/zstd_v04.c [5:8]
+ lib/legacy/zstd_v04.h [5:8]
+ lib/legacy/zstd_v05.c [5:8]
+ lib/legacy/zstd_v05.h [5:8]
+ lib/legacy/zstd_v06.c [5:8]
+ lib/legacy/zstd_v06.h [5:8]
+ lib/legacy/zstd_v07.c [5:8]
+ lib/legacy/zstd_v07.h [5:8]
+ lib/zstd_errors.h [5:8]
+ programs/benchfn.c [5:8]
+ programs/benchfn.h [5:8]
+ programs/benchzstd.c [5:8]
+ programs/benchzstd.h [5:8]
+ programs/datagen.c [5:8]
+ programs/datagen.h [5:8]
+ programs/dibio.c [5:8]
+ programs/dibio.h [5:8]
+ programs/fileio.c [5:8]
+ programs/fileio.h [5:8]
+ programs/fileio_asyncio.c [5:8]
+ programs/fileio_asyncio.h [5:8]
+ programs/fileio_common.h [5:8]
+ programs/fileio_types.h [5:8]
+ programs/lorem.c [5:8]
+ programs/lorem.h [5:8]
+ programs/platform.h [5:8]
+ programs/timefn.c [5:8]
+ programs/timefn.h [5:8]
+ programs/util.c [5:8]
+ programs/util.h [5:8]
+ programs/zstdcli.c [5:8]
+ programs/zstdcli_trace.c [5:8]
+ programs/zstdcli_trace.h [5:8]
+ Scancode info:
+ Original SPDX id: GPL-2.0-only
+ Score : 100.00
+ Match type : NOTICE
+ Links : http://www.gnu.org/licenses/gpl-2.0.html, http://www.gnu.org/licenses/gpl-2.0.txt, https://spdx.org/licenses/GPL-2.0-only
+ Files with this license:
+ lib/common/allocations.h [5:8]
+ lib/common/bits.h [5:8]
+ lib/common/bitstream.h [9:12]
+ lib/common/compiler.h [5:8]
+ lib/common/cpu.h [5:8]
+ lib/common/debug.c [9:12]
+ lib/common/debug.h [9:12]
+ lib/common/entropy_common.c [9:12]
+ lib/common/error_private.c [5:8]
+ lib/common/error_private.h [5:8]
+ lib/common/fse.h [9:12]
+ lib/common/fse_decompress.c [9:12]
+ lib/common/huf.h [9:12]
+ lib/common/mem.h [5:8]
+ lib/common/pool.c [5:8]
+ lib/common/pool.h [5:8]
+ lib/common/portability_macros.h [5:8]
+ lib/common/threading.c [8:11]
+ lib/common/threading.h [8:11]
+ lib/common/zstd_common.c [5:8]
+ lib/common/zstd_deps.h [5:8]
+ lib/common/zstd_internal.h [5:8]
+ lib/common/zstd_trace.h [5:8]
+ lib/compress/clevels.h [5:8]
+ lib/compress/fse_compress.c [9:12]
+ lib/compress/hist.c [10:13]
+ lib/compress/hist.h [10:13]
+ lib/compress/huf_compress.c [9:12]
+ lib/compress/zstd_compress.c [5:8]
+ lib/compress/zstd_compress_internal.h [5:8]
+ lib/compress/zstd_compress_literals.c [5:8]
+ lib/compress/zstd_compress_literals.h [5:8]
+ lib/compress/zstd_compress_sequences.c [5:8]
+ lib/compress/zstd_compress_sequences.h [5:8]
+ lib/compress/zstd_compress_superblock.c [5:8]
+ lib/compress/zstd_compress_superblock.h [5:8]
+ lib/compress/zstd_cwksp.h [5:8]
+ lib/compress/zstd_double_fast.c [5:8]
+ lib/compress/zstd_double_fast.h [5:8]
+ lib/compress/zstd_fast.c [5:8]
+ lib/compress/zstd_fast.h [5:8]
+ lib/compress/zstd_lazy.c [5:8]
+ lib/compress/zstd_lazy.h [5:8]
+ lib/compress/zstd_ldm.c [5:8]
+ lib/compress/zstd_ldm.h [5:8]
+ lib/compress/zstd_ldm_geartab.h [5:8]
+ lib/compress/zstd_opt.c [5:8]
+ lib/compress/zstd_opt.h [5:8]
+ lib/compress/zstdmt_compress.c [5:8]
+ lib/compress/zstdmt_compress.h [5:8]
+ lib/decompress/huf_decompress.c [9:12]
+ lib/decompress/huf_decompress_amd64.S [5:8]
+ lib/decompress/zstd_ddict.c [5:8]
+ lib/decompress/zstd_ddict.h [5:8]
+ lib/decompress/zstd_decompress.c [5:8]
+ lib/decompress/zstd_decompress_block.c [5:8]
+ lib/decompress/zstd_decompress_block.h [5:8]
+ lib/decompress/zstd_decompress_internal.h [5:8]
+ lib/dictBuilder/cover.c [5:8]
+ lib/dictBuilder/cover.h [5:8]
+ lib/dictBuilder/fastcover.c [5:8]
+ lib/dictBuilder/zdict.c [5:8]
+ lib/legacy/zstd_legacy.h [5:8]
+ lib/legacy/zstd_v01.c [5:8]
+ lib/legacy/zstd_v01.h [5:8]
+ lib/legacy/zstd_v02.c [5:8]
+ lib/legacy/zstd_v02.h [5:8]
+ lib/legacy/zstd_v03.c [5:8]
+ lib/legacy/zstd_v03.h [5:8]
+ lib/legacy/zstd_v04.c [5:8]
+ lib/legacy/zstd_v04.h [5:8]
+ lib/legacy/zstd_v05.c [5:8]
+ lib/legacy/zstd_v05.h [5:8]
+ lib/legacy/zstd_v06.c [5:8]
+ lib/legacy/zstd_v06.h [5:8]
+ lib/legacy/zstd_v07.c [5:8]
+ lib/legacy/zstd_v07.h [5:8]
+ lib/zstd_errors.h [5:8]
+ programs/benchfn.c [5:8]
+ programs/benchfn.h [5:8]
+ programs/benchzstd.c [5:8]
+ programs/benchzstd.h [5:8]
+ programs/datagen.c [5:8]
+ programs/datagen.h [5:8]
+ programs/dibio.c [5:8]
+ programs/dibio.h [5:8]
+ programs/fileio.c [5:8]
+ programs/fileio.h [5:8]
+ programs/fileio_asyncio.c [5:8]
+ programs/fileio_asyncio.h [5:8]
+ programs/fileio_common.h [5:8]
+ programs/fileio_types.h [5:8]
+ programs/lorem.c [5:8]
+ programs/lorem.h [5:8]
+ programs/platform.h [5:8]
+ programs/timefn.c [5:8]
+ programs/timefn.h [5:8]
+ programs/util.c [5:8]
+ programs/util.h [5:8]
+ programs/zstdcli.c [5:8]
+ programs/zstdcli_trace.c [5:8]
+ programs/zstdcli_trace.h [5:8]
diff --git a/contrib/libs/zstd/.yandex_meta/licenses.list.txt b/contrib/libs/zstd/.yandex_meta/licenses.list.txt
new file mode 100644
index 0000000000..6c63888a05
--- /dev/null
+++ b/contrib/libs/zstd/.yandex_meta/licenses.list.txt
@@ -0,0 +1,902 @@
+===================="(BSD-2-Clause OR GPL-2.0-only)"====================
+ * This source code is licensed under both the BSD-style license (found in the
+ * LICENSE file in the root directory of this source tree) and the GPLv2 (found
+ * in the COPYING file in the root directory of this source tree).
+ * You may select, at your option, one of the above-listed licenses.
+
+
+===================="(BSD-3-Clause OR GPL-2.0-only)"====================
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
+
+====================BSD-2-Clause====================
+ BSD 2-Clause License (https://opensource.org/licenses/bsd-license.php)
+
+
+====================BSD-2-Clause====================
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * 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.
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT
+ OWNER 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-2-Clause====================
+ BSD 2-Clause License (https://opensource.org/licenses/bsd-license.php)
+
+
+====================BSD-2-Clause====================
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * 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.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT
+ OWNER 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====================
+BSD License
+
+For Zstandard software
+
+Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+ * 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.
+
+ * Neither the name Facebook, nor Meta, 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 COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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 OR GPL-2.0-only====================
+## License
+
+Zstandard is dual-licensed under [BSD](LICENSE) OR [GPLv2](COPYING).
+
+
+====================BSD-3-Clause OR GPL-2.0-only====================
+This repository represents the reference implementation, provided as an open-source dual [BSD](LICENSE) OR [GPLv2](COPYING) licensed **C** library,
+
+
+====================COPYRIGHT====================
+ Copyright (C) 2014-2015, Yann Collet.
+
+
+====================COPYRIGHT====================
+ Copyright (C) 2014-2016, Yann Collet.
+
+
+====================COPYRIGHT====================
+ Copyright (C) 2015, Yann Collet.
+
+
+====================COPYRIGHT====================
+ Copyright (C) 2015-2016, Yann Collet.
+
+
+====================COPYRIGHT====================
+ Copyright (C) 2013-2015, Yann Collet.
+
+
+====================COPYRIGHT====================
+ Copyright (C) 2013-2016, Yann Collet.
+
+
+====================COPYRIGHT====================
+ Copyright (C) 2016, Yann Collet.
+
+
+====================COPYRIGHT====================
+ * Copyright (c) 2003-2008 Yuta Mori All Rights Reserved.
+
+
+====================COPYRIGHT====================
+ * Copyright (c) 2016 Tino Reichardt
+ * All rights reserved.
+
+
+====================COPYRIGHT====================
+ * Copyright (c) Yann Collet, Meta Platforms, Inc. and affiliates.
+ * All rights reserved.
+
+
+====================COPYRIGHT====================
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+
+
+====================COPYRIGHT====================
+Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
+
+
+====================COPYRIGHT====================
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+
+====================File: COPYING====================
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
+
+====================File: LICENSE====================
+BSD License
+
+For Zstandard software
+
+Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+ * 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.
+
+ * Neither the name Facebook, nor Meta, 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 COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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.
+
+
+====================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.
diff --git a/contrib/libs/zstd/.yandex_meta/override.nix b/contrib/libs/zstd/.yandex_meta/override.nix
new file mode 100644
index 0000000000..db4c0f8764
--- /dev/null
+++ b/contrib/libs/zstd/.yandex_meta/override.nix
@@ -0,0 +1,21 @@
+pkgs: attrs: with pkgs; with attrs; rec {
+ version = "1.5.6";
+
+ src = fetchFromGitHub {
+ owner = "facebook";
+ repo = "zstd";
+ rev = "v${version}";
+ hash = "sha256-qcd92hQqVBjMT3hyntjcgk29o9wGQsg5Hg7HE5C0UNc=";
+ };
+
+ patches= [];
+
+ cmakeFlags = [
+ "-DZSTD_BUILD_SHARED=ON"
+ "-DZSTD_BUILD_STATIC=OFF"
+ "-DZSTD_BUILD_TESTS=OFF"
+ "-DZSTD_LEGACY_LEVEL:INT=1"
+ "-DZSTD_LEGACY_SUPPORT=ON"
+ "-DZSTD_PROGRAMS_LINK_SHARED=ON"
+ ];
+}