licensee 9.15.2 → 9.15.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/licensee/license.rb +1 -1
  3. data/lib/licensee/matchers/copyright.rb +3 -1
  4. data/lib/licensee/matchers/dist_zilla.rb +1 -0
  5. data/lib/licensee/projects/github_project.rb +1 -1
  6. data/lib/licensee/version.rb +1 -1
  7. data/licensee.gemspec +2 -2
  8. data/spec/fixtures/detect.json +2 -2
  9. data/spec/fixtures/license-hashes.json +4 -0
  10. data/spec/licensee/commands/detect_spec.rb +2 -2
  11. data/spec/licensee/license_meta_spec.rb +3 -3
  12. data/spec/licensee/license_spec.rb +7 -2
  13. data/spec/licensee/matchers/copyright_matcher_spec.rb +12 -3
  14. data/spec/licensee/matchers/dice_matcher_spec.rb +2 -2
  15. data/spec/licensee_spec.rb +1 -1
  16. data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +3 -0
  17. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -1
  18. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +0 -1
  19. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +0 -1
  20. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +1 -1
  21. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +1 -0
  22. data/vendor/choosealicense.com/_licenses/cern-ohl-p-2.0.txt +216 -0
  23. data/vendor/choosealicense.com/_licenses/cern-ohl-s-2.0.txt +299 -0
  24. data/vendor/choosealicense.com/_licenses/cern-ohl-w-2.0.txt +321 -0
  25. data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +1 -1
  26. data/vendor/choosealicense.com/_licenses/gfdl-1.3.txt +483 -0
  27. data/vendor/choosealicense.com/_licenses/mit.txt +1 -1
  28. data/vendor/choosealicense.com/_licenses/mulanpsl-2.0.txt +55 -56
  29. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -1
  30. data/vendor/license-list-XML/src/BSD-3-Clause.xml +3 -1
  31. data/vendor/license-list-XML/src/BSD-4-Clause.xml +3 -3
  32. data/vendor/license-list-XML/src/CERN-OHL-P-2.0.xml +90 -0
  33. data/vendor/license-list-XML/src/CERN-OHL-S-2.0.xml +109 -0
  34. data/vendor/license-list-XML/src/CERN-OHL-W-2.0.xml +116 -0
  35. data/vendor/license-list-XML/src/GFDL-1.3.xml +594 -0
  36. data/vendor/license-list-XML/src/LGPL-3.0.xml +828 -1
  37. data/vendor/license-list-XML/src/MPL-2.0.xml +66 -29
  38. metadata +29 -9
@@ -0,0 +1,483 @@
1
+ ---
2
+ title: GNU Free Documentation License v1.3
3
+
4
+ spdx-id: GFDL-1.3
5
+
6
+ description: A copyleft license for software documentation.
7
+
8
+ how: Create a text file (typically named COPYING, as per GNU conventions) in the root of your source code and copy the text of the license into the file.
9
+
10
+ note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice after the title of a licensed document. The boilerplate can be found at the "addendum" part of the license.
11
+
12
+ using:
13
+ GNU LilyPond (Documentation): https://git.savannah.gnu.org/cgit/lilypond.git/tree/COPYING.FDL
14
+ GNU Scientific Library (Documentation): https://git.savannah.gnu.org/cgit/gsl.git/tree/doc/_static/fdl.txt
15
+ Qt (Documentation): https://code.qt.io/cgit/qt/qt.git/tree/LICENSE.FDL
16
+
17
+ permissions:
18
+ - commercial-use
19
+ - modifications
20
+ - distribution
21
+ - private-use
22
+
23
+ conditions:
24
+ - include-copyright
25
+ - disclose-source
26
+ - same-license
27
+ - document-changes
28
+
29
+ limitations:
30
+ - liability
31
+ - warranty
32
+ ---
33
+
34
+ GNU Free Documentation License
35
+ Version 1.3, 3 November 2008
36
+
37
+
38
+ Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
39
+ <https://fsf.org/>
40
+ Everyone is permitted to copy and distribute verbatim copies
41
+ of this license document, but changing it is not allowed.
42
+
43
+ 0. PREAMBLE
44
+
45
+ The purpose of this License is to make a manual, textbook, or other
46
+ functional and useful document "free" in the sense of freedom: to
47
+ assure everyone the effective freedom to copy and redistribute it,
48
+ with or without modifying it, either commercially or noncommercially.
49
+ Secondarily, this License preserves for the author and publisher a way
50
+ to get credit for their work, while not being considered responsible
51
+ for modifications made by others.
52
+
53
+ This License is a kind of "copyleft", which means that derivative
54
+ works of the document must themselves be free in the same sense. It
55
+ complements the GNU General Public License, which is a copyleft
56
+ license designed for free software.
57
+
58
+ We have designed this License in order to use it for manuals for free
59
+ software, because free software needs free documentation: a free
60
+ program should come with manuals providing the same freedoms that the
61
+ software does. But this License is not limited to software manuals;
62
+ it can be used for any textual work, regardless of subject matter or
63
+ whether it is published as a printed book. We recommend this License
64
+ principally for works whose purpose is instruction or reference.
65
+
66
+
67
+ 1. APPLICABILITY AND DEFINITIONS
68
+
69
+ This License applies to any manual or other work, in any medium, that
70
+ contains a notice placed by the copyright holder saying it can be
71
+ distributed under the terms of this License. Such a notice grants a
72
+ world-wide, royalty-free license, unlimited in duration, to use that
73
+ work under the conditions stated herein. The "Document", below,
74
+ refers to any such manual or work. Any member of the public is a
75
+ licensee, and is addressed as "you". You accept the license if you
76
+ copy, modify or distribute the work in a way requiring permission
77
+ under copyright law.
78
+
79
+ A "Modified Version" of the Document means any work containing the
80
+ Document or a portion of it, either copied verbatim, or with
81
+ modifications and/or translated into another language.
82
+
83
+ A "Secondary Section" is a named appendix or a front-matter section of
84
+ the Document that deals exclusively with the relationship of the
85
+ publishers or authors of the Document to the Document's overall
86
+ subject (or to related matters) and contains nothing that could fall
87
+ directly within that overall subject. (Thus, if the Document is in
88
+ part a textbook of mathematics, a Secondary Section may not explain
89
+ any mathematics.) The relationship could be a matter of historical
90
+ connection with the subject or with related matters, or of legal,
91
+ commercial, philosophical, ethical or political position regarding
92
+ them.
93
+
94
+ The "Invariant Sections" are certain Secondary Sections whose titles
95
+ are designated, as being those of Invariant Sections, in the notice
96
+ that says that the Document is released under this License. If a
97
+ section does not fit the above definition of Secondary then it is not
98
+ allowed to be designated as Invariant. The Document may contain zero
99
+ Invariant Sections. If the Document does not identify any Invariant
100
+ Sections then there are none.
101
+
102
+ The "Cover Texts" are certain short passages of text that are listed,
103
+ as Front-Cover Texts or Back-Cover Texts, in the notice that says that
104
+ the Document is released under this License. A Front-Cover Text may
105
+ be at most 5 words, and a Back-Cover Text may be at most 25 words.
106
+
107
+ A "Transparent" copy of the Document means a machine-readable copy,
108
+ represented in a format whose specification is available to the
109
+ general public, that is suitable for revising the document
110
+ straightforwardly with generic text editors or (for images composed of
111
+ pixels) generic paint programs or (for drawings) some widely available
112
+ drawing editor, and that is suitable for input to text formatters or
113
+ for automatic translation to a variety of formats suitable for input
114
+ to text formatters. A copy made in an otherwise Transparent file
115
+ format whose markup, or absence of markup, has been arranged to thwart
116
+ or discourage subsequent modification by readers is not Transparent.
117
+ An image format is not Transparent if used for any substantial amount
118
+ of text. A copy that is not "Transparent" is called "Opaque".
119
+
120
+ Examples of suitable formats for Transparent copies include plain
121
+ ASCII without markup, Texinfo input format, LaTeX input format, SGML
122
+ or XML using a publicly available DTD, and standard-conforming simple
123
+ HTML, PostScript or PDF designed for human modification. Examples of
124
+ transparent image formats include PNG, XCF and JPG. Opaque formats
125
+ include proprietary formats that can be read and edited only by
126
+ proprietary word processors, SGML or XML for which the DTD and/or
127
+ processing tools are not generally available, and the
128
+ machine-generated HTML, PostScript or PDF produced by some word
129
+ processors for output purposes only.
130
+
131
+ The "Title Page" means, for a printed book, the title page itself,
132
+ plus such following pages as are needed to hold, legibly, the material
133
+ this License requires to appear in the title page. For works in
134
+ formats which do not have any title page as such, "Title Page" means
135
+ the text near the most prominent appearance of the work's title,
136
+ preceding the beginning of the body of the text.
137
+
138
+ The "publisher" means any person or entity that distributes copies of
139
+ the Document to the public.
140
+
141
+ A section "Entitled XYZ" means a named subunit of the Document whose
142
+ title either is precisely XYZ or contains XYZ in parentheses following
143
+ text that translates XYZ in another language. (Here XYZ stands for a
144
+ specific section name mentioned below, such as "Acknowledgements",
145
+ "Dedications", "Endorsements", or "History".) To "Preserve the Title"
146
+ of such a section when you modify the Document means that it remains a
147
+ section "Entitled XYZ" according to this definition.
148
+
149
+ The Document may include Warranty Disclaimers next to the notice which
150
+ states that this License applies to the Document. These Warranty
151
+ Disclaimers are considered to be included by reference in this
152
+ License, but only as regards disclaiming warranties: any other
153
+ implication that these Warranty Disclaimers may have is void and has
154
+ no effect on the meaning of this License.
155
+
156
+ 2. VERBATIM COPYING
157
+
158
+ You may copy and distribute the Document in any medium, either
159
+ commercially or noncommercially, provided that this License, the
160
+ copyright notices, and the license notice saying this License applies
161
+ to the Document are reproduced in all copies, and that you add no
162
+ other conditions whatsoever to those of this License. You may not use
163
+ technical measures to obstruct or control the reading or further
164
+ copying of the copies you make or distribute. However, you may accept
165
+ compensation in exchange for copies. If you distribute a large enough
166
+ number of copies you must also follow the conditions in section 3.
167
+
168
+ You may also lend copies, under the same conditions stated above, and
169
+ you may publicly display copies.
170
+
171
+
172
+ 3. COPYING IN QUANTITY
173
+
174
+ If you publish printed copies (or copies in media that commonly have
175
+ printed covers) of the Document, numbering more than 100, and the
176
+ Document's license notice requires Cover Texts, you must enclose the
177
+ copies in covers that carry, clearly and legibly, all these Cover
178
+ Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
179
+ the back cover. Both covers must also clearly and legibly identify
180
+ you as the publisher of these copies. The front cover must present
181
+ the full title with all words of the title equally prominent and
182
+ visible. You may add other material on the covers in addition.
183
+ Copying with changes limited to the covers, as long as they preserve
184
+ the title of the Document and satisfy these conditions, can be treated
185
+ as verbatim copying in other respects.
186
+
187
+ If the required texts for either cover are too voluminous to fit
188
+ legibly, you should put the first ones listed (as many as fit
189
+ reasonably) on the actual cover, and continue the rest onto adjacent
190
+ pages.
191
+
192
+ If you publish or distribute Opaque copies of the Document numbering
193
+ more than 100, you must either include a machine-readable Transparent
194
+ copy along with each Opaque copy, or state in or with each Opaque copy
195
+ a computer-network location from which the general network-using
196
+ public has access to download using public-standard network protocols
197
+ a complete Transparent copy of the Document, free of added material.
198
+ If you use the latter option, you must take reasonably prudent steps,
199
+ when you begin distribution of Opaque copies in quantity, to ensure
200
+ that this Transparent copy will remain thus accessible at the stated
201
+ location until at least one year after the last time you distribute an
202
+ Opaque copy (directly or through your agents or retailers) of that
203
+ edition to the public.
204
+
205
+ It is requested, but not required, that you contact the authors of the
206
+ Document well before redistributing any large number of copies, to
207
+ give them a chance to provide you with an updated version of the
208
+ Document.
209
+
210
+
211
+ 4. MODIFICATIONS
212
+
213
+ You may copy and distribute a Modified Version of the Document under
214
+ the conditions of sections 2 and 3 above, provided that you release
215
+ the Modified Version under precisely this License, with the Modified
216
+ Version filling the role of the Document, thus licensing distribution
217
+ and modification of the Modified Version to whoever possesses a copy
218
+ of it. In addition, you must do these things in the Modified Version:
219
+
220
+ A. Use in the Title Page (and on the covers, if any) a title distinct
221
+ from that of the Document, and from those of previous versions
222
+ (which should, if there were any, be listed in the History section
223
+ of the Document). You may use the same title as a previous version
224
+ if the original publisher of that version gives permission.
225
+ B. List on the Title Page, as authors, one or more persons or entities
226
+ responsible for authorship of the modifications in the Modified
227
+ Version, together with at least five of the principal authors of the
228
+ Document (all of its principal authors, if it has fewer than five),
229
+ unless they release you from this requirement.
230
+ C. State on the Title page the name of the publisher of the
231
+ Modified Version, as the publisher.
232
+ D. Preserve all the copyright notices of the Document.
233
+ E. Add an appropriate copyright notice for your modifications
234
+ adjacent to the other copyright notices.
235
+ F. Include, immediately after the copyright notices, a license notice
236
+ giving the public permission to use the Modified Version under the
237
+ terms of this License, in the form shown in the Addendum below.
238
+ G. Preserve in that license notice the full lists of Invariant Sections
239
+ and required Cover Texts given in the Document's license notice.
240
+ H. Include an unaltered copy of this License.
241
+ I. Preserve the section Entitled "History", Preserve its Title, and add
242
+ to it an item stating at least the title, year, new authors, and
243
+ publisher of the Modified Version as given on the Title Page. If
244
+ there is no section Entitled "History" in the Document, create one
245
+ stating the title, year, authors, and publisher of the Document as
246
+ given on its Title Page, then add an item describing the Modified
247
+ Version as stated in the previous sentence.
248
+ J. Preserve the network location, if any, given in the Document for
249
+ public access to a Transparent copy of the Document, and likewise
250
+ the network locations given in the Document for previous versions
251
+ it was based on. These may be placed in the "History" section.
252
+ You may omit a network location for a work that was published at
253
+ least four years before the Document itself, or if the original
254
+ publisher of the version it refers to gives permission.
255
+ K. For any section Entitled "Acknowledgements" or "Dedications",
256
+ Preserve the Title of the section, and preserve in the section all
257
+ the substance and tone of each of the contributor acknowledgements
258
+ and/or dedications given therein.
259
+ L. Preserve all the Invariant Sections of the Document,
260
+ unaltered in their text and in their titles. Section numbers
261
+ or the equivalent are not considered part of the section titles.
262
+ M. Delete any section Entitled "Endorsements". Such a section
263
+ may not be included in the Modified Version.
264
+ N. Do not retitle any existing section to be Entitled "Endorsements"
265
+ or to conflict in title with any Invariant Section.
266
+ O. Preserve any Warranty Disclaimers.
267
+
268
+ If the Modified Version includes new front-matter sections or
269
+ appendices that qualify as Secondary Sections and contain no material
270
+ copied from the Document, you may at your option designate some or all
271
+ of these sections as invariant. To do this, add their titles to the
272
+ list of Invariant Sections in the Modified Version's license notice.
273
+ These titles must be distinct from any other section titles.
274
+
275
+ You may add a section Entitled "Endorsements", provided it contains
276
+ nothing but endorsements of your Modified Version by various
277
+ parties--for example, statements of peer review or that the text has
278
+ been approved by an organization as the authoritative definition of a
279
+ standard.
280
+
281
+ You may add a passage of up to five words as a Front-Cover Text, and a
282
+ passage of up to 25 words as a Back-Cover Text, to the end of the list
283
+ of Cover Texts in the Modified Version. Only one passage of
284
+ Front-Cover Text and one of Back-Cover Text may be added by (or
285
+ through arrangements made by) any one entity. If the Document already
286
+ includes a cover text for the same cover, previously added by you or
287
+ by arrangement made by the same entity you are acting on behalf of,
288
+ you may not add another; but you may replace the old one, on explicit
289
+ permission from the previous publisher that added the old one.
290
+
291
+ The author(s) and publisher(s) of the Document do not by this License
292
+ give permission to use their names for publicity for or to assert or
293
+ imply endorsement of any Modified Version.
294
+
295
+
296
+ 5. COMBINING DOCUMENTS
297
+
298
+ You may combine the Document with other documents released under this
299
+ License, under the terms defined in section 4 above for modified
300
+ versions, provided that you include in the combination all of the
301
+ Invariant Sections of all of the original documents, unmodified, and
302
+ list them all as Invariant Sections of your combined work in its
303
+ license notice, and that you preserve all their Warranty Disclaimers.
304
+
305
+ The combined work need only contain one copy of this License, and
306
+ multiple identical Invariant Sections may be replaced with a single
307
+ copy. If there are multiple Invariant Sections with the same name but
308
+ different contents, make the title of each such section unique by
309
+ adding at the end of it, in parentheses, the name of the original
310
+ author or publisher of that section if known, or else a unique number.
311
+ Make the same adjustment to the section titles in the list of
312
+ Invariant Sections in the license notice of the combined work.
313
+
314
+ In the combination, you must combine any sections Entitled "History"
315
+ in the various original documents, forming one section Entitled
316
+ "History"; likewise combine any sections Entitled "Acknowledgements",
317
+ and any sections Entitled "Dedications". You must delete all sections
318
+ Entitled "Endorsements".
319
+
320
+
321
+ 6. COLLECTIONS OF DOCUMENTS
322
+
323
+ You may make a collection consisting of the Document and other
324
+ documents released under this License, and replace the individual
325
+ copies of this License in the various documents with a single copy
326
+ that is included in the collection, provided that you follow the rules
327
+ of this License for verbatim copying of each of the documents in all
328
+ other respects.
329
+
330
+ You may extract a single document from such a collection, and
331
+ distribute it individually under this License, provided you insert a
332
+ copy of this License into the extracted document, and follow this
333
+ License in all other respects regarding verbatim copying of that
334
+ document.
335
+
336
+
337
+ 7. AGGREGATION WITH INDEPENDENT WORKS
338
+
339
+ A compilation of the Document or its derivatives with other separate
340
+ and independent documents or works, in or on a volume of a storage or
341
+ distribution medium, is called an "aggregate" if the copyright
342
+ resulting from the compilation is not used to limit the legal rights
343
+ of the compilation's users beyond what the individual works permit.
344
+ When the Document is included in an aggregate, this License does not
345
+ apply to the other works in the aggregate which are not themselves
346
+ derivative works of the Document.
347
+
348
+ If the Cover Text requirement of section 3 is applicable to these
349
+ copies of the Document, then if the Document is less than one half of
350
+ the entire aggregate, the Document's Cover Texts may be placed on
351
+ covers that bracket the Document within the aggregate, or the
352
+ electronic equivalent of covers if the Document is in electronic form.
353
+ Otherwise they must appear on printed covers that bracket the whole
354
+ aggregate.
355
+
356
+
357
+ 8. TRANSLATION
358
+
359
+ Translation is considered a kind of modification, so you may
360
+ distribute translations of the Document under the terms of section 4.
361
+ Replacing Invariant Sections with translations requires special
362
+ permission from their copyright holders, but you may include
363
+ translations of some or all Invariant Sections in addition to the
364
+ original versions of these Invariant Sections. You may include a
365
+ translation of this License, and all the license notices in the
366
+ Document, and any Warranty Disclaimers, provided that you also include
367
+ the original English version of this License and the original versions
368
+ of those notices and disclaimers. In case of a disagreement between
369
+ the translation and the original version of this License or a notice
370
+ or disclaimer, the original version will prevail.
371
+
372
+ If a section in the Document is Entitled "Acknowledgements",
373
+ "Dedications", or "History", the requirement (section 4) to Preserve
374
+ its Title (section 1) will typically require changing the actual
375
+ title.
376
+
377
+
378
+ 9. TERMINATION
379
+
380
+ You may not copy, modify, sublicense, or distribute the Document
381
+ except as expressly provided under this License. Any attempt
382
+ otherwise to copy, modify, sublicense, or distribute it is void, and
383
+ will automatically terminate your rights under this License.
384
+
385
+ However, if you cease all violation of this License, then your license
386
+ from a particular copyright holder is reinstated (a) provisionally,
387
+ unless and until the copyright holder explicitly and finally
388
+ terminates your license, and (b) permanently, if the copyright holder
389
+ fails to notify you of the violation by some reasonable means prior to
390
+ 60 days after the cessation.
391
+
392
+ Moreover, your license from a particular copyright holder is
393
+ reinstated permanently if the copyright holder notifies you of the
394
+ violation by some reasonable means, this is the first time you have
395
+ received notice of violation of this License (for any work) from that
396
+ copyright holder, and you cure the violation prior to 30 days after
397
+ your receipt of the notice.
398
+
399
+ Termination of your rights under this section does not terminate the
400
+ licenses of parties who have received copies or rights from you under
401
+ this License. If your rights have been terminated and not permanently
402
+ reinstated, receipt of a copy of some or all of the same material does
403
+ not give you any rights to use it.
404
+
405
+
406
+ 10. FUTURE REVISIONS OF THIS LICENSE
407
+
408
+ The Free Software Foundation may publish new, revised versions of the
409
+ GNU Free Documentation License from time to time. Such new versions
410
+ will be similar in spirit to the present version, but may differ in
411
+ detail to address new problems or concerns. See
412
+ https://www.gnu.org/licenses/.
413
+
414
+ Each version of the License is given a distinguishing version number.
415
+ If the Document specifies that a particular numbered version of this
416
+ License "or any later version" applies to it, you have the option of
417
+ following the terms and conditions either of that specified version or
418
+ of any later version that has been published (not as a draft) by the
419
+ Free Software Foundation. If the Document does not specify a version
420
+ number of this License, you may choose any version ever published (not
421
+ as a draft) by the Free Software Foundation. If the Document
422
+ specifies that a proxy can decide which future versions of this
423
+ License can be used, that proxy's public statement of acceptance of a
424
+ version permanently authorizes you to choose that version for the
425
+ Document.
426
+
427
+ 11. RELICENSING
428
+
429
+ "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
430
+ World Wide Web server that publishes copyrightable works and also
431
+ provides prominent facilities for anybody to edit those works. A
432
+ public wiki that anybody can edit is an example of such a server. A
433
+ "Massive Multiauthor Collaboration" (or "MMC") contained in the site
434
+ means any set of copyrightable works thus published on the MMC site.
435
+
436
+ "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
437
+ license published by Creative Commons Corporation, a not-for-profit
438
+ corporation with a principal place of business in San Francisco,
439
+ California, as well as future copyleft versions of that license
440
+ published by that same organization.
441
+
442
+ "Incorporate" means to publish or republish a Document, in whole or in
443
+ part, as part of another Document.
444
+
445
+ An MMC is "eligible for relicensing" if it is licensed under this
446
+ License, and if all works that were first published under this License
447
+ somewhere other than this MMC, and subsequently incorporated in whole or
448
+ in part into the MMC, (1) had no cover texts or invariant sections, and
449
+ (2) were thus incorporated prior to November 1, 2008.
450
+
451
+ The operator of an MMC Site may republish an MMC contained in the site
452
+ under CC-BY-SA on the same site at any time before August 1, 2009,
453
+ provided the MMC is eligible for relicensing.
454
+
455
+
456
+ ADDENDUM: How to use this License for your documents
457
+
458
+ To use this License in a document you have written, include a copy of
459
+ the License in the document and put the following copyright and
460
+ license notices just after the title page:
461
+
462
+ Copyright (c) YEAR YOUR NAME.
463
+ Permission is granted to copy, distribute and/or modify this document
464
+ under the terms of the GNU Free Documentation License, Version 1.3
465
+ or any later version published by the Free Software Foundation;
466
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
467
+ A copy of the license is included in the section entitled "GNU
468
+ Free Documentation License".
469
+
470
+ If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
471
+ replace the "with...Texts." line with this:
472
+
473
+ with the Invariant Sections being LIST THEIR TITLES, with the
474
+ Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
475
+
476
+ If you have Invariant Sections without Cover Texts, or some other
477
+ combination of the three, merge those two alternatives to suit the
478
+ situation.
479
+
480
+ If your document contains nontrivial examples of program code, we
481
+ recommend releasing these examples in parallel under your choice of
482
+ free software license, such as the GNU General Public License,
483
+ to permit their use in free software.
@@ -10,7 +10,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
10
10
 
11
11
  using:
12
12
  Babel: https://github.com/babel/babel/blob/master/LICENSE
13
- .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
13
+ .NET: https://github.com/dotnet/runtime/blob/main/LICENSE.TXT
14
14
  Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
15
15
 
16
16
  permissions:
@@ -102,14 +102,13 @@ limitations:
102
102
 
103
103
  Copyright (c) [Year] [name of copyright holder]
104
104
  [Software Name] is licensed under Mulan PSL v2.
105
- You can use this software according to the terms and conditions of the Mulan
105
+ You can use this software according to the terms and conditions of the Mulan
106
106
  PSL v2.
107
107
  You may obtain a copy of Mulan PSL v2 at:
108
108
  http://license.coscl.org.cn/MulanPSL2
109
- THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
110
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
111
- NON-INFRINGEMENT,
112
- MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
109
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
110
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
111
+ NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
113
112
  See the Mulan PSL v2 for more details.
114
113
 
115
114
  Mulan Permissive Software License,Version 2
@@ -118,109 +117,109 @@ Mulan Permissive Software License,Version 2 (Mulan PSL v2)
118
117
 
119
118
  January 2020 http://license.coscl.org.cn/MulanPSL2
120
119
 
121
- Your reproduction, use, modification and distribution of the Software shall
122
- be subject to Mulan PSL v2 (this License) with the following terms and
120
+ Your reproduction, use, modification and distribution of the Software shall
121
+ be subject to Mulan PSL v2 (this License) with the following terms and
123
122
  conditions:
124
123
 
125
124
  0. Definition
126
125
 
127
- Software means the program and related documents which are licensed under
126
+ Software means the program and related documents which are licensed under
128
127
  this License and comprise all Contribution(s).
129
128
 
130
- Contribution means the copyrightable work licensed by a particular
129
+ Contribution means the copyrightable work licensed by a particular
131
130
  Contributor under this License.
132
131
 
133
- Contributor means the Individual or Legal Entity who licenses its
132
+ Contributor means the Individual or Legal Entity who licenses its
134
133
  copyrightable work under this License.
135
134
 
136
- Legal Entity means the entity making a Contribution and all its
135
+ Legal Entity means the entity making a Contribution and all its
137
136
  Affiliates.
138
137
 
139
- Affiliates means entities that control, are controlled by, or are under
140
- common control with the acting entity under this License, ‘control’ means
141
- direct or indirect ownership of at least fifty percent (50%) of the voting
142
- power, capital or other securities of controlled or commonly controlled
138
+ Affiliates means entities that control, are controlled by, or are under
139
+ common control with the acting entity under this License, ‘control’ means
140
+ direct or indirect ownership of at least fifty percent (50%) of the voting
141
+ power, capital or other securities of controlled or commonly controlled
143
142
  entity.
144
143
 
145
144
  1. Grant of Copyright License
146
145
 
147
- Subject to the terms and conditions of this License, each Contributor hereby
148
- grants to you a perpetual, worldwide, royalty-free, non-exclusive,
149
- irrevocable copyright license to reproduce, use, modify, or distribute its
146
+ Subject to the terms and conditions of this License, each Contributor hereby
147
+ grants to you a perpetual, worldwide, royalty-free, non-exclusive,
148
+ irrevocable copyright license to reproduce, use, modify, or distribute its
150
149
  Contribution, with modification or not.
151
150
 
152
151
  2. Grant of Patent License
153
152
 
154
- Subject to the terms and conditions of this License, each Contributor hereby
155
- grants to you a perpetual, worldwide, royalty-free, non-exclusive,
156
- irrevocable (except for revocation under this Section) patent license to
157
- make, have made, use, offer for sale, sell, import or otherwise transfer its
158
- Contribution, where such patent license is only limited to the patent claims
159
- owned or controlled by such Contributor now or in future which will be
160
- necessarily infringed by its Contribution alone, or by combination of the
161
- Contribution with the Software to which the Contribution was contributed.
162
- The patent license shall not apply to any modification of the Contribution,
163
- and any other combination which includes the Contribution. If you or your
164
- Affiliates directly or indirectly institute patent litigation (including a
165
- cross claim or counterclaim in a litigation) or other patent enforcement
166
- activities against any individual or entity by alleging that the Software or
167
- any Contribution in it infringes patents, then any patent license granted to
168
- you under this License for the Software shall terminate as of the date such
153
+ Subject to the terms and conditions of this License, each Contributor hereby
154
+ grants to you a perpetual, worldwide, royalty-free, non-exclusive,
155
+ irrevocable (except for revocation under this Section) patent license to
156
+ make, have made, use, offer for sale, sell, import or otherwise transfer its
157
+ Contribution, where such patent license is only limited to the patent claims
158
+ owned or controlled by such Contributor now or in future which will be
159
+ necessarily infringed by its Contribution alone, or by combination of the
160
+ Contribution with the Software to which the Contribution was contributed.
161
+ The patent license shall not apply to any modification of the Contribution,
162
+ and any other combination which includes the Contribution. If you or your
163
+ Affiliates directly or indirectly institute patent litigation (including a
164
+ cross claim or counterclaim in a litigation) or other patent enforcement
165
+ activities against any individual or entity by alleging that the Software or
166
+ any Contribution in it infringes patents, then any patent license granted to
167
+ you under this License for the Software shall terminate as of the date such
169
168
  litigation or activity is filed or taken.
170
169
 
171
170
  3. No Trademark License
172
171
 
173
- No trademark license is granted to use the trade names, trademarks, service
174
- marks, or product names of Contributor, except as required to fulfill notice
172
+ No trademark license is granted to use the trade names, trademarks, service
173
+ marks, or product names of Contributor, except as required to fulfill notice
175
174
  requirements in section 4.
176
175
 
177
176
  4. Distribution Restriction
178
177
 
179
- You may distribute the Software in any medium with or without modification,
180
- whether in source or executable forms, provided that you provide recipients
181
- with a copy of this License and retain copyright, patent, trademark and
178
+ You may distribute the Software in any medium with or without modification,
179
+ whether in source or executable forms, provided that you provide recipients
180
+ with a copy of this License and retain copyright, patent, trademark and
182
181
  disclaimer statements in the Software.
183
182
 
184
183
  5. Disclaimer of Warranty and Limitation of Liability
185
184
 
186
- THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY
187
- KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR
188
- COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT
189
- LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING
190
- FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO
191
- MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF
185
+ THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY
186
+ KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR
187
+ COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT
188
+ LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING
189
+ FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO
190
+ MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF
192
191
  THE POSSIBILITY OF SUCH DAMAGES.
193
192
 
194
193
  6. Language
195
194
 
196
- THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION
197
- AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF
198
- DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION
195
+ THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION
196
+ AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF
197
+ DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION
199
198
  SHALL PREVAIL.
200
199
 
201
200
  END OF THE TERMS AND CONDITIONS
202
201
 
203
- How to Apply the Mulan Permissive Software License,Version 2
202
+ How to Apply the Mulan Permissive Software License,Version 2
204
203
  (Mulan PSL v2) to Your Software
205
204
 
206
- To apply the Mulan PSL v2 to your work, for easy identification by
205
+ To apply the Mulan PSL v2 to your work, for easy identification by
207
206
  recipients, you are suggested to complete following three steps:
208
207
 
209
- i. Fill in the blanks in following statement, including insert your software
210
- name, the year of the first publication of your software, and your name
208
+ i. Fill in the blanks in following statement, including insert your software
209
+ name, the year of the first publication of your software, and your name
211
210
  identified as the copyright owner;
212
- ii. Create a file named "LICENSE" which contains the whole context of this
211
+ ii. Create a file named "LICENSE" which contains the whole context of this
213
212
  License in the first directory of your software package;
214
- iii. Attach the statement to the appropriate annotated syntax at the
213
+ iii. Attach the statement to the appropriate annotated syntax at the
215
214
  beginning of each source file.
216
215
 
217
216
  Copyright (c) [Year] [name of copyright holder]
218
217
  [Software Name] is licensed under Mulan PSL v2.
219
- You can use this software according to the terms and conditions of the Mulan
218
+ You can use this software according to the terms and conditions of the Mulan
220
219
  PSL v2.
221
220
  You may obtain a copy of Mulan PSL v2 at:
222
221
  http://license.coscl.org.cn/MulanPSL2
223
- THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
224
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
222
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
223
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
225
224
  NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
226
225
  See the Mulan PSL v2 for more details.