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