BSD-3-Clause是一种开源软件许可协议,也称为BSD三条款许可证。它是BSD许可证家族中的一种,是一种宽松的许可证,允许软件自由使用、修改和重新分发,同时也保留了一些版权和责任方面的规定。
BSD-3-Clause许可证的主要特点包括以下三个条款:
-
再分发条款:允许在任何目的下再分发软件的副本,包括商业目的,只要满足以下条件:
-
需要保留原始的版权声明和许可声明。
-
在广告和其他宣传材料中,需要包含对原始软件的引用。
-
-
免责条款:声明原作者和贡献者不对软件的使用负责,使用软件的风险由用户自行承担。
-
修改条款:允许用户修改软件的源代码,但修改后的软件必须以原始软件的许可条件进行再分发。
BSD-3-Clause许可证相对宽松,允许在商业和非商业项目中自由使用和分发软件。与其他开源许可证(如GPL)相比,BSD许可证对于软件的再利用和分发设置了更少的限制。这使得BSD-3-Clause许可证被许多开发者和组织广泛采用。
需要注意的是,尽管BSD-3-Clause许可证允许在闭源软件中使用和分发,但仍需要遵守许可证的规定,包括保留原始版权声明和许可声明。如果你使用了采用BSD-3-Clause许可证的软件,建议仔细阅读许可证的具体条款,以确保你的使用符合许可证规定。
bash
Copyright (c) <year> <owner> . All rights reserved.
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 copyright holder 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 COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER OR 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.