mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/redis: bump to v8.10.0
Redis 8.10 is a new feature release, see the changes:
https://github.com/redis/redis/blob/8.10.0/00-RELEASENOTES
Since upstream commit 4dd58caa7cc23225b01f31e7bd9a1ed0af7e49ad [1],
Redis must now be built with `make build redis` to avoid building extra
modules, which are distributed within the source code archive since 8.10.0
Moreover, because the default upstream configuration now includes those
modules, attempting to launch redis-server with this would fail, because
it cannot load the missing modules. Therefore, we use the provided
`make sync-redis-conf` to regenerate a full redis configuration that
take the absence of modules into account, and we install that config
file instead of the default one.
[1] 4dd58caa7c
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
9809b30290
commit
1213189e81
@@ -1,5 +1,5 @@
|
||||
# From https://github.com/redis/redis-hashes/blob/master/README
|
||||
sha256 1d1e423c9c808de3cb01dd3300d2b8d305b7691382e31a847ec17b66d3157477 redis-8.8.1.tar.gz
|
||||
sha256 f1baa4b28befd417aa6577ebeedde9e9fc7814cfcc299b2a6d2fd99ef7420a6c redis-8.10.0.tar.gz
|
||||
|
||||
# Locally calculated
|
||||
sha256 4a0e416b9537688f30dfe69ddaceb2ca64d96b7df02a0a6760d376890ddc4e40 LICENSE.txt
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
REDIS_VERSION = 8.8.1
|
||||
REDIS_VERSION = 8.10.0
|
||||
REDIS_SITE = https://download.redis.io/releases
|
||||
REDIS_LICENSE = \
|
||||
AGPL-3.0 or SSPL-1.0 or RSAL-2.0 (core); \
|
||||
@@ -49,13 +49,15 @@ REDIS_BUILDOPTS += BUILD_TLS=no
|
||||
endif
|
||||
|
||||
define REDIS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D)
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) build redis
|
||||
endef
|
||||
|
||||
define REDIS_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) \
|
||||
LDCONFIG=true install
|
||||
$(INSTALL) -D -m 0644 $(@D)/redis.conf \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) \
|
||||
sync-redis-conf
|
||||
$(INSTALL) -D -m 0644 $(@D)/redis-full.conf \
|
||||
$(TARGET_DIR)/etc/redis.conf
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user