summaryrefslogtreecommitdiff
path: root/dev-ruby/redis/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/redis/files')
-rw-r--r--dev-ruby/redis/files/redis-4.7.1-local-redis-server.patch (renamed from dev-ruby/redis/files/redis-4.1.4-local-redis-server.patch)14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-ruby/redis/files/redis-4.1.4-local-redis-server.patch b/dev-ruby/redis/files/redis-4.7.1-local-redis-server.patch
index b9db61a0a6a7..e220d62e35db 100644
--- a/dev-ruby/redis/files/redis-4.1.4-local-redis-server.patch
+++ b/dev-ruby/redis/files/redis-4.7.1-local-redis-server.patch
@@ -1,7 +1,9 @@
---- a/makefile 2019-06-29 08:02:02.519804948 +0200
-+++ b/makefile 2019-06-29 08:03:43.125559643 +0200
+diff --git a/makefile b/makefile
+index c803066..d50ee93 100644
+--- a/makefile
++++ b/makefile
@@ -1,16 +1,15 @@
- REDIS_BRANCH ?= 5.0
+ REDIS_BRANCH ?= 6.2
-TMP := tmp
BUILD_DIR := ${TMP}/cache/redis-${REDIS_BRANCH}
TARBALL := ${TMP}/redis-${REDIS_BRANCH}.tar.gz
@@ -20,10 +22,10 @@
-SLAVE_SOCKET_PATH := ${BUILD_DIR}/redis_slave.sock
+SLAVE_PID_PATH := ${TMP}/redis_slave.pid
+SLAVE_SOCKET_PATH := ${TMP}/redis_slave.sock
+ HA_GROUP_NAME := master1
SENTINEL_PORTS := 6400 6401 6402
SENTINEL_PID_PATHS := $(addprefix ${TMP}/redis,$(addsuffix .pid,${SENTINEL_PORTS}))
- CLUSTER_PORTS := 7000 7001 7002 7003 7004 7005
-@@ -43,11 +43,11 @@
+@@ -32,11 +31,11 @@ stop_all: stop_sentinel stop_slave stop stop_cluster
${TMP}:
@mkdir -p $@
@@ -32,7 +34,7 @@
+#${BINARY}: ${TMP}
+# @bin/build ${REDIS_BRANCH} $<
- test:
+ test:
- @env SOCKET_PATH=${SOCKET_PATH} bundle exec rake test
+ @env SOCKET_PATH=${SOCKET_PATH} ${RUBY} -S rake test