GPL License - Source code for shell script?
Hi,
I had a question regarding legal aspect of GPL license. I tried skimming through the GPL guide but I am not sure if that answers my question and hence my question on this forum. I am planning to write a bash shell script which does some functions (using various commands like copy, cd, dialog,etc) on my Debian etch system. Now under the GPL FAQ it says (as far as I understand) that I can sell this script commercially to other users but I am not sure if I need to distribute the source code also along with it? Ideally, when I write this script, I would like to sell it (even if for a small amount) but at the same time I would like to protect my source code. How can I do this? Thanks |
The script code that you distribute is both the source code and the executable.
--------------------- Steve Stites |
you need to provide access to the source code if its under the gpl
|
Quote:
Thank you guys for your reply. Is that true under LGPL also? Can you share with the page where it says that I need to distribute the source code? I have been looking for it but didn't quite actually get it. Also, are there any other type of FOSS license which will allow me to protect my source code and will still enable me to sell it? Thank you once again. |
Quote:
Some of your questions maybe answered by reading the GPL FAQ. |
What do you mean by "protect" your source code? If you don't want other people to see it, or if you want to prevent them from modifying or redistributing it, then that, by definition, is not open-source.
|
Quote:
|
Quote:
In any case, let's suppose I write a C program and create a binary out of it. So my question is whether there is any FOSS license which allows me to sell those binary but at the same time also give me the right to distribute the source code or not. |
Quote:
|
Quote:
Yes, but that's just what broad Open Source means. There are numerous FOSS licenses (like GPL,FreeBSD,LGPL,MIT,etc) that you can choose to distribute with your program which you have developed using Open Source software. I am also relatively new to this entire licensing thing so even I am learning. |
Just to be explicit: am I correct in thinking that you do not want to let people see the source to your program?
If that's the case, then why do you want an open-source license? It just doesn't make sense. If you're not letting people see the source, then it's just not open-source. The entire point of an open-source license is to give other people the right to modify your code. Why would you want a license that's designed to do the opposite of what you're looking for? |
The parts of the GPL that require you to give access to the source code are section 6 of GPL v3 (or section 3 of GPL v1 and v2).
The main difference between the GPL and LGPL is not your source, but third party programs that make use of your source. Any new programs that use your GPLed source must themselves be GPL. Some call this the GPL "virus." LGPL on the other hand says that "derivatives", or modified versions, must be LGPL, but anyone can write a separate program that only makes reference (i.e. calls) the LGPLed source without being forced to use an open source license. GPL does give you copyright protection so that others cannot distribute modified versions and claim that they are the original thing. They can distribute their modified versions, but must give credit to the original and must state that it is modified. But that doesn't sound like the type of protection you are looking for. Read the license though, it's really not that hard to read. |
Quote:
|
Quote:
|
Such a funny question, I'd like to know how you're NOT going to provide the source code to a shell script.
|
All times are GMT -5. The time now is 12:41 PM. |