To start with, I am aware of " An even lesser LGPL-like license that allows static linking " question, but I believe it was aksed in a weird way and that my question is substantially different.
Basically, I am looking for a library license that:
- Allows dynamic linking with code using whatever license (including proprietary)
- Allows static linking with code using whatever license (including proprietary) (so, LGPL does not work well here)
- Applies to the whole library and all of its modifications (e.g. if someone adds a file to the library, they still have to share the file, like in LGPL) (I believe this disqualifies MPL-2.0)
- Weak: applies only to the library, not to the larger work using the library
- Copyleft: modifications to the library must be shared with the same license
- (This might be good but not required) network use is considered distribution (e.g. if someone makes the software available over the network, they must share the modifications they made to the library)
In short, do whatever you want with library / software, as long as you share the modifications you make to it. You're not required to share the source of whatever you build on top of the modified library.
I understand that one way to make that work is GPL2 with linking exception, or AGPL3 with exceptions to allow liking and tivoization, but they just feel weird.
Are there any other (widely used) licenses that work like that?