summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-crypto
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-crypto
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-crypto')
-rw-r--r--meta-oe/recipes-crypto/botan/botan_2.18.1.bb12
-rw-r--r--meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.3.6.bb8
-rw-r--r--meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.4.bb8
-rw-r--r--meta-oe/recipes-crypto/libkcapi/libkcapi_1.2.1.bb4
4 files changed, 16 insertions, 16 deletions
diff --git a/meta-oe/recipes-crypto/botan/botan_2.18.1.bb b/meta-oe/recipes-crypto/botan/botan_2.18.1.bb
index 041eff039d..62872ff852 100644
--- a/meta-oe/recipes-crypto/botan/botan_2.18.1.bb
+++ b/meta-oe/recipes-crypto/botan/botan_2.18.1.bb
@@ -12,9 +12,9 @@ S = "${WORKDIR}/Botan-${PV}"
12inherit python3native siteinfo lib_package 12inherit python3native siteinfo lib_package
13 13
14CPU ?= "${TARGET_ARCH}" 14CPU ?= "${TARGET_ARCH}"
15CPU_x86 = "x86_32" 15CPU:x86 = "x86_32"
16CPU_armv7a = "armv7" 16CPU:armv7a = "armv7"
17CPU_armv7ve = "armv7" 17CPU:armv7ve = "armv7"
18 18
19do_configure() { 19do_configure() {
20 python3 ${S}/configure.py \ 20 python3 ${S}/configure.py \
@@ -45,8 +45,8 @@ do_install() {
45 45
46PACKAGES += "${PN}-python3" 46PACKAGES += "${PN}-python3"
47 47
48FILES_${PN}-python3 = "${libdir}/python3" 48FILES:${PN}-python3 = "${libdir}/python3"
49 49
50RDEPENDS_${PN}-python3 += "python3" 50RDEPENDS:${PN}-python3 += "python3"
51 51
52COMPATIBLE_HOST_riscv32 = "null" 52COMPATIBLE_HOST:riscv32 = "null"
diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.3.6.bb b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.3.6.bb
index 9e83b90eab..50ffce2d78 100644
--- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.3.6.bb
+++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.3.6.bb
@@ -37,7 +37,7 @@ PACKAGECONFIG ??= " \
37 luks-adjust-xts-keysize \ 37 luks-adjust-xts-keysize \
38 openssl \ 38 openssl \
39" 39"
40PACKAGECONFIG_append_class-target = " \ 40PACKAGECONFIG:append:class-target = " \
41 udev \ 41 udev \
42" 42"
43 43
@@ -75,13 +75,13 @@ EXTRA_OECONF += "--disable-static-cryptsetup"
75# There's no recipe for libargon2 yet 75# There's no recipe for libargon2 yet
76EXTRA_OECONF += "--disable-libargon2" 76EXTRA_OECONF += "--disable-libargon2"
77 77
78FILES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf', '', d)}" 78FILES:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf', '', d)}"
79 79
80RDEPENDS_${PN} = " \ 80RDEPENDS:${PN} = " \
81 libdevmapper \ 81 libdevmapper \
82" 82"
83 83
84RRECOMMENDS_${PN}_class-target = " \ 84RRECOMMENDS:${PN}:class-target = " \
85 kernel-module-aes-generic \ 85 kernel-module-aes-generic \
86 kernel-module-dm-crypt \ 86 kernel-module-dm-crypt \
87 kernel-module-md5 \ 87 kernel-module-md5 \
diff --git a/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.4.bb b/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.4.bb
index a39aeb617e..e26820f780 100644
--- a/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.4.bb
+++ b/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.4.bb
@@ -16,16 +16,16 @@ S = "${WORKDIR}/git"
16 16
17DEPENDS = "openssl" 17DEPENDS = "openssl"
18 18
19EXTRA_OEMAKE_append = "PREFIX=${prefix} USE_SHARED_LIB=1" 19EXTRA_OEMAKE:append = "PREFIX=${prefix} USE_SHARED_LIB=1"
20# We want to statically link the binary to libfsverity on native Windows 20# We want to statically link the binary to libfsverity on native Windows
21EXTRA_OEMAKE_remove_mingw32_class-nativesdk = "USE_SHARED_LIB=1" 21EXTRA_OEMAKE:remove:mingw32:class-nativesdk = "USE_SHARED_LIB=1"
22EXTRA_OEMAKE_remove_mingw32_class-native = "USE_SHARED_LIB=1" 22EXTRA_OEMAKE:remove:mingw32:class-native = "USE_SHARED_LIB=1"
23 23
24do_install() { 24do_install() {
25 oe_runmake install DESTDIR=${D} 25 oe_runmake install DESTDIR=${D}
26} 26}
27 27
28PACKAGES =+ "libfsverity" 28PACKAGES =+ "libfsverity"
29FILES_libfsverity = "${libdir}/libfsverity*${SOLIBS}" 29FILES:libfsverity = "${libdir}/libfsverity*${SOLIBS}"
30 30
31BBCLASSEXTEND = "native nativesdk" 31BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-crypto/libkcapi/libkcapi_1.2.1.bb b/meta-oe/recipes-crypto/libkcapi/libkcapi_1.2.1.bb
index e76fba09c3..e86b9dcf99 100644
--- a/meta-oe/recipes-crypto/libkcapi/libkcapi_1.2.1.bb
+++ b/meta-oe/recipes-crypto/libkcapi/libkcapi_1.2.1.bb
@@ -17,7 +17,7 @@ PACKAGECONFIG ??= ""
17PACKAGECONFIG[testapp] = "--enable-kcapi-test,,,bash" 17PACKAGECONFIG[testapp] = "--enable-kcapi-test,,,bash"
18PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp,,," 18PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp,,,"
19 19
20do_install_append() { 20do_install:append() {
21 # bindir contains testapp and apps. However it is always created, even 21 # bindir contains testapp and apps. However it is always created, even
22 # when no binaries are installed (empty bin_PROGRAMS in Makefile.am), 22 # when no binaries are installed (empty bin_PROGRAMS in Makefile.am),
23 rmdir --ignore-fail-on-non-empty ${D}${bindir} 23 rmdir --ignore-fail-on-non-empty ${D}${bindir}
@@ -27,4 +27,4 @@ do_install_append() {
27 rm -f ${D}${libdir}/.*.hmac 27 rm -f ${D}${libdir}/.*.hmac
28} 28}
29 29
30CPPFLAGS_append_libc-musl_toolchain-clang = " -Wno-error=sign-compare" 30CPPFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare"