diff mbox series

[meta-oe,2/2] cryptsetup: extend licenses with Apache and CC

Message ID 20251020180022.3398560-2-skandigraun@gmail.com
State New
Headers show
Series [meta-oe,1/2] cryptsetup: Update the license field | expand

Commit Message

Gyorgy Sarvari Oct. 20, 2025, 6 p.m. UTC
The project's readme indicates that some parts of the code is covered
by Apache and CC licenses - add them to the RECIPE accordingly.

Reported-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Comments

Peter Kjellerstedt Oct. 20, 2025, 7:38 p.m. UTC | #1
> -----Original Message-----
> From: Gyorgy Sarvari <skandigraun@gmail.com>
> Sent: den 20 oktober 2025 20:00
> To: openembedded-devel@lists.openembedded.org
> Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> Subject: [meta-oe][PATCH 2/2] cryptsetup: extend licenses with Apache and CC

Apache -> Apache-2.0
CC -> CC-BY-SA-4.0

> 
> The project's readme indicates that some parts of the code is covered
> by Apache and CC licenses - add them to the RECIPE accordingly.
> 
> Reported-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
> ---
>  meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
> 
> 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 c297de053d..f2dc5d9b46 100644
> --- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
> +++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
> @@ -6,8 +6,13 @@ 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 = "LGPL-2.1-or-later & GPL-2.0-or-later & GPL-2.0-with-OpenSSL-exception"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326"
> +LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later & GPL-2.0-with-OpenSSL-exception & Apache-2.0 & CC-BY-SA-4.0"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326 \
> +                    file://docs/licenses/COPYING.Apache-2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \
> +                    file://docs/licenses/COPYING.CC-BY-SA-4.0;md5=b296faaab9c17d5874fd17967df54736 \
> +                    file://docs/licenses/COPYING.GPL-2.0-or-later-WITH-cryptsetup-OpenSSL-exception;md5=32107dd283b1dfeb66c9b3e6be312326 \
> +                    file://docs/licenses/COPYING.LGPL-2.1-or-later-WITH-cryptsetup-OpenSSL-exception;md5=1960515788100ce5f9c98ea78a65dc52 \
> +                    file://README.licensing;md5=45c1ba157f18d08991819f41f56d72e9"
> 
>  DEPENDS = " \
>      json-c \

If you are going to include CC-BY-SA-4.0 in LICENSE, then you also need 
to set LICENSE:<pkg> for all packages that this recipe produces. The 
license is only used for the FAQ.md file, which does not affect the output 
of any package.

//Peter
Gyorgy Sarvari Oct. 20, 2025, 7:44 p.m. UTC | #2
On 10/20/25 21:38, Peter Kjellerstedt wrote:
>> -----Original Message-----
>> From: Gyorgy Sarvari <skandigraun@gmail.com>
>> Sent: den 20 oktober 2025 20:00
>> To: openembedded-devel@lists.openembedded.org
>> Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
>> Subject: [meta-oe][PATCH 2/2] cryptsetup: extend licenses with Apache and CC
> Apache -> Apache-2.0
> CC -> CC-BY-SA-4.0
>
>> The project's readme indicates that some parts of the code is covered
>> by Apache and CC licenses - add them to the RECIPE accordingly.
>>
>> Reported-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
>> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
>> ---
>>  meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb | 9 +++++++--
>>  1 file changed, 7 insertions(+), 2 deletions(-)
>>
>> 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 c297de053d..f2dc5d9b46 100644
>> --- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
>> +++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
>> @@ -6,8 +6,13 @@ 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 = "LGPL-2.1-or-later & GPL-2.0-or-later & GPL-2.0-with-OpenSSL-exception"
>> -LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326"
>> +LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later & GPL-2.0-with-OpenSSL-exception & Apache-2.0 & CC-BY-SA-4.0"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326 \
>> +                    file://docs/licenses/COPYING.Apache-2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \
>> +                    file://docs/licenses/COPYING.CC-BY-SA-4.0;md5=b296faaab9c17d5874fd17967df54736 \
>> +                    file://docs/licenses/COPYING.GPL-2.0-or-later-WITH-cryptsetup-OpenSSL-exception;md5=32107dd283b1dfeb66c9b3e6be312326 \
>> +                    file://docs/licenses/COPYING.LGPL-2.1-or-later-WITH-cryptsetup-OpenSSL-exception;md5=1960515788100ce5f9c98ea78a65dc52 \
>> +                    file://README.licensing;md5=45c1ba157f18d08991819f41f56d72e9"
>>
>>  DEPENDS = " \
>>      json-c \
> If you are going to include CC-BY-SA-4.0 in LICENSE, then you also need 
> to set LICENSE:<pkg> for all packages that this recipe produces. The 
> license is only used for the FAQ.md file, which does not affect the output 
> of any package.
>
> //Peter
>
True, thanks for that. I thought that argon library was relicensed since
kirkstone, but I only assumed that without checking it the actual
content under this cc license. Will send a new version.
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 c297de053d..f2dc5d9b46 100644
--- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
+++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb
@@ -6,8 +6,13 @@  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 = "LGPL-2.1-or-later & GPL-2.0-or-later & GPL-2.0-with-OpenSSL-exception"
-LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326"
+LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later & GPL-2.0-with-OpenSSL-exception & Apache-2.0 & CC-BY-SA-4.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326 \
+                    file://docs/licenses/COPYING.Apache-2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+                    file://docs/licenses/COPYING.CC-BY-SA-4.0;md5=b296faaab9c17d5874fd17967df54736 \
+                    file://docs/licenses/COPYING.GPL-2.0-or-later-WITH-cryptsetup-OpenSSL-exception;md5=32107dd283b1dfeb66c9b3e6be312326 \
+                    file://docs/licenses/COPYING.LGPL-2.1-or-later-WITH-cryptsetup-OpenSSL-exception;md5=1960515788100ce5f9c98ea78a65dc52 \
+                    file://README.licensing;md5=45c1ba157f18d08991819f41f56d72e9"
 
 DEPENDS = " \
     json-c \