license_auto 0.1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +47 -0
- data/.travis.yml +9 -0
- data/CHANGELOG.md +17 -0
- data/Gemfile +27 -0
- data/Gemfile.lock +103 -0
- data/LICENSE +23 -0
- data/README.md +136 -0
- data/Rakefile +20 -0
- data/examples/get_license_files_of_bundler.rb +12 -0
- data/lib/api.rb +60 -0
- data/lib/api/bitbucket.rb +142 -0
- data/lib/api/code_google_com.rb +66 -0
- data/lib/api/excel_export.rb +189 -0
- data/lib/api/gem_data.rb +30 -0
- data/lib/api/git_kernel_org.rb +59 -0
- data/lib/api/github.rb +376 -0
- data/lib/api/go_pkg_in.rb +41 -0
- data/lib/api/golang_org.rb +63 -0
- data/lib/api/google_source_com.rb +68 -0
- data/lib/api/gradle2.rb +41 -0
- data/lib/api/helper.rb +26 -0
- data/lib/api/j_center.rb +23 -0
- data/lib/api/maven_central_repository.rb +192 -0
- data/lib/api/mq.rb +30 -0
- data/lib/api/npm_registry.rb +169 -0
- data/lib/api/pattern.rb +33 -0
- data/lib/api/remote_source_package.rb +319 -0
- data/lib/api/spider.rb +47 -0
- data/lib/cloner.rb +154 -0
- data/lib/db.rb +267 -0
- data/lib/license_auto.rb +20 -0
- data/lib/license_auto/config/config.rb +52 -0
- data/lib/license_auto/errors.rb +0 -0
- data/lib/license_auto/license/frequency.rb +30 -0
- data/lib/license_auto/license/similarity.rb +247 -0
- data/lib/license_auto/license/templates/AFL2.0.txt +43 -0
- data/lib/license_auto/license/templates/AFL2.1.txt +47 -0
- data/lib/license_auto/license/templates/AFL3.0.txt +45 -0
- data/lib/license_auto/license/templates/AGPL3.0.txt +236 -0
- data/lib/license_auto/license/templates/APSL 2.0.txt +100 -0
- data/lib/license_auto/license/templates/Apache1.0.txt +18 -0
- data/lib/license_auto/license/templates/Apache1.1.txt +18 -0
- data/lib/license_auto/license/templates/Apache2.0.txt +201 -0
- data/lib/license_auto/license/templates/Artistic1.0.txt +45 -0
- data/lib/license_auto/license/templates/Artistic2.0.txt +70 -0
- data/lib/license_auto/license/templates/BSD.txt +29 -0
- data/lib/license_auto/license/templates/CDDL1.0.txt +1 -0
- data/lib/license_auto/license/templates/CDDL1.1.txt +209 -0
- data/lib/license_auto/license/templates/CPL1.0.txt +211 -0
- data/lib/license_auto/license/templates/CPOL 1.02.txt +41 -0
- data/lib/license_auto/license/templates/ClarifiedArtistic.txt +140 -0
- data/lib/license_auto/license/templates/Creative Commons1.0.txt +28 -0
- data/lib/license_auto/license/templates/EPL1.0.txt +70 -0
- data/lib/license_auto/license/templates/ERLANG1.1.txt +286 -0
- data/lib/license_auto/license/templates/GFDL1.1.txt +101 -0
- data/lib/license_auto/license/templates/GFDL1.2.txt +108 -0
- data/lib/license_auto/license/templates/GFDL1.3.txt +116 -0
- data/lib/license_auto/license/templates/GPL1.0.txt +105 -0
- data/lib/license_auto/license/templates/GPL2.0.txt +340 -0
- data/lib/license_auto/license/templates/GPL3.0.txt +220 -0
- data/lib/license_auto/license/templates/H2.txt +118 -0
- data/lib/license_auto/license/templates/IBMPublic1.0.txt +58 -0
- data/lib/license_auto/license/templates/LGPL2.0.txt +481 -0
- data/lib/license_auto/license/templates/LGPL2.1.txt +166 -0
- data/lib/license_auto/license/templates/LGPL3.0.txt +56 -0
- data/lib/license_auto/license/templates/Lucent Public License 1.02.txt +244 -0
- data/lib/license_auto/license/templates/MIT.txt +21 -0
- data/lib/license_auto/license/templates/MIT2.0.txt +11 -0
- data/lib/license_auto/license/templates/MPL 2.0.txt +373 -0
- data/lib/license_auto/license/templates/MPL1.1.txt +470 -0
- data/lib/license_auto/license/templates/MS-LPL.txt +22 -0
- data/lib/license_auto/license/templates/MS-PL.txt +20 -0
- data/lib/license_auto/license/templates/MS-RL.txt +19 -0
- data/lib/license_auto/license/templates/NPL1.0.txt +138 -0
- data/lib/license_auto/license/templates/OpenSSL.txt +127 -0
- data/lib/license_auto/license/templates/Oracle license.txt +69 -0
- data/lib/license_auto/license/templates/PublicDomain.txt +7 -0
- data/lib/license_auto/license/templates/Python.txt +15 -0
- data/lib/license_auto/license/templates/QPL1.0.txt +45 -0
- data/lib/license_auto/license/templates/RubyClause-6.txt +56 -0
- data/lib/license_auto/license/templates/SQLite Copyright.txt +33 -0
- data/lib/license_auto/license/templates/Sleepycat.txt +133 -0
- data/lib/license_auto/license/templates/SunPublic1.0.txt +183 -0
- data/lib/license_auto/license/templates/WTFPL license.txt +13 -0
- data/lib/license_auto/license_info.rb +12 -0
- data/lib/license_auto/matcher.rb +100 -0
- data/lib/license_auto/package.rb +73 -0
- data/lib/license_auto/parser/gemfile.rb +0 -0
- data/lib/license_auto/parser/golang.rb +0 -0
- data/lib/license_auto/parser/gradle.rb +0 -0
- data/lib/license_auto/version.rb +20 -0
- data/lib/license_auto/website.rb +11 -0
- data/lib/license_auto/website/github.rb +49 -0
- data/lib/license_auto/website/ruby_gems_org.rb +79 -0
- data/lib/license_auto/website/ruby_gems_org_db.rb +52 -0
- data/lib/license_auto/website/rubydoc_info.rb +12 -0
- data/lib/message.rb +5 -0
- data/lib/misc.rb +131 -0
- data/lib/parser/enums.rb +161 -0
- data/lib/parser/gemfile_parser.rb +221 -0
- data/lib/parser/golang_parser.rb +104 -0
- data/lib/parser/gradle_parser.rb +141 -0
- data/lib/parser/manifest_parser.rb +66 -0
- data/lib/parser/maven_parser.rb +91 -0
- data/lib/parser/npm_parser.rb +82 -0
- data/lib/parser/pip_parser.rb +1 -0
- data/lib/parser/rebar_parser.rb +61 -0
- data/lib/recorder.rb +184 -0
- data/lib/script/apt-get.deps.sh +37 -0
- data/lib/script/debian_dpkg_list.sh +2 -0
- data/lib/script/rubygems.org.importdb.sh +22 -0
- data/license_auto.gemspec +44 -0
- data/remove/license_auto +4 -0
- data/remove/mq_pack.rb +219 -0
- data/remove/mq_repo.rb +106 -0
- metadata +249 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) <year> <copyright holders>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
Permission to use, copy, modify, and distribute this software for any
|
2
|
+
purpose with or without fee is hereby granted, provided that the above
|
3
|
+
copyright notice and this permission notice appear in all copies.
|
4
|
+
|
5
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
6
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
7
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
8
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
9
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
10
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
11
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
@@ -0,0 +1,373 @@
|
|
1
|
+
Mozilla Public License Version 2.0
|
2
|
+
==================================
|
3
|
+
|
4
|
+
1. Definitions
|
5
|
+
--------------
|
6
|
+
|
7
|
+
1.1. "Contributor"
|
8
|
+
means each individual or legal entity that creates, contributes to
|
9
|
+
the creation of, or owns Covered Software.
|
10
|
+
|
11
|
+
1.2. "Contributor Version"
|
12
|
+
means the combination of the Contributions of others (if any) used
|
13
|
+
by a Contributor and that particular Contributor's Contribution.
|
14
|
+
|
15
|
+
1.3. "Contribution"
|
16
|
+
means Covered Software of a particular Contributor.
|
17
|
+
|
18
|
+
1.4. "Covered Software"
|
19
|
+
means Source Code Form to which the initial Contributor has attached
|
20
|
+
the notice in Exhibit A, the Executable Form of such Source Code
|
21
|
+
Form, and Modifications of such Source Code Form, in each case
|
22
|
+
including portions thereof.
|
23
|
+
|
24
|
+
1.5. "Incompatible With Secondary Licenses"
|
25
|
+
means
|
26
|
+
|
27
|
+
(a) that the initial Contributor has attached the notice described
|
28
|
+
in Exhibit B to the Covered Software; or
|
29
|
+
|
30
|
+
(b) that the Covered Software was made available under the terms of
|
31
|
+
version 1.1 or earlier of the License, but not also under the
|
32
|
+
terms of a Secondary License.
|
33
|
+
|
34
|
+
1.6. "Executable Form"
|
35
|
+
means any form of the work other than Source Code Form.
|
36
|
+
|
37
|
+
1.7. "Larger Work"
|
38
|
+
means a work that combines Covered Software with other material, in
|
39
|
+
a separate file or files, that is not Covered Software.
|
40
|
+
|
41
|
+
1.8. "License"
|
42
|
+
means this document.
|
43
|
+
|
44
|
+
1.9. "Licensable"
|
45
|
+
means having the right to grant, to the maximum extent possible,
|
46
|
+
whether at the time of the initial grant or subsequently, any and
|
47
|
+
all of the rights conveyed by this License.
|
48
|
+
|
49
|
+
1.10. "Modifications"
|
50
|
+
means any of the following:
|
51
|
+
|
52
|
+
(a) any file in Source Code Form that results from an addition to,
|
53
|
+
deletion from, or modification of the contents of Covered
|
54
|
+
Software; or
|
55
|
+
|
56
|
+
(b) any new file in Source Code Form that contains any Covered
|
57
|
+
Software.
|
58
|
+
|
59
|
+
1.11. "Patent Claims" of a Contributor
|
60
|
+
means any patent claim(s), including without limitation, method,
|
61
|
+
process, and apparatus claims, in any patent Licensable by such
|
62
|
+
Contributor that would be infringed, but for the grant of the
|
63
|
+
License, by the making, using, selling, offering for sale, having
|
64
|
+
made, import, or transfer of either its Contributions or its
|
65
|
+
Contributor Version.
|
66
|
+
|
67
|
+
1.12. "Secondary License"
|
68
|
+
means either the GNU General Public License, Version 2.0, the GNU
|
69
|
+
Lesser General Public License, Version 2.1, the GNU Affero General
|
70
|
+
Public License, Version 3.0, or any later versions of those
|
71
|
+
licenses.
|
72
|
+
|
73
|
+
1.13. "Source Code Form"
|
74
|
+
means the form of the work preferred for making modifications.
|
75
|
+
|
76
|
+
1.14. "You" (or "Your")
|
77
|
+
means an individual or a legal entity exercising rights under this
|
78
|
+
License. For legal entities, "You" includes any entity that
|
79
|
+
controls, is controlled by, or is under common control with You. For
|
80
|
+
purposes of this definition, "control" means (a) the power, direct
|
81
|
+
or indirect, to cause the direction or management of such entity,
|
82
|
+
whether by contract or otherwise, or (b) ownership of more than
|
83
|
+
fifty percent (50%) of the outstanding shares or beneficial
|
84
|
+
ownership of such entity.
|
85
|
+
|
86
|
+
2. License Grants and Conditions
|
87
|
+
--------------------------------
|
88
|
+
|
89
|
+
2.1. Grants
|
90
|
+
|
91
|
+
Each Contributor hereby grants You a world-wide, royalty-free,
|
92
|
+
non-exclusive license:
|
93
|
+
|
94
|
+
(a) under intellectual property rights (other than patent or trademark)
|
95
|
+
Licensable by such Contributor to use, reproduce, make available,
|
96
|
+
modify, display, perform, distribute, and otherwise exploit its
|
97
|
+
Contributions, either on an unmodified basis, with Modifications, or
|
98
|
+
as part of a Larger Work; and
|
99
|
+
|
100
|
+
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
101
|
+
for sale, have made, import, and otherwise transfer either its
|
102
|
+
Contributions or its Contributor Version.
|
103
|
+
|
104
|
+
2.2. Effective Date
|
105
|
+
|
106
|
+
The licenses granted in Section 2.1 with respect to any Contribution
|
107
|
+
become effective for each Contribution on the date the Contributor first
|
108
|
+
distributes such Contribution.
|
109
|
+
|
110
|
+
2.3. Limitations on Grant Scope
|
111
|
+
|
112
|
+
The licenses granted in this Section 2 are the only rights granted under
|
113
|
+
this License. No additional rights or licenses will be implied from the
|
114
|
+
distribution or licensing of Covered Software under this License.
|
115
|
+
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
116
|
+
Contributor:
|
117
|
+
|
118
|
+
(a) for any code that a Contributor has removed from Covered Software;
|
119
|
+
or
|
120
|
+
|
121
|
+
(b) for infringements caused by: (i) Your and any other third party's
|
122
|
+
modifications of Covered Software, or (ii) the combination of its
|
123
|
+
Contributions with other software (except as part of its Contributor
|
124
|
+
Version); or
|
125
|
+
|
126
|
+
(c) under Patent Claims infringed by Covered Software in the absence of
|
127
|
+
its Contributions.
|
128
|
+
|
129
|
+
This License does not grant any rights in the trademarks, service marks,
|
130
|
+
or logos of any Contributor (except as may be necessary to comply with
|
131
|
+
the notice requirements in Section 3.4).
|
132
|
+
|
133
|
+
2.4. Subsequent Licenses
|
134
|
+
|
135
|
+
No Contributor makes additional grants as a result of Your choice to
|
136
|
+
distribute the Covered Software under a subsequent version of this
|
137
|
+
License (see Section 10.2) or under the terms of a Secondary License (if
|
138
|
+
permitted under the terms of Section 3.3).
|
139
|
+
|
140
|
+
2.5. Representation
|
141
|
+
|
142
|
+
Each Contributor represents that the Contributor believes its
|
143
|
+
Contributions are its original creation(s) or it has sufficient rights
|
144
|
+
to grant the rights to its Contributions conveyed by this License.
|
145
|
+
|
146
|
+
2.6. Fair Use
|
147
|
+
|
148
|
+
This License is not intended to limit any rights You have under
|
149
|
+
applicable copyright doctrines of fair use, fair dealing, or other
|
150
|
+
equivalents.
|
151
|
+
|
152
|
+
2.7. Conditions
|
153
|
+
|
154
|
+
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
155
|
+
in Section 2.1.
|
156
|
+
|
157
|
+
3. Responsibilities
|
158
|
+
-------------------
|
159
|
+
|
160
|
+
3.1. Distribution of Source Form
|
161
|
+
|
162
|
+
All distribution of Covered Software in Source Code Form, including any
|
163
|
+
Modifications that You create or to which You contribute, must be under
|
164
|
+
the terms of this License. You must inform recipients that the Source
|
165
|
+
Code Form of the Covered Software is governed by the terms of this
|
166
|
+
License, and how they can obtain a copy of this License. You may not
|
167
|
+
attempt to alter or restrict the recipients' rights in the Source Code
|
168
|
+
Form.
|
169
|
+
|
170
|
+
3.2. Distribution of Executable Form
|
171
|
+
|
172
|
+
If You distribute Covered Software in Executable Form then:
|
173
|
+
|
174
|
+
(a) such Covered Software must also be made available in Source Code
|
175
|
+
Form, as described in Section 3.1, and You must inform recipients of
|
176
|
+
the Executable Form how they can obtain a copy of such Source Code
|
177
|
+
Form by reasonable means in a timely manner, at a charge no more
|
178
|
+
than the cost of distribution to the recipient; and
|
179
|
+
|
180
|
+
(b) You may distribute such Executable Form under the terms of this
|
181
|
+
License, or sublicense it under different terms, provided that the
|
182
|
+
license for the Executable Form does not attempt to limit or alter
|
183
|
+
the recipients' rights in the Source Code Form under this License.
|
184
|
+
|
185
|
+
3.3. Distribution of a Larger Work
|
186
|
+
|
187
|
+
You may create and distribute a Larger Work under terms of Your choice,
|
188
|
+
provided that You also comply with the requirements of this License for
|
189
|
+
the Covered Software. If the Larger Work is a combination of Covered
|
190
|
+
Software with a work governed by one or more Secondary Licenses, and the
|
191
|
+
Covered Software is not Incompatible With Secondary Licenses, this
|
192
|
+
License permits You to additionally distribute such Covered Software
|
193
|
+
under the terms of such Secondary License(s), so that the recipient of
|
194
|
+
the Larger Work may, at their option, further distribute the Covered
|
195
|
+
Software under the terms of either this License or such Secondary
|
196
|
+
License(s).
|
197
|
+
|
198
|
+
3.4. Notices
|
199
|
+
|
200
|
+
You may not remove or alter the substance of any license notices
|
201
|
+
(including copyright notices, patent notices, disclaimers of warranty,
|
202
|
+
or limitations of liability) contained within the Source Code Form of
|
203
|
+
the Covered Software, except that You may alter any license notices to
|
204
|
+
the extent required to remedy known factual inaccuracies.
|
205
|
+
|
206
|
+
3.5. Application of Additional Terms
|
207
|
+
|
208
|
+
You may choose to offer, and to charge a fee for, warranty, support,
|
209
|
+
indemnity or liability obligations to one or more recipients of Covered
|
210
|
+
Software. However, You may do so only on Your own behalf, and not on
|
211
|
+
behalf of any Contributor. You must make it absolutely clear that any
|
212
|
+
such warranty, support, indemnity, or liability obligation is offered by
|
213
|
+
You alone, and You hereby agree to indemnify every Contributor for any
|
214
|
+
liability incurred by such Contributor as a result of warranty, support,
|
215
|
+
indemnity or liability terms You offer. You may include additional
|
216
|
+
disclaimers of warranty and limitations of liability specific to any
|
217
|
+
jurisdiction.
|
218
|
+
|
219
|
+
4. Inability to Comply Due to Statute or Regulation
|
220
|
+
---------------------------------------------------
|
221
|
+
|
222
|
+
If it is impossible for You to comply with any of the terms of this
|
223
|
+
License with respect to some or all of the Covered Software due to
|
224
|
+
statute, judicial order, or regulation then You must: (a) comply with
|
225
|
+
the terms of this License to the maximum extent possible; and (b)
|
226
|
+
describe the limitations and the code they affect. Such description must
|
227
|
+
be placed in a text file included with all distributions of the Covered
|
228
|
+
Software under this License. Except to the extent prohibited by statute
|
229
|
+
or regulation, such description must be sufficiently detailed for a
|
230
|
+
recipient of ordinary skill to be able to understand it.
|
231
|
+
|
232
|
+
5. Termination
|
233
|
+
--------------
|
234
|
+
|
235
|
+
5.1. The rights granted under this License will terminate automatically
|
236
|
+
if You fail to comply with any of its terms. However, if You become
|
237
|
+
compliant, then the rights granted under this License from a particular
|
238
|
+
Contributor are reinstated (a) provisionally, unless and until such
|
239
|
+
Contributor explicitly and finally terminates Your grants, and (b) on an
|
240
|
+
ongoing basis, if such Contributor fails to notify You of the
|
241
|
+
non-compliance by some reasonable means prior to 60 days after You have
|
242
|
+
come back into compliance. Moreover, Your grants from a particular
|
243
|
+
Contributor are reinstated on an ongoing basis if such Contributor
|
244
|
+
notifies You of the non-compliance by some reasonable means, this is the
|
245
|
+
first time You have received notice of non-compliance with this License
|
246
|
+
from such Contributor, and You become compliant prior to 30 days after
|
247
|
+
Your receipt of the notice.
|
248
|
+
|
249
|
+
5.2. If You initiate litigation against any entity by asserting a patent
|
250
|
+
infringement claim (excluding declaratory judgment actions,
|
251
|
+
counter-claims, and cross-claims) alleging that a Contributor Version
|
252
|
+
directly or indirectly infringes any patent, then the rights granted to
|
253
|
+
You by any and all Contributors for the Covered Software under Section
|
254
|
+
2.1 of this License shall terminate.
|
255
|
+
|
256
|
+
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
257
|
+
end user license agreements (excluding distributors and resellers) which
|
258
|
+
have been validly granted by You or Your distributors under this License
|
259
|
+
prior to termination shall survive termination.
|
260
|
+
|
261
|
+
************************************************************************
|
262
|
+
* *
|
263
|
+
* 6. Disclaimer of Warranty *
|
264
|
+
* ------------------------- *
|
265
|
+
* *
|
266
|
+
* Covered Software is provided under this License on an "as is" *
|
267
|
+
* basis, without warranty of any kind, either expressed, implied, or *
|
268
|
+
* statutory, including, without limitation, warranties that the *
|
269
|
+
* Covered Software is free of defects, merchantable, fit for a *
|
270
|
+
* particular purpose or non-infringing. The entire risk as to the *
|
271
|
+
* quality and performance of the Covered Software is with You. *
|
272
|
+
* Should any Covered Software prove defective in any respect, You *
|
273
|
+
* (not any Contributor) assume the cost of any necessary servicing, *
|
274
|
+
* repair, or correction. This disclaimer of warranty constitutes an *
|
275
|
+
* essential part of this License. No use of any Covered Software is *
|
276
|
+
* authorized under this License except under this disclaimer. *
|
277
|
+
* *
|
278
|
+
************************************************************************
|
279
|
+
|
280
|
+
************************************************************************
|
281
|
+
* *
|
282
|
+
* 7. Limitation of Liability *
|
283
|
+
* -------------------------- *
|
284
|
+
* *
|
285
|
+
* Under no circumstances and under no legal theory, whether tort *
|
286
|
+
* (including negligence), contract, or otherwise, shall any *
|
287
|
+
* Contributor, or anyone who distributes Covered Software as *
|
288
|
+
* permitted above, be liable to You for any direct, indirect, *
|
289
|
+
* special, incidental, or consequential damages of any character *
|
290
|
+
* including, without limitation, damages for lost profits, loss of *
|
291
|
+
* goodwill, work stoppage, computer failure or malfunction, or any *
|
292
|
+
* and all other commercial damages or losses, even if such party *
|
293
|
+
* shall have been informed of the possibility of such damages. This *
|
294
|
+
* limitation of liability shall not apply to liability for death or *
|
295
|
+
* personal injury resulting from such party's negligence to the *
|
296
|
+
* extent applicable law prohibits such limitation. Some *
|
297
|
+
* jurisdictions do not allow the exclusion or limitation of *
|
298
|
+
* incidental or consequential damages, so this exclusion and *
|
299
|
+
* limitation may not apply to You. *
|
300
|
+
* *
|
301
|
+
************************************************************************
|
302
|
+
|
303
|
+
8. Litigation
|
304
|
+
-------------
|
305
|
+
|
306
|
+
Any litigation relating to this License may be brought only in the
|
307
|
+
courts of a jurisdiction where the defendant maintains its principal
|
308
|
+
place of business and such litigation shall be governed by laws of that
|
309
|
+
jurisdiction, without reference to its conflict-of-law provisions.
|
310
|
+
Nothing in this Section shall prevent a party's ability to bring
|
311
|
+
cross-claims or counter-claims.
|
312
|
+
|
313
|
+
9. Miscellaneous
|
314
|
+
----------------
|
315
|
+
|
316
|
+
This License represents the complete agreement concerning the subject
|
317
|
+
matter hereof. If any provision of this License is held to be
|
318
|
+
unenforceable, such provision shall be reformed only to the extent
|
319
|
+
necessary to make it enforceable. Any law or regulation which provides
|
320
|
+
that the language of a contract shall be construed against the drafter
|
321
|
+
shall not be used to construe this License against a Contributor.
|
322
|
+
|
323
|
+
10. Versions of the License
|
324
|
+
---------------------------
|
325
|
+
|
326
|
+
10.1. New Versions
|
327
|
+
|
328
|
+
Mozilla Foundation is the license steward. Except as provided in Section
|
329
|
+
10.3, no one other than the license steward has the right to modify or
|
330
|
+
publish new versions of this License. Each version will be given a
|
331
|
+
distinguishing version number.
|
332
|
+
|
333
|
+
10.2. Effect of New Versions
|
334
|
+
|
335
|
+
You may distribute the Covered Software under the terms of the version
|
336
|
+
of the License under which You originally received the Covered Software,
|
337
|
+
or under the terms of any subsequent version published by the license
|
338
|
+
steward.
|
339
|
+
|
340
|
+
10.3. Modified Versions
|
341
|
+
|
342
|
+
If you create software not governed by this License, and you want to
|
343
|
+
create a new license for such software, you may create and use a
|
344
|
+
modified version of this License if you rename the license and remove
|
345
|
+
any references to the name of the license steward (except to note that
|
346
|
+
such modified license differs from this License).
|
347
|
+
|
348
|
+
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
349
|
+
Licenses
|
350
|
+
|
351
|
+
If You choose to distribute Source Code Form that is Incompatible With
|
352
|
+
Secondary Licenses under the terms of this version of the License, the
|
353
|
+
notice described in Exhibit B of this License must be attached.
|
354
|
+
|
355
|
+
Exhibit A - Source Code Form License Notice
|
356
|
+
-------------------------------------------
|
357
|
+
|
358
|
+
This Source Code Form is subject to the terms of the Mozilla Public
|
359
|
+
License, v. 2.0. If a copy of the MPL was not distributed with this
|
360
|
+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
361
|
+
|
362
|
+
If it is not possible or desirable to put the notice in a particular
|
363
|
+
file, then You may include the notice in a location (such as a LICENSE
|
364
|
+
file in a relevant directory) where a recipient would be likely to look
|
365
|
+
for such a notice.
|
366
|
+
|
367
|
+
You may add additional accurate notices of copyright ownership.
|
368
|
+
|
369
|
+
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
370
|
+
---------------------------------------------------------
|
371
|
+
|
372
|
+
This Source Code Form is "Incompatible With Secondary Licenses", as
|
373
|
+
defined by the Mozilla Public License, v. 2.0.
|
@@ -0,0 +1,470 @@
|
|
1
|
+
MOZILLA PUBLIC LICENSE
|
2
|
+
Version 1.1
|
3
|
+
|
4
|
+
---------------
|
5
|
+
|
6
|
+
1. Definitions.
|
7
|
+
|
8
|
+
1.0.1. "Commercial Use" means distribution or otherwise making the
|
9
|
+
Covered Code available to a third party.
|
10
|
+
|
11
|
+
1.1. "Contributor" means each entity that creates or contributes to
|
12
|
+
the creation of Modifications.
|
13
|
+
|
14
|
+
1.2. "Contributor Version" means the combination of the Original
|
15
|
+
Code, prior Modifications used by a Contributor, and the Modifications
|
16
|
+
made by that particular Contributor.
|
17
|
+
|
18
|
+
1.3. "Covered Code" means the Original Code or Modifications or the
|
19
|
+
combination of the Original Code and Modifications, in each case
|
20
|
+
including portions thereof.
|
21
|
+
|
22
|
+
1.4. "Electronic Distribution Mechanism" means a mechanism generally
|
23
|
+
accepted in the software development community for the electronic
|
24
|
+
transfer of data.
|
25
|
+
|
26
|
+
1.5. "Executable" means Covered Code in any form other than Source
|
27
|
+
Code.
|
28
|
+
|
29
|
+
1.6. "Initial Developer" means the individual or entity identified
|
30
|
+
as the Initial Developer in the Source Code notice required by Exhibit
|
31
|
+
A.
|
32
|
+
|
33
|
+
1.7. "Larger Work" means a work which combines Covered Code or
|
34
|
+
portions thereof with code not governed by the terms of this License.
|
35
|
+
|
36
|
+
1.8. "License" means this document.
|
37
|
+
|
38
|
+
1.8.1. "Licensable" means having the right to grant, to the maximum
|
39
|
+
extent possible, whether at the time of the initial grant or
|
40
|
+
subsequently acquired, any and all of the rights conveyed herein.
|
41
|
+
|
42
|
+
1.9. "Modifications" means any addition to or deletion from the
|
43
|
+
substance or structure of either the Original Code or any previous
|
44
|
+
Modifications. When Covered Code is released as a series of files, a
|
45
|
+
Modification is:
|
46
|
+
A. Any addition to or deletion from the contents of a file
|
47
|
+
containing Original Code or previous Modifications.
|
48
|
+
|
49
|
+
B. Any new file that contains any part of the Original Code or
|
50
|
+
previous Modifications.
|
51
|
+
|
52
|
+
1.10. "Original Code" means Source Code of computer software code
|
53
|
+
which is described in the Source Code notice required by Exhibit A as
|
54
|
+
Original Code, and which, at the time of its release under this
|
55
|
+
License is not already Covered Code governed by this License.
|
56
|
+
|
57
|
+
1.10.1. "Patent Claims" means any patent claim(s), now owned or
|
58
|
+
hereafter acquired, including without limitation, method, process,
|
59
|
+
and apparatus claims, in any patent Licensable by grantor.
|
60
|
+
|
61
|
+
1.11. "Source Code" means the preferred form of the Covered Code for
|
62
|
+
making modifications to it, including all modules it contains, plus
|
63
|
+
any associated interface definition files, scripts used to control
|
64
|
+
compilation and installation of an Executable, or source code
|
65
|
+
differential comparisons against either the Original Code or another
|
66
|
+
well known, available Covered Code of the Contributor's choice. The
|
67
|
+
Source Code can be in a compressed or archival form, provided the
|
68
|
+
appropriate decompression or de-archiving software is widely available
|
69
|
+
for no charge.
|
70
|
+
|
71
|
+
1.12. "You" (or "Your") means an individual or a legal entity
|
72
|
+
exercising rights under, and complying with all of the terms of, this
|
73
|
+
License or a future version of this License issued under Section 6.1.
|
74
|
+
For legal entities, "You" includes any entity which controls, is
|
75
|
+
controlled by, or is under common control with You. For purposes of
|
76
|
+
this definition, "control" means (a) the power, direct or indirect,
|
77
|
+
to cause the direction or management of such entity, whether by
|
78
|
+
contract or otherwise, or (b) ownership of more than fifty percent
|
79
|
+
(50%) of the outstanding shares or beneficial ownership of such
|
80
|
+
entity.
|
81
|
+
|
82
|
+
2. Source Code License.
|
83
|
+
|
84
|
+
2.1. The Initial Developer Grant.
|
85
|
+
The Initial Developer hereby grants You a world-wide, royalty-free,
|
86
|
+
non-exclusive license, subject to third party intellectual property
|
87
|
+
claims:
|
88
|
+
(a) under intellectual property rights (other than patent or
|
89
|
+
trademark) Licensable by Initial Developer to use, reproduce,
|
90
|
+
modify, display, perform, sublicense and distribute the Original
|
91
|
+
Code (or portions thereof) with or without Modifications, and/or
|
92
|
+
as part of a Larger Work; and
|
93
|
+
|
94
|
+
(b) under Patents Claims infringed by the making, using or
|
95
|
+
selling of Original Code, to make, have made, use, practice,
|
96
|
+
sell, and offer for sale, and/or otherwise dispose of the
|
97
|
+
Original Code (or portions thereof).
|
98
|
+
|
99
|
+
(c) the licenses granted in this Section 2.1(a) and (b) are
|
100
|
+
effective on the date Initial Developer first distributes
|
101
|
+
Original Code under the terms of this License.
|
102
|
+
|
103
|
+
(d) Notwithstanding Section 2.1(b) above, no patent license is
|
104
|
+
granted: 1) for code that You delete from the Original Code; 2)
|
105
|
+
separate from the Original Code; or 3) for infringements caused
|
106
|
+
by: i) the modification of the Original Code or ii) the
|
107
|
+
combination of the Original Code with other software or devices.
|
108
|
+
|
109
|
+
2.2. Contributor Grant.
|
110
|
+
Subject to third party intellectual property claims, each Contributor
|
111
|
+
hereby grants You a world-wide, royalty-free, non-exclusive license
|
112
|
+
|
113
|
+
(a) under intellectual property rights (other than patent or
|
114
|
+
trademark) Licensable by Contributor, to use, reproduce, modify,
|
115
|
+
display, perform, sublicense and distribute the Modifications
|
116
|
+
created by such Contributor (or portions thereof) either on an
|
117
|
+
unmodified basis, with other Modifications, as Covered Code
|
118
|
+
and/or as part of a Larger Work; and
|
119
|
+
|
120
|
+
(b) under Patent Claims infringed by the making, using, or
|
121
|
+
selling of Modifications made by that Contributor either alone
|
122
|
+
and/or in combination with its Contributor Version (or portions
|
123
|
+
of such combination), to make, use, sell, offer for sale, have
|
124
|
+
made, and/or otherwise dispose of: 1) Modifications made by that
|
125
|
+
Contributor (or portions thereof); and 2) the combination of
|
126
|
+
Modifications made by that Contributor with its Contributor
|
127
|
+
Version (or portions of such combination).
|
128
|
+
|
129
|
+
(c) the licenses granted in Sections 2.2(a) and 2.2(b) are
|
130
|
+
effective on the date Contributor first makes Commercial Use of
|
131
|
+
the Covered Code.
|
132
|
+
|
133
|
+
(d) Notwithstanding Section 2.2(b) above, no patent license is
|
134
|
+
granted: 1) for any code that Contributor has deleted from the
|
135
|
+
Contributor Version; 2) separate from the Contributor Version;
|
136
|
+
3) for infringements caused by: i) third party modifications of
|
137
|
+
Contributor Version or ii) the combination of Modifications made
|
138
|
+
by that Contributor with other software (except as part of the
|
139
|
+
Contributor Version) or other devices; or 4) under Patent Claims
|
140
|
+
infringed by Covered Code in the absence of Modifications made by
|
141
|
+
that Contributor.
|
142
|
+
|
143
|
+
3. Distribution Obligations.
|
144
|
+
|
145
|
+
3.1. Application of License.
|
146
|
+
The Modifications which You create or to which You contribute are
|
147
|
+
governed by the terms of this License, including without limitation
|
148
|
+
Section 2.2. The Source Code version of Covered Code may be
|
149
|
+
distributed only under the terms of this License or a future version
|
150
|
+
of this License released under Section 6.1, and You must include a
|
151
|
+
copy of this License with every copy of the Source Code You
|
152
|
+
distribute. You may not offer or impose any terms on any Source Code
|
153
|
+
version that alters or restricts the applicable version of this
|
154
|
+
License or the recipients' rights hereunder. However, You may include
|
155
|
+
an additional document offering the additional rights described in
|
156
|
+
Section 3.5.
|
157
|
+
|
158
|
+
3.2. Availability of Source Code.
|
159
|
+
Any Modification which You create or to which You contribute must be
|
160
|
+
made available in Source Code form under the terms of this License
|
161
|
+
either on the same media as an Executable version or via an accepted
|
162
|
+
Electronic Distribution Mechanism to anyone to whom you made an
|
163
|
+
Executable version available; and if made available via Electronic
|
164
|
+
Distribution Mechanism, must remain available for at least twelve (12)
|
165
|
+
months after the date it initially became available, or at least six
|
166
|
+
(6) months after a subsequent version of that particular Modification
|
167
|
+
has been made available to such recipients. You are responsible for
|
168
|
+
ensuring that the Source Code version remains available even if the
|
169
|
+
Electronic Distribution Mechanism is maintained by a third party.
|
170
|
+
|
171
|
+
3.3. Description of Modifications.
|
172
|
+
You must cause all Covered Code to which You contribute to contain a
|
173
|
+
file documenting the changes You made to create that Covered Code and
|
174
|
+
the date of any change. You must include a prominent statement that
|
175
|
+
the Modification is derived, directly or indirectly, from Original
|
176
|
+
Code provided by the Initial Developer and including the name of the
|
177
|
+
Initial Developer in (a) the Source Code, and (b) in any notice in an
|
178
|
+
Executable version or related documentation in which You describe the
|
179
|
+
origin or ownership of the Covered Code.
|
180
|
+
|
181
|
+
3.4. Intellectual Property Matters
|
182
|
+
(a) Third Party Claims.
|
183
|
+
If Contributor has knowledge that a license under a third party's
|
184
|
+
intellectual property rights is required to exercise the rights
|
185
|
+
granted by such Contributor under Sections 2.1 or 2.2,
|
186
|
+
Contributor must include a text file with the Source Code
|
187
|
+
distribution titled "LEGAL" which describes the claim and the
|
188
|
+
party making the claim in sufficient detail that a recipient will
|
189
|
+
know whom to contact. If Contributor obtains such knowledge after
|
190
|
+
the Modification is made available as described in Section 3.2,
|
191
|
+
Contributor shall promptly modify the LEGAL file in all copies
|
192
|
+
Contributor makes available thereafter and shall take other steps
|
193
|
+
(such as notifying appropriate mailing lists or newsgroups)
|
194
|
+
reasonably calculated to inform those who received the Covered
|
195
|
+
Code that new knowledge has been obtained.
|
196
|
+
|
197
|
+
(b) Contributor APIs.
|
198
|
+
If Contributor's Modifications include an application programming
|
199
|
+
interface and Contributor has knowledge of patent licenses which
|
200
|
+
are reasonably necessary to implement that API, Contributor must
|
201
|
+
also include this information in the LEGAL file.
|
202
|
+
|
203
|
+
(c) Representations.
|
204
|
+
Contributor represents that, except as disclosed pursuant to
|
205
|
+
Section 3.4(a) above, Contributor believes that Contributor's
|
206
|
+
Modifications are Contributor's original creation(s) and/or
|
207
|
+
Contributor has sufficient rights to grant the rights conveyed by
|
208
|
+
this License.
|
209
|
+
|
210
|
+
3.5. Required Notices.
|
211
|
+
You must duplicate the notice in Exhibit A in each file of the Source
|
212
|
+
Code. If it is not possible to put such notice in a particular Source
|
213
|
+
Code file due to its structure, then You must include such notice in a
|
214
|
+
location (such as a relevant directory) where a user would be likely
|
215
|
+
to look for such a notice. If You created one or more Modification(s)
|
216
|
+
You may add your name as a Contributor to the notice described in
|
217
|
+
Exhibit A. You must also duplicate this License in any documentation
|
218
|
+
for the Source Code where You describe recipients' rights or ownership
|
219
|
+
rights relating to Covered Code. You may choose to offer, and to
|
220
|
+
charge a fee for, warranty, support, indemnity or liability
|
221
|
+
obligations to one or more recipients of Covered Code. However, You
|
222
|
+
may do so only on Your own behalf, and not on behalf of the Initial
|
223
|
+
Developer or any Contributor. You must make it absolutely clear than
|
224
|
+
any such warranty, support, indemnity or liability obligation is
|
225
|
+
offered by You alone, and You hereby agree to indemnify the Initial
|
226
|
+
Developer and every Contributor for any liability incurred by the
|
227
|
+
Initial Developer or such Contributor as a result of warranty,
|
228
|
+
support, indemnity or liability terms You offer.
|
229
|
+
|
230
|
+
3.6. Distribution of Executable Versions.
|
231
|
+
You may distribute Covered Code in Executable form only if the
|
232
|
+
requirements of Section 3.1-3.5 have been met for that Covered Code,
|
233
|
+
and if You include a notice stating that the Source Code version of
|
234
|
+
the Covered Code is available under the terms of this License,
|
235
|
+
including a description of how and where You have fulfilled the
|
236
|
+
obligations of Section 3.2. The notice must be conspicuously included
|
237
|
+
in any notice in an Executable version, related documentation or
|
238
|
+
collateral in which You describe recipients' rights relating to the
|
239
|
+
Covered Code. You may distribute the Executable version of Covered
|
240
|
+
Code or ownership rights under a license of Your choice, which may
|
241
|
+
contain terms different from this License, provided that You are in
|
242
|
+
compliance with the terms of this License and that the license for the
|
243
|
+
Executable version does not attempt to limit or alter the recipient's
|
244
|
+
rights in the Source Code version from the rights set forth in this
|
245
|
+
License. If You distribute the Executable version under a different
|
246
|
+
license You must make it absolutely clear that any terms which differ
|
247
|
+
from this License are offered by You alone, not by the Initial
|
248
|
+
Developer or any Contributor. You hereby agree to indemnify the
|
249
|
+
Initial Developer and every Contributor for any liability incurred by
|
250
|
+
the Initial Developer or such Contributor as a result of any such
|
251
|
+
terms You offer.
|
252
|
+
|
253
|
+
3.7. Larger Works.
|
254
|
+
You may create a Larger Work by combining Covered Code with other code
|
255
|
+
not governed by the terms of this License and distribute the Larger
|
256
|
+
Work as a single product. In such a case, You must make sure the
|
257
|
+
requirements of this License are fulfilled for the Covered Code.
|
258
|
+
|
259
|
+
4. Inability to Comply Due to Statute or Regulation.
|
260
|
+
|
261
|
+
If it is impossible for You to comply with any of the terms of this
|
262
|
+
License with respect to some or all of the Covered Code due to
|
263
|
+
statute, judicial order, or regulation then You must: (a) comply with
|
264
|
+
the terms of this License to the maximum extent possible; and (b)
|
265
|
+
describe the limitations and the code they affect. Such description
|
266
|
+
must be included in the LEGAL file described in Section 3.4 and must
|
267
|
+
be included with all distributions of the Source Code. Except to the
|
268
|
+
extent prohibited by statute or regulation, such description must be
|
269
|
+
sufficiently detailed for a recipient of ordinary skill to be able to
|
270
|
+
understand it.
|
271
|
+
|
272
|
+
5. Application of this License.
|
273
|
+
|
274
|
+
This License applies to code to which the Initial Developer has
|
275
|
+
attached the notice in Exhibit A and to related Covered Code.
|
276
|
+
|
277
|
+
6. Versions of the License.
|
278
|
+
|
279
|
+
6.1. New Versions.
|
280
|
+
Netscape Communications Corporation ("Netscape") may publish revised
|
281
|
+
and/or new versions of the License from time to time. Each version
|
282
|
+
will be given a distinguishing version number.
|
283
|
+
|
284
|
+
6.2. Effect of New Versions.
|
285
|
+
Once Covered Code has been published under a particular version of the
|
286
|
+
License, You may always continue to use it under the terms of that
|
287
|
+
version. You may also choose to use such Covered Code under the terms
|
288
|
+
of any subsequent version of the License published by Netscape. No one
|
289
|
+
other than Netscape has the right to modify the terms applicable to
|
290
|
+
Covered Code created under this License.
|
291
|
+
|
292
|
+
6.3. Derivative Works.
|
293
|
+
If You create or use a modified version of this License (which you may
|
294
|
+
only do in order to apply it to code which is not already Covered Code
|
295
|
+
governed by this License), You must (a) rename Your license so that
|
296
|
+
the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
|
297
|
+
"MPL", "NPL" or any confusingly similar phrase do not appear in your
|
298
|
+
license (except to note that your license differs from this License)
|
299
|
+
and (b) otherwise make it clear that Your version of the license
|
300
|
+
contains terms which differ from the Mozilla Public License and
|
301
|
+
Netscape Public License. (Filling in the name of the Initial
|
302
|
+
Developer, Original Code or Contributor in the notice described in
|
303
|
+
Exhibit A shall not of themselves be deemed to be modifications of
|
304
|
+
this License.)
|
305
|
+
|
306
|
+
7. DISCLAIMER OF WARRANTY.
|
307
|
+
|
308
|
+
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
|
309
|
+
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
|
310
|
+
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
|
311
|
+
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
|
312
|
+
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
|
313
|
+
IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
|
314
|
+
YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
|
315
|
+
COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
|
316
|
+
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
|
317
|
+
ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
|
318
|
+
|
319
|
+
8. TERMINATION.
|
320
|
+
|
321
|
+
8.1. This License and the rights granted hereunder will terminate
|
322
|
+
automatically if You fail to comply with terms herein and fail to cure
|
323
|
+
such breach within 30 days of becoming aware of the breach. All
|
324
|
+
sublicenses to the Covered Code which are properly granted shall
|
325
|
+
survive any termination of this License. Provisions which, by their
|
326
|
+
nature, must remain in effect beyond the termination of this License
|
327
|
+
shall survive.
|
328
|
+
|
329
|
+
8.2. If You initiate litigation by asserting a patent infringement
|
330
|
+
claim (excluding declatory judgment actions) against Initial Developer
|
331
|
+
or a Contributor (the Initial Developer or Contributor against whom
|
332
|
+
You file such action is referred to as "Participant") alleging that:
|
333
|
+
|
334
|
+
(a) such Participant's Contributor Version directly or indirectly
|
335
|
+
infringes any patent, then any and all rights granted by such
|
336
|
+
Participant to You under Sections 2.1 and/or 2.2 of this License
|
337
|
+
shall, upon 60 days notice from Participant terminate prospectively,
|
338
|
+
unless if within 60 days after receipt of notice You either: (i)
|
339
|
+
agree in writing to pay Participant a mutually agreeable reasonable
|
340
|
+
royalty for Your past and future use of Modifications made by such
|
341
|
+
Participant, or (ii) withdraw Your litigation claim with respect to
|
342
|
+
the Contributor Version against such Participant. If within 60 days
|
343
|
+
of notice, a reasonable royalty and payment arrangement are not
|
344
|
+
mutually agreed upon in writing by the parties or the litigation claim
|
345
|
+
is not withdrawn, the rights granted by Participant to You under
|
346
|
+
Sections 2.1 and/or 2.2 automatically terminate at the expiration of
|
347
|
+
the 60 day notice period specified above.
|
348
|
+
|
349
|
+
(b) any software, hardware, or device, other than such Participant's
|
350
|
+
Contributor Version, directly or indirectly infringes any patent, then
|
351
|
+
any rights granted to You by such Participant under Sections 2.1(b)
|
352
|
+
and 2.2(b) are revoked effective as of the date You first made, used,
|
353
|
+
sold, distributed, or had made, Modifications made by that
|
354
|
+
Participant.
|
355
|
+
|
356
|
+
8.3. If You assert a patent infringement claim against Participant
|
357
|
+
alleging that such Participant's Contributor Version directly or
|
358
|
+
indirectly infringes any patent where such claim is resolved (such as
|
359
|
+
by license or settlement) prior to the initiation of patent
|
360
|
+
infringement litigation, then the reasonable value of the licenses
|
361
|
+
granted by such Participant under Sections 2.1 or 2.2 shall be taken
|
362
|
+
into account in determining the amount or value of any payment or
|
363
|
+
license.
|
364
|
+
|
365
|
+
8.4. In the event of termination under Sections 8.1 or 8.2 above,
|
366
|
+
all end user license agreements (excluding distributors and resellers)
|
367
|
+
which have been validly granted by You or any distributor hereunder
|
368
|
+
prior to termination shall survive termination.
|
369
|
+
|
370
|
+
9. LIMITATION OF LIABILITY.
|
371
|
+
|
372
|
+
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
|
373
|
+
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
|
374
|
+
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
|
375
|
+
OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
|
376
|
+
ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
|
377
|
+
CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
|
378
|
+
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
|
379
|
+
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
|
380
|
+
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
|
381
|
+
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
|
382
|
+
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
|
383
|
+
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
|
384
|
+
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
|
385
|
+
THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
|
386
|
+
|
387
|
+
10. U.S. GOVERNMENT END USERS.
|
388
|
+
|
389
|
+
The Covered Code is a "commercial item," as that term is defined in
|
390
|
+
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
|
391
|
+
software" and "commercial computer software documentation," as such
|
392
|
+
terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
|
393
|
+
C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
|
394
|
+
all U.S. Government End Users acquire Covered Code with only those
|
395
|
+
rights set forth herein.
|
396
|
+
|
397
|
+
11. MISCELLANEOUS.
|
398
|
+
|
399
|
+
This License represents the complete agreement concerning subject
|
400
|
+
matter hereof. If any provision of this License is held to be
|
401
|
+
unenforceable, such provision shall be reformed only to the extent
|
402
|
+
necessary to make it enforceable. This License shall be governed by
|
403
|
+
California law provisions (except to the extent applicable law, if
|
404
|
+
any, provides otherwise), excluding its conflict-of-law provisions.
|
405
|
+
With respect to disputes in which at least one party is a citizen of,
|
406
|
+
or an entity chartered or registered to do business in the United
|
407
|
+
States of America, any litigation relating to this License shall be
|
408
|
+
subject to the jurisdiction of the Federal Courts of the Northern
|
409
|
+
District of California, with venue lying in Santa Clara County,
|
410
|
+
California, with the losing party responsible for costs, including
|
411
|
+
without limitation, court costs and reasonable attorneys' fees and
|
412
|
+
expenses. The application of the United Nations Convention on
|
413
|
+
Contracts for the International Sale of Goods is expressly excluded.
|
414
|
+
Any law or regulation which provides that the language of a contract
|
415
|
+
shall be construed against the drafter shall not apply to this
|
416
|
+
License.
|
417
|
+
|
418
|
+
12. RESPONSIBILITY FOR CLAIMS.
|
419
|
+
|
420
|
+
As between Initial Developer and the Contributors, each party is
|
421
|
+
responsible for claims and damages arising, directly or indirectly,
|
422
|
+
out of its utilization of rights under this License and You agree to
|
423
|
+
work with Initial Developer and Contributors to distribute such
|
424
|
+
responsibility on an equitable basis. Nothing herein is intended or
|
425
|
+
shall be deemed to constitute any admission of liability.
|
426
|
+
|
427
|
+
13. MULTIPLE-LICENSED CODE.
|
428
|
+
|
429
|
+
Initial Developer may designate portions of the Covered Code as
|
430
|
+
"Multiple-Licensed". "Multiple-Licensed" means that the Initial
|
431
|
+
Developer permits you to utilize portions of the Covered Code under
|
432
|
+
Your choice of the MPL or the alternative licenses, if any, specified
|
433
|
+
by the Initial Developer in the file described in Exhibit A.
|
434
|
+
|
435
|
+
EXHIBIT A -Mozilla Public License.
|
436
|
+
|
437
|
+
``The contents of this file are subject to the Mozilla Public License
|
438
|
+
Version 1.1 (the "License"); you may not use this file except in
|
439
|
+
compliance with the License. You may obtain a copy of the License at
|
440
|
+
http://www.mozilla.org/MPL/
|
441
|
+
|
442
|
+
Software distributed under the License is distributed on an "AS IS"
|
443
|
+
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
444
|
+
License for the specific language governing rights and limitations
|
445
|
+
under the License.
|
446
|
+
|
447
|
+
The Original Code is ______________________________________.
|
448
|
+
|
449
|
+
The Initial Developer of the Original Code is ________________________.
|
450
|
+
Portions created by ______________________ are Copyright (C) ______
|
451
|
+
_______________________. All Rights Reserved.
|
452
|
+
|
453
|
+
Contributor(s): ______________________________________.
|
454
|
+
|
455
|
+
Alternatively, the contents of this file may be used under the terms
|
456
|
+
of the _____ license (the "[___] License"), in which case the
|
457
|
+
provisions of [______] License are applicable instead of those
|
458
|
+
above. If you wish to allow use of your version of this file only
|
459
|
+
under the terms of the [____] License and not to allow others to use
|
460
|
+
your version of this file under the MPL, indicate your decision by
|
461
|
+
deleting the provisions above and replace them with the notice and
|
462
|
+
other provisions required by the [___] License. If you do not delete
|
463
|
+
the provisions above, a recipient may use your version of this file
|
464
|
+
under either the MPL or the [___] License."
|
465
|
+
|
466
|
+
[NOTE: The text of this Exhibit A may differ slightly from the text of
|
467
|
+
the notices in the Source Code files of the Original Code. You should
|
468
|
+
use the text of this Exhibit A rather than the text found in the
|
469
|
+
Original Code Source Code for Your Modifications.]
|
470
|
+
|