diff --git a/package/swupdate/0001-build-fix-no-crypto-configuration-link-failure.patch b/package/swupdate/0001-build-fix-no-crypto-configuration-link-failure.patch deleted file mode 100644 index 15f33aa3ab..0000000000 --- a/package/swupdate/0001-build-fix-no-crypto-configuration-link-failure.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 4e7c2f6c4b978efae69d777705de84411a01c147 Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Tue, 24 Mar 2026 14:23:58 -0600 -Subject: [PATCH] build: fix no-crypto configuration link failure - -When no crypto backend is selected, the crypto directory contributes -no objects, so this kbuild variant does not generate -crypto/built-in.o. - -The top-level build still linked that file unconditionally, causing -the final link to fail. - -Introduce a hidden SWUPDATE_CRYPTO helper selected by the Kconfig -options that actually populate crypto/, and only descend into the -crypto directory when that helper is enabled. - -Upstream: https://github.com/sbabic/swupdate/commit/10334fb21796b75f3a1208a3d5a98a307712218b -Signed-off-by: James Hilliard -Signed-off-by: Giulio Benetti ---- - Makefile | 3 ++- - crypto/Kconfig | 5 +++++ - 2 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index aa9604aa..759fd191 100644 ---- a/Makefile -+++ b/Makefile -@@ -369,7 +369,8 @@ include $(srctree)/Makefile.flags - # This allow a user to issue only 'make' to build a kernel including modules - # Defaults to vmlinux, but the arch makefile usually adds further targets - --objs-y := core handlers crypto bootloader suricatta -+objs-y := core handlers bootloader suricatta -+objs-$(CONFIG_SWUPDATE_CRYPTO) += crypto - libs-y := corelib mongoose parser fs containers - bindings-y := bindings - tools-y := tools -diff --git a/crypto/Kconfig b/crypto/Kconfig -index 4b9db821..cc953542 100644 ---- a/crypto/Kconfig -+++ b/crypto/Kconfig -@@ -23,9 +23,13 @@ menu "Crypto libraries" - depends on HAVE_GPGME - endmenu - -+config SWUPDATE_CRYPTO -+ bool -+ - config HASH_VERIFY - bool "Allow to add sha256 hash to each image" - depends on SSL_IMPL_OPENSSL || SSL_IMPL_WOLFSSL || SSL_IMPL_MBEDTLS -+ select SWUPDATE_CRYPTO - help - Allow to add a sha256 hash to an artifact. - This is automatically set in case of Signed Image -@@ -83,6 +87,7 @@ menu "Encryption" - config ENCRYPTED_IMAGES - bool "Images can be encrypted with a symmetric key" - depends on SSL_IMPL_OPENSSL || SSL_IMPL_WOLFSSL || SSL_IMPL_MBEDTLS -+ select SWUPDATE_CRYPTO - comment "Image encryption needs an SSL implementation" - depends on !SSL_IMPL_OPENSSL && !SSL_IMPL_WOLFSSL && !SSL_IMPL_MBEDTLS - --- -2.47.3 - diff --git a/package/swupdate/swupdate.hash b/package/swupdate/swupdate.hash index b3f43648f8..06583ade35 100644 --- a/package/swupdate/swupdate.hash +++ b/package/swupdate/swupdate.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 8517f3730eeb66e20e651b881dd4b9c10ca9ae05e3883db59b5df18ab1eaa533 swupdate-2025.12.tar.gz +sha256 fd70cdfc7224b4209f5f657c3d6052688412325ea5d4e9e792575fa22eb65cef swupdate-2026.05.tar.gz sha256 4cf04ed34ff0ebbf5c71345b56e6af5093fc17206364cca0ebbae92ef3940683 LICENSES/BSD-1-Clause.txt sha256 e27a3e87706b3aa5ff2e50eaafe2e6ed5397fbf2d7679eaf444a6d000518a3a6 LICENSES/BSD-3-Clause.txt sha256 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192 LICENSES/CC0-1.0.txt diff --git a/package/swupdate/swupdate.mk b/package/swupdate/swupdate.mk index b2778d2aec..983cd6eccc 100644 --- a/package/swupdate/swupdate.mk +++ b/package/swupdate/swupdate.mk @@ -4,7 +4,7 @@ # ################################################################################ -SWUPDATE_VERSION = 2025.12 +SWUPDATE_VERSION = 2026.05 SWUPDATE_SITE = $(call github,sbabic,swupdate,$(SWUPDATE_VERSION)) SWUPDATE_LICENSE = GPL-2.0, GPL-2.0+, LGPL-2.1+, MIT, ISC, BSD-1-Clause, BSD-3-Clause, CC0-1.0, CC-BY-SA-4.0, OFL-1.1 SWUPDATE_LICENSE_FILES = LICENSES/BSD-1-Clause.txt \