]>
Commit | Line | Data |
---|---|---|
ee868403 | 1 | # Copyright (c) 2004-2022 by Internet Systems Consortium, Inc. ("ISC") |
5d0ff7ea DH |
2 | # Copyright (c) 1995-2003 by Internet Software Consortium |
3 | # | |
b12d9105 TM |
4 | # This Source Code Form is subject to the terms of the Mozilla Public |
5 | # License, v. 2.0, included below. | |
6 | # | |
7 | # See the specific source files for any additional copyright or | |
8 | # license statements. | |
9 | ||
10 | Mozilla Public License, version 2.0 | |
11 | ||
12 | 1. Definitions | |
13 | ||
14 | 1.1. "Contributor" | |
15 | ||
16 | means each individual or legal entity that creates, contributes to the | |
17 | creation of, or owns Covered Software. | |
18 | ||
19 | 1.2. "Contributor Version" | |
20 | ||
21 | means the combination of the Contributions of others (if any) used by a | |
22 | Contributor and that particular Contributor's Contribution. | |
23 | ||
24 | 1.3. "Contribution" | |
25 | ||
26 | means Covered Software of a particular Contributor. | |
27 | ||
28 | 1.4. "Covered Software" | |
29 | ||
30 | means Source Code Form to which the initial Contributor has attached the | |
31 | notice in Exhibit A, the Executable Form of such Source Code Form, and | |
32 | Modifications of such Source Code Form, in each case including portions | |
33 | thereof. | |
34 | ||
35 | 1.5. "Incompatible With Secondary Licenses" | |
36 | means | |
37 | ||
38 | a. that the initial Contributor has attached the notice described in | |
39 | Exhibit B to the Covered Software; or | |
40 | ||
41 | b. that the Covered Software was made available under the terms of | |
42 | version 1.1 or earlier of the License, but not also under the terms of | |
43 | a Secondary License. | |
44 | ||
45 | 1.6. "Executable Form" | |
46 | ||
47 | means any form of the work other than Source Code Form. | |
48 | ||
49 | 1.7. "Larger Work" | |
50 | ||
51 | means a work that combines Covered Software with other material, in a | |
52 | separate file or files, that is not Covered Software. | |
53 | ||
54 | 1.8. "License" | |
55 | ||
56 | means this document. | |
57 | ||
58 | 1.9. "Licensable" | |
59 | ||
60 | means having the right to grant, to the maximum extent possible, whether | |
61 | at the time of the initial grant or subsequently, any and all of the | |
62 | rights conveyed by this License. | |
63 | ||
64 | 1.10. "Modifications" | |
65 | ||
66 | means any of the following: | |
67 | ||
68 | a. any file in Source Code Form that results from an addition to, | |
69 | deletion from, or modification of the contents of Covered Software; or | |
70 | ||
71 | b. any new file in Source Code Form that contains any Covered Software. | |
72 | ||
73 | 1.11. "Patent Claims" of a Contributor | |
74 | ||
75 | means any patent claim(s), including without limitation, method, | |
76 | process, and apparatus claims, in any patent Licensable by such | |
77 | Contributor that would be infringed, but for the grant of the License, | |
78 | by the making, using, selling, offering for sale, having made, import, | |
79 | or transfer of either its Contributions or its Contributor Version. | |
80 | ||
81 | 1.12. "Secondary License" | |
82 | ||
83 | means either the GNU General Public License, Version 2.0, the GNU Lesser | |
84 | General Public License, Version 2.1, the GNU Affero General Public | |
85 | License, Version 3.0, or any later versions of those licenses. | |
86 | ||
87 | 1.13. "Source Code Form" | |
88 | ||
89 | means the form of the work preferred for making modifications. | |
90 | ||
91 | 1.14. "You" (or "Your") | |
92 | ||
93 | means an individual or a legal entity exercising rights under this | |
94 | License. For legal entities, "You" includes any entity that controls, is | |
95 | controlled by, or is under common control with You. For purposes of this | |
96 | definition, "control" means (a) the power, direct or indirect, to cause | |
97 | the direction or management of such entity, whether by contract or | |
98 | otherwise, or (b) ownership of more than fifty percent (50%) of the | |
99 | outstanding shares or beneficial ownership of such entity. | |
100 | ||
101 | ||
102 | 2. License Grants and Conditions | |
103 | ||
104 | 2.1. Grants | |
105 | ||
106 | Each Contributor hereby grants You a world-wide, royalty-free, | |
107 | non-exclusive license: | |
108 | ||
109 | a. under intellectual property rights (other than patent or trademark) | |
110 | Licensable by such Contributor to use, reproduce, make available, | |
111 | modify, display, perform, distribute, and otherwise exploit its | |
112 | Contributions, either on an unmodified basis, with Modifications, or | |
113 | as part of a Larger Work; and | |
114 | ||
115 | b. under Patent Claims of such Contributor to make, use, sell, offer for | |
116 | sale, have made, import, and otherwise transfer either its | |
117 | Contributions or its Contributor Version. | |
118 | ||
119 | 2.2. Effective Date | |
120 | ||
121 | The licenses granted in Section 2.1 with respect to any Contribution | |
122 | become effective for each Contribution on the date the Contributor first | |
123 | distributes such Contribution. | |
124 | ||
125 | 2.3. Limitations on Grant Scope | |
126 | ||
127 | The licenses granted in this Section 2 are the only rights granted under | |
128 | this License. No additional rights or licenses will be implied from the | |
129 | distribution or licensing of Covered Software under this License. | |
130 | Notwithstanding Section 2.1(b) above, no patent license is granted by a | |
131 | Contributor: | |
132 | ||
133 | a. for any code that a Contributor has removed from Covered Software; or | |
134 | ||
135 | b. for infringements caused by: (i) Your and any other third party's | |
136 | modifications of Covered Software, or (ii) the combination of its | |
137 | Contributions with other software (except as part of its Contributor | |
138 | Version); or | |
139 | ||
140 | c. under Patent Claims infringed by Covered Software in the absence of | |
141 | its Contributions. | |
142 | ||
143 | This License does not grant any rights in the trademarks, service marks, | |
144 | or logos of any Contributor (except as may be necessary to comply with | |
145 | the notice requirements in Section 3.4). | |
146 | ||
147 | 2.4. Subsequent Licenses | |
148 | ||
149 | No Contributor makes additional grants as a result of Your choice to | |
150 | distribute the Covered Software under a subsequent version of this | |
151 | License (see Section 10.2) or under the terms of a Secondary License (if | |
152 | permitted under the terms of Section 3.3). | |
153 | ||
154 | 2.5. Representation | |
155 | ||
156 | Each Contributor represents that the Contributor believes its | |
157 | Contributions are its original creation(s) or it has sufficient rights to | |
158 | grant the rights to its Contributions conveyed by this License. | |
159 | ||
160 | 2.6. Fair Use | |
161 | ||
162 | This License is not intended to limit any rights You have under | |
163 | applicable copyright doctrines of fair use, fair dealing, or other | |
164 | equivalents. | |
165 | ||
166 | 2.7. Conditions | |
167 | ||
168 | Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in | |
169 | Section 2.1. | |
170 | ||
171 | ||
172 | 3. Responsibilities | |
173 | ||
174 | 3.1. Distribution of Source Form | |
175 | ||
176 | All distribution of Covered Software in Source Code Form, including any | |
177 | Modifications that You create or to which You contribute, must be under | |
178 | the terms of this License. You must inform recipients that the Source | |
179 | Code Form of the Covered Software is governed by the terms of this | |
180 | License, and how they can obtain a copy of this License. You may not | |
181 | attempt to alter or restrict the recipients' rights in the Source Code | |
182 | Form. | |
183 | ||
184 | 3.2. Distribution of Executable Form | |
185 | ||
186 | If You distribute Covered Software in Executable Form then: | |
187 | ||
188 | a. such Covered Software must also be made available in Source Code Form, | |
189 | as described in Section 3.1, and You must inform recipients of the | |
190 | Executable Form how they can obtain a copy of such Source Code Form by | |
191 | reasonable means in a timely manner, at a charge no more than the cost | |
192 | of distribution to the recipient; and | |
193 | ||
194 | b. You may distribute such Executable Form under the terms of this | |
195 | License, or sublicense it under different terms, provided that the | |
196 | license for the Executable Form does not attempt to limit or alter the | |
197 | recipients' rights in the Source Code Form under this License. | |
198 | ||
199 | 3.3. Distribution of a Larger Work | |
200 | ||
201 | You may create and distribute a Larger Work under terms of Your choice, | |
202 | provided that You also comply with the requirements of this License for | |
203 | the Covered Software. If the Larger Work is a combination of Covered | |
204 | Software with a work governed by one or more Secondary Licenses, and the | |
205 | Covered Software is not Incompatible With Secondary Licenses, this | |
206 | License permits You to additionally distribute such Covered Software | |
207 | under the terms of such Secondary License(s), so that the recipient of | |
208 | the Larger Work may, at their option, further distribute the Covered | |
209 | Software under the terms of either this License or such Secondary | |
210 | License(s). | |
211 | ||
212 | 3.4. Notices | |
213 | ||
214 | You may not remove or alter the substance of any license notices | |
215 | (including copyright notices, patent notices, disclaimers of warranty, or | |
216 | limitations of liability) contained within the Source Code Form of the | |
217 | Covered Software, except that You may alter any license notices to the | |
218 | extent required to remedy known factual inaccuracies. | |
219 | ||
220 | 3.5. Application of Additional Terms | |
221 | ||
222 | You may choose to offer, and to charge a fee for, warranty, support, | |
223 | indemnity or liability obligations to one or more recipients of Covered | |
224 | Software. However, You may do so only on Your own behalf, and not on | |
225 | behalf of any Contributor. You must make it absolutely clear that any | |
226 | such warranty, support, indemnity, or liability obligation is offered by | |
227 | You alone, and You hereby agree to indemnify every Contributor for any | |
228 | liability incurred by such Contributor as a result of warranty, support, | |
229 | indemnity or liability terms You offer. You may include additional | |
230 | disclaimers of warranty and limitations of liability specific to any | |
231 | jurisdiction. | |
232 | ||
233 | 4. Inability to Comply Due to Statute or Regulation | |
234 | ||
235 | If it is impossible for You to comply with any of the terms of this License | |
236 | with respect to some or all of the Covered Software due to statute, | |
237 | judicial order, or regulation then You must: (a) comply with the terms of | |
238 | this License to the maximum extent possible; and (b) describe the | |
239 | limitations and the code they affect. Such description must be placed in a | |
240 | text file included with all distributions of the Covered Software under | |
241 | this License. Except to the extent prohibited by statute or regulation, | |
242 | such description must be sufficiently detailed for a recipient of ordinary | |
243 | skill to be able to understand it. | |
244 | ||
245 | 5. Termination | |
246 | ||
247 | 5.1. The rights granted under this License will terminate automatically if You | |
248 | fail to comply with any of its terms. However, if You become compliant, | |
249 | then the rights granted under this License from a particular Contributor | |
250 | are reinstated (a) provisionally, unless and until such Contributor | |
251 | explicitly and finally terminates Your grants, and (b) on an ongoing | |
252 | basis, if such Contributor fails to notify You of the non-compliance by | |
253 | some reasonable means prior to 60 days after You have come back into | |
254 | compliance. Moreover, Your grants from a particular Contributor are | |
255 | reinstated on an ongoing basis if such Contributor notifies You of the | |
256 | non-compliance by some reasonable means, this is the first time You have | |
257 | received notice of non-compliance with this License from such | |
258 | Contributor, and You become compliant prior to 30 days after Your receipt | |
259 | of the notice. | |
260 | ||
261 | 5.2. If You initiate litigation against any entity by asserting a patent | |
262 | infringement claim (excluding declaratory judgment actions, | |
263 | counter-claims, and cross-claims) alleging that a Contributor Version | |
264 | directly or indirectly infringes any patent, then the rights granted to | |
265 | You by any and all Contributors for the Covered Software under Section | |
266 | 2.1 of this License shall terminate. | |
267 | ||
268 | 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user | |
269 | license agreements (excluding distributors and resellers) which have been | |
270 | validly granted by You or Your distributors under this License prior to | |
271 | termination shall survive termination. | |
272 | ||
273 | 6. Disclaimer of Warranty | |
274 | ||
275 | Covered Software is provided under this License on an "as is" basis, | |
276 | without warranty of any kind, either expressed, implied, or statutory, | |
277 | including, without limitation, warranties that the Covered Software is free | |
278 | of defects, merchantable, fit for a particular purpose or non-infringing. | |
279 | The entire risk as to the quality and performance of the Covered Software | |
280 | is with You. Should any Covered Software prove defective in any respect, | |
281 | You (not any Contributor) assume the cost of any necessary servicing, | |
282 | repair, or correction. This disclaimer of warranty constitutes an essential | |
283 | part of this License. No use of any Covered Software is authorized under | |
284 | this License except under this disclaimer. | |
285 | ||
286 | 7. Limitation of Liability | |
287 | ||
288 | Under no circumstances and under no legal theory, whether tort (including | |
289 | negligence), contract, or otherwise, shall any Contributor, or anyone who | |
290 | distributes Covered Software as permitted above, be liable to You for any | |
291 | direct, indirect, special, incidental, or consequential damages of any | |
292 | character including, without limitation, damages for lost profits, loss of | |
293 | goodwill, work stoppage, computer failure or malfunction, or any and all | |
294 | other commercial damages or losses, even if such party shall have been | |
295 | informed of the possibility of such damages. This limitation of liability | |
296 | shall not apply to liability for death or personal injury resulting from | |
297 | such party's negligence to the extent applicable law prohibits such | |
298 | limitation. Some jurisdictions do not allow the exclusion or limitation of | |
299 | incidental or consequential damages, so this exclusion and limitation may | |
300 | not apply to You. | |
301 | ||
302 | 8. Litigation | |
303 | ||
304 | Any litigation relating to this License may be brought only in the courts | |
305 | of a jurisdiction where the defendant maintains its principal place of | |
306 | business and such litigation shall be governed by laws of that | |
307 | jurisdiction, without reference to its conflict-of-law provisions. Nothing | |
308 | in this Section shall prevent a party's ability to bring cross-claims or | |
309 | counter-claims. | |
310 | ||
311 | 9. Miscellaneous | |
312 | ||
313 | This License represents the complete agreement concerning the subject | |
314 | matter hereof. If any provision of this License is held to be | |
315 | unenforceable, such provision shall be reformed only to the extent | |
316 | necessary to make it enforceable. Any law or regulation which provides that | |
317 | the language of a contract shall be construed against the drafter shall not | |
318 | be used to construe this License against a Contributor. | |
319 | ||
320 | ||
321 | 10. Versions of the License | |
322 | ||
323 | 10.1. New Versions | |
324 | ||
325 | Mozilla Foundation is the license steward. Except as provided in Section | |
326 | 10.3, no one other than the license steward has the right to modify or | |
327 | publish new versions of this License. Each version will be given a | |
328 | distinguishing version number. | |
329 | ||
330 | 10.2. Effect of New Versions | |
331 | ||
332 | You may distribute the Covered Software under the terms of the version | |
333 | of the License under which You originally received the Covered Software, | |
334 | or under the terms of any subsequent version published by the license | |
335 | steward. | |
336 | ||
337 | 10.3. Modified Versions | |
338 | ||
339 | If you create software not governed by this License, and you want to | |
340 | create a new license for such software, you may create and use a | |
341 | modified version of this License if you rename the license and remove | |
342 | any references to the name of the license steward (except to note that | |
343 | such modified license differs from this License). | |
344 | ||
345 | 10.4. Distributing Source Code Form that is Incompatible With Secondary | |
346 | Licenses If You choose to distribute Source Code Form that is | |
347 | Incompatible With Secondary Licenses under the terms of this version of | |
348 | the License, the notice described in Exhibit B of this License must be | |
349 | attached. | |
350 | ||
351 | Exhibit A - Source Code Form License Notice | |
352 | ||
353 | This Source Code Form is subject to the | |
354 | terms of the Mozilla Public License, v. | |
355 | 2.0. If a copy of the MPL was not | |
356 | distributed with this file, You can | |
357 | obtain one at | |
358 | http://mozilla.org/MPL/2.0/. | |
359 | ||
360 | If it is not possible or desirable to put the notice in a particular file, | |
361 | then You may include the notice in a location (such as a LICENSE file in a | |
362 | relevant directory) where a recipient would be likely to look for such a | |
363 | notice. | |
364 | ||
365 | You may add additional accurate notices of copyright ownership. | |
366 | ||
367 | Exhibit B - "Incompatible With Secondary Licenses" Notice | |
fef8c6f0 | 368 | |
b12d9105 TM |
369 | This Source Code Form is "Incompatible |
370 | With Secondary Licenses", as defined by | |
371 | the Mozilla Public License, v. 2.0. |