Przeglądaj źródła

package/hiredis: bump to version 1.3

For change log, see:
https://github.com/redis/hiredis/releases/tag/v1.3.0

Note this version raises the minimum cmake version from 3.0.0 to 3.7.0.
This change fixes build with a host-cmake 4.0.0 (which has removed
compatibility with cmake < 3.5). Such a failure happens on Arch Linux
which is now providing cmake 4.0.

Fixes:
https://autobuild.buildroot.org/results/662fc308807866f9e25655541f6a8ef9ff32e55a/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Julien: add details in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
James Hilliard 3 miesięcy temu
rodzic
commit
11c7d00a59

+ 0 - 51
package/hiredis/0001-CMakeList-add-option-to-not-install-NuGet-packaging.patch

@@ -1,51 +0,0 @@
-From ff7a064490e0aacf718a5263b25b2ddaad0d245e Mon Sep 17 00:00:00 2001
-From: "Yann E. MORIN" <yann.morin.1998@free.fr>
-Date: Sat, 20 Jan 2024 13:53:39 +0100
-Subject: [PATCH] CMakeList: add option to not install NuGet packaging
-
-The NuGet hiredis.target packaging description file is of no use on
-systems that are not using NuGet, like Linux systems, and the spurious
-presence of that file is not "clean".
-
-Add a cmake option to allow users to disable installation of that file.
-As some people may have relied on that file to be installed, continue to
-install it by default.
-
-Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-Upstream: https://github.com/redis/hiredis/commit/ff7a064490e0aacf718a5263b25b2ddaad0d245e
----
- CMakeLists.txt | 11 ++++++++---
- 1 file changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index b7d6ee8..0fcf29b 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -6,6 +6,9 @@ OPTION(DISABLE_TESTS "If tests should be compiled or not" OFF)
- OPTION(ENABLE_SSL_TESTS "Should we test SSL connections" OFF)
- OPTION(ENABLE_EXAMPLES "Enable building hiredis examples" OFF)
- OPTION(ENABLE_ASYNC_TESTS "Should we run all asynchronous API tests" OFF)
-+# Historically, the NuGet file was always install; default
-+# to ON for those who rely on that historical behaviour.
-+OPTION(ENABLE_NUGET "Install NuGET packaging details" ON)
-
- MACRO(getVersionBit name)
-   SET(VERSION_REGEX "^#define ${name} (.+)$")
-@@ -105,9 +108,11 @@ if (MSVC AND BUILD_SHARED_LIBS)
-         CONFIGURATIONS Debug RelWithDebInfo)
- endif()
-
--# For NuGet packages
--INSTALL(FILES hiredis.targets
--    DESTINATION build/native)
-+if (ENABLE_NUGET)
-+    # For NuGet packages
-+    INSTALL(FILES hiredis.targets
-+        DESTINATION build/native)
-+endif()
-
- INSTALL(FILES hiredis.h read.h sds.h async.h alloc.h sockcompat.h
-     DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hiredis)
---
-2.43.0
-

+ 1 - 1
package/hiredis/hiredis.hash

@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  82ad632d31ee05da13b537c124f819eb88e18851d9cb0c30ae0552084811588c  hiredis-1.2.0.tar.gz
+sha256  25cee4500f359cf5cad3b51ed62059aadfc0939b05150c1f19c7e2829123631c  hiredis-1.3.0.tar.gz
 sha256  dca05ce8fc87a8261783b4aed0deef8becc9350b6aa770bc714d0c1833b896eb  COPYING

+ 1 - 1
package/hiredis/hiredis.mk

@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-HIREDIS_VERSION_MAJOR = 1.2
+HIREDIS_VERSION_MAJOR = 1.3
 HIREDIS_VERSION = $(HIREDIS_VERSION_MAJOR).0
 HIREDIS_SITE = $(call github,redis,hiredis,v$(HIREDIS_VERSION))
 HIREDIS_LICENSE = BSD-3-Clause