diff options
Diffstat (limited to 'meta-oe/recipes-crypto')
12 files changed, 162 insertions, 83 deletions
diff --git a/meta-oe/recipes-crypto/botan/botan_3.2.0.bb b/meta-oe/recipes-crypto/botan/botan_3.7.1.bb index 5eff2d383e..74f895cf3c 100644 --- a/meta-oe/recipes-crypto/botan/botan_3.2.0.bb +++ b/meta-oe/recipes-crypto/botan/botan_3.7.1.bb | |||
@@ -1,13 +1,13 @@ | |||
1 | SUMMARY = "Crypto and TLS for C++11" | 1 | SUMMARY = "Crypto and TLS for C++11" |
2 | HOMEPAGE = "https://botan.randombit.net" | 2 | HOMEPAGE = "https://botan.randombit.net" |
3 | LICENSE = "BSD-2-Clause" | 3 | LICENSE = "BSD-2-Clause" |
4 | LIC_FILES_CHKSUM = "file://license.txt;md5=f5254d3abe90ec5bb82c5694ff751546" | 4 | LIC_FILES_CHKSUM = "file://license.txt;md5=3f911cecfc74a2d9f1ead9a07bd92a6e" |
5 | SECTION = "libs" | 5 | SECTION = "libs" |
6 | 6 | ||
7 | SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz" | 7 | SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz" |
8 | SRC_URI[sha256sum] = "049c847835fcf6ef3a9e206b33de05dd38999c325e247482772a5598d9e5ece3" | 8 | SRC_URI[sha256sum] = "fc0620463461caaea8e60f06711d7e437a3ad1eebd6de4ac29c14bbd901ccd1b" |
9 | 9 | ||
10 | S = "${WORKDIR}/Botan-${PV}" | 10 | S = "${UNPACKDIR}/Botan-${PV}" |
11 | 11 | ||
12 | inherit python3native siteinfo lib_package | 12 | inherit python3native siteinfo lib_package |
13 | 13 | ||
@@ -18,8 +18,8 @@ CPU:armv7ve = "armv7" | |||
18 | 18 | ||
19 | do_configure() { | 19 | do_configure() { |
20 | python3 ${S}/configure.py \ | 20 | python3 ${S}/configure.py \ |
21 | --prefix="${D}${exec_prefix}" \ | 21 | --prefix="${exec_prefix}" \ |
22 | --libdir="${D}${libdir}" \ | 22 | --libdir="${libdir}" \ |
23 | --cpu="${CPU}" \ | 23 | --cpu="${CPU}" \ |
24 | --cc-bin="${CXX}" \ | 24 | --cc-bin="${CXX}" \ |
25 | --cxxflags="${CXXFLAGS}" \ | 25 | --cxxflags="${CXXFLAGS}" \ |
@@ -39,14 +39,27 @@ do_compile() { | |||
39 | oe_runmake | 39 | oe_runmake |
40 | } | 40 | } |
41 | do_install() { | 41 | do_install() { |
42 | oe_runmake install | 42 | oe_runmake DESTDIR=${D} install |
43 | sed -i -e "s|${D}||g" ${D}${libdir}/pkgconfig/botan-3.pc | 43 | sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h |
44 | |||
45 | # Add botan binary and test tool | ||
46 | install -d ${D}${bindir} | ||
47 | install -d ${D}${datadir}/${PN}/tests/data | ||
48 | install -m 0755 ${B}/botan-test ${D}${bindir} | ||
49 | cp -R --no-dereference --preserve=mode,links -v ${B}/src/tests/data/* ${D}${datadir}/${PN}/tests/data/ | ||
44 | } | 50 | } |
45 | 51 | ||
46 | PACKAGES += "${PN}-python3" | 52 | PACKAGES += "${PN}-test ${PN}-python3" |
47 | 53 | ||
48 | FILES:${PN}-python3 = "${libdir}/python3" | 54 | FILES:${PN}-python3 = "${libdir}/python3" |
49 | 55 | ||
50 | RDEPENDS:${PN}-python3 += "python3" | 56 | RDEPENDS:${PN}-python3 += "python3" |
51 | 57 | RDEPENDS:${PN}-bin += "${PN}" | |
58 | RDEPENDS:${PN}-test += "${PN}" | ||
59 | FILES:${PN}:remove = "${bindir}/*" | ||
60 | FILES:${PN}-bin:remove = "${bindir}/*" | ||
61 | FILES:${PN}-bin = "${bindir}/botan" | ||
62 | FILES:${PN}-test = "${bindir}/botan-test ${datadir}/${PN}/tests/data" | ||
52 | COMPATIBLE_HOST:riscv32 = "null" | 63 | COMPATIBLE_HOST:riscv32 = "null" |
64 | |||
65 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.2.bb b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb index 504c718b96..91ea446851 100644 --- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.2.bb +++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb | |||
@@ -20,7 +20,7 @@ DEPENDS:append:libc-musl = " argp-standalone" | |||
20 | LDFLAGS:append:libc-musl = " -largp" | 20 | LDFLAGS:append:libc-musl = " -largp" |
21 | 21 | ||
22 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}/${BP}.tar.xz" | 22 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}/${BP}.tar.xz" |
23 | SRC_URI[sha256sum] = "219ebf74e8eddf96624a0376477e5a6f8f350a67aaf36e7dadb114d94b3afef4" | 23 | SRC_URI[sha256sum] = "d2be4395b8f503b0ebf4b2d81db90c35a97050a358ee21fe62a0dfb66e5d5522" |
24 | 24 | ||
25 | inherit autotools gettext pkgconfig | 25 | inherit autotools gettext pkgconfig |
26 | 26 | ||
@@ -53,7 +53,7 @@ PACKAGECONFIG[veritysetup] = "--enable-veritysetup,--disable-veritysetup" | |||
53 | PACKAGECONFIG[luks2-reencryption] = "--enable-luks2-reencryption,--disable-luks2-reencryption" | 53 | PACKAGECONFIG[luks2-reencryption] = "--enable-luks2-reencryption,--disable-luks2-reencryption" |
54 | PACKAGECONFIG[integritysetup] = "--enable-integritysetup,--disable-integritysetup" | 54 | PACKAGECONFIG[integritysetup] = "--enable-integritysetup,--disable-integritysetup" |
55 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux" | 55 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux" |
56 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,,udev lvm2-udevrules" | 56 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,,,udev lvm2" |
57 | PACKAGECONFIG[kernel_crypto] = "--enable-kernel_crypto,--disable-kernel_crypto" | 57 | PACKAGECONFIG[kernel_crypto] = "--enable-kernel_crypto,--disable-kernel_crypto" |
58 | # gcrypt-pkbdf2 requries --with-crypto_backend=gcrypt or the flag isn't | 58 | # gcrypt-pkbdf2 requries --with-crypto_backend=gcrypt or the flag isn't |
59 | # recognized. | 59 | # recognized. |
diff --git a/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.5.bb b/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.6.bb index 1c2c6e21e0..840c04e52e 100644 --- a/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.5.bb +++ b/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.6.bb | |||
@@ -9,10 +9,9 @@ SECTION = "console" | |||
9 | LICENSE = "MIT" | 9 | LICENSE = "MIT" |
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bc974d217b525ea216a336adb73e1220" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bc974d217b525ea216a336adb73e1220" |
11 | 11 | ||
12 | SRCREV = "20e87c13075a8e5660a8d69fd6c93d4f7c5f01a5" | 12 | SRCREV = "2543e6e5037c0b1b448282c2793f8a6ce8b12d71" |
13 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git;branch=master" | 13 | SRC_URI = "git://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git;branch=master" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | 15 | ||
17 | DEPENDS = "openssl" | 16 | DEPENDS = "openssl" |
18 | 17 | ||
diff --git a/meta-oe/recipes-crypto/libkcapi/libkcapi_1.5.0.bb b/meta-oe/recipes-crypto/libkcapi/libkcapi_1.5.0.bb index a34614dd9d..7d27081964 100644 --- a/meta-oe/recipes-crypto/libkcapi/libkcapi_1.5.0.bb +++ b/meta-oe/recipes-crypto/libkcapi/libkcapi_1.5.0.bb | |||
@@ -3,7 +3,6 @@ HOMEPAGE = "https://www.chronox.de/libkcapi/index.html" | |||
3 | LICENSE = "BSD-3-Clause | GPL-2.0-only" | 3 | LICENSE = "BSD-3-Clause | GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3d8a091d797491204567185a6efce70f" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3d8a091d797491204567185a6efce70f" |
5 | 5 | ||
6 | S = "${WORKDIR}/git" | ||
7 | SRCREV = "fc937358e71253a6efaa3ba74885364976b040ea" | 6 | SRCREV = "fc937358e71253a6efaa3ba74885364976b040ea" |
8 | SRC_URI = "git://github.com/smuellerDD/libkcapi.git;branch=master;protocol=https \ | 7 | SRC_URI = "git://github.com/smuellerDD/libkcapi.git;branch=master;protocol=https \ |
9 | " | 8 | " |
diff --git a/meta-oe/recipes-crypto/libmcrypt/libmcrypt/0001-fix-parameter-related-unexpected-error-in-gcc-15.0.1.patch b/meta-oe/recipes-crypto/libmcrypt/libmcrypt/0001-fix-parameter-related-unexpected-error-in-gcc-15.0.1.patch new file mode 100644 index 0000000000..5e2afbab9d --- /dev/null +++ b/meta-oe/recipes-crypto/libmcrypt/libmcrypt/0001-fix-parameter-related-unexpected-error-in-gcc-15.0.1.patch | |||
@@ -0,0 +1,119 @@ | |||
1 | From 046d1474a9a367d4b7772233e026855f1b55d58c Mon Sep 17 00:00:00 2001 | ||
2 | From: "mark.yang" <mark.yang@lge.com> | ||
3 | Date: Tue, 1 Apr 2025 17:58:49 +0900 | ||
4 | Subject: [PATCH] fix parameter-related unexpected error in gcc 15.0.1 | ||
5 | |||
6 | * see more details: http://errors.yoctoproject.org/Errors/Details/850150/ | ||
7 | des.c:199:9: error: too many arguments to function 'spinit'; expected 0, have 1 | ||
8 | 199 | spinit(key); | ||
9 | | ^~~~~~ ~~~ | ||
10 | des.c:38:56: note: declared here | ||
11 | 38 | static void permute_ip(), permute_fp(), perminit_ip(), spinit(), | ||
12 | | ^~~~~~ | ||
13 | |||
14 | * Move function forward declarations to .h file to fix the following errors: | ||
15 | tripledes.c: In function '_mcrypt_desinit': | ||
16 | tripledes.c:198:18: error: passing argument 1 of 'perminit' from incompatible pointer type [-Wincompatible-pointer-types] | ||
17 | 198 | perminit(&key->iperm, ip); | ||
18 | | ^~~~~~~~~~~ | ||
19 | | | | ||
20 | | char (*)[16][16][8] | ||
21 | In file included from tripledes.c:23: | ||
22 | tripledes.h:11:27: note: expected 'char (*)[16][8]' but argument is of type 'char (*)[16][16][8]' | ||
23 | 11 | static void perminit(char perm[][16][8], char p[64]); | ||
24 | | ~~~~~^~~~~~~~~~~~~ | ||
25 | tripledes.c:199:18: error: passing argument 1 of 'perminit' from incompatible pointer type [-Wincompatible-pointer-types] | ||
26 | 199 | perminit(&key->fperm, fp); | ||
27 | | ^~~~~~~~~~~ | ||
28 | | | | ||
29 | | char (*)[16][16][8] | ||
30 | tripledes.h:11:27: note: expected 'char (*)[16][8]' but argument is of type 'char (*)[16][16][8]' | ||
31 | 11 | static void perminit(char perm[][16][8], char p[64]); | ||
32 | | ~~~~~^~~~~~~~~~~~~ | ||
33 | |||
34 | Changed parameter from &key to key | ||
35 | perminit(key->iperm, ip); | ||
36 | perminit(key->fperm, fp); | ||
37 | |||
38 | Signed-off-by: mark.yang <mark.yang@lge.com> | ||
39 | |||
40 | Upstream-Status: Pending | ||
41 | --- | ||
42 | modules/algorithms/des.c | 5 ----- | ||
43 | modules/algorithms/des.h | 6 ++++++ | ||
44 | modules/algorithms/tripledes.c | 8 ++------ | ||
45 | modules/algorithms/tripledes.h | 5 +++++ | ||
46 | 4 files changed, 13 insertions(+), 11 deletions(-) | ||
47 | |||
48 | diff --git a/modules/algorithms/des.c b/modules/algorithms/des.c | ||
49 | index 5810811..695e740 100644 | ||
50 | --- a/modules/algorithms/des.c | ||
51 | +++ b/modules/algorithms/des.c | ||
52 | @@ -35,11 +35,6 @@ | ||
53 | |||
54 | /* #define NULL 0 */ | ||
55 | |||
56 | -static void permute_ip(), permute_fp(), perminit_ip(), spinit(), | ||
57 | -perminit_fp(); | ||
58 | -static word32 f(); | ||
59 | - | ||
60 | - | ||
61 | /* Tables defined in the Data Encryption Standard documents */ | ||
62 | |||
63 | /* initial permutation IP */ | ||
64 | diff --git a/modules/algorithms/des.h b/modules/algorithms/des.h | ||
65 | index c333c5b..65dba63 100644 | ||
66 | --- a/modules/algorithms/des.h | ||
67 | +++ b/modules/algorithms/des.h | ||
68 | @@ -5,3 +5,9 @@ typedef struct des_key { | ||
69 | char fperm[16][16][8]; | ||
70 | } DES_KEY; | ||
71 | |||
72 | +static void permute_ip(char *inblock, DES_KEY * key, char *outblock); | ||
73 | +static void permute_fp(char *inblock, DES_KEY * key, char *outblock); | ||
74 | +static void perminit_ip(DES_KEY * key); | ||
75 | +static void spinit(DES_KEY * key); | ||
76 | +static void perminit_fp(DES_KEY * key); | ||
77 | +static word32 f(DES_KEY * key, register word32 r, register char *subkey); | ||
78 | diff --git a/modules/algorithms/tripledes.c b/modules/algorithms/tripledes.c | ||
79 | index 7b3c324..67985db 100644 | ||
80 | --- a/modules/algorithms/tripledes.c | ||
81 | +++ b/modules/algorithms/tripledes.c | ||
82 | @@ -36,10 +36,6 @@ | ||
83 | |||
84 | /* #define NULL 0 */ | ||
85 | |||
86 | -static void permute(), perminit(), spinit(); | ||
87 | -static word32 f(); | ||
88 | - | ||
89 | - | ||
90 | /* Tables defined in the Data Encryption Standard documents */ | ||
91 | |||
92 | /* initial permutation IP */ | ||
93 | @@ -199,8 +195,8 @@ static int _mcrypt_desinit(TRIPLEDES_KEY * key) | ||
94 | spinit(key, 0); | ||
95 | spinit(key, 1); | ||
96 | spinit(key, 2); | ||
97 | - perminit(&key->iperm, ip); | ||
98 | - perminit(&key->fperm, fp); | ||
99 | + perminit(key->iperm, ip); | ||
100 | + perminit(key->fperm, fp); | ||
101 | |||
102 | |||
103 | return 0; | ||
104 | diff --git a/modules/algorithms/tripledes.h b/modules/algorithms/tripledes.h | ||
105 | index dec7682..10c7bc6 100644 | ||
106 | --- a/modules/algorithms/tripledes.h | ||
107 | +++ b/modules/algorithms/tripledes.h | ||
108 | @@ -7,3 +7,8 @@ typedef struct triple_des_key { | ||
109 | |||
110 | } TRIPLEDES_KEY; | ||
111 | |||
112 | +static void permute(char *inblock, char perm[16][16][8], char *outblock); | ||
113 | +static void perminit(char perm[16][16][8], char p[64]); | ||
114 | +static void spinit(TRIPLEDES_KEY * key, int pos); | ||
115 | +static word32 f(TRIPLEDES_KEY * key, int pos, register word32 r, register char *subkey); | ||
116 | + | ||
117 | -- | ||
118 | 2.34.1 | ||
119 | |||
diff --git a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb index cfa056d71d..c55a01d3b9 100644 --- a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb +++ b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb | |||
@@ -4,9 +4,11 @@ LICENSE = "LGPL-2.1-only" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" | 4 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" |
5 | DEPENDS = "libtool" | 5 | DEPENDS = "libtool" |
6 | 6 | ||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz" | 7 | SRC_URI = " \ |
8 | ${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz \ | ||
9 | file://0001-fix-parameter-related-unexpected-error-in-gcc-15.0.1.patch \ | ||
10 | " | ||
8 | 11 | ||
9 | SRC_URI[md5sum] = "0821830d930a86a5c69110837c55b7da" | ||
10 | SRC_URI[sha256sum] = "e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e" | 12 | SRC_URI[sha256sum] = "e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e" |
11 | 13 | ||
12 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcrypt/files/Libmcrypt/" | 14 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcrypt/files/Libmcrypt/" |
diff --git a/meta-oe/recipes-crypto/libsodium/libsodium/0001-fix-aarch64-Move-target-pragma-after-arm_neon.h-incl.patch b/meta-oe/recipes-crypto/libsodium/libsodium/0001-fix-aarch64-Move-target-pragma-after-arm_neon.h-incl.patch deleted file mode 100644 index 7a6fae7997..0000000000 --- a/meta-oe/recipes-crypto/libsodium/libsodium/0001-fix-aarch64-Move-target-pragma-after-arm_neon.h-incl.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | From d3253310f7c0fc0f1aad6864e3b57958ea1bb9c5 Mon Sep 17 00:00:00 2001 | ||
2 | From: tux3 <barrdetwix@gmail.com> | ||
3 | Date: Mon, 16 Oct 2023 16:42:04 +0200 | ||
4 | Subject: [PATCH] fix(aarch64): Move target #pragma after arm_neon.h include | ||
5 | |||
6 | Fix per https://github.com/android/ndk/issues/1945 | ||
7 | |||
8 | If the pragma is done before the header include, | ||
9 | in NDK 26 the attribute may apply to the functions in arm_neon.h | ||
10 | |||
11 | Upstream-Status: Backport [https://github.com/jedisct1/libsodium/pull/1321] | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | .../aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c | 12 ++++++------ | ||
15 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
16 | |||
17 | diff --git a/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c b/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c | ||
18 | index 0a5a128..aa76f5c 100644 | ||
19 | --- a/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c | ||
20 | +++ b/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c | ||
21 | @@ -19,12 +19,6 @@ | ||
22 | #define __vectorcall | ||
23 | #endif | ||
24 | |||
25 | -#ifdef __clang__ | ||
26 | -#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function) | ||
27 | -#elif defined(__GNUC__) | ||
28 | -#pragma GCC target("+simd+crypto") | ||
29 | -#endif | ||
30 | - | ||
31 | #ifndef __ARM_FEATURE_CRYPTO | ||
32 | #define __ARM_FEATURE_CRYPTO 1 | ||
33 | #endif | ||
34 | @@ -34,6 +28,12 @@ | ||
35 | |||
36 | #include <arm_neon.h> | ||
37 | |||
38 | +#ifdef __clang__ | ||
39 | +#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function) | ||
40 | +#elif defined(__GNUC__) | ||
41 | +#pragma GCC target("+simd+crypto") | ||
42 | +#endif | ||
43 | + | ||
44 | #define ABYTES crypto_aead_aes256gcm_ABYTES | ||
45 | #define NPUBBYTES crypto_aead_aes256gcm_NPUBBYTES | ||
46 | #define KEYBYTES crypto_aead_aes256gcm_KEYBYTES | ||
47 | -- | ||
48 | 2.42.1 | ||
49 | |||
diff --git a/meta-oe/recipes-crypto/libsodium/libsodium_1.0.19.bb b/meta-oe/recipes-crypto/libsodium/libsodium_1.0.19.bb deleted file mode 100644 index 2e678f3f0f..0000000000 --- a/meta-oe/recipes-crypto/libsodium/libsodium_1.0.19.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | SUMMARY = "The Sodium crypto library" | ||
2 | HOMEPAGE = "http://libsodium.org/" | ||
3 | BUGTRACKER = "https://github.com/jedisct1/libsodium/issues" | ||
4 | LICENSE = "ISC" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=49ce3b426e6a002e23a1387248e6dbe9" | ||
6 | |||
7 | SRC_URI = "https://download.libsodium.org/libsodium/releases/${BPN}-${PV}.tar.gz \ | ||
8 | file://0001-fix-aarch64-Move-target-pragma-after-arm_neon.h-incl.patch" | ||
9 | SRC_URI[sha256sum] = "018d79fe0a045cca07331d37bd0cb57b2e838c51bc48fd837a1472e50068bbea" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | S = "${WORKDIR}/libsodium-stable" | ||
14 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-crypto/libsodium/libsodium_1.0.20.bb b/meta-oe/recipes-crypto/libsodium/libsodium_1.0.20.bb new file mode 100644 index 0000000000..63d21576b4 --- /dev/null +++ b/meta-oe/recipes-crypto/libsodium/libsodium_1.0.20.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "The Sodium crypto library" | ||
2 | HOMEPAGE = "http://libsodium.org/" | ||
3 | BUGTRACKER = "https://github.com/jedisct1/libsodium/issues" | ||
4 | LICENSE = "ISC" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c59be7bb29f8e431b5f2d690b6734185" | ||
6 | |||
7 | SRC_URI = "https://download.libsodium.org/libsodium/releases/${BPN}-${PV}.tar.gz" | ||
8 | SRC_URI[sha256sum] = "ebb65ef6ca439333c2bb41a0c1990587288da07f6c7fd07cb3a18cc18d30ce19" | ||
9 | |||
10 | inherit autotools | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb b/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb index 5479007d92..a9a147c35b 100644 --- a/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb +++ b/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb | |||
@@ -21,7 +21,6 @@ SRC_URI = "git://github.com/libtom/libtomcrypt.git;protocol=https;branch=master | |||
21 | 21 | ||
22 | SRCREV = "7e7eb695d581782f04b24dc444cbfde86af59853" | 22 | SRCREV = "7e7eb695d581782f04b24dc444cbfde86af59853" |
23 | 23 | ||
24 | S = "${WORKDIR}/git" | ||
25 | 24 | ||
26 | inherit pkgconfig | 25 | inherit pkgconfig |
27 | 26 | ||
diff --git a/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb b/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb index 813c6ec4c8..a601d88e7c 100644 --- a/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb +++ b/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb | |||
@@ -11,7 +11,7 @@ SRC_URI[sha512sum] = "bf275d4c53ff94af6cdc723a4e002e9f080f4d1436c86c76bb37870b34 | |||
11 | 11 | ||
12 | MIRRORS = "https://.*/.* https://github.com/LoupVaillant/Monocypher/releases/download/${PV}/${BPN}-${PV}.tar.gz " | 12 | MIRRORS = "https://.*/.* https://github.com/LoupVaillant/Monocypher/releases/download/${PV}/${BPN}-${PV}.tar.gz " |
13 | 13 | ||
14 | S = "${WORKDIR}/${BPN}-${PV}" | 14 | S = "${UNPACKDIR}/${BPN}-${PV}" |
15 | 15 | ||
16 | CFLAGS += "-pedantic -Wall -Wextra -O3" | 16 | CFLAGS += "-pedantic -Wall -Wextra -O3" |
17 | EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 'LIBDIR=${libdir}'" | 17 | EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 'LIBDIR=${libdir}'" |
diff --git a/meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.30.0.bb b/meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.30.0.bb index d3922cf79e..15d0aefc36 100644 --- a/meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.30.0.bb +++ b/meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.30.0.bb | |||
@@ -17,7 +17,6 @@ LIC_FILES_CHKSUM = " \ | |||
17 | " | 17 | " |
18 | SRC_URI = "git://github.com/OpenSC/${BPN}.git;branch=master;protocol=https" | 18 | SRC_URI = "git://github.com/OpenSC/${BPN}.git;branch=master;protocol=https" |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | ||
21 | # master | 20 | # master |
22 | SRCREV = "8bed16034f629a0361fa8ff89deed2b43dc45d8b" | 21 | SRCREV = "8bed16034f629a0361fa8ff89deed2b43dc45d8b" |
23 | PV .= "+1.30.0+git" | 22 | PV .= "+1.30.0+git" |