redis: update to version 3.0.2
PATCH 1/1 redis: update to version 3.0.2
This includes CVE-2015-4335.
LICENSE checksum changed do to copyright update.
Signed-off-by Armin Kuster <[email protected]>
---
.../hiredis-use-default-CC-if-it-is-set.patch | 15 +++----
...Makefile-to-use-environment-build-setting.patch | 47 +++++++++++++++-------
.../redis/redis/oe-use-libc-malloc.patch | 11 ++---
.../redis/{redis_2.6.9.bb => redis_3.0.2.bb} | 11 ++---
4 files changed, 52 insertions(+), 32 deletions(-)
rename meta-oe/recipes-extended/redis/{redis_2.6.9.bb => redis_3.0.2.bb} (72%)meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-set.patch +8 -7
@@ -7,16 +7,20 @@ Instead of trying to automagically figure out CC, which breaks with OE as CC has spaces in it, just skip it if one was already passed in. Signed-off-by: Venture Research <[email protected]> + +Update to work with 3.0.x +Signed-off-by: Armin Kuster <[email protected]> + --- deps/hiredis/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile -index 16b8767..0b27c82 100644 +Index: deps/hiredis/Makefile +=================================================================== --- a/deps/hiredis/Makefile +++ b/deps/hiredis/Makefile -@@ -11,7 +11,7 @@ HIREDIS_MAJOR=0 - HIREDIS_MINOR=10 +@@ -24,7 +24,7 @@ endef + export REDIS_TEST_CONFIG # Fallback to gcc when $CC is not in $PATH. -CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
@@ -24,6 +28,3 @@ index 16b8767..0b27c82 100644 OPTIMIZATION?=-O3 WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings DEBUG?= -g -ggdb --- -1.8.1.2 -
meta-oe/recipes-extended/redis/redis/lua-update-Makefile-to-use-environment-build-setting.patch +32 -15
68 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis/oe-use-libc-malloc.patch +6 -5
@@ -10,12 +10,16 @@ Note that this of course doesn't allow tcmalloc and jemalloc, however jemalloc wasn't building correctly. Signed-off-by: Venture Research <[email protected]> + +Update to work with 3.0.x +Signed-off-by: Armin Kuster <[email protected]> + --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/Makefile b/src/Makefile -index 204a271..91b307d 100644 +Index: src/Makefile +=================================================================== --- a/src/Makefile +++ b/src/Makefile @@ -13,7 +13,8 @@
@@ -28,6 +32,3 @@ index 204a271..91b307d 100644 OPTIMIZATION?=-O2 DEPENDENCY_TARGETS=hiredis linenoise lua --- -1.8.1.2 -
meta-oe/recipes-extended/redis/redis_3.0.2.bb renamed from meta-oe/recipes-extended/redis/redis_2.6.9.bb +6 -5
@@ -3,9 +3,10 @@ DESCRIPTION = "Redis is an open source, advanced key-value store." HOMEPAGE = "http://redis.io" SECTION = "libs" LICENSE = "BSD" -LIC_FILES_CHKSUM="file://COPYING;md5=673e0ac66aac758f8f2140c6fc7947d2" +LIC_FILES_CHKSUM="file://COPYING;md5=3c01b49fed4df1a79843688fa3f7b9d6" -SRC_URI = "http://redis.googlecode.com/files/redis-${PV}.tar.gz \ +DEPENDS = "" +SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \ file://hiredis-use-default-CC-if-it-is-set.patch \ file://lua-update-Makefile-to-use-environment-build-setting.patch \ file://oe-use-libc-malloc.patch \
@@ -13,13 +14,13 @@ SRC_URI = "http://redis.googlecode.com/files/redis-${PV}.tar.gz \ file://init-redis-server \ " -inherit update-rc.d +inherit autotools-brokensep update-rc.d INITSCRIPT_NAME = "redis-server" INITSCRIPT_PARAMS = "defaults 87" -SRC_URI[md5sum] = "5093fb7c5f763e828c857daf260665bc" -SRC_URI[sha256sum] = "4d967eff2038aebea33875d17e85ed67179df6505df68529a622f7836d1c7489" +SRC_URI[md5sum] = "87be8867447f62524b584813e5a7bd14" +SRC_URI[sha256sum] = "93e422c0d584623601f89b956045be158889ebe594478a2c24e1bf218495633f" do_install() { export PREFIX=${D}/${prefix}
Signature · 1 line
2.3.5
Quoted 1 line · Armin Kuster
+DEPENDS = ""
doesn't it need tcl and jemalloc ?