[oe-commits] Christopher Larson : xz: make the LICENSE info more accurate

git at git.openembedded.org git at git.openembedded.org
Sun Feb 9 11:01:52 UTC 2014


Module: openembedded-core.git
Branch: dora
Commit: c560ada1bc2aa127b7dd7bf10722c90c10c7dcc4
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c560ada1bc2aa127b7dd7bf10722c90c10c7dcc4

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Fri Dec 13 07:50:09 2013 -0700

xz: make the LICENSE info more accurate

(From OE-Core master rev: fb9b12121f97f59d92ec2b8fdbe0e68f336f0576)

Signed-off-by: Christopher Larson <kergoth at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>

---

 meta/recipes-extended/xz/xz_5.1.2alpha.bb | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/xz/xz_5.1.2alpha.bb b/meta/recipes-extended/xz/xz_5.1.2alpha.bb
index 93099b0..9f01e32 100644
--- a/meta/recipes-extended/xz/xz_5.1.2alpha.bb
+++ b/meta/recipes-extended/xz/xz_5.1.2alpha.bb
@@ -2,7 +2,22 @@ DESCRIPTION = "utils for managing LZMA compressed files"
 HOMEPAGE = "http://tukaani.org/xz/"
 SECTION = "base"
 
-LICENSE = "GPLv2+ & LGPLv2.1+"
+# The source includes bits of PD, GPLv2, GPLv3, LGPLv2.1+, but the only file
+# which is GPLv3 is an m4 macro which isn't shipped in any of our packages,
+# and the LGPL bits are under lib/, which appears to be used for libgnu, which
+# appears to be used for DOS builds. So we're left with GPLv2+ and PD.
+LICENSE = "GPLv2+ & GPLv3+ & LGPLv2.1+ & PD"
+LICENSE_${PN} = "GPLv2+"
+LICENSE_${PN}-dev = "GPLv2+"
+LICENSE_${PN}-staticdev = "GPLv2+"
+LICENSE_${PN}-doc = "GPLv2+"
+LICENSE_${PN}-dbg = "GPLv2+"
+LICENSE_${PN}-locale = "GPLv2+"
+LICENSE_liblzma = "PD"
+LICENSE_liblzma-dev = "PD"
+LICENSE_liblzma-staticdev = "PD"
+LICENSE_liblzma-dbg = "PD"
+
 LIC_FILES_CHKSUM = "file://COPYING;md5=c475b6c7dca236740ace4bba553e8e1c \
                     file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \



More information about the Openembedded-commits mailing list