Skip to content

Commit 67da3d0

Browse files
committed
📄 使用木兰宽松许可证第 2 版
1 parent 28ebcdd commit 67da3d0

File tree

2 files changed

+65
-61
lines changed

2 files changed

+65
-61
lines changed

.header.txt

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
Lute - 一款对中文语境优化的 Markdown 引擎,支持 Go 和 JavaScript
22
Copyright (c) {{.Year}}, {{.Owner}}
33

4-
Lute is licensed under the Mulan PSL v1.
5-
You can use this software according to the terms and conditions of the Mulan PSL v1.
6-
You may obtain a copy of Mulan PSL v1 at:
7-
http://license.coscl.org.cn/MulanPSL
8-
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
9-
IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
10-
PURPOSE.
11-
See the Mulan PSL v1 for more details.
4+
Lute is licensed under Mulan PSL v2.
5+
You can use this software according to the terms and conditions of the Mulan PSL v2.
6+
You may obtain a copy of Mulan PSL v2 at:
7+
http://license.coscl.org.cn/MulanPSL2
8+
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
9+
See the Mulan PSL v2 for more details.

LICENSE

+59-53
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
1-
木兰宽松许可证, 第1版
1+
木兰宽松许可证, 第2版
22

3-
木兰宽松许可证, 第1版
4-
2019年8月 http://license.coscl.org.cn/MulanPSL
3+
木兰宽松许可证, 第2版
4+
2020年1月 http://license.coscl.org.cn/MulanPSL2
55

6-
您对“软件”的复制、使用、修改及分发受木兰宽松许可证,第1版(“本许可证”)的如下条款的约束:
6+
7+
您对“软件”的复制、使用、修改及分发受木兰宽松许可证,第2版(“本许可证”)的如下条款的约束:
78

89
0. 定义
910

1011
“软件”是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。
1112

13+
“贡献”是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
14+
1215
“贡献者”是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。
1316

1417
“法人实体”是指提交贡献的机构及其“关联实体”。
1518

16-
“关联实体”是指,对“本许可证”下的一方而言,控制、受控制或与其共同受控制的机构,此处的控制是指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
17-
18-
“贡献”是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
19+
“关联实体”是指,对“本许可证”下的行为方而言,控制、受控制或与其共同受控制的机构,此处的控制是指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
1920

2021
1. 授予版权许可
2122

2223
每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可以复制、使用、修改、分发其“贡献”,不论修改与否。
2324

2425
2. 授予专利许可
2526

26-
每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软件”结合而将必然会侵犯的专利权利要求,不包括仅因您或他人修改“贡献”或其他结合而将必然会侵犯到的专利权利要求。如您或您的“关联实体”直接或间接地(包括通过代理、专利被许可人或受让人),就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权行动之日终止。
27+
每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权行动之日终止。
2728

2829
3. 无商标许可
2930

@@ -35,87 +36,92 @@
3536

3637
5. 免责声明与责任限制
3738

38-
“软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于何种法律理论,即使其曾被建议有此种损失的可能性。
39+
“软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于何种法律理论,即使其曾被建议有此种损失的可能性。
3940

40-
条款结束。
41+
6. 语言
42+
“本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文版为准。
4143

42-
如何将木兰宽松许可证,第1版,应用到您的软件
44+
条款结束
4345

44-
如果您希望将木兰宽松许可证,第1版,应用到您的新软件,为了方便接收者查阅,建议您完成如下三步:
46+
如何将木兰宽松许可证,第2版,应用到您的软件
47+
48+
如果您希望将木兰宽松许可证,第2版,应用到您的新软件,为了方便接收者查阅,建议您完成如下三步:
4549

4650
1, 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;
4751

4852
2, 请您在软件包的一级目录下创建以“LICENSE”为名的文件,将整个许可证文本放入该文件中;
4953

5054
3, 请将如下声明文本放入每个源文件的头部注释中。
5155

52-
Copyright (c) [2019] [name of copyright holder]
53-
[Software Name] is licensed under the Mulan PSL v1.
54-
You can use this software according to the terms and conditions of the Mulan PSL v1.
55-
You may obtain a copy of Mulan PSL v1 at:
56-
http://license.coscl.org.cn/MulanPSL
57-
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
58-
IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
59-
PURPOSE.
60-
See the Mulan PSL v1 for more details.
61-
56+
Copyright (c) [Year] [name of copyright holder]
57+
[Software Name] is licensed under Mulan PSL v2.
58+
You can use this software according to the terms and conditions of the Mulan PSL v2.
59+
You may obtain a copy of Mulan PSL v2 at:
60+
http://license.coscl.org.cn/MulanPSL2
61+
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
62+
See the Mulan PSL v2 for more details.
6263

63-
Mulan Permissive Software License,Version 1
6464

65-
Mulan Permissive Software License,Version 1 (Mulan PSL v1)
66-
August 2019 http://license.coscl.org.cn/MulanPSL
65+
Mulan Permissive Software License,Version 2
6766

68-
Your reproduction, use, modification and distribution of the Software shall be subject to Mulan PSL v1 (this License) with following terms and conditions:
67+
Mulan Permissive Software License,Version 2 (Mulan PSL v2)
68+
January 2020 http://license.coscl.org.cn/MulanPSL2
6969

70+
Your reproduction, use, modification and distribution of the Software shall be subject to Mulan PSL v2 (this License) with the following terms and conditions:
71+
7072
0. Definition
71-
72-
Software means the program and related documents which are comprised of those Contribution and licensed under this License.
73-
73+
74+
Software means the program and related documents which are licensed under this License and comprise all Contribution(s).
75+
76+
Contribution means the copyrightable work licensed by a particular Contributor under this License.
77+
7478
Contributor means the Individual or Legal Entity who licenses its copyrightable work under this License.
75-
79+
7680
Legal Entity means the entity making a Contribution and all its Affiliates.
77-
78-
Affiliates means entities that control, or are controlled by, or are under common control with a party to this License, ‘control’ means direct or indirect ownership of at least fifty percent (50%) of the voting power, capital or other securities of controlled or commonly controlled entity.
79-
80-
Contribution means the copyrightable work licensed by a particular Contributor under this License.
81+
82+
Affiliates means entities that control, are controlled by, or are under common control with the acting entity under this License, ‘control’ means direct or indirect ownership of at least fifty percent (50%) of the voting power, capital or other securities of controlled or commonly controlled entity.
8183

8284
1. Grant of Copyright License
8385

8486
Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable copyright license to reproduce, use, modify, or distribute its Contribution, with modification or not.
8587

86-
2. Grant of Patent License
88+
2. Grant of Patent License
8789

88-
Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable (except for revocation under this Section) patent license to make, have made, use, offer for sale, sell, import or otherwise transfer its Contribution where such patent license is only limited to the patent claims owned or controlled by such Contributor now or in future which will be necessarily infringed by its Contribution alone, or by combination of the Contribution with the Software to which the Contribution was contributed, excluding of any patent claims solely be infringed by your or others’ modification or other combinations. If you or your Affiliates directly or indirectly (including through an agent, patent licensee or assignee), institute patent litigation (including a cross claim or counterclaim in a litigation) or other patent enforcement activities against any individual or entity by alleging that the Software or any Contribution in it infringes patents, then any patent license granted to you under this License for the Software shall terminate as of the date such litigation or activity is filed or taken.
90+
Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable (except for revocation under this Section) patent license to make, have made, use, offer for sale, sell, import or otherwise transfer its Contribution, where such patent license is only limited to the patent claims owned or controlled by such Contributor now or in future which will be necessarily infringed by its Contribution alone, or by combination of the Contribution with the Software to which the Contribution was contributed. The patent license shall not apply to any modification of the Contribution, and any other combination which includes the Contribution. If you or your Affiliates directly or indirectly institute patent litigation (including a cross claim or counterclaim in a litigation) or other patent enforcement activities against any individual or entity by alleging that the Software or any Contribution in it infringes patents, then any patent license granted to you under this License for the Software shall terminate as of the date such litigation or activity is filed or taken.
8991

9092
3. No Trademark License
9193

92-
No trademark license is granted to use the trade names, trademarks, service marks, or product names of Contributor, except as required to fulfill notice requirements in section 4.
94+
No trademark license is granted to use the trade names, trademarks, service marks, or product names of Contributor, except as required to fulfill notice requirements in Section 4.
9395

9496
4. Distribution Restriction
9597

9698
You may distribute the Software in any medium with or without modification, whether in source or executable forms, provided that you provide recipients with a copy of this License and retain copyright, patent, trademark and disclaimer statements in the Software.
9799

98100
5. Disclaimer of Warranty and Limitation of Liability
99101

100-
The Software and Contribution in it are provided without warranties of any kind, either express or implied. In no event shall any Contributor or copyright holder be liable to you for any damages, including, but not limited to any direct, or indirect, special or consequential damages arising from your use or inability to use the Software or the Contribution in it, no matter how it’s caused or based on which legal theory, even if advised of the possibility of such damages.
102+
THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
103+
104+
6. Language
105+
106+
THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION SHALL PREVAIL.
107+
108+
END OF THE TERMS AND CONDITIONS
109+
110+
How to Apply the Mulan Permissive Software License,Version 2 (Mulan PSL v2) to Your Software
101111

102-
End of the Terms and Conditions
112+
To apply the Mulan PSL v2 to your work, for easy identification by recipients, you are suggested to complete following three steps:
103113

104-
How to apply the Mulan Permissive Software License,Version 1 (Mulan PSL v1) to your software
114+
i Fill in the blanks in following statement, including insert your software name, the year of the first publication of your software, and your name identified as the copyright owner;
105115

106-
To apply the Mulan PSL v1 to your work, for easy identification by recipients, you are suggested to complete following three steps:
116+
ii Create a file named “LICENSE” which contains the whole context of this License in the first directory of your software package;
107117

108-
i. Fill in the blanks in following statement, including insert your software name, the year of the first publication of your software, and your name identified as the copyright owner;
109-
ii. Create a file named “LICENSE” which contains the whole context of this License in the first directory of your software package;
110-
iii. Attach the statement to the appropriate annotated syntax at the beginning of each source file.
118+
iii Attach the statement to the appropriate annotated syntax at the beginning of each source file.
111119

112-
Copyright (c) [2019] [name of copyright holder]
113-
[Software Name] is licensed under the Mulan PSL v1.
114-
You can use this software according to the terms and conditions of the Mulan PSL v1.
115-
You may obtain a copy of Mulan PSL v1 at:
116-
http://license.coscl.org.cn/MulanPSL
117-
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
118-
IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
119-
PURPOSE.
120120

121-
See the Mulan PSL v1 for more details.
121+
Copyright (c) [Year] [name of copyright holder]
122+
[Software Name] is licensed under Mulan PSL v2.
123+
You can use this software according to the terms and conditions of the Mulan PSL v2.
124+
You may obtain a copy of Mulan PSL v2 at:
125+
http://license.coscl.org.cn/MulanPSL2
126+
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
127+
See the Mulan PSL v2 for more details.

0 commit comments

Comments
 (0)