summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-08-24 16:22:25 +0800
committerKhem Raj <raj.khem@gmail.com>2023-08-26 17:32:45 -0700
commit2b5277a2ce158b0d9334f16518c72a74931574a4 (patch)
treed003f8130756ed4ec95a5529a10bf40bca93de2e
parentaa908be5a2ed75db52f707cd7349650f26f359b5 (diff)
downloadmeta-openembedded-2b5277a2ce158b0d9334f16518c72a74931574a4.tar.gz
redis: upgrade 7.0.12 -> 7.2.0
hiredis-use-default-CC-if-it-is-set.patch oe-use-libc-malloc.patch refreshed for 7.2.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.0/0001-src-Do-not-reset-FINAL_LIBS.patch (renamed from meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.0/0006-Define-correct-gregs-for-RISCV32.patch (renamed from meta-oe/recipes-extended/redis/redis-7.0.12/0006-Define-correct-gregs-for-RISCV32.patch)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.0/GNU_SOURCE-7.patch (renamed from meta-oe/recipes-extended/redis/redis-7.0.12/GNU_SOURCE-7.patch)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.0/hiredis-use-default-CC-if-it-is-set.patch (renamed from meta-oe/recipes-extended/redis/redis-7.0.12/hiredis-use-default-CC-if-it-is-set.patch)10
-rwxr-xr-xmeta-oe/recipes-extended/redis/redis-7.2.0/init-redis-server (renamed from meta-oe/recipes-extended/redis/redis-7.0.12/init-redis-server)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.0/lua-update-Makefile-to-use-environment-build-setting.patch (renamed from meta-oe/recipes-extended/redis/redis-7.0.12/lua-update-Makefile-to-use-environment-build-setting.patch)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.0/oe-use-libc-malloc.patch (renamed from meta-oe/recipes-extended/redis/redis-7.0.12/oe-use-libc-malloc.patch)10
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.0/redis.conf (renamed from meta-oe/recipes-extended/redis/redis-7.0.12/redis.conf)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.0/redis.service (renamed from meta-oe/recipes-extended/redis/redis-7.0.12/redis.service)0
-rw-r--r--meta-oe/recipes-extended/redis/redis_7.2.0.bb (renamed from meta-oe/recipes-extended/redis/redis_7.0.12.bb)2
10 files changed, 9 insertions, 13 deletions
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch b/meta-oe/recipes-extended/redis/redis-7.2.0/0001-src-Do-not-reset-FINAL_LIBS.patch
index e8d8b1d53..e8d8b1d53 100644
--- a/meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.0/0001-src-Do-not-reset-FINAL_LIBS.patch
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/0006-Define-correct-gregs-for-RISCV32.patch b/meta-oe/recipes-extended/redis/redis-7.2.0/0006-Define-correct-gregs-for-RISCV32.patch
index 385b0aeed..385b0aeed 100644
--- a/meta-oe/recipes-extended/redis/redis-7.0.12/0006-Define-correct-gregs-for-RISCV32.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.0/0006-Define-correct-gregs-for-RISCV32.patch
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/GNU_SOURCE-7.patch b/meta-oe/recipes-extended/redis/redis-7.2.0/GNU_SOURCE-7.patch
index 6e07c25c6..6e07c25c6 100644
--- a/meta-oe/recipes-extended/redis/redis-7.0.12/GNU_SOURCE-7.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.0/GNU_SOURCE-7.patch
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/hiredis-use-default-CC-if-it-is-set.patch b/meta-oe/recipes-extended/redis/redis-7.2.0/hiredis-use-default-CC-if-it-is-set.patch
index 250fdd0ff..5b9b71ea6 100644
--- a/meta-oe/recipes-extended/redis/redis-7.0.12/hiredis-use-default-CC-if-it-is-set.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.0/hiredis-use-default-CC-if-it-is-set.patch
@@ -1,4 +1,4 @@
1From 9da2d12c9fabfff4b4460accf887658db89687e4 Mon Sep 17 00:00:00 2001 1From 41efa2f0cf08c91ff935bbb2d16ab233df7f5811 Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 17:39:52 -0600 3Date: Fri, 8 Feb 2013 17:39:52 -0600
4Subject: [PATCH] hiredis: use default CC if it is set 4Subject: [PATCH] hiredis: use default CC if it is set
@@ -18,21 +18,19 @@ Reworked for 6.0.4
18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
19 19
20--- 20---
21Upstream-Status: Pending
22
23 deps/hiredis/Makefile | 2 -- 21 deps/hiredis/Makefile | 2 --
24 1 file changed, 2 deletions(-) 22 1 file changed, 2 deletions(-)
25 23
26diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile 24diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
27index 7e41c97..54717e3 100644 25index bd2106b..9ce768d 100644
28--- a/deps/hiredis/Makefile 26--- a/deps/hiredis/Makefile
29+++ b/deps/hiredis/Makefile 27+++ b/deps/hiredis/Makefile
30@@ -42,8 +42,6 @@ endef 28@@ -36,8 +36,6 @@ endef
31 export REDIS_TEST_CONFIG 29 export REDIS_TEST_CONFIG
32 30
33 # Fallback to gcc when $CC is not in $PATH. 31 # Fallback to gcc when $CC is not in $PATH.
34-CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc') 32-CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
35-CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++') 33-CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
36 OPTIMIZATION?=-O3 34 OPTIMIZATION?=-O3
37 WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers 35 WARNINGS=-Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers
38 DEBUG_FLAGS?= -g -ggdb 36 DEBUG_FLAGS?= -g -ggdb
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/init-redis-server b/meta-oe/recipes-extended/redis/redis-7.2.0/init-redis-server
index c5f335f57..c5f335f57 100755
--- a/meta-oe/recipes-extended/redis/redis-7.0.12/init-redis-server
+++ b/meta-oe/recipes-extended/redis/redis-7.2.0/init-redis-server
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/lua-update-Makefile-to-use-environment-build-setting.patch b/meta-oe/recipes-extended/redis/redis-7.2.0/lua-update-Makefile-to-use-environment-build-setting.patch
index bff07535d..bff07535d 100644
--- a/meta-oe/recipes-extended/redis/redis-7.0.12/lua-update-Makefile-to-use-environment-build-setting.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.0/lua-update-Makefile-to-use-environment-build-setting.patch
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/oe-use-libc-malloc.patch b/meta-oe/recipes-extended/redis/redis-7.2.0/oe-use-libc-malloc.patch
index bf05fc4c5..be186b57d 100644
--- a/meta-oe/recipes-extended/redis/redis-7.0.12/oe-use-libc-malloc.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.0/oe-use-libc-malloc.patch
@@ -1,4 +1,4 @@
1From 88da6b19ecd00747769663e913aba5e9569c489d Mon Sep 17 00:00:00 2001 1From 38a5f403b033d03cdac3ff814687d83f61527d8e Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Wed, 6 Feb 2013 20:51:02 -0600 3Date: Wed, 6 Feb 2013 20:51:02 -0600
4Subject: [PATCH] hack to force use of libc malloc 4Subject: [PATCH] hack to force use of libc malloc
@@ -15,13 +15,11 @@ Update to work with 4.0.8
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com> 15Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16 16
17--- 17---
18Upstream-Status: Pending
19
20 src/Makefile | 3 ++- 18 src/Makefile | 3 ++-
21 1 file changed, 2 insertions(+), 1 deletion(-) 19 1 file changed, 2 insertions(+), 1 deletion(-)
22 20
23diff --git a/src/Makefile b/src/Makefile 21diff --git a/src/Makefile b/src/Makefile
24index 2a0d74d..ddabd44 100644 22index ecbd275..39decee 100644
25--- a/src/Makefile 23--- a/src/Makefile
26+++ b/src/Makefile 24+++ b/src/Makefile
27@@ -13,7 +13,8 @@ 25@@ -13,7 +13,8 @@
@@ -32,5 +30,5 @@ index 2a0d74d..ddabd44 100644
32+# use fake uname option to force use of generic libc 30+# use fake uname option to force use of generic libc
33+uname_S := "USE_LIBC_MALLOC" 31+uname_S := "USE_LIBC_MALLOC"
34 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not') 32 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
35 OPTIMIZATION?=-O2 33 CLANG := $(findstring clang,$(shell sh -c '$(CC) --version | head -1'))
36 DEPENDENCY_TARGETS=hiredis linenoise lua hdr_histogram 34 OPTIMIZATION?=-O3
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/redis.conf b/meta-oe/recipes-extended/redis/redis-7.2.0/redis.conf
index 75037d6dc..75037d6dc 100644
--- a/meta-oe/recipes-extended/redis/redis-7.0.12/redis.conf
+++ b/meta-oe/recipes-extended/redis/redis-7.2.0/redis.conf
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/redis.service b/meta-oe/recipes-extended/redis/redis-7.2.0/redis.service
index a52204cc7..a52204cc7 100644
--- a/meta-oe/recipes-extended/redis/redis-7.0.12/redis.service
+++ b/meta-oe/recipes-extended/redis/redis-7.2.0/redis.service
diff --git a/meta-oe/recipes-extended/redis/redis_7.0.12.bb b/meta-oe/recipes-extended/redis/redis_7.2.0.bb
index 321b90dad..4f1c97b7e 100644
--- a/meta-oe/recipes-extended/redis/redis_7.0.12.bb
+++ b/meta-oe/recipes-extended/redis/redis_7.2.0.bb
@@ -17,7 +17,7 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
17 file://GNU_SOURCE-7.patch \ 17 file://GNU_SOURCE-7.patch \
18 file://0006-Define-correct-gregs-for-RISCV32.patch \ 18 file://0006-Define-correct-gregs-for-RISCV32.patch \
19 " 19 "
20SRC_URI[sha256sum] = "9dd83d5b278bb2bf0e39bfeb75c3e8170024edbaf11ba13b7037b2945cf48ab7" 20SRC_URI[sha256sum] = "8b12e242647635b419a0e1833eda02b65bf64e39eb9e509d9db4888fb3124943"
21 21
22inherit autotools-brokensep update-rc.d systemd useradd 22inherit autotools-brokensep update-rc.d systemd useradd
23 23