Skip to contentSkip to conversation

cryptsetup: Update the license field

PATCH New Gyorgy Sarvari 1 participant 2 messages Oct 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 cryptsetup: Update the license field

From: Sana Kazi <[email protected]>

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

---
v2: no change

 meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb +1 -1
index b5be30cbb2..c297de053d 100644
@@ -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 = " \
#1 lore raw

PATCH v2 2/2 cryptsetup: extend licenses with Apache-2.0

The project's readme indicates that some parts of the code is covered by Apache license - add it to the RECIPE accordingly.

---

v2: remove CC license, as it only covers non-code FAQ

 meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.8.1.bb +6 -2
index c297de053d..a77d488f44 100644
@@ -6,8 +6,12 @@ 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"
+LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326 \
+                    file://docs/licenses/COPYING.Apache-2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+                    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 \