Install headers so that dependencies can use this to build against. Make
`brssl` executable, fixup library soname.
Changes:
Thomas Pornin (4):
Added generic API for date range validation (with callbacks).
Fixed RSA PSS verificatiobn bug (when hash_len != salt_len).
Added macro that indicates presence of the time callback feature. Also
added C++ compatibility.
Fixed spurious warning about old-style prototype.
Signed-off-by: Alex Kiernan <[email protected]>
---
.../recipes-connectivity/bearssl/bearssl_0.6.bb | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb
b/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb
index 777ba2270bc1..133bc669e373 100644
--- a/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb
+++ b/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb
@@ -24,24 +24,28 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1fc37e1037ae673975fbcb96a98f7191"
PV .= "+git${SRCPV}"
-SRCREV = "79b1a9996c094ff593ae50bc4edc1f349f39dd6d"
+SRCREV = "79c060eea3eea1257797f15ea1608a9a9923aa6f"
SRC_URI = "git://www.bearssl.org/git/BearSSL;protocol=https;branch=master \
file://0001-conf-Unix.mk-remove-fixed-command-definitions.patch \
file://0002-test-test_x509.c-fix-potential-overflow-issue.patch \
file://0001-make-Pass-LDFLAGS-when-building-shared-objects.patch \
"
+SONAME = "libbearssl.so.6"
# without compile errors like
# <..>/ld: build/obj/ghash_pclmul.o: warning: relocation against
`br_ghash_pclmul' in read-only section `.text'
CFLAGS += "-fPIC"
+EXTRA_OEMAKE += 'BEARSSLDLL=build/${SONAME} LDDLLFLAGS="-shared
-Wl,-soname,${SONAME}"'
+
S = "${WORKDIR}/git"
B = "${S}"
do_install() {
- mkdir -p ${D}/${bindir} ${D}/${libdir}
- install -m 0644 ${B}/build/brssl ${D}/${bindir}
- install -m 0644 ${B}/build/libbearssl.so ${D}/${libdir}/libbearssl.so.6.0.0
- ln -s libbearssl.so.6.0.0 ${D}/${libdir}/libbearssl.so.6
- ln -s libbearssl.so.6.0.0 ${D}/${libdir}/libbearssl.so
+ install -d ${D}/${bindir} ${D}/${libdir} ${D}/${includedir}
+ install -m 0755 ${B}/build/brssl ${D}/${bindir}
+ oe_libinstall -C ${B}/build libbearssl ${D}/${libdir}
+ for inc in ${S}/inc/*.h; do
+ install -m 0644 "${inc}" ${D}/${includedir}
+ done
}
--
2.39.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107772):
https://lists.openembedded.org/g/openembedded-devel/message/107772
Mute This Topic: https://lists.openembedded.org/mt/103333515/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-