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