From 61a9a330b6ca06ab7d5471368ff9dfc0e7feef33 Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Mon, 6 Dec 2021 17:58:23 +0800 Subject: [PATCH] fix help info (cherry picked from commit cd517b9eede8b15c6748e9984130cf386c08a387) --- fix-help-info.patch | 24 ++++++++++++++++++++++++ redis6.spec | 7 ++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 fix-help-info.patch diff --git a/fix-help-info.patch b/fix-help-info.patch new file mode 100644 index 0000000..2403ad2 --- /dev/null +++ b/fix-help-info.patch @@ -0,0 +1,24 @@ +From 366e91df66de2157d4b36be99e20ad49584dc2bf Mon Sep 17 00:00:00 2001 +From: root +Date: Mon, 6 Dec 2021 17:25:47 +0800 +Subject: [PATCH] fix-help-info + +--- + src/server.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/server.c b/src/server.c +index 2cabb2e..a009981 100644 +--- a/src/server.c ++++ b/src/server.c +@@ -4989,7 +4989,7 @@ void usage(void) { + fprintf(stderr," ./redis-server --port 7777 --replicaof 127.0.0.1 8888\n"); + fprintf(stderr," ./redis-server /etc/myredis.conf --loglevel verbose\n\n"); + fprintf(stderr,"Sentinel mode:\n"); +- fprintf(stderr," ./redis-server /etc/sentinel.conf --sentinel\n"); ++ fprintf(stderr," ./redis-server /etc/redis/sentinel.conf --sentinel\n"); + exit(1); + } + +-- +2.27.0 \ No newline at end of file diff --git a/redis6.spec b/redis6.spec index 9c760b6..4a8493f 100644 --- a/redis6.spec +++ b/redis6.spec @@ -6,7 +6,7 @@ %global Pname redis Name: redis6 Version: 6.0.11 -Release: 5 +Release: 6 Summary: A persistent key-value database License: BSD and MIT URL: https://redis.io @@ -27,6 +27,7 @@ Patch0004: CVE-2021-32628-and-CVE-2021-32627.patch Patch0005: CVE-2021-32675.patch Patch0006: CVE-2021-41099.patch Patch0007: CVE-2021-32762.patch +Patch0008: fix-help-info.patch BuildRequires: make gcc %if %{with tests} BuildRequires: procps-ng tcl @@ -92,6 +93,7 @@ tar -xvf %{SOURCE10} %patch0006 -p1 %patch0007 -p1 %endif +%patch0008 -p1 mv ../%{Pname}-doc-%{doc_commit} doc mv deps/lua/COPYRIGHT COPYRIGHT-lua mv deps/jemalloc/COPYING COPYING-jemalloc @@ -220,6 +222,9 @@ fi %{_docdir}/%{Pname} %changelog +* Mon Dec 06 2021 caodongxia - 6.0.11-6 +- Fix help info + * Mon Nov 29 2021 liwu - 6.0.11-5 - Fix CVE-2021-32687 CVE-2021-32628 CVE-2021-32627 CVE-2021-41099 CVE-2021-32675 CVE-2021-32762 -- Gitee