声明型许可证 | MIT Apache BSD GNU Mozilla

128 阅读3分钟

声明型许可证 | Permissive Software License

对软件的使用、研究、修改和再发分上只有最低需求(minimal restrictions) ,常常只包含免责声明(warranty disclaimer) ,但这种许可证不保证派生版会继续保持自由软件形式。

与限制型许可证的区别:

  1. 声明型许可证,衍生版本许可证可能变化,但要保留原始版权声明
  2. 限制型许可证,需保持与原始许可证一致

Copyleft licenses generally require the reciprocal publication of the source code of any modified versions under the original work's copyleft license. Permissive licenses, in contrast, do not try to guarantee that modified versions of the software will remain free and publicly available, generally requiring only that the original copyright notice be retained. As a result, derivative works, or future versions, of permissively-licensed software can be released as proprietary software.

限制型许可证普遍要求修改后的互惠型作品的源代码版本使用相同限制型许可证。作为对比,声明型许可证不保证修改后的软件版本保持自由和开放,只要求保留原始版权声明。因此限制型许可证下的软件,其衍生作品或者后期版本是可以闭源发布成专有软件的。

[Source]

MIT LicenseApache LicenseBSD licenses
简称**SPDX** ****IDMITApache-2.0Apache-1.1Apache-1.0BSD-3-ClauseBSD-2-Clause...
2021年前使用最多,目前top 2目前top 1目前top 10
软件X Window System, Ruby on Rails, Nim, Node.js, Lua, and jQueryApache Project ListApache HTTP Server, Airflow, Hadoop, Hive, Spark, Flink, KafkaBSD licensed softwareDjango, Go, D3.js, Chromium, Celery, Caffe
公司/组织Microsoft (.NET Core), Google (Angular), and Meta (React)Apache Software Foundation (ASF)...
备注很多非ASF的项目也是用Apache许可证,比如来自Linux Foundation中的项目- Go BSD-3-Clause + patent- Chromium BSD and others

Bonus:与Apache Software Foundation(ASF)影响力同样巨大的是Linux Foundation(LF),其陆续衍生出垂直领域的基金会,如Cloud Native Computing Foundation(CNCF)LF EdgeLF AI & DataGraphQL Foundation和近期才成立的eBPF Foundation

弱限制型许可证 | Weak Copyleft Software License | Weakly Protective Software License

GNU Lesser General Public LicenseMozilla Public License
简称**SPDX** ****IDLGPL-3.0+LGPL-3.0LGPL-2.1+LGPL-2.1LGPL-2.0+LGPL-2.0MPL-2.0MPL-1.1MPL-1.0...
软件LGPL licensed software7-Zip, FFmpeg, GLib, GTK, Libheif, Qt, VLC media playerMPL licensed softwareBugzilla, Firefox, LibreOffice, Thunderbird, RabbitMQ, Terraform, Eigen, Brave Browser
公司/组织Free Software Foundation (FSF)Mozilla Foundation

限制型许可证 | Strong Copyleft Software License | Strongly Protective Software License

GNU General Public LicenseGNU Affero General Public License
简称**SPDX** ****IDGPL-3.0-or-laterGPL-3.0-onlyGPL-2.0-or-laterGPL-2.0-onlyGPL-1.0-or-laterGPL-1.0-onlyAGPL-3.0-or-laterAGPL-3.0-only...
软件GNU, Linux kernel, GCC, GIMP, VLC, OpenJDK, GNOMEAGPL licensed softwareAnki, BDB, Grafana, MongoDB*
公司/组织Free Software Foundation (FSF)
备注VLC uses both weak and strong copyleft*MongoDB dropped the AGPL in late-2018

Weak & Strong Copyleft

  1. Copyleft许可证都要求衍生版本使用同样许可

  2. Strong Copyleft许可证要求衍生版本继续开源且使用同样许可

  3. Weak Copyleft许可证在特殊情况下可以不遵守上述第2条规定

    1. LGPL应用在library上时,使用该库的软件可以是其他许可,不用跟着开源。(实际上LGPL中L最早为Library之意)
    2. MPL只有现有文件的修改才需要使用同样许可

Broadly speaking, the scope of the MPL, LGPL, and GPL can be summarized this way:

  • MPL: The copyleft applies to any files containing MPLed code.
  • LGPL: The copyleft applies to any library based on LGPLed code.
  • GPL: The copyleft applies to all software based on GPLed code.