diff mbox series

[meta-oe,master] cryptsetup: Update the license field

Message ID 20251007092107.18392-1-Sana.Kazi@bmwtechworks.in
State Accepted
Headers show
Series [meta-oe,master] cryptsetup: Update the license field | expand

Commit Message

Sana Kazi Oct. 7, 2025, 9:21 a.m. UTC
The below reference clearly states that GPL-2.0-with-OpenSSL-exception
is to be used with GPL 2.0 or GPL3.0 and not as a standalone license.
Therefore, update the correct license.

Reference:
https://github.com/aboutcode-org/scancode-licensedb/blob/569d72e13e7c8d14a44380f91e80c5a2d4091f8f/docs/openssl-exception-gpl-2.0.yml#L7

Signed-off-by: Sana Kazi <Sana.Kazi@bmwtechworks.in>
---
 meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Kjellerstedt Oct. 8, 2025, 8:45 p.m. UTC | #1
> -----Original Message-----
> From: openembedded-devel@lists.openembedded.org <openembedded-devel@lists.openembedded.org> On Behalf Of Sana Kazi via lists.openembedded.org
> Sent: den 7 oktober 2025 11:21
> To: openembedded-devel@lists.openembedded.org; sana.kazi@bmwtechworks.in
> Subject: [oe] [meta-oe][master][PATCH] cryptsetup: Update the license field
> 
> The below reference clearly states that GPL-2.0-with-OpenSSL-exception
> is to be used with GPL 2.0 or GPL3.0 and not as a standalone license.
>
> Therefore, update the correct license.
> 
> Reference:
> https://github.com/aboutcode-org/scancode-licensedb/blob/569d72e13e7c8d14a44380f91e80c5a2d4091f8f/docs/openssl-exception-gpl-2.0.yml#L7
> 
> Signed-off-by: Sana Kazi <Sana.Kazi@bmwtechworks.in>
> ---
>  meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
> index b5be30cbb2..c297de053d 100644
> --- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
> +++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
> @@ -6,7 +6,7 @@ and can hence offer more features than plain dm-crypt. On
> the other \
>  hand, the header is visible and vulnerable to damage."
>  HOMEPAGE = "https://gitlab.com/cryptsetup/cryptsetup"
>  SECTION = "console"
> -LICENSE = "GPL-2.0-with-OpenSSL-exception"
> +LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later & GPL-2.0-with-OpenSSL-exception"

There is also Apache-2.0 code in there:

LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later & GPL-2.0-with-OpenSSL-exception & Apache-2.0"

>  LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326"

You should also include README.licensing and the actual license texts from 
doc/licenses:

LIC_FILES_CHKSUM = " \
    file://README.licensing;md5=... \
    file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326 \
    file://docs/licenses/COPYING.Apache-2.0;md5=... \
    file://docs/licenses/COPYING.GPL-2.0-or-later-WITH-cryptsetup-OpenSSL-exception;md5=... \
    file://docs/licenses/COPYING.LGPL-2.1-or-later-WITH-cryptsetup-OpenSSL-exception;md5=... \
"

> 
>  DEPENDS = " \
> --
> 2.34.1

//Peter
diff mbox series

Patch

diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
index b5be30cbb2..c297de053d 100644
--- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
+++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
@@ -6,7 +6,7 @@  and can hence offer more features than plain dm-crypt. On the other \
 hand, the header is visible and vulnerable to damage."
 HOMEPAGE = "https://gitlab.com/cryptsetup/cryptsetup"
 SECTION = "console"
-LICENSE = "GPL-2.0-with-OpenSSL-exception"
+LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later & GPL-2.0-with-OpenSSL-exception"
 LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326"
 
 DEPENDS = " \