成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Ruby 1.9.3將改用 BSD 許可證發(fā)布

開源
Ruby 從下一個版本,也就是 1.9.3 開始,從原先的 GPLv2 許可證換成了 2-clause BSD 許可證(大體上相當于 MIT 許可證)。早期 Ruby 采用的是自由軟件基金會推薦的 GPLv2 or later 許可證方式。在實際操作中這種許可方式十分常見,然而,實際上這樣使用代碼也是有風險的。

 Ruby 從下一個版本,也就是 1.9.3 開始,從原先的 GPLv2 許可證換成了 2-clause BSD 許可證(大體上相當于 MIT 許可證)。

早期 Ruby 采用的是自由軟件基金會推薦的 GPLv2 or later 許可證方式。在實際操作中這種許可方式十分常見,這種許可證方式包含兩層意思:

  • 軟件本身以 GPLv2 許可證發(fā)布
  • 當自由軟件基金會修訂 GPL 并發(fā)布新版 GPL 時,授權(quán)一方同意受權(quán)人以新的 GPL 條款來發(fā)布軟件 (*)

這其中 (*) 的部分實際上是開給自由軟件基金會的一張空白支票,并且可能導(dǎo)致各式各樣的法律問題。據(jù)我個人的了解,灣區(qū)企業(yè)的法務(wù)部門通常不允許公司以這種方式發(fā)布軟件,因而,商業(yè)公司在使用 GPLv2 or later 許可證的軟件時,通常會在發(fā)布代碼的同時明確說明自己在使用這個軟件時只遵循某個特定版本的GPL,以規(guī)避潛在的法律風險:

/*
* [company] elects to have and use the contents of [filename] under and governed
* by the GNU General Public License (GPL) Version 2, only. However, the following
* notice accompanied the original version of this file:
*/

然而,實際上這樣使用代碼也是有風險的。例如,如此這家廠商便無法同時使用 GPLv3 許可證的代碼。因為GPLv2 中規(guī)定:

4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify,sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.

同時,GPLv2 中也規(guī)定:

6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy,distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.

簡而言之, GPLv2 only 的代碼和 GPLv3 許可證的代碼是不能一起 redistribute 的,原因是 GPLv3 中增加了包含對硬件和軟件專利等問題而增加的一系列限制自由的條款(違反第6條),而另一方面,自由軟件基金會又認為 Ruby License 是非自由軟件授權(quán),因此,GPLv3 許可證的軟件又不能與 Ruby 以 Ruby License 聯(lián)編,因為這樣做違反 GPLv3 第10條的內(nèi)容:

10. Automatic Licensing of Downstream Recipients.

[...]

You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee,royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.

由于 Ruby 只以兩種許可證之一發(fā)布,因此,發(fā)布聯(lián)編的可執(zhí)行文件要么違反 GPLv2,要么違反 GPLv3,因此再發(fā)布的結(jié)果只能以源代碼的形式提供,而不允許再發(fā)布其二進制文件。

自由軟件基金會從 6.0 版開始,將 readline 庫改為 GPLv3 or later,這樣一來,GPLv2 only 的 Ruby 便不能發(fā)布聯(lián)入了 readline 的可執(zhí)行文件了。

為了因應(yīng)自由軟件基金會改換授權(quán)可能給最終用戶帶來的困擾,去年 9 月,Ruby Changeset r29262 將 Ruby 中的 GPLv2 許可證完全刪除,并改換為基于 FreeBSD 許可證的 2-clause BSD 許可證,從而賦予了用戶選擇的權(quán)利。

感謝 Richard Stallman 和自由軟件基金會使更多的人選擇了 BSD 許可證。

原文:https://blog.delphij.net/2011/08/rubygplv3ruby-1.html

【編輯推薦】

  1. 四大開源協(xié)議比較:BSD、Apache、GPL、LGPL
  2. 開源時代 免費也能賺錢?
  3. 開源軟件許可證一覽
責任編輯:黃丹 來源: delphij's Chaos
相關(guān)推薦

2012-11-12 09:34:03

SDNOpenStackCloudStack

2019-09-30 07:04:56

開源道德條款開發(fā)者

2015-01-08 09:50:54

Shen編程語言

2014-07-09 10:53:58

軟件許可證

2009-07-23 09:25:28

SaaS成本

2011-05-05 09:41:56

開源軟件許可證

2014-04-04 10:07:46

ApacheWinJS

2013-07-17 10:16:57

Github項目許可證

2023-11-18 09:09:08

GNUBSD協(xié)議

2010-08-24 09:49:05

虛擬化

2013-12-09 10:04:16

Windows 8.1Windows 8.1

2019-11-11 09:55:05

Windows 10許可證新計算機

2013-09-30 10:47:37

開源系統(tǒng)OSv

2010-07-30 09:37:44

VMware許可證銷售模式

2019-05-16 10:59:26

云計算電子化羅德島州

2021-03-29 12:54:31

Ruby許可證代碼

2023-03-19 15:51:25

開源開源許可證開發(fā)

2023-01-28 14:23:17

2011-08-03 13:15:50

Ruby

2021-08-24 15:10:01

Dapr工具庫應(yīng)用程序
點贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 精品免费视频 | 中文字幕国产一区 | 一区二区三区精品在线视频 | 国产欧美精品一区二区 | 欧洲在线视频 | 黄片毛片免费观看 | 一区二区久久电影 | 国产乱码久久久久久一区二区 | 日韩欧美一区二区三区免费观看 | 国产精品福利久久久 | 天天干天天谢 | 欧美三区视频 | 午夜一级黄色片 | 日韩视频在线一区 | 91看片在线观看 | 久久黄视频 | 欧美美女爱爱 | 成人影院免费视频 | 久久噜噜噜精品国产亚洲综合 | 日韩av一二三区 | 偷拍自拍网址 | 九九久久免费视频 | 亚洲精品一二三区 | 久久在线| 国产精品久久99 | 无码一区二区三区视频 | 一区二区不卡视频 | 日韩欧美国产一区二区三区 | 精品网站999 | 日韩在线中文字幕 | 久久成| 一a级片| 国产精品视频一区二区三区四区国 | 不卡在线视频 | 婷婷久久五月天 | 久久蜜桃av一区二区天堂 | 欧美一级二级视频 | 久久久久国产精品午夜一区 | 一区二区三区视频在线 | 日韩在线成人 | 第一色在线 |