Understanding of Common open-source protocols

Source: Internet
Author: User

When using open source code, you also need to pay attention to the corresponding open source Protocol, especially in commercial applications. The following is a simple summary and understanding of common open source protocols.

 

Assume that the open source code we use is a, and the self-developed source code is B.

 

BSD Protocol

1. If B is open-source and B carries the code of A, B must carry the BSD Protocol DECLARATION OF A at the time of release.

2. If B Closes the source and B carries the code of A, B must carry the BSD Protocol DECLARATION OF A in the document/copyright statement at the time of release.

3. The author of a or any other information cannot be used for marketing of B.

Conclusion: It has a great degree of freedom and is suitable for commercial purposes.

 

Apache protocol:

1. B needs to give the user an Apache license for publishing.

2. If the code of A is modified, it must be specified in the Code file.

3. In B, the agreement, trademark, patent statement, and all content in a that requires the derivative software/class library statement shall be carried.

4. B contains a notice file that contains the Apache license and the content you want to declare. (This content cannot conflict with the Apache protocol itself)

Conclusion: It has a great degree of freedom and is suitable for commercial purposes.

 

GPL protocol:

1. B must comply with the GPL protocol (contagious) and B must be open source and free of charge.

2. B must declare itself as a GPL protocol when publishing.

3. The content of A can be modified in B.

Conclusion: It is not suitable for commercial use and must be open-source and free.

 

Lgpl protocol:

1. If B modifies the content of A, the modified part and additional derivative code must comply with the lgpl protocol.

2. Allow Part B to close the source, link to the derivative part of A or.

Conclusion: It is suitable for commercial use within a certain range.

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.