package/lzma: add license
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 28 Nov 2019 20:17:26 +0000 (21:17 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 29 Nov 2019 13:10:54 +0000 (14:10 +0100)
- 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@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lzma/lzma.hash
package/lzma/lzma.mk

index e73517ca5711c1e8a85f52610b8036de8b93710a..6055d7d9861d1b2e733af2457b1ec4a0b0566d95 100644 (file)
@@ -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
index 1b4d7febb108d5ad829f094339c2868ba1968591..095382d174fbc3aa742ab6103f3a042e45da941c 100644 (file)
@@ -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)
+LZMA_LICENSE_FILES = COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1
 
 $(eval $(host-autotools-package))