Software:MIT License

From HandWiki
Revision as of 16:30, 9 February 2024 by Rtexter1 (talk | contribs) (fixing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Permissive free software license
MIT License
MIT logo.svg
PublisherMassachusetts Institute of Technology
DFSG compatibleYes[1]
FSF approvedYes[2][3]
OSI approvedYes[4]
GPL compatibleYes[2][3]
CopyleftNo[2][3]
Linking from code with a different licenseYes

The MIT License is a permissive software license originating at the Massachusetts Institute of Technology (MIT)[5] in the late 1980s.[6] As a permissive license, it puts very limited restriction on reuse and therefore has high license compatibility.[7][8]

Unlike copyleft software licenses, the MIT License also permits reuse within proprietary software, provided that all copies of the software or its substantial portions include a copy of the terms of the MIT License and also a copyright notice.[8][9] In 2015, the MIT License was the most popular software license on GitHub.[10]

Notable projects that use the MIT License include the X Window System, Ruby on Rails, Node.js, Lua, jQuery, .NET, Angular, and React.

License terms

The MIT License has the identifier MIT in the SPDX License List.[11][12] It is also known as the "Expat License".[2] It has the following terms:[13]

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Variations

X11 License

The X11 License, also known as the MIT/X Consortium License, is a variation on the MIT license, most known for its usage by the X Consortium.[14] It has the identifier X11 in the SPDX License List.[15][3]

It differs from the MIT License mainly by an additional clause restricting use of the copyright holders' name for advertisement.

It has the following terms:[16]

Copyright (C) <date> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of <copyright holders> shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from <copyright holders>.

MIT No Attribution License

Template:Infobox software licence The MIT No Attribution License, a variation of the MIT License, has the identifier MIT-0 in the SPDX License List.[17] A request for legacy approval to the Open Source Initiative was filed on May 15, 2020,[18] which led to a formal approval on August 5, 2020.[19] By doing so, it forms a public-domain-equivalent license, the same way as BSD Zero Clause.[citation needed] It has the following terms:

MIT No Attribution

Copyright <YEAR> <COPYRIGHT HOLDER>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Other variations

The SPDX License List contains extra MIT license variations. Examples include:[20]

  • MIT-advertising, a variation with an additional advertising clause.

Ambiguity and variants

The name "MIT License" is potentially ambiguous. The Massachusetts Institute of Technology has used many licenses for software since its creation; for example, MIT offers four licensing options for the FFTW[21] C source code library, one of which is the GPL v2.0 and the other three of which are not open-source. The term "MIT License" has also been used to refer to the Expat License (used for the XML parsing library Expat) and to the X11 License (also called "MIT/X Consortium License"; used for X Window System by the MIT X Consortium).[2] Furthermore, the "MIT License" as published by the Open Source Initiative is the same as the Expat License.[12] Due to this differing use of terms, some prefer to avoid the name "MIT License".[6] The Free Software Foundation argues that the term is misleading and ambiguous, and recommends against its use.[2]

The X Consortium was dissolved late in 1996, and its assets transferred to The Open Group,[22] which released X11R6 initially under the same license. The X11 License[3] and the X11R6 "MIT License" chosen for ncurses by the Free Software Foundation[23] both include the following clause, absent in the Expat License:[2]

Except as contained in this notice, the name(s) of the above copyright holders shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization.

As of 2020, the successor to the X Window System is the X.Org Server, which is licensed under what is effectively the common MIT license, according to the X.org licensing page:[24]

The X.Org Foundation has chosen the following format of the MIT License as the preferred format for code included in the X Window System distribution. This is a slight variant of the common MIT license form published by the Open Source Initiative

The "slight variant" is the addition of the phrase "(including the next paragraph)" to the second paragraph of the license text, resulting in: "The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software." This inclusion clarifies that the liability paragraph must also be included for the conditions of the license to be met.[24]

The license-management features at popular source code repository GitHub, as well as its "Choose a License" service, do not differentiate between MIT/Expat license variants. The text of the Expat variant is presented as simply the "MIT License" (represented by the metadata tag mit).[25][26]

Comparison to other licenses

BSD

The original BSD license also includes a clause requiring all advertising of the software to display a notice crediting its authors. This "advertising clause" (since disavowed by UC Berkeley[27]) is present in the modified MIT License used by XFree86.

The University of Illinois/NCSA Open Source License combines text from both the MIT and BSD licenses; the license grant and disclaimer are taken from the MIT License.

The ISC license contains similarities to both the MIT and simplified BSD licenses, the biggest difference being that language deemed unnecessary by the Berne Convention is omitted.[28][29]

GNU Public License

The GPL is explicit about the patent grant an author would be giving when the code or derivative work is distributed,[30] the MIT license does not discuss patents. Moreover, the GPL license impacts derivative works, but the MIT license does not.

Relation to patents

Like the BSD license, the MIT license does not include an express patent license although some commentators[31][32] state that the grant of rights covers all potential restrictions including patents. Both the BSD and the MIT licenses were drafted before the patentability of software was generally recognized under US law.[33] The Apache License version 2.0[2] is a similarly permissive license that includes an explicit contributor's patent license. Of specific relevance to US jurisdictions, the MIT license uses the terms "sell" and "use" that are also used in defining the rights of a patent holder in Title 35 of the United States Code section 154. This has been construed by some commentators[34][35] as an unconventional but implicit license in the US to use any underlying patents.

Origins

One of the originators of the MIT license, computer scientist Jerry Saltzer, has published his recollections of its early development, along with documentary evidence.[36][6]

Reception

(As of 2020), according to WhiteSource Software[37] the MIT license was used in 27% of four million open source packages. (As of 2015), according to Black Duck Software[38] and a 2015 blog[10] from GitHub, the MIT license was the most popular open-source license, with the GNU GPLv2 coming second in their sample of repositories.

See also

References

  1. "License information". Software in the Public Interest. 1997–2017. https://www.debian.org/legal/licenses/. "This page presents the opinion of some debian-legal contributors on how certain licenses follow the Debian Free Software Guidelines (DFSG). ... Licenses currently found in Debian main include: ... Expat/MIT-style licenses ..." 
  2. 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 "Various Licenses and Comments about Them". Free Software Foundation. 2014–2017. Expat License. https://www.gnu.org/licenses/license-list.en.html#Expat. "This is a lax, permissive non-copyleft free software license, compatible with the GNU GPL. It is sometimes ambiguously referred to as the MIT License." 
  3. 3.0 3.1 3.2 3.3 3.4 "Various Licenses and Comments about Them". Free Software Foundation. 2014–2017. X11 License. https://www.gnu.org/licenses/license-list.en.html#X11License. "This is a lax permissive non-copyleft free software license, compatible with the GNU GPL. ... This license is sometimes called the MIT license, but that term is misleading, since MIT has used many licenses for software." 
  4. "Licenses by Name". n.d.. https://opensource.org/licenses/alphabetical. "The following licenses have been approved by the OSI. ... MIT License (MIT) ..." 
  5. Rosen, Lawrence E. (2005). Open Source Licensing: Software Freedom and Intellectual Property Law. Upper Saddle River, NJ: Prentice Hall PTR. ISBN 0-13-148787-6. OCLC 56012651. https://www.worldcat.org/oclc/56012651. 
  6. 6.0 6.1 6.2 Haff, Gordon. "The mysterious history of the MIT License". opensource.com. https://opensource.com/article/19/4/history-mit-license. "The date? The best single answer is probably 1987. But the complete story is more complicated and even a little mysterious. [...] Precursors from 1985. The X Consortium or X11 License variant from 1987. Or the Expat License from 1998 or 1999." 
  7. Hanwell, Marcus D. (2014-01-28). "Should I use a permissive license? Copyleft? Or something in the middle?". opensource.com. http://opensource.com/business/14/1/what-license-should-i-use-open-source-project. "Permissive licensing simplifies things One reason the business world, and more and more developers [...], favor permissive licenses is in the simplicity of reuse. The license usually only pertains to the source code that is licensed and makes no attempt to infer any conditions upon any other component, and because of this there is no need to define what constitutes a derived work. I have also never seen a license compatibility chart for permissive licenses; it seems that they are all compatible." 
  8. 8.0 8.1 "Licence Compatibility and Interoperability". Open-Source Software - Develop, share, and reuse open source software for public administrations. joinup.ec.europa.eu. https://joinup.ec.europa.eu/software/page/licence_compatibility_and_interoperability. "The licences for distributing free or open source software (FOSS) are divided in two families: permissive and copyleft. Permissive licences (BSD, MIT, X11, Apache, Zope) are generally compatible and interoperable with most other licences, tolerating to merge, combine or improve the covered code and to re-distribute it under many licences (including non-free or 'proprietary')." 
  9. "Paid software includes MIT licensed library, does that put my app under MIT too?". https://softwareengineering.stackexchange.com/questions/264700/paid-software-includes-mit-licensed-library-does-that-put-my-app-under-mit-too. 
  10. 10.0 10.1 Balter, Ben (2015-03-09). "Open source license usage on GitHub.com". https://github.com/blog/1964-license-usage-on-github-com. "1 MIT 44.69%, 2 Other 15.68%" 
  11. "MIT License". SPDX Working Group. https://spdx.org/licenses/MIT.html. 
  12. 12.0 12.1 "Open Source Initiative OSI – The MIT License:Licensing". Open Source Initiative. October 31, 2006. http://opensource.org/licenses/MIT. 
  13. "MIT License Explained in Plain English - TLDRLegal". https://tldrlegal.com/license/mit-license. 
  14. 3. X/MIT Licenses, The XFree86 Project, March 2004, http://www.xfree86.org/4.0/LICENSE3.html#6 
  15. "X11 License". SPDX Working Group. https://spdx.org/licenses/X11.html. 
  16. "X11 License Explained in Plain English - TLDRLegal". https://tldrlegal.com/license/x11-license. 
  17. "MIT No Attribution". SPDX Working Group. https://spdx.org/licenses/MIT-0.html. 
  18. Langel, Tobie (15 May 2020). "[License-review Request for Legacy Approval of MIT No Attribution License"]. https://lists.opensource.org/pipermail/license-review_lists.opensource.org/2020-May/004856.html. 
  19. Cite error: Invalid <ref> tag; no text was provided for refs named osi_approval_mit-0
  20. "SPDX License List". SPDX Working Group. https://spdx.org/licenses/. 
  21. "FFTW - Fastest Fourier Transform in the West". Massachusetts Institute of Technology. https://tlo.mit.edu/technologies/fftw-fastest-fourier-transform-west. 
  22. Dickey, Thomas E.. "Copyrights/comments". https://invisible-island.net/personal/copyrights.html#bad_dating. 
  23. Dickey, Thomas E.. "NCURSES — Frequently Asked Questions (FAQ)". http://invisible-island.net/ncurses/ncurses.faq.html#is_it_gpl. 
  24. 24.0 24.1 "Licenses". https://www.x.org/archive/current/doc/xorg-docs/License.html. 
  25. "Licensing a repository". https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/licensing-a-repository. 
  26. "MIT License". GitHub. September 5, 2022. https://choosealicense.com/licenses/mit/. 
  27. "To All Licensees, Distributors of Any Version of BSD". University of California, Berkeley. 1999-07-22. ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change. 
  28. "Copyright Policy". OpenBSD. http://www.openbsd.org/policy.html. "The ISC copyright is functionally equivalent to a two-term BSD copyright with language removed that is made unnecessary by the Berne convention." 
  29. de Raadt, Theo (21 March 2008). "Re: BSD Documentation License?". openbsd-misc (Mailing list).
  30. "Patents and GPLv3 - FSFE" (in en). https://fsfe.org/activities/gplv3/patents-and-gplv3.html. 
  31. "Why so little love for the patent grant in the MIT License?". 2021-01-23. https://opensource.com/article/18/3/patent-grant-mit-license. 
  32. "Free and open source software and your patents". 2020-05-03. http://oss-watch.ac.uk/resources/fossandpatents. 
  33. Stern and Allen, Open Source Licensing, p. 495 in Understanding the Intellectual Property License 2013 (Practicing Law Institute 2013)
  34. "The MIT License, Line by Line". 2020-05-03. https://writing.kemitchell.com/2016/09/21/MIT-License-Line-by-Line.html. 
  35. Christian H. Nadan (2009), "Closing the Loophole: Open Source Licensing & the Implied Patent License", The Computer & Internet Lawyer (Aspen Law & Business) 26 (8), https://download.pli.edu/WebContent/chbs/185480/185480_Chapter22_Adv_Licensing_Agreements_2017_Vol_02_CC121601854800207140.htm, "By using patent terms like "deal in", "use", and "sell", the MIT license grant is more likely to be deemed to include express patent rights than the BSD license." 
  36. Saltzer, Jerome H (18 November 2020). "The origin of the "MIT license"". IEEE Annals of the History of Computing 42 (4): 94–98. doi:10.1109/MAHC.2020.3020234. ISSN 1934-1547.  open access
  37. "Open Source Licenses in 2020: Trends and Predictions". 2020-05-03. https://resources.whitesourcesoftware.com/blog-whitesource/top-open-source-licenses-trends-and-predictions. 
  38. "Top 20 licenses". Black Duck Software. 19 November 2015. http://www.blackducksoftware.com/resources/data/top-20-licenses. "1. MIT license 24%, 2. GNU General Public License (GPL) 2.0 23%" 

Further reading

External links