package/libubootenv: bump to version 0.3.7

For release notes, see:
https://github.com/sbabic/libubootenv/releases/tag/v0.3.7

Drop Update cmake_minimum_required to 3.5 patch which is now upstream.

Rebase do not force the build of a shared library patch.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Julien: add link to release notes]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
James Hilliard
2026-01-20 17:47:47 -07:00
committed by Julien Olivain
parent c1ff33e6a4
commit 848b3c96d5
4 changed files with 9 additions and 60 deletions

View File

@@ -1,4 +1,4 @@
From 5448ca9d92f7fa197060323a82a5f060ce7c31e7 Mon Sep 17 00:00:00 2001
From 5ccdd0f15ca3fc1c57b517bf325d572a5398e3cd Mon Sep 17 00:00:00 2001
From: Pierre-Jean Texier <pjtexier@koncepto.io>
Date: Wed, 22 May 2019 10:26:27 +0200
Subject: [PATCH] src/CMakeLists.txt: do not force the build of a shared
@@ -26,10 +26,10 @@ Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4b71bc5..0b515f4 100644
index 3370232..efa9840 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -15,17 +15,15 @@ SET(include_HEADERS
@@ -19,11 +19,9 @@ SET(include_HEADERS
include(GNUInstallDirs) # for the CMAKE_INSTALL_LIBDIR variable
@@ -40,7 +40,9 @@ index 4b71bc5..0b515f4 100644
-ADD_LIBRARY(ubootenv_static STATIC ${libubootenv_SOURCES} ${include_HEADERS})
-SET_TARGET_PROPERTIES(ubootenv_static PROPERTIES OUTPUT_NAME ubootenv)
add_executable(fw_printenv fw_printenv.c)
target_link_libraries(ubootenv z yaml)
target_link_libraries(ubootenv z)
if (NOT NO_YML_SUPPORT)
@@ -33,7 +31,7 @@ endif(NOT NO_YML_SUPPORT)
target_link_libraries(fw_printenv ubootenv)
add_custom_target(fw_setenv ALL ${CMAKE_COMMAND} -E create_symlink fw_printenv fw_setenv)
@@ -50,5 +52,5 @@ index 4b71bc5..0b515f4 100644
install (TARGETS fw_printenv DESTINATION ${CMAKE_INSTALL_BINDIR})
install (PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/fw_setenv DESTINATION ${CMAKE_INSTALL_BINDIR})
--
2.30.2
2.43.0

View File

@@ -1,53 +0,0 @@
From 87581f45d442903af8a9f331b11052bdd836c7f6 Mon Sep 17 00:00:00 2001
From: James Hilliard <james.hilliard1@gmail.com>
Date: Wed, 14 May 2025 14:03:38 -0600
Subject: [PATCH] Update cmake_minimum_required to 3.5
This supports compilation with cmake-4.0.0.
Fixes:
CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Upstream: https://patchwork.ozlabs.org/project/swupdate/patch/20250514201740.686772-1-james.hilliard1@gmail.com/
---
CMakeLists.txt | 2 +-
src/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 796d7bc..0a11730 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: LGPL-2.1-or-later
-cmake_minimum_required (VERSION 2.6)
+cmake_minimum_required (VERSION 3.5)
project (libubootenv C)
# The version number.
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c56d0c7..3370232 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2019-2021 Stefano Babic <stefano.babic@swupdate.org>
#
# SPDX-License-Identifier: LGPL-2.1-or-later
-cmake_minimum_required (VERSION 2.6)
+cmake_minimum_required (VERSION 3.5)
# Sources and private headers
SET(libubootenv_SOURCES
uboot_env.c
--
2.34.1

View File

@@ -1,5 +1,5 @@
# Locally calculated
sha256 7946006781ad518aac1f06e2ad7e0281e4ece3d59e9616cccb01fd0c169a3e0b libubootenv-0.3.6.tar.gz
sha256 92021fc5a0a965030588d0c867a771d28b28c0d17c9fd022f0dafe9f01de714e libubootenv-0.3.7.tar.gz
sha256 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192 LICENSES/CC0-1.0.txt
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1-or-later.txt
sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSES/MIT.txt

View File

@@ -4,7 +4,7 @@
#
################################################################################
LIBUBOOTENV_VERSION = 0.3.6
LIBUBOOTENV_VERSION = 0.3.7
LIBUBOOTENV_SITE = $(call github,sbabic,libubootenv,v$(LIBUBOOTENV_VERSION))
LIBUBOOTENV_LICENSE = LGPL-2.1+, MIT, CC0-1.0
LIBUBOOTENV_LICENSE_FILES = LICENSES/CC0-1.0.txt \