Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add Mozilla Public License v2.0 (mpl-2.0) and mark it as default-acce…

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

0 comments on commit 415d017

Please sign in to comment.
Something went wrong with that request. Please try again.