常见开源协议的详细说明

电脑杂谈  发布时间:2020-07-16 19:02:50  来源:网络整理

lgpl协议_icmp协议是什么层协议_lgpl协议

自从在北京担任程序员12年以来,似乎我从来没有关心过项目中使用的“轮子”所涉及的开放源代码协议. 在版权保护方面,尽管仍然需要改进相关规定lgpl协议,但是在开发商业软件的过程中,作为软件开发人员,仍然有必要了解我们通常在开源组件/框架中涉及哪些开源协议. 用于避免未来法律风险.

当前市场上至少有数百个开源协议,并且开放源代码计划已批准了70多个开源协议.

此处的标题是“通用开源协议的详细说明”,因此我们仅介绍6个通用开源协议.

通过使用以下分析图(原始的乌克兰程序员Paul Bagwell,阮一峰翻译)来显示常用的开源协议:

分析图:乌克兰程序员Paul Bagwell原创 阮一峰翻译

BSD源自加利福尼亚大学伯克利分校,是自由软件中使用最广泛的许可协议之一. 它为用户提供了很大的自由度.

用户可以自由使用和修改源代码,对修改后的代码进行开放源或封闭源,甚至可以将其重新发布为商业软件. 前提是与发布的源代码和二进制可执行文件有关的文档必须包含BSD许可协议声明,并且开源组织的名称不能用于产品的销售.

使用BSD的先决条件:

当发布使用BSD协议的代码或基于BSD协议代码进行二次开发时,您需要满足以下三个条件:

lgpl协议_icmp协议是什么层协议_lgpl协议

BSD鼓励代码共享,但是需要尊重代码作者的版权.

BSD允许用户修改和重新发布代码,以及基于BSD代码发布和销售商业软件. 因此,许多公司和企业在选择开放源代码产品时都喜欢BSD协议(因为遵循BSD协议的代码是完全可用的)控件,可以在需要时进行修改或二次开发.

BSD许可条款

Copyright (c) 1998, Regents of the University of California All rights reserved.
Copyright (c) 1998 著作权由加州大学董事会所有,著作权人保留一切权利。
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
在符合以下条件的情况下,允许用户对源代码和二进制文件进行使用和再散播,无论源代码是否进行了修改:
  1.Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  对于源码的再散播,必须保留以上著作权声明、此条件列表、以及下述的免责声明.
  2.Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  以二进制可执行文件的散播,必须将以上著作权声明、此条件列表、以及下述的免责声明,添加到文档 以及/或 其他材料中.
  3.Neither the name of the University of California, Berkeley nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 
  未事前获取书面许可,不得使用加州大学伯克利分校或本软件贡献者之名称,来为本软件之派生物做任何表示支持、认可或推广、促销之行为。
this software is provided by the regents and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. in no event shall the regents and contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
免责声明:
本软件是由加州大学董事会及本软件之贡献者提供(本就如此),本软件包装不负任何明示或默示之担保责任,包括但不限于就适售性以及特定目的的适用性为默示性担保。加州大学董事会及本软件之贡献者,无论任何条件、无论成因或任何责任主义、无论此责任为因合约关系、无过失责任主义或因非违约之侵权(包括过失或其他原因等)而起,对于任何因使用本软件包装所产生的任何直接性、间接性、偶发性、特殊性、惩罚性或任何结果的损害(包括但不限于替代商品或劳务之购用、使用损失、资料损失、利益损失、业务中断等等),不负任何责任,即在该种使用已获事前告知可能会造成此类损害的情形下亦然。

MIT源自麻省理工学院(MIT)

MIT是与BSD一样广泛的许可协议. 作者只想保留版权,没有任何其他限制.

用户只需要在已发布的源代码和二进制可执行文件相关文档中包含MIT许可协议声明,他们就可以自由使用,修改源代码,将其重新分发为商业软件,甚至可以使用开源名称组织生产产品. 营销.

MIT许可条款

Copyright (C) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
the software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. in no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

lgpl协议_lgpl协议_icmp协议是什么层协议

Apache许可证是由Apache软件基金会颁发的免费软件许可证,最初是为Apache http服务器编写的.

该协议类似于BSD. 它还鼓励代码共享,并尊重原始作者的版权,并允许修改和重新发布代码.

Apache许可证也是商业应用程序的友好许可证,用户还可以在需要时修改代码以满足需求,并以开源或商业产品的形式发布/出售.

先决条件

要满足的条件类似于BSD:

您可以在Notice中添加您自己的权限,但不应将其显示为对Apache Licence的更改.

如何引用Apache License 2.0条款

Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

GPL许可证最初由自由软件基金会的Richard Stallman为GNU项目编写.

icmp协议是什么层协议_lgpl协议_lgpl协议

GPL是Copyleft许可,其衍生作品只能在相同的许可条款下分发:

只要用户在软件开发中使用GPL协议的相关类库和代码,软件还必须使用GPL协议,该协议必须是开源的且免费的.

我们对Linux操作系统非常熟悉,GNU编译器集合(GCC)是使用GPL的.

GPL协议与BSD,MIT,Apache许可以及其他鼓励代码重用的许可有很大不同. GPL的出发点是开源/免费使用代码以及开源/免费使用参考/修改/衍生代码,这不允许将经修改和衍生的代码作为闭源商业软件发布和销售(只要使用了GPL协议的相关类库和代码,该软件还必须使用GPL协议,该协议必须是开源且免费的. )


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-282650-1.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...