licensee 9.14.1 → 9.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +1 -1
  4. data/lib/licensee.rb +1 -1
  5. data/lib/licensee/commands/detect.rb +2 -4
  6. data/lib/licensee/commands/diff.rb +1 -3
  7. data/lib/licensee/content_helper.rb +23 -27
  8. data/lib/licensee/hash_helper.rb +1 -1
  9. data/lib/licensee/license.rb +28 -14
  10. data/lib/licensee/matchers/copyright.rb +2 -7
  11. data/lib/licensee/matchers/cran.rb +1 -1
  12. data/lib/licensee/matchers/dice.rb +1 -1
  13. data/lib/licensee/project_files/license_file.rb +29 -22
  14. data/lib/licensee/project_files/project_file.rb +2 -4
  15. data/lib/licensee/project_files/readme_file.rb +1 -1
  16. data/lib/licensee/projects/fs_project.rb +1 -3
  17. data/lib/licensee/projects/git_project.rb +6 -4
  18. data/lib/licensee/projects/project.rb +11 -10
  19. data/lib/licensee/version.rb +1 -1
  20. data/licensee.gemspec +5 -4
  21. data/spec/fixture_spec.rb +2 -2
  22. data/spec/fixtures/bsd-3-authorowner/LICENSE +27 -0
  23. data/spec/fixtures/cc-by-sa-mdlinks/License.md +173 -0
  24. data/spec/fixtures/cc-by-sa-nocclicensor/License.md +425 -0
  25. data/spec/fixtures/detect.json +5 -5
  26. data/spec/fixtures/eupl-cal2017/LICENSE.txt +274 -0
  27. data/spec/fixtures/fixtures.yml +45 -25
  28. data/spec/fixtures/license-hashes.json +39 -38
  29. data/spec/fixtures/pixar-modified-apache/LICENSE.txt +174 -0
  30. data/spec/integration_spec.rb +46 -6
  31. data/spec/licensee/commands/detect_spec.rb +2 -2
  32. data/spec/licensee/content_helper_spec.rb +14 -13
  33. data/spec/licensee/license_spec.rb +5 -5
  34. data/spec/licensee/matchers/dice_matcher_spec.rb +2 -2
  35. data/spec/licensee/project_files/license_file_spec.rb +8 -2
  36. data/spec/licensee/project_spec.rb +1 -3
  37. data/spec/licensee_spec.rb +1 -1
  38. data/spec/spec_helper.rb +3 -3
  39. data/spec/vendored_license_spec.rb +1 -1
  40. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -1
  41. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +1 -1
  42. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +75 -58
  43. data/vendor/choosealicense.com/_licenses/mit-0.txt +45 -0
  44. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +1 -1
  45. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -1
  46. data/vendor/license-list-XML/src/0BSD.xml +21 -0
  47. data/vendor/license-list-XML/src/AFL-3.0.xml +212 -0
  48. data/vendor/license-list-XML/src/AGPL-3.0.xml +852 -0
  49. data/vendor/license-list-XML/src/Apache-2.0.xml +223 -0
  50. data/vendor/license-list-XML/src/Artistic-2.0.xml +238 -0
  51. data/vendor/license-list-XML/src/BSD-2-Clause.xml +42 -0
  52. data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +59 -0
  53. data/vendor/license-list-XML/src/BSD-3-Clause.xml +46 -0
  54. data/vendor/license-list-XML/src/BSD-4-Clause.xml +59 -0
  55. data/vendor/license-list-XML/src/BSL-1.0.xml +30 -0
  56. data/vendor/license-list-XML/src/CC-BY-4.0.xml +444 -0
  57. data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +475 -0
  58. data/vendor/license-list-XML/src/CC0-1.0.xml +153 -0
  59. data/vendor/license-list-XML/src/CECILL-2.1.xml +669 -0
  60. data/vendor/license-list-XML/src/ECL-2.0.xml +242 -0
  61. data/vendor/license-list-XML/src/EPL-1.0.xml +255 -0
  62. data/vendor/license-list-XML/src/EPL-2.0.xml +639 -0
  63. data/vendor/license-list-XML/src/EUPL-1.1.xml +337 -0
  64. data/vendor/license-list-XML/src/EUPL-1.2.xml +502 -0
  65. data/vendor/license-list-XML/src/GPL-2.0.xml +474 -0
  66. data/vendor/license-list-XML/src/GPL-3.0.xml +858 -0
  67. data/vendor/license-list-XML/src/ISC.xml +29 -0
  68. data/vendor/license-list-XML/src/LGPL-2.1.xml +662 -0
  69. data/vendor/license-list-XML/src/LGPL-3.0.xml +260 -0
  70. data/vendor/license-list-XML/src/LPPL-1.3c.xml +380 -0
  71. data/vendor/license-list-XML/src/MIT-0.xml +40 -0
  72. data/vendor/license-list-XML/src/MIT.xml +32 -0
  73. data/vendor/license-list-XML/src/MPL-2.0.xml +438 -0
  74. data/vendor/license-list-XML/src/MS-PL.xml +89 -0
  75. data/vendor/license-list-XML/src/MS-RL.xml +97 -0
  76. data/vendor/license-list-XML/src/NCSA.xml +60 -0
  77. data/vendor/license-list-XML/src/ODbL-1.0.xml +660 -0
  78. data/vendor/license-list-XML/src/OFL-1.1.xml +94 -0
  79. data/vendor/license-list-XML/src/OSL-3.0.xml +209 -0
  80. data/vendor/license-list-XML/src/PostgreSQL.xml +32 -0
  81. data/vendor/license-list-XML/src/UPL-1.0.xml +46 -0
  82. data/vendor/license-list-XML/src/Unlicense.xml +27 -0
  83. data/vendor/license-list-XML/src/Vim.xml +124 -0
  84. data/vendor/license-list-XML/src/WTFPL.xml +30 -0
  85. data/vendor/license-list-XML/src/Zlib.xml +38 -0
  86. metadata +73 -13
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license isOsiApproved="true" licenseId="MIT-0" name="MIT No Attribution">
4
+ <crossRefs>
5
+ <crossRef>https://github.com/aws/mit-0</crossRef>
6
+ <crossRef>https://romanrm.net/mit-zero</crossRef>
7
+ <crossRef>https://github.com/awsdocs/aws-cloud9-user-guide/blob/master/LICENSE-SAMPLECODE</crossRef>
8
+ </crossRefs>
9
+ <notes>
10
+ This license is a modified version of the common MIT license,
11
+ with the attribution paragraph removed.
12
+ </notes>
13
+ <text>
14
+ <titleText>
15
+ <p><alt name="title" match="The MIT-Zero License|MIT No Attribution|">MIT No Attribution</alt></p>
16
+ </titleText>
17
+ <copyrightText>
18
+ <p>
19
+ Copyright &lt;YEAR&gt; &lt;COPYRIGHT HOLDER&gt;
20
+ </p>
21
+ </copyrightText>
22
+
23
+ <p>
24
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this
25
+ software and associated documentation files (the "Software"), to deal in the Software
26
+ without restriction, including without limitation the rights to use, copy, modify,
27
+ merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
28
+ permit persons to whom the Software is furnished to do so.
29
+ </p>
30
+ <p>
31
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
32
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
33
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
34
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
35
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
36
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37
+ </p>
38
+ </text>
39
+ </license>
40
+ </SPDXLicenseCollection>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license isOsiApproved="true" licenseId="MIT" name="MIT License">
4
+ <crossRefs>
5
+ <crossRef>https://opensource.org/licenses/MIT</crossRef>
6
+ </crossRefs>
7
+ <text>
8
+ <titleText>
9
+ <p>MIT License</p>
10
+ </titleText>
11
+ <copyrightText>
12
+ <p>Copyright (c) &lt;year&gt; &lt;copyright holders&gt;
13
+ </p>
14
+ </copyrightText>
15
+
16
+ <p>Permission is hereby granted, free of charge, to any person obtaining a copy of <alt match="this software and associated documentation files|this source file" name="software">this software and
17
+ associated documentation files</alt> (the "Software"), to deal in the Software without restriction,
18
+ including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
19
+ and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
20
+ subject to the following conditions:</p>
21
+ <p>The above copyright notice and this permission notice
22
+ <optional>(including the next paragraph)</optional>
23
+ shall be included in all copies or substantial
24
+ portions of the Software.</p>
25
+ <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
26
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
27
+ NO EVENT SHALL <alt match=".+" name="copyrightHolder">THE AUTHORS OR COPYRIGHT HOLDERS</alt> BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
28
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
29
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
30
+ </text>
31
+ </license>
32
+ </SPDXLicenseCollection>
@@ -0,0 +1,438 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license isOsiApproved="true" licenseId="MPL-2.0" name="Mozilla Public License 2.0">
4
+ <crossRefs>
5
+ <crossRef>http://www.mozilla.org/MPL/2.0/</crossRef>
6
+ <crossRef>https://opensource.org/licenses/MPL-2.0</crossRef>
7
+ </crossRefs>
8
+ <notes>This license was released in January 2012. This license list entry is for use when the standard MPL 2.0 is
9
+ used, as indicated by the standard header (Exhibit A but no Exhibit B).</notes>
10
+ <text>
11
+ <titleText>
12
+ <p>Mozilla Public License Version 2.0</p>
13
+ </titleText>
14
+
15
+ <list>
16
+ <item>
17
+ <bullet>1.</bullet>
18
+ Definitions
19
+ <list>
20
+ <item>
21
+ <bullet>1.1.</bullet>
22
+ "Contributor" means each individual or legal entity that creates, contributes to
23
+ the creation of, or owns Covered Software.
24
+ </item>
25
+ <item>
26
+ <bullet>1.2.</bullet>
27
+ "Contributor Version" means the combination of the Contributions of others (if any)
28
+ used by a Contributor and that particular Contributor's Contribution.
29
+ </item>
30
+ <item>
31
+ <bullet>1.3.</bullet>
32
+ "Contribution" means Covered Software of a particular Contributor.
33
+ </item>
34
+ <item>
35
+ <bullet>1.4.</bullet>
36
+ "Covered Software" means Source Code Form to which the initial Contributor has
37
+ attached the notice in Exhibit A, the Executable Form of such Source Code Form, and
38
+ Modifications of such Source Code Form, in each case including portions thereof.
39
+ </item>
40
+ <item>
41
+ <bullet>1.5.</bullet>
42
+ "Incompatible With Secondary Licenses" means
43
+ <list>
44
+ <item>
45
+ <bullet>(a)</bullet>
46
+ that the initial Contributor has attached the notice described in Exhibit B to the
47
+ Covered Software; or
48
+ </item>
49
+ <item>
50
+ <bullet>(b)</bullet>
51
+ that the Covered Software was made available under the terms of version 1.1 or earlier of
52
+ the License, but not also under the terms of a Secondary License.
53
+ </item>
54
+ </list>
55
+ </item>
56
+ <item>
57
+ <bullet>1.6.</bullet>
58
+ "Executable Form" means any form of the work other than Source Code Form.
59
+ </item>
60
+ <item>
61
+ <bullet>1.7.</bullet>
62
+ "Larger Work" means a work that combines Covered Software with other material, in a
63
+ separate file or files, that is not Covered Software.
64
+ </item>
65
+ <item>
66
+ <bullet>1.8.</bullet>
67
+ "License" means this document.
68
+ </item>
69
+ <item>
70
+ <bullet>1.9.</bullet>
71
+ "Licensable" means having the right to grant, to the maximum extent possible,
72
+ whether at the time of the initial grant or subsequently, any and all of the rights
73
+ conveyed by this License.
74
+ </item>
75
+ <item>
76
+ <bullet>1.10.</bullet>
77
+ "Modifications" means any of the following:
78
+ <list>
79
+ <item>
80
+ <bullet>(a)</bullet>
81
+ any file in Source Code Form that results from an addition to, deletion from, or
82
+ modification of the contents of Covered Software; or
83
+ </item>
84
+ <item>
85
+ <bullet>(b)</bullet>
86
+ any new file in Source Code Form that contains any Covered Software.
87
+ </item>
88
+ </list>
89
+ </item>
90
+ <item>
91
+ <bullet>1.11.</bullet>
92
+ "Patent Claims" of a Contributor means any patent claim(s), including without
93
+ limitation, method, process, and apparatus claims, in any patent Licensable by such
94
+ Contributor that would be infringed, but for the grant of the License, by the making,
95
+ using, selling, offering for sale, having made, import, or transfer of either its
96
+ Contributions or its Contributor Version.
97
+ </item>
98
+ <item>
99
+ <bullet>1.12.</bullet>
100
+ "Secondary License" means either the GNU General Public License, Version 2.0, the
101
+ GNU Lesser General Public License, Version 2.1, the GNU Affero General Public License,
102
+ Version 3.0, or any later versions of those licenses.
103
+ </item>
104
+ <item>
105
+ <bullet>1.13.</bullet>
106
+ "Source Code Form" means the form of the work preferred for making modifications.
107
+ </item>
108
+ <item>
109
+ <bullet>1.14.</bullet>
110
+ "You" (or "Your") means an individual or a legal entity exercising rights
111
+ under this License. For legal entities, "You" includes any entity that controls,
112
+ is controlled by, or is under common control with You. For purposes of this definition,
113
+ "control" means (a) the power, direct or indirect, to cause the direction or
114
+ management of such entity, whether by contract or otherwise, or (b) ownership of more than
115
+ fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
116
+ </item>
117
+ </list>
118
+ </item>
119
+ <item>
120
+ <bullet>2.</bullet>
121
+ License Grants and Conditions
122
+ <list>
123
+ <item>
124
+ <bullet>2.1.</bullet>
125
+ Grants
126
+ <p>Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
127
+ </p>
128
+ <list>
129
+ <item>
130
+ <bullet>(a)</bullet>
131
+ under intellectual property rights (other than patent or trademark) Licensable by such
132
+ Contributor to use, reproduce, make available, modify, display, perform, distribute,
133
+ and otherwise exploit its Contributions, either on an unmodified basis, with
134
+ Modifications, or as part of a Larger Work; and
135
+ </item>
136
+ <item>
137
+ <bullet>(b)</bullet>
138
+ under Patent Claims of such Contributor to make, use, sell, offer for sale, have made,
139
+ import, and otherwise transfer either its Contributions or its Contributor
140
+ Version.
141
+ </item>
142
+ </list>
143
+ </item>
144
+ <item>
145
+ <bullet>2.2.</bullet>
146
+ Effective Date
147
+ <p>The licenses granted in Section 2.1 with respect to any Contribution become effective
148
+ for each Contribution on the date the Contributor first distributes such
149
+ Contribution.
150
+ </p>
151
+ </item>
152
+ <item>
153
+ <bullet>2.3.</bullet>
154
+ Limitations on Grant Scope
155
+ <p>The licenses granted in this Section 2 are the only rights granted under this License.
156
+ No additional rights or licenses will be implied from the distribution or
157
+ licensing of Covered Software under this License. Notwithstanding Section 2.1(b)
158
+ above, no patent license is granted by a Contributor:
159
+ </p>
160
+ <list>
161
+ <item>
162
+ <bullet>(a)</bullet>
163
+ for any code that a Contributor has removed from Covered Software; or
164
+ </item>
165
+ <item>
166
+ <bullet>(b)</bullet>
167
+ for infringements caused by: (i) Your and any other third party's modifications of
168
+ Covered Software, or (ii) the combination of its Contributions with other software
169
+ (except as part of its Contributor Version); or
170
+ </item>
171
+ <item>
172
+ <bullet>(c)</bullet>
173
+ under Patent Claims infringed by Covered Software in the absence of its Contributions.
174
+ </item>
175
+ </list>
176
+ <p>This License does not grant any rights in the trademarks, service marks, or logos of any
177
+ Contributor (except as may be necessary to comply with the notice requirements in
178
+ Section 3.4).</p>
179
+ </item>
180
+ <item>
181
+ <bullet>2.4.</bullet>
182
+ Subsequent Licenses
183
+ <p>No Contributor makes additional grants as a result of Your choice to distribute the
184
+ Covered Software under a subsequent version of this License (see Section 10.2) or
185
+ under the terms of a Secondary License (if permitted under the terms of Section
186
+ 3.3).</p>
187
+ </item>
188
+ <item>
189
+ <bullet>2.5.</bullet>
190
+ Representation
191
+ <p>Each Contributor represents that the Contributor believes its Contributions are its
192
+ original creation(s) or it has sufficient rights to grant the rights to its
193
+ Contributions conveyed by this License.
194
+ </p>
195
+ </item>
196
+ <item>
197
+ <bullet>2.6.</bullet>
198
+ Fair Use
199
+ <p>This License is not intended to limit any rights You have under applicable copyright
200
+ doctrines of fair use, fair dealing, or other equivalents.
201
+ </p>
202
+ </item>
203
+ <item>
204
+ <bullet>2.7.</bullet>
205
+ Conditions
206
+ <p>Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in Section 2.1.</p>
207
+ </item>
208
+ </list>
209
+ </item>
210
+ <item>
211
+ <bullet>3.</bullet>
212
+ Responsibilities
213
+ <list>
214
+ <item>
215
+ <bullet>3.1.</bullet>
216
+ Distribution of Source Form
217
+ <p>All distribution of Covered Software in Source Code Form, including any Modifications
218
+ that You create or to which You contribute, must be under the terms of this
219
+ License. You must inform recipients that the Source Code Form of the Covered
220
+ Software is governed by the terms of this License, and how they can obtain a copy
221
+ of this License. You may not attempt to alter or restrict the recipients'
222
+ rights in the Source Code Form.
223
+ </p>
224
+ </item>
225
+ <item>
226
+ <bullet>3.2.</bullet>
227
+ Distribution of Executable Form
228
+ <p>If You distribute Covered Software in Executable Form then:</p>
229
+ <list>
230
+ <item>
231
+ <bullet>(a)</bullet>
232
+ such Covered Software must also be made available in Source Code Form, as described in
233
+ Section 3.1, and You must inform recipients of the Executable Form how they can obtain
234
+ a copy of such Source Code Form by reasonable means in a timely manner, at a charge no
235
+ more than the cost of distribution to the recipient; and
236
+ </item>
237
+ <item>
238
+ <bullet>(b)</bullet>
239
+ You may distribute such Executable Form under the terms of this License, or sublicense it
240
+ under different terms, provided that the license for the Executable Form does not
241
+ attempt to limit or alter the recipients' rights in the Source Code Form under
242
+ this License.
243
+ </item>
244
+ </list>
245
+ </item>
246
+ <item>
247
+ <bullet>3.3.</bullet>
248
+ Distribution of a Larger Work
249
+ <p>You may create and distribute a Larger Work under terms of Your choice, provided that
250
+ You also comply with the requirements of this License for the Covered Software. If
251
+ the Larger Work is a combination of Covered Software with a work governed by one
252
+ or more Secondary Licenses, and the Covered Software is not Incompatible With
253
+ Secondary Licenses, this License permits You to additionally distribute such
254
+ Covered Software under the terms of such Secondary License(s), so that the
255
+ recipient of the Larger Work may, at their option, further distribute the Covered
256
+ Software under the terms of either this License or such Secondary License(s).
257
+ </p>
258
+ </item>
259
+ <item>
260
+ <bullet>3.4.</bullet>
261
+ Notices
262
+ <p>You may not remove or alter the substance of any license notices (including copyright
263
+ notices, patent notices, disclaimers of warranty, or limitations of liability)
264
+ contained within the Source Code Form of the Covered Software, except that You may
265
+ alter any license notices to the extent required to remedy known factual
266
+ inaccuracies.
267
+ </p>
268
+ </item>
269
+ <item>
270
+ <bullet>3.5.</bullet>
271
+ Application of Additional Terms
272
+ <p>You may choose to offer, and to charge a fee for, warranty, support, indemnity or
273
+ liability obligations to one or more recipients of Covered Software. However, You
274
+ may do so only on Your own behalf, and not on behalf of any Contributor. You must
275
+ make it absolutely clear that any such warranty, support, indemnity, or liability
276
+ obligation is offered by You alone, and You hereby agree to indemnify every
277
+ Contributor for any liability incurred by such Contributor as a result of
278
+ warranty, support, indemnity or liability terms You offer. You may include
279
+ additional disclaimers of warranty and limitations of liability specific to any
280
+ jurisdiction.
281
+ </p>
282
+ </item>
283
+ </list>
284
+ </item>
285
+ <item>
286
+ <bullet>4.</bullet>
287
+ Inability to Comply Due to Statute or Regulation
288
+ <p>If it is impossible for You to comply with any of the terms of this License with respect to
289
+ some or all of the Covered Software due to statute, judicial order, or regulation then
290
+ You must: (a) comply with the terms of this License to the maximum extent possible;
291
+ and (b) describe the limitations and the code they affect. Such description must be
292
+ placed in a text file included with all distributions of the Covered Software under
293
+ this License. Except to the extent prohibited by statute or regulation, such
294
+ description must be sufficiently detailed for a recipient of ordinary skill to be able
295
+ to understand it.
296
+ </p>
297
+ </item>
298
+ <item>
299
+ <bullet>5.</bullet>
300
+ Termination
301
+ <list>
302
+ <item>
303
+ <bullet>5.1.</bullet>
304
+ The rights granted under this License will terminate automatically if You fail to comply with
305
+ any of its terms. However, if You become compliant, then the rights granted under this
306
+ License from a particular Contributor are reinstated (a) provisionally, unless and until
307
+ such Contributor explicitly and finally terminates Your grants, and (b) on an ongoing
308
+ basis, if such Contributor fails to notify You of the non-compliance by some reasonable
309
+ means prior to 60 days after You have come back into compliance. Moreover, Your grants
310
+ from a particular Contributor are reinstated on an ongoing basis if such Contributor
311
+ notifies You of the non-compliance by some reasonable means, this is the first time You
312
+ have received notice of non-compliance with this License from such Contributor, and You
313
+ become compliant prior to 30 days after Your receipt of the notice.
314
+ </item>
315
+ <item>
316
+ <bullet>5.2.</bullet>
317
+ If You initiate litigation against any entity by asserting a patent infringement claim
318
+ (excluding declaratory judgment actions, counter-claims, and cross-claims) alleging that a
319
+ Contributor Version directly or indirectly infringes any patent, then the rights granted
320
+ to You by any and all Contributors for the Covered Software under Section 2.1 of this
321
+ License shall terminate.
322
+ </item>
323
+ <item>
324
+ <bullet>5.3.</bullet>
325
+ In the event of termination under Sections 5.1 or 5.2 above, all end user license agreements
326
+ (excluding distributors and resellers) which have been validly granted by You or Your
327
+ distributors under this License prior to termination shall survive termination.
328
+ </item>
329
+ </list>
330
+ </item>
331
+ <item>
332
+ <bullet>6.</bullet>
333
+ Disclaimer of Warranty
334
+ <p>Covered Software is provided under this License on an "as is" basis, without
335
+ warranty of any kind, either expressed, implied, or statutory, including, without
336
+ limitation, warranties that the Covered Software is free of defects, merchantable, fit
337
+ for a particular purpose or non-infringing. The entire risk as to the quality and
338
+ performance of the Covered Software is with You. Should any Covered Software prove
339
+ defective in any respect, You (not any Contributor) assume the cost of any necessary
340
+ servicing, repair, or correction. This disclaimer of warranty constitutes an essential
341
+ part of this License. No use of any Covered Software is authorized under this License
342
+ except under this disclaimer.
343
+ </p>
344
+ </item>
345
+ <item>
346
+ <bullet>7.</bullet>
347
+ Limitation of Liability
348
+ <p>Under no circumstances and under no legal theory, whether tort (including negligence),
349
+ contract, or otherwise, shall any Contributor, or anyone who distributes Covered
350
+ Software as permitted above, be liable to You for any direct, indirect, special,
351
+ incidental, or consequential damages of any character including, without limitation,
352
+ damages for lost profits, loss of goodwill, work stoppage, computer failure or
353
+ malfunction, or any and all other commercial damages or losses, even if such party
354
+ shall have been informed of the possibility of such damages. This limitation of
355
+ liability shall not apply to liability for death or personal injury resulting from
356
+ such party's negligence to the extent applicable law prohibits such limitation.
357
+ Some jurisdictions do not allow the exclusion or limitation of incidental or
358
+ consequential damages, so this exclusion and limitation may not apply to You.
359
+ </p>
360
+ </item>
361
+ <item>
362
+ <bullet>8.</bullet>
363
+ Litigation
364
+ <p>Any litigation relating to this License may be brought only in the courts of a jurisdiction
365
+ where the defendant maintains its principal place of business and such litigation
366
+ shall be governed by laws of that jurisdiction, without reference to its
367
+ conflict-of-law provisions. Nothing in this Section shall prevent a party's
368
+ ability to bring cross-claims or counter-claims.
369
+ </p>
370
+ </item>
371
+ <item>
372
+ <bullet>9.</bullet>
373
+ Miscellaneous
374
+ <p>This License represents the complete agreement concerning the subject matter hereof. If any
375
+ provision of this License is held to be unenforceable, such provision shall be
376
+ reformed only to the extent necessary to make it enforceable. Any law or regulation
377
+ which provides that the language of a contract shall be construed against the drafter
378
+ shall not be used to construe this License against a Contributor.
379
+ </p>
380
+ </item>
381
+ <item>
382
+ <bullet>10.</bullet>
383
+ Versions of the License
384
+ <list>
385
+ <item>
386
+ <bullet>10.1.</bullet>
387
+ New Versions
388
+ <p>Mozilla Foundation is the license steward. Except as provided in Section 10.3, no one
389
+ other than the license steward has the right to modify or publish new versions of
390
+ this License. Each version will be given a distinguishing version number.
391
+ </p>
392
+ </item>
393
+ <item>
394
+ <bullet>10.2.</bullet>
395
+ Effect of New Versions
396
+ <p>You may distribute the Covered Software under the terms of the version of the License
397
+ under which You originally received the Covered Software, or under the terms of
398
+ any subsequent version published by the license steward.
399
+ </p>
400
+ </item>
401
+ <item>
402
+ <bullet>10.3.</bullet>
403
+ Modified Versions
404
+ <p>If you create software not governed by this License, and you want to create a new
405
+ license for such software, you may create and use a modified version of this
406
+ License if you rename the license and remove any references to the name of the
407
+ license steward (except to note that such modified license differs from this
408
+ License).
409
+ </p>
410
+ </item>
411
+ <item>
412
+ <bullet>10.4.</bullet>
413
+ Distributing Source Code Form that is Incompatible With Secondary Licenses
414
+ <p>If You choose to distribute Source Code Form that is Incompatible With Secondary Licenses under the terms
415
+ of this version of the License, the notice described in Exhibit B of this License must be
416
+ attached.</p>
417
+ </item>
418
+ </list>
419
+ </item>
420
+ </list>
421
+
422
+ <optional>
423
+ <p>Exhibit A - Source Code Form License Notice</p>
424
+ <standardLicenseHeader>
425
+ <p>This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL
426
+ was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.</p>
427
+ </standardLicenseHeader>
428
+ <p>If it is not possible or desirable to put the notice in a particular file, then You may include the
429
+ notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be
430
+ likely to look for such a notice.</p>
431
+ <p>You may add additional accurate notices of copyright ownership.</p>
432
+ <p>Exhibit B - "Incompatible With Secondary Licenses" Notice</p>
433
+ <p>This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla
434
+ Public License, v. 2.0.</p>
435
+ </optional>
436
+ </text>
437
+ </license>
438
+ </SPDXLicenseCollection>