此文原为译者在2019年8月试翻译并发表在微薄上,目前建站需要些内容,遂重新整理修订了一下,充实内容,发在这里。
虽然译者觉得这篇小文译的不好,应该也没有人会想要转载,但假如谁想要转载的话,务请标明此出处 https://www.2busi.com/(即使只是抽取其中的中文部分)。因为这毕竟是译者花了好几天的时间,费了九牛二虎之力才译出来的。
就当前来说,所有软件从业人员几乎很难不与开源社区产生些交集,笔者也不例外;甚至于只是软件的使用者恐也不能例外。阿帕奇软件基金会(Apache Software Foundation)就是其中很有些影响力的社区之一(当然还有其他很有影响力的开源社区),有很多开源软件是以阿帕奇许可证发布的,所以了解下其协议还是很有必要。但笔者搜了下网络,除了觉得一个概论的帖子说的似乎还可看明白,没有找到看的懂得帖子(当然也未必是翻译的问题),所以找来原文看了下,更是吃力。刚好这几天很有些闲,就突发奇想试着翻了下,没想到竟如此之难,当然这是译者英语水平不行。
虽然译的不怎么样,但既然译出来了,就发出来,权当做个记录。如有阅读者,有错勿喷,欢迎指正!以下是英-中文对照译文。其中【】中的内容为同一语句的设想不同译法,拿捏不准该使用哪一个,遂一并发出。
Apache License 2.0
阿帕奇许可证2.0
Full name
全名
Apache License 2.0
阿帕奇许可证2.0版
Short identifier
短标识
Apache-2.0
阿帕奇-2.0
Other web pages for this license
本许可证的其他网址
· http://www.apache.org/licenses/LICENSE-2.0
· https://opensource.org/licenses/Apache-2.0
Notes
注意
This license was released January 2004
本许可证发布于2004年1月
Text
正文
Apache License
阿帕奇许可证
Version 2.0, January 2004
2.0版本,2004年1月
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE,REPRODUCTION, AND DISTRIBUTION
使用,复制,及分发的条款及规定
1. Definitions.
1. 定义
o "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
o “许可(证)”是指由本文档第一节至第九节规定的,使用、复制、和发布所需遵循的条款与约定。
o "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
o “许可方(人)”是指授予本许可证的版权所有者或由版权所有者授权的实体。
o "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.
o “法律实体”是指:行动实体的联盟和所有其他控制该实体,或由该实体控制的,或在该实体共同控制下的实体。在本定义中,“控制”意指,(i)通过合约或其他方式,形成的直接或间接指导或管理该实体的权力,或(ii)拥有该实体50%或以上的流通股,或(iii)是该实体的权益所有方。
o "You" (or"Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
o “你”(或“你的”)是指:行使本许可证所授予权限的个体(人)或法律实体。
o 【“用户”(或“用户的)是指行使本许可证所授予权限的个人或法律实体。】
o "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
o “源码”形式是指:包括但不限于软件源代码,源文档,和配置文件等;他们是进行修改的首选形式。
o "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.
o “目标代码”形式是指:通过转换或翻译源代码而得到的任何结果形式,包括但不限于编译得到的目标代码,产生的文档,和转换得到的其他媒体类型。
o "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).
o
“作品【工作成果】”是指:由包含或附加在工作成果中的版权声明指定,使用本许可证进行授权,以源码或目标对象形式提供的,使用本许可证的劳动成果【作品】(后面的附录部分提供了一个示例)。
o "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.
o “衍生作品”是指:基于(或衍生自)原“作品”,以及与原“作品”合为一体的修订、注释、精化、或其他类型改进的,不论源码或目标对象形式的任何作品。在本许可证中,“衍生作品”不包括那些与原作品或原作品衍生作品保持分离,或仅仅与其接口进行链接(或与其名称绑定)的作品。
o "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."
o “贡【捐】献”是指:由版权所有者,或版权所有者授权(委托)的代表版权所有者的个体或法律实体提交给许可方的,以合并进入作品为目的的任何(被提交的)劳动成果(包括作品的原版本,以及原版本的任何改进或附加,或其衍生作品)。在本定义中,“提交”意指以电子的,口头或文字的,或书面等任何形式发送给许可方或其代表的信息(包括但不限于,在由许可方或代表许可方,为讨论或改进该作品而管理的电子邮件列表,源代码控制系统,和问题跟踪系统上交流的信息),但不包括那些被版权所有者明确标注为或另以书面形式指定为“不是捐献”的信息。
o "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.
o “贡献【捐赠】者”是指:许可方和提交的捐献已由许可方接受并合并进入作品中的任何个人或法律实体。
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.
2. 版权许可(证)的授予。在遵守本许可证的条款和规定的情况下,每位贡献者特此授予你【用户】永久的,世界范围的,不排他的,不收费的,无版税的,不可撤销的版权许可,以用于复制,准备衍生作品、公开展示、公开传播、公开执行,再授权,以及以源码或目标代码形式分发本作品及其衍生作品。
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.
3. 专利许可证的授予。根据本许可证的条款和规定,每位贡献者特此授予你【用户】永久的,世界范围的,不排他的,不收费的,无版税的,不可撤销的(除本小节所描述的情况外)专利许可(证),以用于以后制造,已经制造,使用,要约销售,销售,进口,以及在其他情况下转让本作品,此处的专利许可仅适用于那些符合条件的专利声索——这些贡献者(声索者)的捐献将不可避免的被,且仅将被他自己提交的捐献或他们提交给本作品的捐献的组合侵权。如果你与任何实体之间发生了专利诉讼(包括交叉声索或诉讼中的反诉)——因为该实体宣称此作品或被吸收进作品中的捐献构成了直接或间接的专利侵犯,那么自诉讼发起之日起,根据本许可证授予你的在此作品中的任何专利许可即告终止。【如果你与任何宣称此作品或吸收进此作品中的捐献构成了直接或间接专利侵权的实体(包括交叉声索或诉讼中的反诉)发生专利诉讼,那么基于本许可证授予你的任何专利许可将自诉讼提起之日起终止。】
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:
4. 再发布。你可以以任何媒介形式复制并分发本作品或本作品衍生作品的拷贝,不论是修改或不修改,也不论以源码形式或目标代码形式,只要【但要】遵守以下条件:
o (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
o (a) 你必需给本作品或其衍生作品的任何接受方一份本许可证的拷贝(副本);并且
o (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
o (b) 你必需给任何被修改的文件配备显式的声明,以表明你修改了那个文件;并且
o (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
o (c) 你必需以源码形式保留你所分发的任何衍生作品的,来自原作品源码的所有版权,专利,商标,和署名声明【归属声明】,但那些不属于该衍生作品任何部分的声明除外;并且
o (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, along side or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
o (d) 如果原作品随其分发包含了一份“声明”文本文件,那么你发布的任何此作品的衍生作品也必需包含一份清晰可读的,包含在该“声明”文件中的归属声明【署名声明】(的拷贝)——那些不属于【适用于】该衍生作品任何部分的声明除外。且这些声明必需在以下的至少一个地方出现:随衍生作品一起发布的“声明”文本文件中;衍生作品提供的源码或文档中(如果有的话);或者,由衍生作品产生的展示中(如果而且只要第三方声明出现的话)。“声明”文件的内容只作为信息提示之用,而不构成对本【原】许可证的更改。你也可以在你发布的衍生作品中添加你自己的归属【署名】声明——可以与原作品的“声明”文本一起或单独列出,但是这些附加的归属声明不能构成对原许可证的更改。
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. Not withstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
5. 提交贡献【捐献】。除非你明确指出,否则,由你特意提交给许可方,用于合并到本作品中的任何捐献,将使用本许可证中的条款和规定,而不再附加其他条款或规定。尽管如此,这里没有什么会取代或更改你可能已经与许可方在此捐献上达成的任何独立许可协议中的条款。
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.
6. 商标。本许可证不授予(你)使用许可方的商号【字号】,商标,服务标识,或产品名称的权限【许可】,除了在合理的理由和按照惯例的要求,描述原作品的起源以及复制其“声明”文件的内容时。
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.
7. 免责声明。除非有相应法律的要求或书面协议,否则许可方(以及每位贡献者提供的捐献)将以“基于作品现状”的原则,在没有任何明确或隐式表述的担保或约定的情况下提供此作品(包含但不限于所有权凭证的、未侵权的、适合销售的、或适用于某种特定目的【某种特定目的的适合性】等方面的任何担保或约定)。用户需全权对使用或分发此作品的合适性做出决策并负责,并承担因行使此许可证所授予的权限可能带来的任何风险。
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.
8. 责任范围。在任何情况或法律理论下,不论是侵权行为(包括无意的),合同,或其他情形中——除了有相应法律(如《故意和重大过失行为法》)或书面承诺的要求外,任何贡献者都不应该对你遭受的伤害负责,包括各种直接的,间接的,特殊的,偶然的,或由本许可证带来的任何后续名誉伤害,不能使用、无能力去使用该作品等(包括但不限于商誉损失,运行中断,计算机故障或误操作,或任何其他所有的商业损害或损失),即使该捐献者已经收到相关损害的可能性方面的建议。
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.
9. 接受保修或其他责任【承担保修或其他责任】。当你重新分发此作品或其衍生作品时,你可能会选择去承诺提供支持,保修,赔偿,或其他与此许可证一致的责任义务和/或权利,并为此而收取些费用。然而,仅当你同意在因为你的接受此等保修或额外义务而招致赔偿要求或其他责任时,保护每位贡献者,使其不至于受到伤害或损失,你才可以代表你自己(而不代表任何其他贡献者)接受这些义务,并独自对此负责。
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]
版权 [字号(年号?)yyyy][版权所有者名称/姓名]
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
由阿帕奇许可证2.0版(本“许可证”)许可;
除非遵循此许可证,否则你不能使用此文件。
你可从以下地址得到本许可证的拷贝【副本】:
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.
除非有相应的适用法律或书面承诺的要求,以此许可证发布的软件是在
“基于作品现状”原则,在没有任何类型的显式或隐含说明的担保或约定下发布的。
查阅许可证以获得此许可证下许可和限制的具体表述。
Standard License Header
标准许可证头部
Copyright [yyyy] [name of copyright owner]
版权 [字号(年号)yyyy] [版权所有者名称/姓名]
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
由阿帕奇许可证2.0版(本“许可证”)许可;
除非遵循此许可证,否则你不能使用此文件。
你可从以下地址得到本许可证的拷贝:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable lawor 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.
除非有相应的适用法律或书面承诺的要求,以此许可证发布的软件是在
“基于作品现状”原则,在没有任何类型的显式或隐含说明的担保或规定下发布的。
查阅许可证以获得此许可证下许可和限制的具体表述。