-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vague license references #2663
Comments
I was about to file an issue because there are also inconsistencies between the SPDX declaration and the notices in the kernel code at
... and I suggest this crisp and clear single top level declaration everywhere that would be this way: Would you want a patch to fix these? |
Note that the "BSD/GPL" wording is ambiguous as outlined in the "SPDX IDs reduce license errors and risks" section in here.
From the current license blub
I suspect that FB won't object to a PR as long as you've signed the CLA. I would be in favour of having this cleared-up, regardless of the licenses used. |
@evelikov you wrote
You are entirely right, yet this has a long history and is well documented here https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/module.h#n193 . This is used by many LKMs is this is s standard that is unlikely to change.
Good catch! of course: stupid of me! Note that to be correct there are also several other licenses that could be listed. Some code is under a BSD-2-Clause and may be a few more.
That should not be an issue. |
Correctly identify that we are GPL v2+ or BSD 3 clause, as pointed out in issue #2663.
Correctly identify that we are GPL v2+ or BSD 3 clause, as pointed out in issue facebook#2663.
I agree, this should be clarified and it should be OR. Even without reading the README section, it appears a dual licensing, and in the trade dual means "you can choose". In this case, if you don't create derivatives, or the derivatives are inbound/outbound compatible with both licenses, you can apply the same licensing scheme, methinks. |
Should be clarified now. Please re-open if you have further questions. |
@terrelln not quite. All the code I've looked in https://github.com/facebook/zstd/tree/dev/lib contains the original license blurb as reported initially. The comments just above somewhat clearly demonstrate that in itself is not clear enough. I would suggest adding the |
Describe the bug
Multiple places through the code-base reference the existing dual licensing nature of the project.. Although the references are pretty vague - here is an example form the README:
and another ones from the source files
Why vague?
There are a wide range of "BSD" licenses (1, 2, 3, 4 clause and permutations), similarly for "GPLv2" it has an "only" and "or later" variant. Checking the COPYING and LICENSE files - seems like the project is using
BSD-3-Clause
andGPL-2.0+
"or-later" variant.Note:
GPL-2.0-or-later
andGPL-2.0+
are different identifiers for the same license. The latter is the deprecated identifier, yet it is still widely used in the kernel et al.I would encourage the team to double-check the above. As result one can remove the LICENSE and COPYING references and use something like the example below. Both of these should be particularly useful for @terrelln work - importing zstd 1.4.10 into the Linux kernel. The kernel uses the SPDX identifiers, additionally the kernel "COPYING" and "LICENSE" files differ from those in zstd.
Proposed license blurb for source/header files.
@terrelln note that the
v11
of the patches reference the wrong identifiers. Somewhat of a clear example that the current references are vague.The
v11
patches useSPDX-License-Identifier: GPL-2.0
vs actual licenseSPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
Last but not least, I am not a lawyer so please check this with your relevant department.
Hope it helps o/
The text was updated successfully, but these errors were encountered: