开发者

What is the proper way for allowing non-gpl plugins/modules on a GPL application? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

This question does not appear to be about programming within the scope defin开发者_如何学运维ed in the help center.

Closed 7 years ago.

Improve this question

I develop an open-source CMS, which is licensed under GPLv3, and I want to open the plugin/modules architecture for anyone to contribute their own extensions. However I want to give contributors the freedom to choose whatever license they want for their extensions, and not force them to use the main application's license.

My understanding is that a plain GPL license will force them to release their extensions as GPL code too, however since these are extensions and not core functionality of the application, I'm not clear as to what is the stand of GPL here, or if there is a more appropriate open source license.


I believe the standard thing to do is to write an exception clause into your license. GCC does this, for example:

As a special exception, you may use this file as part of a free software library without restriction. Specifically, if other files instantiate templates or use macros or inline functions from this file, or you compile this file and link it with other files to produce an executable, this file does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License.


There's a chart here summarising various different FOSS licences and the first column comments on proprietary software linking. It doesn't look particularly up to date and doesn't include licence version but it may still be a place to start.


Since you own the code, you own the copyright and can change the license at a later date to LGPL (lesser gpl or library gpl) or bsd/mit license, which is more permitting in this case.

Just because you originally licensed the code as GPL does not mean you have to continue to license it as GPL in the future.

If you are going to release it under a modified GPL, then it's not really correct to call it GPL since it goes against all GPL rules.. so why call it modified GPL if it's not really a gpl spirit license?

What you have run into here is the very problem of GPL.. it can act like a virus and infect code that you did not mean for it to infect. It's one good reason not to choose gpl, because it does not offer the freedoms like other licenses such as MIT/BSD.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜