License Policy: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: <!-- Remaining to do: - Sort out the license list for the webtools - Check that we've covered everything in the original document - Show it to Frank --> <h1>Mozilla Foundation License...)
 
(Replaced content with "The final version is [https://www.mozilla.org/MPL/license-policy.html here]. See the history of this page for drafts.")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--
The final version is [https://www.mozilla.org/MPL/license-policy.html here]. See the history of this page for drafts.
 
Remaining to do:
 
- Sort out the license list for the webtools
- Check that we've covered everything in the original document
- Show it to Frank
 
-->
 
<h1>Mozilla Foundation License Policy</h1>
 
<div class=version>
Version 2.0
</div>
 
<h2>Introduction</h2>
 
<p>The Mozilla Foundation has created this formal policy governing licenses
to be used for source files stored in our code
repositories. Developers with check-in
privileges to the mozilla.org code repositories must comply with
this policy unless specifically advised otherwise in writing by
The Mozilla Foundation.</p>
 
<p>The following is a brief summary of the Mozilla Foundation
license policy:</p>
 
<ul>
<li>Newly-added code must be licensed under the terms pertaining
to that part of the repository to which it is added.</li>
 
<li>You must consult the licensing team before adding code
not under one of the mozilla.org-approved licenses.</li>
</ul>
 
<p>For the complete license policy see the following
sections.</p>
 
<h2>Definitions</h2>
 
<p>"Mozilla Code" means all files any part of which end up in binaries of the
Mozilla family of Internet clients - Firefox, Thunderbird, SeaMonkey
and Camino. Note that this definition excludes the code of tools used merely to
build these products.</p>
 
<p>"Other Code" is code in our repositories which originated with the Mozilla Project but is not Mozilla Code.</p>
 
<p>"Third Party Code" is code in our repositories which did not originate with the Mozilla Project. It is usually, but not always, under its own specific license. Code may be both Mozilla Code and Third Party Code.</p>
 
<p>Please see the diagram for the relationship between the three definitions. XXX DIAGRAM NOT YET UPDATED</p>
 
 
<h2>Acceptable Licenses</h2>
 
<ol>
<li><p>The following license (the "Mozilla tri-license") is acceptable in all circumstances:</p>
 
<ul>
<li>
MPL/GPL/LGPL triple license,
allowing use of the file under the terms of any one of:
<ul>
<li>The [http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License, version 1.1]
or later (MPL)
<li>The [http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2]
or later (GPL)
<li>The [http://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, version 2.1]
or later (LGPL)
</ul>
</li>
</ul>
 
<p>For new source files
please use the
[http://www.mozilla.org/MPL/boilerplate-1.1/index.html boilerplate license notice]
appropriate for the type of file you are creating.</p>
 
<li><p>The following license is acceptable for trivial pieces of Other Code, such as testcases:</p>
 
<ul>
<li>Creative Commons Public Domain Dedication, using the following boilerplate:
<blockquote><pre>
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/licenses/publicdomain/</pre></blockquote>
</li>
</ul>
 
<li><p>The following licenses are acceptable only for Other Code in
directories whose files are already under the license in question,
as outlined later in this policy:</p>
 
<ul>
<li>The [http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License, version 1.1]
or later (MPL) alone
<li>The [http://www.mozilla.org/MPL/NPL-1.1.html Netscape Public License, version 1.1]
or later (NPL) alone
<li>MPL/GPL dual license, allowing use of the file under the terms of either of:
<ul>
<li>The [http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License, version 1.1]
or later (MPL)
<li>The [http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2]
or later (GPL)
</ul>
</ul>
 
<li><p>For Third Party Code, you should use the license pertaining to that
code when modifying it or adding new files to it, and the tri-license when
adding Mozilla-specific files such as build system files. See below for
a list of directories this applies to.</p>
 
</ol>
 
 
<p style="color: red">All Mozilla Code must be under either the tri-license or, for Third Party Mozilla Code, a license compatible with all three sets of terms in the tri-license (e.g. BSD-like licenses).</p>
 
 
<h2>Other Code (Non-Tri-Licensed)</h2>
 
<p>The following list, relating to section 3 above, is of directories contain Mozilla project code under sets of licensing terms other than the tri-license.</p>
 
<h3>Webtools</h3>
 
<table border="1">
  <tr>
    <th>Software</th>
    <th>Directory</th>
    <th>License</th>
  </tr>
 
  <tr>
<tr><td>PLIF</td><td>webtools/plif</td><td>MPL/GPL</td></tr>
<tr><td>whack-license</td><td>webtools/whack-license</td><td>MPL/GPL</td></tr>
<tr><td>"Bugzilla 3" (defunct)</td><td>webtools/bugzilla3</td><td>MPL/GPL</td></tr>
 
<tr><td>APIDoc</td><td>webtools/apidoc</td><td>NPL/GPL</td></tr>
<tr><td>Bonsai</td><td>webtools/bonsai</td><td>NPL</td></tr>
<tr><td>Build</td><td>webtools/build</td><td>NPL</td></tr>
<tr><td>Registry</td><td>webtools/registry</td><td>NPL</td></tr>
<tr><td>Tinderbox 1</td><td>webtools/tinderbox</td><td>NPL</td></tr>
 
<tr><td>Browser Buster</td><td>webtools/browser-buster</td><td>MPL</td></tr>
<tr><td>Bugzilla</td><td>webtools/bugzilla</td><td>MPL</td></tr>
<tr><td>Despot</td><td>webtools/despot</td><td>MPL</td></tr>
<tr><td>Doctor</td><td>webtools/doctor</td><td>MPL</td></tr>
<tr><td>Graph</td><td>webtools/graph</td><td>MPL</td></tr>
<tr><td>Hendrix</td><td>webtools/hendrix</td><td>MPL</td></tr>
<tr><td>Leak-O-Matic</td><td>webtools/leak-o-matic</td><td>MPL</td></tr>
<tr><td>Litmus</td><td>webtools/litmus</td><td>MPL</td></tr>
<tr><td>MiscStats</td><td>webtools/miscstats</td><td>MPL</td></tr>
<tr><td>MozBot</td><td>webtools/mozbot</td><td>MPL</td></tr>
<tr><td>NewsBot</td><td>webtools/newsbot</td><td>MPL</td></tr>
<tr><td>Tinderbox 2</td><td>webtools/tinderbox2</td><td>MPL</td></tr>
<tr><td>Tinderbox 3</td><td>webtools/tinderbox3</td><td>MPL</td></tr>
<tr><td>Web Sniffer</td><td>webtools/web-sniffer</td><td>MPL</td></tr>
<tr><td>webstats</td><td>webtools/webstats</td><td>MPL</td></tr>
<tr><td>Testopia</td><td>webtools/testopia</td><td>MPL</td></tr>
<tr><td></td><td>
<tr><td>LXR</td><td>webtools/lxr</td><td>None</td></tr>
<tr><td>new-graph</td><td>webtools/new-graph</td><td>??</td></tr>
<tr><td></td><td>
<tr><td>addons.mozilla.org</td><td>webtools/addons</td><td>(PHP) None :-(</td></tr>
<tr><td>update.mozilla.org</td><td>webtools/update</td><td>(PHP) tri</td></tr>
<tr><td>Survey</td><td>webtools/survey</td><td>(PHP) ?</td></tr>
<tr><td>Application Update Service (AUS)</td><td>webtools/aus</td><td>(PHP) tri</td></tr>
<tr><td>Bouncer</td><td>webtools/bouncer</td><td>(PHP) tri, MIT (for Cake)</td></tr>
<tr><td>Firefox Survey</td><td>webtools/firefox_survey</td><td>(PHP) ??, MIT (for Cake)</td></tr>
<tr><td>Party Tool</td><td>webtools/partytool</td><td>(PHP) tri, MIT and The Open Group Test Suite (for Cake)</td></tr>
<tr><td>Remora (addons.mozilla.org 2)</td><td>webtools/remora</td><td>(PHP) ??, MIT and The Open Group Test Suite (for Cake)</td></tr>
<tr><td>Uninstall Survey</td><td>webtools/uninstall_survey</td><td>(PHP) ??, MIT (for Cake)</td></tr>
</table>
 
<h3>Not Webtools</h3>
 
<table border="1">
  <tr>
    <th>Software</th>
    <th>Directory</th>
    <th>License</th>
  </tr>
 
  <tr>
    <td>[http://www.mozilla.org/projects/cck/ Client Customization Kit]</td>
    <td>cck</td>
    <td>Some MPL 1.1 or later, some tri-license</td>
  </tr>
  <tr>
    <td>[http://www.mozilla.org/rhino/ Rhino] (JavaScript in Java)</td>
    <td>js/rhino</td>
    <td>[http://www.mozilla.org/MPL/MPL-1.1.html MPL 1.1] or later/[http://www.gnu.org/licenses/gpl-2.0.html GPL 2.0] or later</td>
  </tr>
</table>
 
<h2>Third Party Code</h2>
 
<p>The following list, relating to section 4 above, is of directories containing Third Party Code, each of which is under its own license. Some of this code is Mozilla Code.</p>
 
<table border="1">
  <tr>
    <th>Software</th>
    <th>Directory</th>
    <th>License</th>
  </tr> 
  <tr>
    <td>[http://www.7-zip.org/ 7-zip]</td>
    <td>other-licenses/7zstub</td>
    <td>LGPL</td>
  </tr>
  <tr>
    <td>[http://library.gnome.org/devel/atk/ ATK]</td>
    <td>other-licenses/atk-1.0</td>
    <td>LGPL</td>
  </tr>
  <tr>
    <td>[http://wiki.mozilla.org/Performance:Leak_Tools#Boehm_GC Boehm Garbage Collector]</td>
    <td>gc/boehm</td>
    <td>Some MIT-like, some tri-license</td>
  </tr>
  <tr>
    <td>[http://www.daemonology.net/bsdiff/ bsdiff]</td>
    <td>other-licenses/bsdiff</td>
    <td>BSD Protection License</td>
  </tr>
  <tr>
    <td>[http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2]</td>
    <td>other-licenses/ia2</td>
    <td>LGPL</td>
  </tr>
  <tr>
    <td>[http://www.artofcode.com/libart.html libart]</td>
    <td>other-licenses/libart_lgpl</td>
    <td>LGPL</td>
  </tr>  <tr>
    <td>[http://sourceforge.net/projects/freeassociation/ libical]</td>
    <td>calendar/libical</td>
    <td>[http://www.gnu.org/licenses/lgpl-2.1.html LGPL 2.1]/[http://www.mozilla.org/MPL/MPL-1.0.html MPL 1.0] or later</td>
  </tr>
  <tr>
    <td>[http://www.ijg.org/ libjpeg]</td>
    <td>jpeg</td>
    <td>JPEG License</td>
  </tr>
  <tr>
    <td>[http://www.libpng.org/pub/png/libpng.html libpng]</td>
    <td>modules/libimg/png</td>
    <td>PNG License</td>
  </tr>
  <tr>
    <td>[http://developer.mozilla.org/en/docs/XPIDL:xpidl XPIDL]</td>
    <td>xpcom/typelib/xpidl</td>
    <td>GPL</td>
  </tr>
  <tr>
    <td>[http://www.zlib.net/ zlib]</td>
    <td>modules/zlib</td>
    <td>ZLib License</td>
  </tr>
</table>
 
 
<h2>Copying Code</h2>
 
<p>You may copy code between files with identical licensing terms, or between files where the target file has a subset of the licenses of the source file (e.g. MPL/LGPL/GPL -> MPL). For any other transfer, consult the licensing team first.</p>
 
<hr>
 
<p>This concludes the list of licenses acceptable to mozilla.org
for use with Mozilla code. If you happen to find a file in the
Mozilla source tree under a license which does not conform to the pattern above,
please report it to
[mailto:licensing@mozilla.org licensing@mozilla.org].</p>

Latest revision as of 18:54, 19 March 2012

The final version is here. See the history of this page for drafts.