3 ms·
GPL V2 (Linux) + Apache + FreeBSD code in a single project?? How does it work?
by baybal2 6y ago
GPL V2 (Linux) + Apache + FreeBSD code in a single project?? How does it work?
- pjmlp 6y agoThe same way it does on Android.
- erk__ 6y agoThat is not much unlike Android the c standard library there is forked from FreeBSD
- nix23 6y agoWhy not? Even Linux itself has MIT/BSD2-3/GPL/LGPL https://github.com/torvalds/linux/search?o=asc&q=SPDX-LICENSE-IDENTIFIER&s=indexed https://github.com/torvalds/linux/search?o=asc&q=SPDX-LICENS... Those are the preferred licenses for Linux: https://github.com/torvalds/linux/tree/6f0d349d922ba44e4348a17a78ea51b7135965b1/LICENSES/preferred https://github.com/torvalds/linux/tree/6f0d349d922ba44e4348a...
- qalmakka 6y agoGPLv2 and Apache v2 are not compatible due to the patent grants, so I think the Apache v2 licensed code ought to be covered by another license or else it would be a breach of copyright. In general if you mix up BSD licensed software with GPL code, the combined program is considered a derivative and it's distributed under the GPL itself. The original BSD-licensed files are still under the BSD, but anything that directly refers to GPL code (i.e., glue code, anything that #include s a GPL header) is under GPL too.