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

Ruby 1.9.3將改用 BSD 許可證發布

開源
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 許可證發布
  • 當自由軟件基金會修訂 GPL 并發布新版 GPL 時,授權一方同意受權人以新的 GPL 條款來發布軟件 (*)

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

/*
* [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 中規定:

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 中也規定:

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 是非自由軟件授權,因此,GPLv3 許可證的軟件又不能與 Ruby 以 Ruby License 聯編,因為這樣做違反 GPLv3 第10條的內容:

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 只以兩種許可證之一發布,因此,發布聯編的可執行文件要么違反 GPLv2,要么違反 GPLv3,因此再發布的結果只能以源代碼的形式提供,而不允許再發布其二進制文件。

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

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

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

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

【編輯推薦】

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

2012-11-12 09:34:03

SDNOpenStackCloudStack

2019-09-30 07:04:56

開源道德條款開發者

2015-01-08 09:50:54

Shen編程語言

2014-07-09 10:53:58

軟件許可證

2011-05-05 09:41:56

開源軟件許可證

2009-07-23 09:25:28

SaaS成本

2013-07-17 10:16:57

Github項目許可證

2014-04-04 10:07:46

ApacheWinJS

2023-11-18 09:09:08

GNUBSD協議

2013-12-09 10:04:16

Windows 8.1Windows 8.1

2010-08-24 09:49:05

虛擬化

2019-11-11 09:55:05

Windows 10許可證新計算機

2013-09-30 10:47:37

開源系統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

開源開源許可證開發

2023-01-28 14:23:17

2011-08-03 13:15:50

Ruby

2009-04-03 17:14:32

服務器虛擬化虛擬化虛擬機
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 成人黄色电影免费 | 日本不卡在线观看 | 男人天堂999| 日日夜夜精品 | 97免费在线视频 | 中文字幕成人免费视频 | 国产一区二区三区四区三区四 | 亚洲国产精品久久久久久 | 欧美日韩国产在线 | 欧美一级免费看 | 成人午夜av | 亚洲97| 免费在线性爱视频 | 成人a视频 | 红桃视频一区二区三区免费 | 精品久久久精品 | 亚洲国产精品人人爽夜夜爽 | 国产精品揄拍一区二区久久国内亚洲精 | 精品无码久久久久久国产 | 久久久久久高潮国产精品视 | 日韩精品免费 | 欧产日产国产精品视频 | 精品91视频 | 91在线视频免费观看 | 日韩91在线| 午夜成人免费视频 | 亚洲精品在线播放 | 在线国产视频 | 成人在线电影在线观看 | 91一区 | 免费观看黄a一级视频 | 作爱视频免费观看 | 老司机免费视频 | 天堂亚洲网 | 久久久久久亚洲欧洲 | 久久精品色欧美aⅴ一区二区 | 天堂一区二区三区 | 久久69精品久久久久久久电影好 | 欧美一区二区在线 | 亚洲精品性视频 | 欧美日韩成人影院 |