1# Copyright (c) 2004-2021 by Internet Systems Consortium, Inc. ("ISC")
2# Copyright (c) 1995-2003 by Internet Software Consortium
3#
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>
16#   https://www.isc.org/
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
24Mozilla Public License, version 2.0
25
261. Definitions
27
281.1. "Contributor"
29
30     means each individual or legal entity that creates, contributes to the
31     creation of, or owns Covered Software.
32
331.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
381.3. "Contribution"
39
40     means Covered Software of a particular Contributor.
41
421.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
491.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
591.6. "Executable Form"
60
61     means any form of the work other than Source Code Form.
62
631.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
681.8. "License"
69
70     means this document.
71
721.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
781.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
871.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
951.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
1011.13. "Source Code Form"
102
103      means the form of the work preferred for making modifications.
104
1051.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
1162. License Grants and Conditions
117
1182.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
1332.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
1392.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
1612.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
1682.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
1742.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
1802.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
1863. Responsibilities
187
1883.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
1983.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
2133.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
2263.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
2343.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
2474. 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
2595. Termination
260
2615.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
2755.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
2825.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
2876. 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
3007. 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
3168. 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
3259. 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
33510. Versions of the License
336
33710.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
34410.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
35110.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
35910.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
365Exhibit 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
374If it is not possible or desirable to put the notice in a particular file,
375then You may include the notice in a location (such as a LICENSE file in a
376relevant directory) where a recipient would be likely to look for such a
377notice.
378
379You may add additional accurate notices of copyright ownership.
380
381Exhibit B - "Incompatible With Secondary Licenses" Notice
382
383      This Source Code Form is "Incompatible
384      With Secondary Licenses", as defined by
385      the Mozilla Public License, v. 2.0.
386