public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Meh Mbeh Ida Delphine <idadelm@gmail.com>,
	 openembedded-core@lists.openembedded.org
Subject: Re: [poky][PATCH v6] Update license file to match current SPDX names
Date: Wed, 17 Feb 2021 11:16:58 +0000	[thread overview]
Message-ID: <1312e9f5502bee8d7667c598ae4fc5b7de61830f.camel@linuxfoundation.org> (raw)
In-Reply-To: <20201015204539.24549-1-idadelm@gmail.com>

On Thu, 2020-10-15 at 21:45 +0100, Meh Mbeh Ida Delphine wrote:
> Updated mappings of license fields of meta/conf/licenses.conf to match latest SPDX naming.
> Added missing mappings.
> Renamed license files that were added in license mappings eg from GPL-2.0 to GPL-2.0-only.
> Added "or later" versions of license mappings
> Added "or later" versions of common license files eg GPL-2.0-or-later
> 
> Fixes: [YOCTO #13320]
> 
> Signed-off-by: Meh Mbeh Ida Delphine <idadelm@gmail.com>

I really want to get this issue resolved so I've queued this patch.
There is a comment below.

> Changes in V6:
>  * Added "or later" versions of common license files eg GPL-2.0-or-later in meta/files/common-licenses.
> 
> Changes in V5:
>  * Added "or later" versions of license mappings in meta/conf/licenses.conf
> 
> Changes in V4:
>  * Renamed license files that were added in license mappings eg from GPL-2.0 to GPL-2.0-only
> 
> Changes in V3:
>  * Added missing mappings to meta/conf/licenses.conf
> 
> Changes in V2:
>  * Corrected the email subject line.
[...]
>   #MPL variations
>  SPDXLICENSEMAP[MPL-1] = "MPL-1.0"
>  SPDXLICENSEMAP[MPLv1] = "MPL-1.0"
> +SPDXLICENSEMAP[MPL-1.0] = "MPL-1.0"
>  SPDXLICENSEMAP[MPLv1.1] = "MPL-1.1"
> +SPDXLICENSEMAP[MPL-1.1] = "MPL-1.1"
>  SPDXLICENSEMAP[MPLv2] = "MPL-2.0"
> +SPDXLICENSEMAP[MPL-2.0] = "MPL-2.0"
> +
>   #MIT variations
>  SPDXLICENSEMAP[MIT-X] = "MIT"
> @@ -48,33 +66,43 @@ SPDXLICENSEMAP[openssl] = "OpenSSL"
>  #PSF variations
>  SPDXLICENSEMAP[PSF] = "PSF-2.0"
>  SPDXLICENSEMAP[PSFv2] = "PSF-2.0"
> +SPDXLICENSEMAP[PSF-2.0] = "PSF-2.0"
>  
>  #Python variations
> 
>  SPDXLICENSEMAP[Python-2] = "Python-2.0"
> +SPDXLICENSEMAP[Python-2.0] = "Python-2.0"
>  
>  #Apache variations
>  SPDXLICENSEMAP[Apachev2] = "Apache-2.0"
>  SPDXLICENSEMAP[Apache-2] = "Apache-2.0"
> +SPDXLICENSEMAP[Apache-2.0] = "Apache-2.0"
>  
>  #Artistic variations
>  SPDXLICENSEMAP[Artisticv1] = "Artistic-1.0"
>  SPDXLICENSEMAP[Artistic-1] = "Artistic-1.0"
> +SPDXLICENSEMAP[Artistic-1.0] = "Artistic-1.0"
>   #Academic variations
> 
>  SPDXLICENSEMAP[AFL-2] = "AFL-2.0"
> +SPDXLICENSEMAP[AFL-2.0] = "AFL-2.0"
>  SPDXLICENSEMAP[AFL-1] = "AFL-1.2"
> +SPDXLICENSEMAP[AFL-1.2] = "AFL-1.2"
>  SPDXLICENSEMAP[AFLv2] = "AFL-2.0"
> +SPDXLICENSEMAP[AFL-2.0] = "AFL-2.0"
>  SPDXLICENSEMAP[AFLv1] = "AFL-1.2"
>  
>  #CDDL variations
>  SPDXLICENSEMAP[CDDLv1] = "CDDL-1.0"
>  SPDXLICENSEMAP[CDDL-1] = "CDDL-1.0"
> +SPDXLICENSEMAP[CDDL-1.0] = "CDDL-1.0"
>   #Other variations
>  SPDXLICENSEMAP[EPLv1.0] = "EPL-1.0"
> +SPDXLICENSEMAP[EPL-1.0] = "EPL-1.0"
>  
> 

>  #Silicon Graphics variations
>  SPDXLICENSEMAP[SGIv1] = "SGI-1"
> +SPDXLICENSEMAP[SGI-1] = "SGI-1"
> 

I removed the above pieces where the piece in [] is the same as the
value at the end. We don't need mappings where the two pieces are
identical. Everything else in the patch looked ok.

I also realised that we have recipes which reference some of the names
which have been renamed in LIC_FILES_CHKSUM entries. The following
files look to be affected:

meta/recipes-connectivity/connman/connman-conf.bb
meta/recipes-core/busybox/busybox-inittab_1.32.0.bb
meta/recipes-core/systemd/systemd-serialgetty.bb
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb	

I've queued a patch to fix these.

Cheers,

Richard



  reply	other threads:[~2021-02-17 11:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15 20:45 [poky][PATCH v6] Update license file to match current SPDX names Meh Mbeh Ida Delphine
2021-02-17 11:16 ` Richard Purdie [this message]
2021-02-17 16:34   ` Meh Mbeh Ida Delphine
2021-02-18  5:26     ` [OE-core] " Khem Raj
2021-02-18  5:55       ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1312e9f5502bee8d7667c598ae4fc5b7de61830f.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=idadelm@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox