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