diff mbox series

[1/1] package/lzlib: add license file

Message ID 20201106214936.307864-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/lzlib: add license file | expand

Commit Message

Fabrice Fontaine Nov. 6, 2020, 9:49 p.m. UTC
Add lzlib.c as the license file and, while at it, update indentation to
two spaces

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/lzlib/lzlib.hash | 3 ++-
 package/lzlib/lzlib.mk   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

Comments

Thomas Petazzoni Nov. 7, 2020, 1:19 p.m. UTC | #1
On Fri,  6 Nov 2020 22:49:36 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Add lzlib.c as the license file and, while at it, update indentation to
> two spaces
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  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
Fabrice Fontaine Nov. 7, 2020, 1:57 p.m. UTC | #2
Hi Thomas,

Le sam. 7 nov. 2020 à 14:19, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> a écrit :
>
> On Fri,  6 Nov 2020 22:49:36 +0100
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>
> > Add lzlib.c as the license file and, while at it, update indentation to
> > two spaces
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > ---
> >  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.
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.
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Best Regards,

Fabrice
Peter Korsgaard Nov. 9, 2020, 9:51 a.m. UTC | #3
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

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

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2020.02.x and 2020.08.x, thanks.
diff mbox series

Patch

diff --git a/package/lzlib/lzlib.hash b/package/lzlib/lzlib.hash
index f983862e41..4bb4c52c8c 100644
--- a/package/lzlib/lzlib.hash
+++ b/package/lzlib/lzlib.hash
@@ -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
diff --git a/package/lzlib/lzlib.mk b/package/lzlib/lzlib.mk
index f468a1c839..74624d5019 100644
--- a/package/lzlib/lzlib.mk
+++ b/package/lzlib/lzlib.mk
@@ -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)"