tobozo / ESP32-targz

🗜️ An Arduino library to unpack/uncompress tar, gz, and tar.gz files on ESP32 and ESP8266
Other
123 stars 16 forks source link

License issues #38

Closed javipelopi closed 3 years ago

javipelopi commented 3 years ago

Hi!

This is a great work and I hope you continue to develop it even further!

However, there might be issues if you want to use this commercially, as it is more than probable that you would need to use the GPL license for your work as you can see discussed on stackexchange

I would recommend doing two separate libraries, one for GZ with the MIT license and another with everything TAR GZ, TAR, GZ with the GPL license.

Anyway, I might be wrong, I am just letting you know as the legal part is usually ignored...

Keep the good job!

tobozo commented 3 years ago

hey @javipelopi thanks for your feedback

According to stack exchange and other sources it's not a problem to do that as long as each imported folder has its own licence file and the main licence file is referencing them.

So the GPL can be resumed as: "You are not allowed to modify the code and sell it as a commercial product without also releasing the source code.", which is the purpose of this git repository.

If you need to modify this library for commercial use, the only legal obligation is to release the modified code for the GPL part (in the tinyUntar folder).

TinyUntar: GPL (see https://github.com/tobozo/ESP32-targz/blob/master/src/TinyUntar/LICENSE) uzlib: zlib (see https://github.com/tobozo/ESP32-targz/blob/master/src/uzlib/LICENSE) Rest of the code: MIT

Please let me know if you still think this is a legal issue, if so I'll convert this thread to a discussion topic,

javipelopi commented 3 years ago

Hello @tobozo ,

That is indeed correct. The source code is available so you have done your part.

I am not a lawyer so I have no definitive answers as copyright is such a muddy topic, I will close this issue as it is not code related and you have already solved the question.

Great job!