Open-source license

Popular open source licenses include the Apache License, the MIT License, the GNU General Public License (GPL), the BSD Licenses, the GNU Lesser General Public License (LGPL) and the Mozilla Public License (MPL).

Open-source licenses facilitate free and open-source software (FOSS) development. Intellectual property (IP) laws restrict the modification and sharing of creative works. Free and open-source software licenses use these existing legal structures for the inverse purpose of granting freedoms that promote sharing and collaboration. They grant the recipient the rights to use the software, examine the source code, modify it, and distribute the modifications. These licenses target computer software where source code can be necessary to create modifications. They also cover situations where there is no difference between the source code and the executable program distributed to end users. Open-source licenses can cover hardware, infrastructure, drinks, books, and music.

There are two broad categories of open-source licenses, permissive and copyleft. Permissive licenses originate in academia. They grant the rights to modify and distribute with certain conditions. These academic licenses usually require attribution to credit the original authors and a disclaimer of warranty. Copyleft licenses have their origins in the free software movement. Copyleft also requires attribution, disclaims warranties, and grants the rights to modify and distribute. The difference is that copyleft demands reciprocity. Any derivative works must be distributed with the source code under a copyleft license.

Background

Bruce Perens, author of the Open Source Definition

Intellectual property (IP) is a legal category that treats creative output as property, comparable to private property. Legal systems grant the owner of an IP the right to restrict access in many ways. Owners can sell, lease, gift, or license their properties. Multiple types of IP law cover software including trademarks, patents, and copyrights.

Most countries, including the United States (US), have created copyright laws in line with the Berne Convention. These laws assign a copyright whenever a work is released in any fixed format. Under US copyright law, the initial release is considered an original work. The creator, or their employer, holds the copyright to this original work and therefore has the exclusive right to make copies, release modified versions, distribute copies, perform publicly, or display the work publicly. Modified versions of the original work are derivative works. When a creator modifies an existing work, they hold the copyright to their modifications. Unless the original work was in the public domain, a derivative work can only be distributed with the permission of every copyright holder.

In 1980, the US government amended the law to treat software as a literary work. Software released after this point was restricted by IP laws. At that time, American activist and programmer Richard Stallman was working as a graduate student at the MIT Computer Science and Artificial Intelligence Laboratory. Stallman witnessed fragmentation that he attributed to proprietary software, and founded the free software movement. Throughout the 1980s, he started the GNU Project to create a free operating system, wrote essays on freedom, founded the Free Software Foundation (FSF), and wrote several free software licenses. The FSF used existing intellectual property laws for the opposite of their intended goal of restriction. Instead of imposing restrictions, free software explicitly provided freedoms to the recipient.

In the late 90s, two active members of the free software community, Bruce Perens and Eric S. Raymond, founded the Open Source Initiative (OSI). At Debian, Perens had proposed the Debian Free Software Guidelines (DFSG), which formed the basis of OSI's The Open Source Definition. An open-source license is one that complies with this definition to provide software freedom. Eric S. Raymond was a proponent of the term "open source" over "free software". He viewed open source as more appealing to businesses and more reflective of the tangible advantages of FOSS development. One of Raymond's goals was to expand the existing hacker community to include large commercial developers. In The Cathedral and the Bazaar, Raymond compared open-source development to the bazaar, an open-air public market. He argued that aside from ethics, the open model provided advantages that proprietary software could not replicate. Raymond focused heavily on feedback, testing, and bug reports. He contrasted the proprietary model where small pools of secretive workers would carry out this work with the development of Linux where the pool of testers included potentially the entire world. He summarized this strength as "Given enough eyeballs, all bugs are shallow." The OSI succeeded in bringing open-source development to corporate developers including Sun Microsystems, IBM, Netscape, Mozilla, Apache, Apple Inc., Microsoft, and Nokia. These companies released code under existing licenses and drafted their own to be approved by the OSI.

Types

Open-source software licenses and how they interact

Open-source licenses are categorized as copyleft or permissive. Copyleft licenses require derivative works to include source code under a copyleft license. Permissive licenses do not, and therefore the code can be used within proprietary software. Copyleft can be further divided into strong and weak depending on whether they define derivative works broadly or narrowly.

Licenses focus on copyright law, but code is also covered by other forms of IP. Software patents cover ideas and, rather than a specific implementation, cover any implementation of a claim. Patent claims give the holder the right to exclude others from making, using, selling, or importing products based on the idea. Because patents grant the right to exclude rather than the right to create, it is possible to have a patent on an idea but still be unable to legally implement it if the invention relies on another patented idea. Thus, open-source patent grants can offer permission only from covered patents. They cannot guarantee that a third party has not patented any concepts embodied in the code. The older permissive licenses do not discuss patents directly and offer only implicit patent grants in their offers to use or sell covered material. Newer copyleft licenses and the 2004 Apache License offer explicit patent grants and limited protection from patent litigation. These patent retaliation clauses protect developers by terminating grants for any party who initiates a patent lawsuit regarding covered software.

Trademarks are the only form of IP not shared by free and open-source software. Trademarks on FOSS function the same as any trademark. A trademark is a design that identifies the distinct source of a product. Because they distinguish products, the same designs can be used in different fields where there is no risk of confusing similar sources. For example, this is why IBM is a trademark for International Business Machines, which supplies mainframe computing solutions, and the International Brotherhood of Magicians which supplies guidance on stage magic. To give up control of a trademark would result in the loss of that trademark. Therefore, no open-source license freely offers use of a trademark.

Permissive

Permissive licenses, also known as academic licenses, allow recipients to use, modify, and distribute software with no obligation to provide source code. Institutions created these licenses to distribute their creations to the public. Permissive licenses are usually short, often less than a page of text. They impose few conditions. Most include disclaimers of warranty and obligations to credit authors. A few include explicit provisions for patents, trademarks, and other forms of intellectual property.

The University of California, Berkeley created the first open-source license, the Berkeley Software Distribution (BSD) license to permit free usage with no obligations placed on users. The BSD licenses brought the concept of academic freedom of ideas to computing. Early academic software authors had shared code based on implied promises. Berkley made these concepts explicit with clear disclaimers for liability and warranty along with conditions, or clauses, for redistribution. The original had 4 clauses but subsequent versions have further reduced the restrictions. As a result, it's common to specify if software uses a 2-clause or 3-clause version.

The Massachusetts Institute of Technology (MIT) created an academic license based on the BSD original. The MIT license clarified the conditions by making them more explicit. For example, the MIT license describes the right to sublicense. One of the strengths of open-source development is the complex process where developers can build on the derivative works of each other and combine their projects into collective works. Explicitly making covered code sublicensable provides a legal advantage when tracking the chain of authorship. The BSD and MIT are template licenses that can be adapted to any project. They are widely adapted and used by many FOSS projects.

The Apache License is more comprehensive and explicit. The Apache Software Foundation wrote it for their Apache HTTP Server. Version 2, published in 2004, offers legal advantages over simple licenses and provides similar grants. While the BSD and MIT licenses offer an implicit patent grant, the Apache License includes a section on patents with an explicit grant from contributors. Additionally, it is one of the few permissive licenses with a patent retaliation clause. Patent retaliation, or patent suspension, clauses take effect if a licensee initiates patent infringement litigation on covered code. In that situation, the patent grants are revoked. These clauses protect against patent trolling.

Copyleft

The Copyleft sticker from an envelope Don Hopkins mailed to Richard Stallman in 1984.

Copyleft uses reciprocity to subvert restrictions in IP law. Copyleft originates in the free software movement, science fiction fandom, and the broader counterculture. According to the 1910 Buenos Aires Convention, copyrighted literature needed a reservation of rights, or copyright notice. These were typically a line of text reading "Copyright © All rights reserved." These copyright formalities would be printed on the title page of a book or somewhere on the packaging of other media. In the Discordian satirical but sacred book, the Principia Discordia, Gregory Hill used instead a notice that read, "Ⓚ All rights reversed." The phrase "all rights reversed" entered into the computing and science fiction culture as expressions of resistance to IP law and its restrictions. It was often paired with "copyleft" and playful alternatives to the copyright symbol. In 1984, programmer Don Hopkins mailed a manual to Richard Stallman with a "Copyleft Ⓛ" sticker. Stallman was working on the GNU project at that time and adopted the term to describe his goal of reciprocity. The GNU project employed an early version of copyleft with the 1985 release of GNU Emacs. The term would become associated with the FSF's later reciprocal licenses, notably the GNU General Public License (GPL). The FSF popularized the word and associated it with reciprocal free software.

Traditional, proprietary software licenses are written with the goal of increasing profit, but Stallman wrote the GPL to increase the body of available free software. His reciprocal licenses offer the rights to use, modify, and distribute the work on the condition that people must release derivative works under a license offering these same freedoms. Software built on a copyleft base must come with the source code. This offers protection against proprietary software consuming code without giving back. Richard Stallman stated that "the central idea of copyleft is to use copyright law, but flip it over to serve the opposite of its usual purpose: instead of a means of privatizing software, [copyright] becomes a means of keeping software free."

Courts have found that distributing copyleft applications indicates acceptance of the terms. Physical software releases can acquire the consumer's assent with notices placed on shrinkwrap. Online distribution can use clickwrap, a digital equivalent where the user must click to accept. Copyleft releases have an additional acceptance mechanism. Without permission from the copyright holder, the law prohibits redistribution, public displays, and the release of modified versions. Therefore, engaging in these actions as allowed by an open-source license is treated as an indication of acceptance of the requirement to provide source code under the appropriate terms.

Practical benefits to copyleft licenses have attracted commercial developers. Corporations have used and written reciprocal licenses with a narrower scope than the GPL. The GPL remains the most popular license of this type, but there are other significant examples. The FSF has crafted the Lesser General Public License (LGPL) for libraries. Mozilla uses the Mozilla Public License (MPL) for their releases, including Firefox. IBM drafted the Common Public License (CPL) and later adopted the Eclipse Public License (EPL). A difference between the GPL and other reciprocal licenses is how they define derivative works covered by the reciprocal provisions. The GPL, and the Affero License (AGPL) based on it, use a broad scope to describe affected works. The AGPL extends the reciprocal obligation in the GPL to cover software made available over a network. They are called strong copyleft in contrast to the weaker copyleft licenses often used by corporations. Weak copyleft uses narrower, explicit definitions of derivative works. The MPL uses a file-based definition, the CPL/EPL use a module-based definition, and FSF's own LGPL exempts libraries in certain situations.

Compatibility

License compatibility determines how code with different licenses can be distributed together. The goal of open-source licensing is to make the work freely available, but this becomes complicated when working with multiple terminologies imposing different requirements. There are many uncommonly used licenses and some projects write their own bespoke agreements. As a result, this causes more confusion than other legal aspects. When releasing a collection of applications, each license can be considered separately. However, when attempting to combine software, code from another project can only be in-licensed if the project uses compatible terms and conditions.

When combining code bases, the original licenses can be maintained for separate components, and the larger work released under a compatible license. Permissive licenses are broadly compatible because they can cover separate parts of a project. The GPL, LGPL, AGPL, MPL, EPL, and Apache License have all been revised to enhance compatibility. This compatibility is often one-way. Permissive licenses can be used within copyleft works, but copyleft material cannot be released under a permissive license. Some weak copyleft licenses can be used under the GPL and are said to be GPL-compatible. GPL software can only be used under the GPL or AGPL. Public domain content can be used anywhere as there is no copyright claim, but code acquired under any almost any set of terms cannot be waved to the public domain.

Comparisons

Free software

Free software licenses are also open-source software licenses. The separate terms free software and open-source software reflect different values rather than a legal difference. The founder of the FSF, Richard Stallman, stated that "free software is an ethical imperative" in contrast to the practical aims of open source. Bruce Perens based the Open Source Definition on the Debian project's guidelines which were based on Stallman's Free Software Definition.

There are occasional edge cases where only one of the FSF or the OSI accept a license. For example, only the OSI approved the Open Watcom license. The FSF viewed their Sybase Open Watcom Public License as non-free because it required published source code for private modifications. Situations like this are rare, and the popular free software licenses are open source, including the GPL.

Public domain

Spaceships and stars on a round monitor
Early computer programs like the pioneering video game Spacewar! are in the public domain.

When a copyright expires, the work enters the public domain, and is freely available to anyone. Some creative works are not covered by copyright and enter directly into the public domain. In the early history of computing, this applied to software. Some early pieces of computer software were published without copyright protections. According to attorney Lawrence Rosen, copyright laws were not written with the expectation that creators would place their work into the public domain. Thus intellectual property laws lack clear paths to waive a copyright. Highly permissive licenses described as "public domain" may legally function as unilateral contracts that offer something but impose no terms.

A public-domain-equivalent license, like the Creative Commons CC0, provides a waiver of copyright claims into the public domain along with a permissive software license as a fallback. In jurisdictions that do not accept a public domain waiver, the permissive license takes effect. Public domain waivers share limitations with simple academic licenses. This creates the possibility that an outside party could attempt to control a public domain work via patent or trademark law. Public domain waivers handle warranties differently from any type of license. Even very permissive ones, like the MIT license, disclaim warranty and liability. Anyone using the free software must accept this disclaimer as a condition. Because public domain content is available to everyone, the copyright waiver cannot impose a disclaimer.

Freeware

FOSS is often free of cost. Freeware is free of cost, but the term usually describes gratis proprietary software.

Freeware is software distributed at no cost. FOSS is often given away gratis, but "freeware" typically refers to proprietary software, which does not grant permission to modify or redistribute copies. Proprietary freeware licenses limit redistribution, prohibit commercial usage, limit installations, and often include an end-user license agreement. Many proprietary software companies distribute freeware, including Microsoft who was the world's largest supplier in 2014. Source-available software is proprietary freeware that comes with source code as a reference.

See also


This page was last updated at 2023-11-26 01:58 UTC. Update now. View original page.

All our content comes from Wikipedia and under the Creative Commons Attribution-ShareAlike License.


Top

If mathematical, chemical, physical and other formulas are not displayed correctly on this page, please useFirefox or Safari