github.com/prysmaticlabs/prysm@v1.4.4/shared/queue/LICENSE (about)

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