diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/libs/apache/avro | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'contrib/libs/apache/avro')
25 files changed, 1 insertions, 1092 deletions
diff --git a/contrib/libs/apache/avro/.yandex_meta/devtools.copyrights.report b/contrib/libs/apache/avro/.yandex_meta/devtools.copyrights.report deleted file mode 100644 index 0878480045..0000000000 --- a/contrib/libs/apache/avro/.yandex_meta/devtools.copyrights.report +++ /dev/null @@ -1,111 +0,0 @@ -# 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 362654e2bddceaa39b9405fd18b41b54 -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: - LICENSE [209:226] - -KEEP COPYRIGHT_SERVICE_LABEL 5733e0465642e34bab988d8fce438ddb -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: - LICENSE [209:226] - -KEEP COPYRIGHT_SERVICE_LABEL 6ba24a29ab5b7a1bfdd9d290dfa9064f -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: - LICENSE [209:226] - -KEEP COPYRIGHT_SERVICE_LABEL 8b006a24625280b012306a63e42070ba -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: - LICENSE [209:226] - -KEEP COPYRIGHT_SERVICE_LABEL a5736cd81119372c16f8231dd921802a -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: - LICENSE [209:226] - -KEEP COPYRIGHT_SERVICE_LABEL abe721aee6c9dfcf403426f6b471b754 -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: - LICENSE [209:226] - -KEEP COPYRIGHT_SERVICE_LABEL b063fba9817e39a550c03593d29c05b1 -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: - LICENSE [209:226] - -KEEP COPYRIGHT_SERVICE_LABEL d8489776a135deadae4ae63c3b0243da -BELONGS ya.make - License text: - Copyright 2010-2015 The Apache Software Foundation - Scancode info: - Original SPDX id: COPYRIGHT_SERVICE_LABEL - Score : 100.00 - Match type : COPYRIGHT - Files with this license: - NOTICE [2:2] diff --git a/contrib/libs/apache/avro/.yandex_meta/devtools.licenses.report b/contrib/libs/apache/avro/.yandex_meta/devtools.licenses.report deleted file mode 100644 index 0c6b8995a0..0000000000 --- a/contrib/libs/apache/avro/.yandex_meta/devtools.licenses.report +++ /dev/null @@ -1,163 +0,0 @@ -# File format ($ symbol means the beginning of a line): -# -# $ # this message -# $ # ======================= -# $ # comments (all commentaries should starts with some number of spaces and # symbol) -# ${action} {license spdx} {license text hash} -# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make -# ${all_file_action} filename -# $ # user commentaries (many lines) -# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify) -# ${action} {license spdx} {license text hash} -# $BELONGS ./ya/make/file/relative/path/3/ya.make -# ${all_file_action} filename -# $ # user commentaries -# $ generated description -# $ ... -# -# You can modify action, all_file_action and add commentaries -# Available actions: -# keep - keep license in contrib and use in credits -# skip - skip license -# remove - remove all files with this license -# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file -# -# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory) -# We suppose that that files can contain some license info -# Available all file actions: -# FILE_IGNORE - ignore file (do nothing) -# FILE_INCLUDE - include all file data into licenses text file -# ======================= - -KEEP Apache-2.0 4f346bf0c154a20942ca3ab627264c4e -BELONGS ya.make - License text: - This product includes software developed at - The Apache Software Foundation (https://www.apache.org/). - Scancode info: - Original SPDX id: Apache-2.0 - Score : 95.00 - Match type : NOTICE - Links : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0 - Files with this license: - NOTICE [4:5] - -KEEP Apache-2.0 807648c73ed5fa476be45e9005a86248 -BELONGS ya.make -FILE_INCLUDE NOTICE found in files: api/AvroParse.hh at line 3, api/AvroSerialize.hh at line 3, api/AvroTraits.hh at line 3, api/Compiler.hh at line 3, api/Config.hh at line 3, api/DataFile.hh at line 3, api/Decoder.hh at line 3, api/Encoder.hh at line 3, api/Exception.hh at line 3, api/Generic.hh at line 3, api/GenericDatum.hh at line 3, api/Layout.hh at line 3, api/LogicalType.hh at line 3, api/Node.hh at line 3, api/NodeConcepts.hh at line 3, api/NodeImpl.hh at line 3, api/Parser.hh at line 3, api/Reader.hh at line 3, api/Resolver.hh at line 3, api/ResolverSchema.hh at line 3, api/ResolvingReader.hh at line 3, api/Schema.hh at line 3, api/SchemaResolution.hh at line 3, api/Serializer.hh at line 3, api/Specific.hh at line 3, api/Stream.hh at line 3, api/Types.hh at line 3, api/ValidSchema.hh at line 3, api/Validator.hh at line 3, api/Writer.hh at line 3, api/Zigzag.hh at line 3, api/buffer/Buffer.hh at line 3, api/buffer/BufferReader.hh at line 3, api/buffer/detail/BufferDetail.hh at line 3, api/buffer/detail/BufferDetailIterator.hh at line 3, impl/BinaryDecoder.cc at line 3, impl/BinaryEncoder.cc at line 3, impl/Compiler.cc at line 3, impl/DataFile.cc at line 3, impl/FileStream.cc at line 3, impl/Generic.cc at line 3, impl/GenericDatum.cc at line 3, impl/LogicalType.cc at line 3, impl/Node.cc at line 3, impl/NodeImpl.cc at line 3, impl/Resolver.cc at line 4, impl/ResolverSchema.cc at line 4, impl/Schema.cc at line 3, impl/Stream.cc at line 3, impl/Types.cc at line 3, impl/ValidSchema.cc at line 3, impl/Validator.cc at line 3, impl/Zigzag.cc at line 3, impl/json/JsonDom.cc at line 3, impl/json/JsonDom.hh at line 3, impl/json/JsonIO.cc at line 3, impl/json/JsonIO.hh at line 3, impl/parsing/JsonCodec.cc at line 3, impl/parsing/ResolvingDecoder.cc at line 3, impl/parsing/Symbol.cc at line 3, impl/parsing/Symbol.hh at line 3, impl/parsing/ValidatingCodec.cc at line 3, impl/parsing/ValidatingCodec.hh at line 3 - Note: matched license text is too long. Read it in the source files. - Scancode info: - Original SPDX id: Apache-2.0 - Score : 100.00 - Match type : NOTICE - Links : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0 - Files with this license: - api/AvroParse.hh [2:16] - api/AvroSerialize.hh [2:16] - api/AvroTraits.hh [2:16] - api/Compiler.hh [2:16] - api/Config.hh [2:16] - api/DataFile.hh [2:16] - api/Decoder.hh [2:16] - api/Encoder.hh [2:16] - api/Exception.hh [2:16] - api/Generic.hh [2:16] - api/GenericDatum.hh [2:16] - api/Layout.hh [2:16] - api/LogicalType.hh [2:16] - api/Node.hh [2:16] - api/NodeConcepts.hh [2:16] - api/NodeImpl.hh [2:16] - api/Parser.hh [2:16] - api/Reader.hh [2:16] - api/Resolver.hh [2:16] - api/ResolverSchema.hh [2:16] - api/ResolvingReader.hh [2:16] - api/Schema.hh [2:16] - api/SchemaResolution.hh [2:16] - api/Serializer.hh [2:16] - api/Specific.hh [2:16] - api/Stream.hh [2:16] - api/Types.hh [2:16] - api/ValidSchema.hh [2:16] - api/Validator.hh [2:16] - api/Writer.hh [2:16] - api/Zigzag.hh [2:16] - api/buffer/Buffer.hh [2:16] - api/buffer/BufferReader.hh [2:16] - api/buffer/detail/BufferDetail.hh [2:16] - api/buffer/detail/BufferDetailIterator.hh [2:16] - impl/BinaryDecoder.cc [2:16] - impl/BinaryEncoder.cc [2:16] - impl/Compiler.cc [2:16] - impl/DataFile.cc [2:16] - impl/FileStream.cc [2:16] - impl/Generic.cc [2:16] - impl/GenericDatum.cc [2:16] - impl/LogicalType.cc [2:16] - impl/Node.cc [2:16] - impl/NodeImpl.cc [2:16] - impl/Resolver.cc [3:17] - impl/ResolverSchema.cc [3:17] - impl/Schema.cc [2:16] - impl/Stream.cc [2:16] - impl/Types.cc [2:16] - impl/ValidSchema.cc [2:16] - impl/Validator.cc [2:16] - impl/Zigzag.cc [2:16] - impl/json/JsonDom.cc [2:16] - impl/json/JsonDom.hh [2:16] - impl/json/JsonIO.cc [2:16] - impl/json/JsonIO.hh [2:16] - impl/parsing/JsonCodec.cc [2:16] - impl/parsing/ResolvingDecoder.cc [2:16] - impl/parsing/Symbol.cc [2:16] - impl/parsing/Symbol.hh [2:16] - impl/parsing/ValidatingCodec.cc [2:16] - impl/parsing/ValidatingCodec.hh [2:16] - -KEEP BSL-1.0 b0697f9b33869dfe57770c633aa69b1e -BELONGS ya.make - Note: matched license text is too long. Read it in the source files. - Scancode info: - Original SPDX id: BSL-1.0 - Score : 100.00 - Match type : TEXT - Links : http://www.boost.org/LICENSE_1_0.txt, http://www.boost.org/users/license.html, https://spdx.org/licenses/BSL-1.0 - Files with this license: - LICENSE [238:260] - -KEEP Apache-2.0 b9e4e3dbf9b124f5bba77e989c2ff648 -BELONGS ya.make -FILE_INCLUDE NOTICE found in files: MSBUILD.md at line 3 - Note: matched license text is too long. Read it in the source files. - Scancode info: - Original SPDX id: Apache-2.0 - Score : 100.00 - Match type : NOTICE - Links : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0 - Files with this license: - MSBUILD.md [2:16] - -KEEP Apache-2.0 cac6cbe8ed5a3da569f7c01e4e486688 -BELONGS ya.make -FILE_INCLUDE NOTICE found in files: LICENSE at line 107, LICENSE at line 110, LICENSE at line 112, LICENSE at line 117, LICENSE at line 120, LICENSE at line 142 - Note: matched license text is too long. Read it in the source files. - Scancode info: - Original SPDX id: Apache-2.0 - Score : 100.00 - Match type : TEXT - Links : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0 - Files with this license: - LICENSE [2:202] - -KEEP FSFAP d2bd1ace1a9d67611b72b735b3b25e91 -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: - LICENSE [229:232] diff --git a/contrib/libs/apache/avro/.yandex_meta/licenses.list.txt b/contrib/libs/apache/avro/.yandex_meta/licenses.list.txt deleted file mode 100644 index c7f668784e..0000000000 --- a/contrib/libs/apache/avro/.yandex_meta/licenses.list.txt +++ /dev/null @@ -1,310 +0,0 @@ -====================Apache-2.0==================== - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -====================Apache-2.0==================== - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - - -====================Apache-2.0==================== -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -https://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - - -====================Apache-2.0==================== -This product includes software developed at -The Apache Software Foundation (https://www.apache.org/). - - -====================BSL-1.0==================== -| Boost Software License - Version 1.0 - August 17th, 2003 -| -| Permission is hereby granted, free of charge, to any person or organization -| obtaining a copy of the software and accompanying documentation covered by -| this license (the "Software") to use, reproduce, display, distribute, -| execute, and transmit the Software, and to prepare derivative works of the -| Software, and to permit third-parties to whom the Software is furnished to -| do so, all subject to the following: -| -| The copyright notices in the Software and this entire statement, including -| the above license grant, this restriction and the following disclaimer, -| must be included in all copies of the Software, in whole or in part, and -| all derivative works of the Software, unless such copies or derivative -| works are solely in the form of machine-executable object code generated by -| a source language processor. -| -| 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT -| SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE -| FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, -| ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -| DEALINGS IN THE SOFTWARE. - - -====================COPYRIGHT==================== - Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de> - Copyright (c) 2008 Michael Tindal - Copyright (c) 2008 Daniel Casimiro <dan.casimiro@gmail.com> -* lang/c++/m4/m4_ax_boost_asio.m4 - Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de> - Copyright (c) 2008 Pete Greenwell <pete@mu.org> -* lang/c++/m4/m4_ax_boost_filesystem.m4 - Copyright (c) 2009 Thomas Porschberg <thomas@randspringer.de> - Copyright (c) 2009 Michael Tindal - Copyright (c) 2009 Roman Rybalko <libtorrent@romanr.info> -* lang/c++/m4/m4_ax_boost_thread.m4 - Copyright (c) 2009 Thomas Porschberg <thomas@randspringer.de> - Copyright (c) 2009 Michael Tindal -* lang/c++/m4/m4_ax_boost_regex.m4 - Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de> - Copyright (c) 2008 Michael Tindal -* lang/c++/m4/m4_ax_boost_base.m4 - Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de> - - -====================COPYRIGHT==================== -Copyright 2010-2015 The Apache Software Foundation - - -====================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 any -| warranty. - - -====================File: NOTICE==================== -Apache Avro -Copyright 2010-2015 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (https://www.apache.org/). - diff --git a/contrib/libs/apache/avro/CMakeLists.txt b/contrib/libs/apache/avro/CMakeLists.txt index e8c98bfd99..c031ddb850 100644 --- a/contrib/libs/apache/avro/CMakeLists.txt +++ b/contrib/libs/apache/avro/CMakeLists.txt @@ -6,6 +6,6 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) +if (UNIX) include(CMakeLists.linux.txt) endif() diff --git a/contrib/libs/apache/avro/api/AvroParse.hh b/contrib/libs/apache/avro/api/AvroParse.hh deleted file mode 100644 index dd2b98c419..0000000000 --- a/contrib/libs/apache/avro/api/AvroParse.hh +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef avro_AvroParse_hh__ -#define avro_AvroParse_hh__ - -#include "Config.hh" -#include "AvroTraits.hh" -#include "ResolvingReader.hh" - -/// \file -/// -/// Standalone parse functions for Avro types. - -namespace avro { - -/// The main parse entry point function. Takes a parser (either validating or -/// plain) and the object that should receive the parsed data. - -template <typename Reader, typename T> -void parse(Reader &p, T& val) -{ - parse(p, val, is_serializable<T>()); -} - -template <typename T> -void parse(ResolvingReader &p, T& val) -{ - translatingParse(p, val, is_serializable<T>()); -} - -/// Type trait should be set to is_serializable in otherwise force the compiler to complain. - -template <typename Reader, typename T> -void parse(Reader &p, T& val, const std::false_type &) -{ - static_assert(sizeof(T) == 0, "Not a valid type to parse"); -} - -template <typename Reader, typename T> -void translatingParse(Reader &p, T& val, const std::false_type &) -{ - static_assert(sizeof(T) == 0, "Not a valid type to parse"); -} - -// @{ - -/// The remainder of the file includes default implementations for serializable types. - - -template <typename Reader, typename T> -void parse(Reader &p, T &val, const std::true_type &) { - p.readValue(val); -} - -template <typename Reader> -void parse(Reader &p, std::vector<uint8_t> &val, const std::true_type &) { - p.readBytes(val); -} - -template<typename T> -void translatingParse(ResolvingReader &p, T& val, const std::true_type &) { - p.parse(val); -} - -// @} - -} // namespace avro - -#endif diff --git a/contrib/libs/apache/avro/api/AvroSerialize.hh b/contrib/libs/apache/avro/api/AvroSerialize.hh deleted file mode 100644 index 9495940c9c..0000000000 --- a/contrib/libs/apache/avro/api/AvroSerialize.hh +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef avro_AvroSerialize_hh__ -#define avro_AvroSerialize_hh__ - -#include "Config.hh" -#include "AvroTraits.hh" - -/// \file -/// -/// Standalone serialize functions for Avro types. - -namespace avro { - -/// The main serializer entry point function. Takes a serializer (either validating or -/// plain) and the object that should be serialized. - -template <typename Writer, typename T> -void serialize(Writer &s, const T& val) -{ - serialize(s, val, is_serializable<T>()); -} - -/// Type trait should be set to is_serializable in otherwise force the compiler to complain. - -template <typename Writer, typename T> -void serialize(Writer &s, const T& val, const std::false_type &) -{ - static_assert(sizeof(T) == 0, "Not a valid type to serialize"); -} - -/// The remainder of the file includes default implementations for serializable types. - -// @{ - -template <typename Writer, typename T> -void serialize(Writer &s, T val, const std::true_type &) { - s.writeValue(val); -} - -template <typename Writer> -void serialize(Writer &s, const std::vector<uint8_t> &val, const std::true_type &) { - s.writeBytes(val.data(), val.size()); -} - -// @} - -} // namespace avro - -#endif diff --git a/contrib/libs/apache/avro/api/Parser.hh b/contrib/libs/apache/avro/api/Parser.hh deleted file mode 100644 index fdf28fb0d5..0000000000 --- a/contrib/libs/apache/avro/api/Parser.hh +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef avro_Parser_hh__ -#define avro_Parser_hh__ - -#include "Config.hh" -#include "Reader.hh" - -#include <array> - -namespace avro { - -/// -/// Class that wraps a reader or ValidatingReade with an interface that uses -/// explicit get* names instead of getValue -/// - -template<class Reader> -class Parser : private boost::noncopyable -{ - - public: - - // Constructor only works with Writer - explicit Parser(const InputBuffer &in) : - reader_(in) - {} - - /// Constructor only works with ValidatingWriter - Parser(const ValidSchema &schema, const InputBuffer &in) : - reader_(schema, in) - {} - - void readNull() { - Null null; - reader_.readValue(null); - } - - bool readBool() { - bool val; - reader_.readValue(val); - return val; - } - - int32_t readInt() { - int32_t val; - reader_.readValue(val); - return val; - } - - int64_t readLong() { - int64_t val; - reader_.readValue(val); - return val; - } - - float readFloat() { - float val; - reader_.readValue(val); - return val; - } - - double readDouble() { - double val; - reader_.readValue(val); - return val; - } - - void readString(std::string &val) { - reader_.readValue(val); - } - - void readBytes(std::vector<uint8_t> &val) { - reader_.readBytes(val); - } - - template <size_t N> - void readFixed(uint8_t (&val)[N]) { - reader_.readFixed(val); - } - - template<size_t N> - void readFixed(std::array<uint8_t, N> &val) { - reader_.readFixed(val); - } - - void readRecord() { - reader_.readRecord(); - } - - void readRecordEnd() { - reader_.readRecordEnd(); - } - - int64_t readArrayBlockSize() { - return reader_.readArrayBlockSize(); - } - - int64_t readUnion() { - return reader_.readUnion(); - } - - int64_t readEnum() { - return reader_.readEnum(); - } - - int64_t readMapBlockSize() { - return reader_.readMapBlockSize(); - } - - private: - - friend Type nextType(Parser<ValidatingReader> &p); - friend bool currentRecordName(Parser<ValidatingReader> &p, std::string &name); - friend bool nextFieldName(Parser<ValidatingReader> &p, std::string &name); - - Reader reader_; - -}; - -inline Type nextType(Parser<ValidatingReader> &p) { - return p.reader_.nextType(); -} - -inline bool currentRecordName(Parser<ValidatingReader> &p, std::string &name) { - return p.reader_.currentRecordName(name); -} - -inline bool nextFieldName(Parser<ValidatingReader> &p, std::string &name) { - return p.reader_.nextFieldName(name); -} - -} // namespace avro - -#endif diff --git a/contrib/libs/apache/avro/api/ResolvingReader.hh b/contrib/libs/apache/avro/api/ResolvingReader.hh deleted file mode 100644 index 806e64da56..0000000000 --- a/contrib/libs/apache/avro/api/ResolvingReader.hh +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef avro_ResolvingReader_hh__ -#define avro_ResolvingReader_hh__ - -#include <stdint.h> -#include <boost/noncopyable.hpp> - -#include "Config.hh" -#include "ResolverSchema.hh" -#include "Reader.hh" - -namespace avro { - -class AVRO_DECL ResolvingReader : private boost::noncopyable -{ - - public: - - ResolvingReader(const ResolverSchema &schema, const InputBuffer &in) : - reader_(in), - schema_(schema) - {} - - template<typename T> - void parse(T &object) { - schema_.parse(reader_, reinterpret_cast<uint8_t *>(&object)); - } - - private: - - Reader reader_; - ResolverSchema schema_; -}; - -} // namespace avro - -#endif diff --git a/contrib/libs/apache/avro/api/Serializer.hh b/contrib/libs/apache/avro/api/Serializer.hh deleted file mode 100644 index 15a8878586..0000000000 --- a/contrib/libs/apache/avro/api/Serializer.hh +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef avro_Serializer_hh__ -#define avro_Serializer_hh__ - -#include <array> -#include <boost/noncopyable.hpp> - -#include "Config.hh" -#include "Writer.hh" - -namespace avro { - -/// Class that wraps a Writer or ValidatingWriter with an interface that uses -/// explicit write* names instead of writeValue - -template<class Writer> -class Serializer : private boost::noncopyable -{ - - public: - - /// Constructor only works with Writer - explicit Serializer() : - writer_() - {} - - /// Constructor only works with ValidatingWriter - Serializer(const ValidSchema &schema) : - writer_(schema) - {} - - void writeNull() { - writer_.writeValue(Null()); - } - - void writeBool(bool val) { - writer_.writeValue(val); - } - - void writeInt(int32_t val) { - writer_.writeValue(val); - } - - void writeLong(int64_t val) { - writer_.writeValue(val); - } - - void writeFloat(float val) { - writer_.writeValue(val); - } - - void writeDouble(double val) { - writer_.writeValue(val); - } - - void writeBytes(const void *val, size_t size) { - writer_.writeBytes(val); - } - - template <size_t N> - void writeFixed(const uint8_t (&val)[N]) { - writer_.writeFixed(val); - } - - template <size_t N> - void writeFixed(const std::array<uint8_t, N> &val) { - writer_.writeFixed(val); - } - - void writeString(const std::string &val) { - writer_.writeValue(val); - } - - void writeRecord() { - writer_.writeRecord(); - } - - void writeRecordEnd() { - writer_.writeRecordEnd(); - } - - void writeArrayBlock(int64_t size) { - writer_.writeArrayBlock(size); - } - - void writeArrayEnd() { - writer_.writeArrayEnd(); - } - - void writeMapBlock(int64_t size) { - writer_.writeMapBlock(size); - } - - void writeMapEnd() { - writer_.writeMapEnd(); - } - - void writeUnion(int64_t choice) { - writer_.writeUnion(choice); - } - - void writeEnum(int64_t choice) { - writer_.writeEnum(choice); - } - - InputBuffer buffer() const { - return writer_.buffer(); - } - - private: - - Writer writer_; - -}; - -} // namespace avro - -#endif diff --git a/contrib/libs/apache/avro/avro/AvroParse.hh b/contrib/libs/apache/avro/avro/AvroParse.hh deleted file mode 100644 index 1ce878e5d1..0000000000 --- a/contrib/libs/apache/avro/avro/AvroParse.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/AvroParse.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/AvroSerialize.hh b/contrib/libs/apache/avro/avro/AvroSerialize.hh deleted file mode 100644 index 17f3da8cc5..0000000000 --- a/contrib/libs/apache/avro/avro/AvroSerialize.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/AvroSerialize.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/AvroTraits.hh b/contrib/libs/apache/avro/avro/AvroTraits.hh deleted file mode 100644 index edb19eb840..0000000000 --- a/contrib/libs/apache/avro/avro/AvroTraits.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/AvroTraits.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/Config.hh b/contrib/libs/apache/avro/avro/Config.hh deleted file mode 100644 index ae19fb85b8..0000000000 --- a/contrib/libs/apache/avro/avro/Config.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/Config.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/Exception.hh b/contrib/libs/apache/avro/avro/Exception.hh deleted file mode 100644 index 63ad410a4c..0000000000 --- a/contrib/libs/apache/avro/avro/Exception.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/Exception.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/Layout.hh b/contrib/libs/apache/avro/avro/Layout.hh deleted file mode 100644 index f0c927217f..0000000000 --- a/contrib/libs/apache/avro/avro/Layout.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/Layout.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/LogicalType.hh b/contrib/libs/apache/avro/avro/LogicalType.hh deleted file mode 100644 index 2a7eaa375a..0000000000 --- a/contrib/libs/apache/avro/avro/LogicalType.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/LogicalType.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/Parser.hh b/contrib/libs/apache/avro/avro/Parser.hh deleted file mode 100644 index 28eb7c4e16..0000000000 --- a/contrib/libs/apache/avro/avro/Parser.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/Parser.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/Resolver.hh b/contrib/libs/apache/avro/avro/Resolver.hh deleted file mode 100644 index bc3b3fb08f..0000000000 --- a/contrib/libs/apache/avro/avro/Resolver.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/Resolver.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/ResolverSchema.hh b/contrib/libs/apache/avro/avro/ResolverSchema.hh deleted file mode 100644 index f4d41e1de2..0000000000 --- a/contrib/libs/apache/avro/avro/ResolverSchema.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/ResolverSchema.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/ResolvingReader.hh b/contrib/libs/apache/avro/avro/ResolvingReader.hh deleted file mode 100644 index 04e4912747..0000000000 --- a/contrib/libs/apache/avro/avro/ResolvingReader.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/ResolvingReader.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/SchemaResolution.hh b/contrib/libs/apache/avro/avro/SchemaResolution.hh deleted file mode 100644 index 3aef7ff60e..0000000000 --- a/contrib/libs/apache/avro/avro/SchemaResolution.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/SchemaResolution.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/Serializer.hh b/contrib/libs/apache/avro/avro/Serializer.hh deleted file mode 100644 index 538b57dfa2..0000000000 --- a/contrib/libs/apache/avro/avro/Serializer.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/Serializer.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/Stream.hh b/contrib/libs/apache/avro/avro/Stream.hh deleted file mode 100644 index e056f5ae29..0000000000 --- a/contrib/libs/apache/avro/avro/Stream.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/Stream.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/Validator.hh b/contrib/libs/apache/avro/avro/Validator.hh deleted file mode 100644 index bca184c46d..0000000000 --- a/contrib/libs/apache/avro/avro/Validator.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/Validator.hh" /* inclink generated by yamaker */ diff --git a/contrib/libs/apache/avro/avro/Zigzag.hh b/contrib/libs/apache/avro/avro/Zigzag.hh deleted file mode 100644 index db263917ca..0000000000 --- a/contrib/libs/apache/avro/avro/Zigzag.hh +++ /dev/null @@ -1 +0,0 @@ -#include "../api/Zigzag.hh" /* inclink generated by yamaker */ |