[Buildroot] [git commit] package/redis: bump to v8.10.0
Julien Olivain via buildroot <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
commit: https://gitlab.com/buildroot.org/buildroot/-/commit/1213189e81f82fa83e8055fecf99220cc184d924 branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master 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] https://github.com/redis/redis/commit/4dd58caa7cc23225b01f31e7bd9a1ed0af7e49ad Signed-off-by: Titouan Christophe <[email protected]> Signed-off-by: Julien Olivain <[email protected]> --- package/redis/redis.hash | 2 +- package/redis/redis.mk | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package/redis/redis.hash b/package/redis/redis.hash index e6ba97290b..db03ded5e4 100644 --- a/package/redis/redis.hash +++ b/package/redis/redis.hash @@ -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 diff --git a/package/redis/redis.mk b/package/redis/redis.mk index 0105f2b77c..13cc7b687a 100644 --- a/package/redis/redis.mk +++ b/package/redis/redis.mk @@ -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 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot