Skip to contentSkip to conversation

package/uhttpd: bump version, fix cmake 4 compatibility

PATCH In review Bernd Kuhls 2 participants 2 messages May 27 – Aug 20

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/uhttpd: bump version, fix cmake 4 compatibility

This bump includes upstream commit
https://git.openwrt.org/?p=project/uhttpd.git;a=commitdiff;h=ebb92e6b339b88bbc6b76501b6603c52d4887ba1
which fixes cmake 4 builds. No backports necessary because the cmake 4 bump commit e46695bbe4ab583f39f9448f3ef3e044efa28808 is not present in any older branches.

Updated hash of header file which is used as license file due to upstream commits:
https://github.com/openwrt/uhttpd/commits/master/uhttpd.h

Disabled new configure option UCODE_SUPPORT which was added by upstream commit:
https://git.openwrt.org/?p=project/uhttpd.git;a=commitdiff;h=3ceccd02d86bf4d6609f46d8b30963cc52034cc2

Fixes:
https://autobuild.buildroot.net/results/cc2/cc265d34aed684b88032edd04ca0fc88186ec676/

---
v2: added result of Gitlab pipeline

    https://gitlab.com/bkuhls/buildroot/-/pipelines/2556954129

Please note that this pipeline also tested
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
where ustream-ssl was enabled as optional dependency.

 package/uhttpd/uhttpd.hash | 4 ++--
 package/uhttpd/uhttpd.mk   | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
package/uhttpd/uhttpd.hash +2 -2
index e84d2dc3ed..015a04af5a 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  397aa4bccc4acb06031270d4a549fb266fec3950a88fe3523f0d7de74caff010  uhttpd-15346de8d3ba422002496526ee24c62a3601ab8c-git4.tar.gz
-sha256  ce1803f83f776cc88661e303fede0e5ff52faf1d9f74508fadbecf7705b4c84d  uhttpd.h
+sha256  5835ced5fd67358b95c07d41a3e2a5991719048f99b5d43bf191287524d8fabe  uhttpd-506e24987b97fbc866005bfb71316bd63601a1ef-git4.tar.gz
+sha256  b98de120bce554de7d205fbc5734c2b72973e55ce36ef6403510c4583cbe2e14  uhttpd.h
package/uhttpd/uhttpd.mk +2 -1
index f4fcccfa67..2adf409487 100644
@@ -4,12 +4,13 @@
 #
 ################################################################################
 
-UHTTPD_VERSION = 15346de8d3ba422002496526ee24c62a3601ab8c
+UHTTPD_VERSION = 506e24987b97fbc866005bfb71316bd63601a1ef
 UHTTPD_SITE = https://git.openwrt.org/project/uhttpd.git
 UHTTPD_SITE_METHOD = git
 UHTTPD_LICENSE = ISC
 UHTTPD_LICENSE_FILES = uhttpd.h
 UHTTPD_DEPENDENCIES = libubox json-c
+UHTTPD_CONF_OPTS += -DUCODE_SUPPORT=OFF
 
 ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
 UHTTPD_DEPENDENCIES += libxcrypt
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · Bernd Kuhls

This bump includes upstream commit
https://git.openwrt.org/?p=project/uhttpd.git;a=commitdiff;h=ebb92e6b339b88bbc6b76501b6603c52d4887ba1
which fixes cmake 4 builds. No backports necessary because the cmake 4 bump commit e46695bbe4ab583f39f9448f3ef3e044efa28808 is not present in any older branches.

Updated hash of header file which is used as license file due to upstream commits:
https://github.com/openwrt/uhttpd/commits/master/uhttpd.h

Quoted 8 lines

Disabled new configure option UCODE_SUPPORT which was added by upstream commit:
https://git.openwrt.org/?p=project/uhttpd.git;a=commitdiff;h=3ceccd02d86bf4d6609f46d8b30963cc52034cc2

Fixes:
https://autobuild.buildroot.net/results/cc2/cc265d34aed684b88032edd04ca0fc88186ec676/

Applied to master (because it fixes a build issue), thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot