diff mbox series

[meta-oe,01/11] botan: Upgrade to 3.9.0

Message ID 20251025034017.2071643-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,01/11] botan: Upgrade to 3.9.0 | expand

Commit Message

Khem Raj Oct. 25, 2025, 3:40 a.m. UTC
Drop unsupported configure options
Fix reproducible builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../botan/{botan_3.7.1.bb => botan_3.9.0.bb}              | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-crypto/botan/{botan_3.7.1.bb => botan_3.9.0.bb} (86%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-crypto/botan/botan_3.7.1.bb b/meta-oe/recipes-crypto/botan/botan_3.9.0.bb
similarity index 86%
rename from meta-oe/recipes-crypto/botan/botan_3.7.1.bb
rename to meta-oe/recipes-crypto/botan/botan_3.9.0.bb
index 74f895cf3c..77bd0d007f 100644
--- a/meta-oe/recipes-crypto/botan/botan_3.7.1.bb
+++ b/meta-oe/recipes-crypto/botan/botan_3.9.0.bb
@@ -5,7 +5,7 @@  LIC_FILES_CHKSUM = "file://license.txt;md5=3f911cecfc74a2d9f1ead9a07bd92a6e"
 SECTION = "libs"

 SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz"
-SRC_URI[sha256sum] = "fc0620463461caaea8e60f06711d7e437a3ad1eebd6de4ac29c14bbd901ccd1b"
+SRC_URI[sha256sum] = "8c3f284b58ddd42e8e43e9fa86a7129d87ea7c3f776a80d3da63ec20722b0883"

 S = "${UNPACKDIR}/Botan-${PV}"

@@ -24,8 +24,6 @@  do_configure() {
 	--cc-bin="${CXX}" \
 	--cxxflags="${CXXFLAGS}" \
 	--ldflags="${LDFLAGS}" \
-	--with-endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \
-	${@bb.utils.contains("TUNE_FEATURES","neon","","--disable-neon",d)} \
 	--with-sysroot-dir=${STAGING_DIR_HOST} \
 	--with-build-dir="${B}" \
 	--optimize-for-size \
@@ -36,12 +34,14 @@  do_configure() {
 }

 do_compile() {
+	sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${B}/build/target_info.h
 	oe_runmake
 }
+
 do_install() {
 	oe_runmake DESTDIR=${D} install
 	sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h
-
+
 	# Add botan binary and test tool
 	install -d ${D}${bindir}
 	install -d ${D}${datadir}/${PN}/tests/data