I’m looking into open-sourcing a code base I’m working on and have been researching the various more popular licenses. However, none of them seem to really fit exactly how I want to license the code.
Generally speaking I’m good with people using it as they see fit, but,
- If someone makes a derivative work I’d appreciate it if the original work (mine) was acknowledged. I’m not talking parties in the streets or anything, just a little (based on code by Gordon) disclaimer in there somewhere
- You are forbidden from using my code in any product that includes code that you’ve patented or licensed under a patent. Software patents are evil! :)
The two big ones (GPL and BSD) don’t seem to really cover those terms very well. GPL is far too restrictive in terms of usage (and on a personal note I’m not exactly keen on Stallman). However, the BSD license is too liberal and doesn’t do anything to prevent code being used alongside patented code, etc.
Ideally I think I need something like the BSD license, but with extra terms attached to cover the cases I’ve outlined. If there is such a license out there already, what is it? If not, is there a pre-existing license that you’d recommend?
The final option of course is create my own license. However, would that then limit my ability to distribute via sourceforge/github/etc? I understand they expect you to use an existing license.