下一节:,上一节:许可声明   [目录][索引]


6.6.1 GNU软件包的许可

通常,GNU软件包应使用最新版本的GNU GPL,并带有“或任何后续版本”的表述。关于许可证声明的确切措辞,请参阅代码的许可证声明

有时,GNU库可能会提供专有程序通过替代实现方式已广泛使用的功能;例如,GNU C库。在这种情况下,应使用较宽松的GPL(同样,关于声明措辞,请参阅代码的许可证声明)。但是,如果GNU库提供独特的功能,则应使用GNU GPL。 https://gnu.ac.cn/licenses/why-not-lgpl.html 讨论了这种策略选择。

其中一些库需要与在仅GPLv2下发布的程序一起使用;也就是说,允许GNU GPL版本2但不允许后续版本。在这种情况下,GNU软件包应以双重许可证发布:GNU GPL版本2(或任何后续版本)和GNU Lesser GPL版本3(或任何后续版本)。以下是这种情况的声明:

This file is part of GNU package.

GNU package is free software: you can redistribute it and/or
modify it under the terms of either:

  * the GNU Lesser General Public License as published by the Free
    Software Foundation; either version 3 of the License, or (at your
    option) any later version.

or

  * the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your
    option) any later version.

or both in parallel, as here.

GNU package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received copies of the GNU General Public License and
the GNU Lesser General Public License along with this program.  If
not, see https://gnu.ac.cn/licenses/.

对于小型软件包,您可以使用“此程序”代替“GNU 软件包”。


下一节:,上一节:许可声明   [目录][索引]