Five Common Open Source protocols

Source: Internet
Author: User

There are many open source protocols, and there are currently 58 open source protocols approved by the Open Source Initiative Organization (http://www.opensource.org/licenses/alphabetical
).
Common open-source protocols such as BSD, GPL, lgpl, and MIT are OSI-approved protocols. If you want to open up your own code, it is best to select these approved Open Source protocols.

Here we will look at the four most commonly used open-source protocols and their applicability for the reference of developers/manufacturers who are preparing to open-source or use open-source products.

BSD open source protocol (
Original
BSD license
,
FreeBSD license
,
Original
BSD license
)

BSD open source protocol is a protocol that gives users great freedom. Basically, users can "do whatever they want" and use it freely, modify the source code, or use the modified Code as an open-source or specialized
Release software.

However, when you publish code using the BSD Protocol or develop your own product based on the BSD Protocol code, you must meet the following three conditions:

  1. If the released product contains the source code, the BSD Protocol in the original code must be included in the source code.
  2. If you only release binary class libraries/software, you must include the BSD Protocol in the original code in the Library/software documentation and copyright statement.
  3. You cannot use the author/Organization Name of the open source code or the name of the original product for marketing.

BSD
Code sharing is encouraged, but the author's copyright must be respected. BSD allows users to modify and re-release code, and can also use or develop commercial software release and sales on BSD code.

Friendly protocols for business integration. Many companies prefer the BSD Protocol when selecting open-source products, because they have full control over these third-party code and can modify or perform secondary development as necessary.

Apache licence 2.0 (
Apache license,
Version 2.0:
, Apache
License, Version 1.1
, Apache
License, Version 1.0
)

Apache
Licence is a protocol adopted by Apache, a famous non-profit open-source organization. Similar to BSD, this Protocol also encourages code sharing and respect for the copyright of the original author. It also allows code modification and re-release.
(As open source or commercial software ). The conditions to be met are similar to those of BSD:

  1. A copy of Apache licence is required for the code user.
  2. If you have modified the code, it is described in the file to be modified.
  3. In the extended code (Modification and code derived from source code), the Protocol, trademark, patent statement in the original code and other instructions required by the original author must be included.
  4. If the published product contains a notice file
    Licence. You can add your own license to notice, but it cannot be expressed as a change to Apache licence.

Apache licence is also a friendly license for commercial applications. Users can also modify the code as needed to meet their needs and release/sell as open-source or commercial products.

GPL (
GNU
General Public License
)

We are familiar with the use of GPL in Linux. GPL protocol and BSD, Apache
License and other licenses that encourage code reuse are very different. The starting point of GPL is the open-source/free use of code and the open-source/free use of reference/modification/derivative code, but it cannot be modified or derivative

Code as a closed source commercial software release and sales. That's why we can use free Linux, including various Linux and Linux companies from individuals, organizations, and vendors.
Free software developed by software companies.

The main content of the GPL protocol is as long as it is used in a software program ("use" refers to the class library reference, modified code or derivative code) GPL
Protocol product, the software product must also adopt the GPL Protocol, both open source and free.This is the so-called "contagious"
. GPL Product
It is free of charge for a single product.

Because GPL strictly requires that software products that use the GPL class library use the GPL protocol, commercial software or departments that have confidentiality requirements on the open source code using the GPL Protocol are not suitable for collection.
Integration/adoption serves as the basis for class libraries and secondary development.

Other details, such as the GPL Protocol, must be similar to BSD/Apache.

Lgpl (
GNU
Lesser General Public License
)

Lgpl is an open-source protocol designed mainly for class libraries. Unlike GPL, any software that uses/Modifies/derives the GPL class library must use the GPL protocol. Lgpl

Allows commercial software to use the lgpl class library through class library reference (Link) without the need for open-source commercial software code. This allows open source code using the lgpl protocol to be referenced by commercial software as a class library and
Release and sales.

However, if you modify or derive the lgpl protocol code, all the modified Code, the additional code involved in the modification part, and the derived code must adopt the lgpl protocol. Therefore, the open-source lgpl Protocol
Code can be referenced by commercial software as a third-party class library, but it is not suitable for commercial software that requires second-development based on lgpl protocol code.

GPL and lgpl both protect the intellectual property rights of the original author and prevent people from copying and developing similar products using open-source code.

MIT (MIT
)

MIT is the same as BSD's wide-range license agreement. The author only wants to retain the copyright without any other restrictions. that is to say, you must include the original license agreement statement in your release.
It is released in the source code.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.