[Buildroot] [git commit branch/2019.08.x] package/lzma: add license

Peter Korsgaard peter at korsgaard.com
Thu Dec 5 20:37:42 UTC 2019

commit: https://git.buildroot.net/buildroot/commit/?id=88ec7ae1505cb4488f64739c56e5800dfc84d6a1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.08.x

- lzma program is licensed under GPL-2.0+
- lzmadec program has no license information in source file
- lzmainfo program is licensed under LGPL-2.1+
- LzmaDecode.h is licensed under LGPL-2.1+ (or CPL) as stated in
  src/sdk/7zip/Compress/LZMA_C/LzmaDecode.{c,h}, other sdk files have no
  license information
- lzmore and lzgrep scripts are licensed under GPL-2.0+
- lzdiff script has no license information
- basic and perms tests are licensed under GPL-3.0+
- mkdtemp and test-lib.sh tests have no license information

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit ea107efc97fa7202d8af59e4040937b09e5e2b05)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
 package/lzma/lzma.hash | 3 +++
 package/lzma/lzma.mk   | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/package/lzma/lzma.hash b/package/lzma/lzma.hash
index e73517ca57..6055d7d986 100644
--- a/package/lzma/lzma.hash
+++ b/package/lzma/lzma.hash
@@ -1,2 +1,5 @@
 # Locally calculated
 sha256	02aa57f995d15b7acb7c2496d88a39fb0124ea00bf027cc61dd24eddb5942dff	lzma-4.32.7.tar.xz
+sha256	231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c	COPYING.GPLv2
+sha256	8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903	COPYING.GPLv3
+sha256	6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3	COPYING.LGPLv2.1
diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk
index 1b4d7febb1..095382d174 100644
--- a/package/lzma/lzma.mk
+++ b/package/lzma/lzma.mk
@@ -7,6 +7,8 @@
 LZMA_VERSION = 4.32.7
 LZMA_SOURCE = lzma-$(LZMA_VERSION).tar.xz
 LZMA_SITE = http://tukaani.org/lzma
+LZMA_LICENSE = LGPL-2.1+ (lzmadec library, lzmainfo, LzmaDecode), GPL-2.0+ (lzma program, lzgrep and lzmore scripts), GPL-3.0+ (tests)
 $(eval $(host-autotools-package))

More information about the buildroot mailing list