[Buildroot] [PATCH 1/1] package/cmake: bump version to 4.1.2
Bernd Kuhls
bernd at kuhls.net
Sun Oct 5 08:59:07 UTC 2025
Release notes:
https://cmake.org/cmake/help/latest/release/4.1.html
License file was renamed upstream
https://gitlab.kitware.com/cmake/cmake/-/commit/2d42a5444f859891b6598c76ea5d51510013565e
and updated:
https://gitlab.kitware.com/cmake/cmake/-/commits/v4.0.3/LICENSE.rst?ref_type=tags
This release fixes the build with libcurl >= 8.16.0
Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
---
package/cmake/Config.in.host | 10 ++++++++++
package/cmake/cmake.hash | 6 +++---
package/cmake/cmake.mk | 6 +++---
3 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/package/cmake/Config.in.host b/package/cmake/Config.in.host
index b30ce03a1c..f09c5ba28e 100644
--- a/package/cmake/Config.in.host
+++ b/package/cmake/Config.in.host
@@ -63,10 +63,20 @@ config BR2_HOST_CMAKE_AT_LEAST_3_31
bool
select BR2_HOST_CMAKE_AT_LEAST_3_30
+config BR2_HOST_CMAKE_AT_LEAST_4_0
+ bool
+ select BR2_HOST_CMAKE_AT_LEAST_3_31
+
+config BR2_HOST_CMAKE_AT_LEAST_4_1
+ bool
+ select BR2_HOST_CMAKE_AT_LEAST_4_0
+
# This order guarantees that the highest version is set, as kconfig
# stops affecting a value on the first matching default.
config BR2_HOST_CMAKE_AT_LEAST
string
+ default "4.1" if BR2_HOST_CMAKE_AT_LEAST_4_1
+ default "4.0" if BR2_HOST_CMAKE_AT_LEAST_4_0
default "3.31" if BR2_HOST_CMAKE_AT_LEAST_3_31
default "3.30" if BR2_HOST_CMAKE_AT_LEAST_3_30
default "3.29" if BR2_HOST_CMAKE_AT_LEAST_3_29
diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
index 6101fe16f0..4d23725f4b 100644
--- a/package/cmake/cmake.hash
+++ b/package/cmake/cmake.hash
@@ -1,5 +1,5 @@
-# From https://cmake.org/files/v3.31/cmake-3.31.8-SHA-256.txt
-sha256 e3cde3ca83dc2d3212105326b8f1b565116be808394384007e7ef1c253af6caa cmake-3.31.8.tar.gz
+# From https://cmake.org/files/v4.1/cmake-4.1.2-SHA-256.txt
+sha256 643f04182b7ba323ab31f526f785134fb79cba3188a852206ef0473fee282a15 cmake-4.1.2.tar.gz
# Locally calculated
-sha256 0676e30827684487aa0ea8f72f01e9460a6320fa34a2888df0ad1dd3e8a06eb8 Copyright.txt
+sha256 1e0d48f16c60f400838a96989684ae12cec35cb96688db11e8cb0204058cf4b8 LICENSE.rst
diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
index 1eb4da90ad..59d13d0cc0 100644
--- a/package/cmake/cmake.mk
+++ b/package/cmake/cmake.mk
@@ -5,11 +5,11 @@
################################################################################
# When updating the version, please also update BR2_HOST_CMAKE_AT_LEAST_X_Y
-CMAKE_VERSION_MAJOR = 3.31
-CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).8
+CMAKE_VERSION_MAJOR = 4.1
+CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).2
CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
CMAKE_LICENSE = BSD-3-Clause
-CMAKE_LICENSE_FILES = Copyright.txt
+CMAKE_LICENSE_FILES = LICENSE.rst
CMAKE_CPE_ID_VALID = YES
# Tool download MITM attack warning if using npm package to install cmake
CMAKE_IGNORE_CVES = CVE-2016-10642
--
2.47.3
More information about the buildroot
mailing list