Skip to contentSkip to conversation

package/lzlib: add license file

PATCH New Fabrice Fontaine 3 participants 4 messages Nov 6, 2020 – Nov 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lzlib: add license file

Add lzlib.c as the license file and, while at it, update indentation to two spaces

---
 package/lzlib/lzlib.hash | 3 ++-
 package/lzlib/lzlib.mk   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
package/lzlib/lzlib.hash +2 -1
index f983862e41..4bb4c52c8c 100644
@@ -1,2 +1,3 @@
 # Locally calculated
-sha256 cbb0cac5825e940b4ea2f31a336d2aaf6db39847d456920afd8e443804420dbb lzlib-0.4.3.tar.gz
+sha256  cbb0cac5825e940b4ea2f31a336d2aaf6db39847d456920afd8e443804420dbb  lzlib-0.4.3.tar.gz
+sha256  f817d4a37077e94e9adf379f46ba5cc0b68775d7add2bbd5b2ca68ba140ad5bb  lzlib.c
package/lzlib/lzlib.mk +1 -0
index f468a1c839..74624d5019 100644
@@ -8,6 +8,7 @@ LZLIB_VERSION = 0.4.3
 LZLIB_SITE = $(call github,LuaDist,lzlib,$(LZLIB_VERSION))
 LZLIB_DEPENDENCIES = lua zlib
 LZLIB_LICENSE = MIT
+LZLIB_LICENSE_FILES = lzlib.c
 LZLIB_CONF_OPTS = -DINSTALL_CMOD="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \
 	-DINSTALL_LMOD="/usr/share/lua/$(LUAINTERPRETER_ABIVER)"
 
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 package/lzlib: add license file

Quoted 8 lines · On Fri, 6 Nov 2020 22:49:36 +0100 Fabrice Fontaine…

Add lzlib.c as the license file and, while at it, update indentation to two spaces

---
 package/lzlib/lzlib.hash | 3 ++-
 package/lzlib/lzlib.mk   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

Applied to master, thanks. For those cases where we need to use a source file as the license file, I think it would be nice to contact upstream and suggest them to have a proper, separate, license file.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/lzlib: add license file

Hi Thomas,

Le sam. 7 nov. 2020 ? 14:19, Thomas Petazzoni
<[email protected]> a ?crit :

Quoted 13 lines
Quoted 8 lines · On Fri, 6 Nov 2020 22:49:36 +0100 Fabrice Fontaine…

Add lzlib.c as the license file and, while at it, update indentation to two spaces

---
 package/lzlib/lzlib.hash | 3 ++-
 package/lzlib/lzlib.mk   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
Quoted 3 lines

Applied to master, thanks. For those cases where we need to use a source file as the license file, I think it would be nice to contact upstream and suggest them to have a proper, separate, license file.

OK, I'll do it for projects that are still active. Concerning lzlib, I fear that this is not the case as the last commit has been made 5 years ago.

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Best Regards,

Fabrice