Apache v2.0(Apache许可证2.0)
这是一个自由软件许可证,它兼容GPL v3。
但该许可证却不兼容GPL v2,因为它的一些要求没有包含在GPL v2中。这包括某些专利中止和侵害保护条款。其中的专利中止条款是不错的,所以推荐大型的软件使用Apache 2.0许可证而不是其他松散型许可证。
英文原文(译文见下方)
原文地址:https://www.apache.org/licenses/LICENSE-2.0
Apache License
Version 2.0, January 2004
http://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, 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 http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
参考译文
这仅是该许可协议的参考翻译,并非由Apache软件基金会所发表,不适用于使用Apache许可协议发布的软件的法律声明——只有Apache许可协议的英文原版才具备相应法律效力。
本参考译文的目的是希望能够帮助更多读者更好地理解Apache许可协议的内容,理解开源精神。
- https://legacy.openatom.cn/other/【英译中】Apache License 2.0 [审定稿].pdf
- https://github.com/OpenAtomFoundation/legal-license-translation/blob/master/译文投稿 Submission/第1类-主流开源许可证 popular and widely-used licenses/Apache 2.0 翻译 Sara 20230222.docx
Apache许可证
2.0版,2004年1月
http://www.apache.org/licenses/
使用、复制和分发的条款和条件
1. 定义。
“本许可证”系指本文档第1节至第9节所定义的使用、复制和分发的条款和条件。
“许可方”系指授予本许可证的版权所有者或经其授权的实体。
“法人实体”系指行为实体及其他控制该实体、受该实体控制或与该实体在共同控制之下的实体的集合。就本条定义而言,“控制”指(i)直接或间接地引导或管理该实体的权力,不论通过合同或其他形式;或(ii)拥有百分之五十(50%)或以上流通股的所有权;或(iii)拥有该实体的实益所有权。
“您”(或“您的”)系指行使本许可证下许可的个人或法人实体。
“源码”形式系指进行修改的首选形式,包括但不限于软件源代码、源文档和配置文件。
“目标码”形式系指对源码形式进行机器转换或翻译而产生的任何形式,包括但不限于已编译的目标代码、生成的文档和转换的其他媒体类型。
“本作品”系指在本许可证下无论以源码形式或目标码形式提供的原创作品,如作品中所包含或附加的版权声明所述(示例请见下文附录)。
“衍生作品”系指基于(或衍生于)本作品的任何作品,无论是源码形式或目标码形式,且对本作品的编辑修订、注释、阐述或其他修改在整体上形成原创作品。就本许可证而言,衍生作品不包括与本作品及其衍生作品仍保持分离或仅通过接口连接(或以名称绑定)的作品。
“贡献”系指由版权所有者或由经其授权的个人或法人实体有意提交给许可方以纳入本作品的任何原创作品,包括本作品的原始版本和对本作品的任何修改或添加或其衍生作品。就本条定义而言,“提交”系指发送给许可方或其代表的任何电子、口头或书面形式的通信内容,包括但不限于为供讨论和改进本作品目的,发送到许可方管理的、或代表许可方的电子邮件列表、源代码控制系统和发布跟踪系统的通信内容,但不包括版权所有者明确标注或以其他方式书面指定为“非贡献”的通信内容。
“贡献者”是指许可方,以及其“贡献”已被许可方接收且许可方代表其将贡献合并入本作品中的任何个人或法人实体。
2. 版权许可的授予。
受限于本许可证的条款和条件,每个贡献者特此授予您永久的、全球性的、非排他性的、免交易费的、免许可费的、不可撤销的版权许可,以复制、准备衍生作品、公开展示、公开表演、分许可和分发本作品及其衍生作品,以源码或目标码形式。
3. 专利许可的授予。
受限于本许可证的条款和条件,每个贡献者特此授予您永久的、全球性的、非排他性的、免交易费的、免许可费的、不可撤销的(按本节规定的除外)专利许可,以制造、委托制造、使用、许诺销售、销售、进口及以其他方式转移本作品,该许可仅及于贡献者有权许可且由其贡献本身或由其贡献与其提交时所针对的本作品形成的组合所必然侵犯的专利权利要求。如果您对任何实体提起专利诉讼(包括在法律诉讼中的交叉诉讼主张或反诉主张),主张本作品或纳入本作品的贡献构成专利的直接侵权或帮助侵权,则在本许可证下授予您的任何专利许可自该诉讼提起之日起终止。
4. 再分发。
您可在任何媒介上复制和分发本作品或其衍生作品的副本,无论是否经过修改,无论以源码形式或目标形式,只要您满足以下条件:
- (a) 您必须向本作品或衍生作品的任何其他接收者提供本许可证的副本;且
- (b) 您必须使任何修改后的文件都附上显著的声明,说明您修改了该文件;且
- (c) 您必须在您分发的任何衍生作品的源码形式中,保留来自本作品源码形式的所有版权、专利、商标和权属声明,但与该衍生作品任何部分无关的声明除外;以及
- (d) 如果本作品分发时包含“NOTICE”文本文件,则您分发的任何衍生作品必须至少在下述一处位置包含本文件中的署名声明的可读副本,但与该衍生作品任何部分无关的声明除外:在作为衍生作品一部分的NOTICE文本文件中;在与衍生作品一并提供的源码形式或文档中;或在衍生作品生成的显示界面中通常展示第三方声明的任何位置(如有)。NOTICE文件中的内容仅为提供信息,并不修改本许可。您可以在您分发的衍生作品中添加您自己的权属声明,与本作品的NOTICE文本并列或作为其附录,只要该添加的权属声明不被解释为修改本许可。
您可以对您的修改部分添加您自己的版权声明,并可以就您的修改部分或就任何衍生作品整体提供额外或不同的许可条款和条件以使用、复制或分发,只要您使用、复制和分发本作品符合本许可规定的条件。
5. 贡献的提交。
除非您另有明确说明,您向许可方有意提交的任何以纳入本作品的贡献均受本许可证的条款和条件约束,而不带有任何附加条款或条件。尽管有上述规定,本许可证中任何内容均不会取代或修改您可能与许可方另行签署的任何关于该贡献的许可协议的条款。
6. 商标。
本许可证不授予使用许可方的商号、商标、服务标志或产品名称的许可,但在描述本作品来源及复制NOTICE文件内容时因合理和习惯用法需要的除外。
7. 免责声明。
除非所适用法律要求或经书面同意,许可方就本作品(及每个贡献者就其贡献)是 “按原样”提供 , 没有任何 明示或默示的 保证或条件 ,包括但不限于关于 权属、不侵权、适销性或特定目的适用性 的任何保证或条件。您自行负责确认使用或再分发本作品的适当性,并承担与您行使本许可证下所授许可相关的任何风险。
8. 责任限制。
在任何情况和任何法律理论下,无论在侵权(包括过失)、合同或其他方面,除非所适用法律要求(如故意或严重过失行为)或经书面同意,任何贡献者均不对您的损失承担责任,包括因本许可证或因使用或无法使用本作品而导致的任何直接的、间接的、特定的、偶然性的或继发性的损失(包括但不限于商誉损失、停工、计算机失灵或故障,或任何其他商业损害或损失),即使该贡献者曾被告知该损失的可能性。
9. 接受保证或附加责任。
在再分发本作品或其衍生作品时,您可以选择接受支持、保证、补偿或其他符合本许可证的责任义务和/或权利,并为之收取费用。然而,在接受该义务时,您只能代表您自己行事且责任完全由您承担,不得代表任何其他贡献者,且在其他贡献者因您接受此类保证或附加责任而产生赔偿责任或主张时,您必须同意补偿、辩护并使该贡献者免受该损害。
条款和条件结束
附录:如何将 Apache 许可证应用到您的作品中。
在您作品中包含Apache许可证的副本,通常在名为“LICENSE”的文件中,并考虑在您作品中包含一个引用该许可证的“NOTICE”文件。
要将Apache许可证应用于您的作品,请附上下述声明模板,
并将由括号“[]”包围的字段替换为您自己的标识信息。
(不要包含方括号!)该文本应纳入文件格式适合的注释语法中。
我们还建议将文件名或类名和目的描述与版权声明放在同一“打印页面”上,
以便于在第三方档案中识别。
版权所有 [yyyy] [版权所有者姓名]
根据Apache许可证 2.0 版(“许可证”)获得许可;除非遵守许可证,否则您不得使用此文件。您可以在以下位置获取许可证副本:http://www.apache.org/licenses/LICENSE-2.0
除非适用法律要求或书面同意,否则软件根据许可证分发是在“按原样”基础上分发的,不提供任何明示或暗示的保证或条件。请参阅许可证以了解特定语言的管理权限和许可证下的限制。
感谢支持
更多内容,请移步《超级个体》。