[OE-core] [PATCH] xz: Correctly specify GPL-3.0 with autoconf exception

Flanagan, Elizabeth elizabeth.flanagan at intel.com
Mon Aug 31 17:05:04 UTC 2015


On 30 August 2015 at 17:31, Khem Raj <raj.khem at gmail.com> wrote:
> There is m4/ax_pthread.m4 macro which uses GPL-3.0 with autoconf
> exception, there is no other occurance of GPL-3.0 use, lets mark the
> licence correctly.

Unless the macro is actually shipped with any of the packages, I don't
think we actually need to do this. Generally, LICENSE should be the
intersection of all LICENSE_${PN}*.

I think the correct fix here is actually:

LICENSE = "GPLv2+ & 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"



>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta/recipes-extended/xz/xz_5.2.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/xz/xz_5.2.1.bb b/meta/recipes-extended/xz/xz_5.2.1.bb
> index e0ae48f..cf7fba6 100644
> --- a/meta/recipes-extended/xz/xz_5.2.1.bb
> +++ b/meta/recipes-extended/xz/xz_5.2.1.bb
> @@ -6,7 +6,7 @@ SECTION = "base"
>  # 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 = "GPLv2+ & GPL-3.0-with-autoconf-exception & LGPLv2.1+ & PD"
>  LICENSE_${PN} = "GPLv2+"
>  LICENSE_${PN}-dev = "GPLv2+"
>  LICENSE_${PN}-staticdev = "GPLv2+"
> --
> 2.5.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



-- 
Elizabeth Flanagan
Yocto Project
Build and Release



More information about the Openembedded-core mailing list