Compare commits

...

16 Commits

Author SHA1 Message Date
Nathan Scott c41f6f9cce Merge branch 'master' into epel7 2017-09-27 09:10:25 +10:00
Nathan Scott 75e2f2b69a Merge branch 'master' into epel7 2017-09-26 17:45:40 +10:00
Nathan Scott 4ffaac44de Merge branch 'master' into epel7 2017-09-26 15:04:55 +10:00
Nathan Scott 09a626dbe1 Merge branch 'master' into epel7 2017-08-18 10:31:40 +10:00
Haikel Guemar 6809ff675f Merge branch 'master' into epel7 2016-08-05 14:42:25 +02:00
Haikel Guemar 6562d33167 Fix redis-shutdown on multiple NIC setup (RHBZ #1201237) 2015-03-27 00:07:41 +01:00
Haïkel Guémar 8e5adfdce4 Upload redis 2.8.19 sources 2015-02-27 21:15:33 +01:00
Haïkel Guémar 836c562d7e Upstream 2.8.19 (RHBZ #1175232)
Fix permissions (RHBZ #1182913)
2015-02-27 20:37:51 +01:00
Haïkel Guémar eac9bc7821 Upstream 2.8.18
- Backport init scripts fixes from rawhide
2014-12-09 12:59:25 +01:00
Haïkel Guémar fd8bf6984f Upstream 2.8.15 (critical bugfix for sentinel)
- Fix to sentinel systemd service and configuration (thanks Remi)
- Refresh patch management
2014-09-13 15:05:11 +02:00
Haïkel Guémar 41ba9e8107 Cleanup spec
Fix shutdown for redis-{server,sentinel}
Backport fixes from Remi Collet repository
Drop unused patch
2014-09-11 23:37:54 +02:00
Haïkel Guémar 0f697cdea9 Upstream 2.8.14
- Bugfix for lua scripting users (server crash)
- Refresh patches
2014-09-11 14:02:22 +02:00
Remi Collet 0e9ad48734 don't rely on configuration for critical options, add --daemonize no in unit file 2014-09-06 18:41:06 +02:00
Warren Togami 01c0789b60 Revert/clean up broken changes to allow redis to work at all on systemd. 2014-07-29 03:25:28 -10:00
Warren Togami 46ea918a98 - Fix detection of EL7: systemd unit was missing
- Fix detection of EL5
2014-07-23 19:44:23 -10:00
Christopher Meng e4aa4d03ad Revert back the non existing macro 2014-07-17 10:29:11 +08:00
2 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,52 @@
From 99c028fdf6723f5a32c3fa5e308f9339f95f66ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ha=C3=AFkel=20Gu=C3=A9mar?= <hguemar@fedoraproject.org>
Date: Fri, 5 Dec 2014 14:11:15 +0100
Subject: [PATCH 1/5] redis 2.8.18: redis conf
---
redis.conf | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/redis.conf b/redis.conf
index 6c76569..dd0ef34 100644
--- a/redis.conf
+++ b/redis.conf
@@ -38,7 +38,7 @@ daemonize no
# When running daemonized, Redis writes a pid file in /var/run/redis.pid by
# default. You can specify a custom pid file location here.
-pidfile /var/run/redis.pid
+pidfile /var/run/redis/redis.pid
# Accept connections on the specified port, default is 6379.
# If port 0 is specified Redis will not listen on a TCP socket.
@@ -61,7 +61,7 @@ tcp-backlog 511
# Examples:
#
# bind 192.168.1.100 10.0.0.1
-# bind 127.0.0.1
+bind 127.0.0.1
# Specify the path for the Unix socket that will be used to listen for
# incoming connections. There is no default, so Redis will not listen
@@ -100,7 +100,7 @@ loglevel notice
# Specify the log file name. Also the empty string can be used to force
# Redis to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null
-logfile ""
+logfile /var/log/redis/redis.log
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
# and optionally update the other syslog parameters to suit your needs.
@@ -184,7 +184,7 @@ dbfilename dump.rdb
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
-dir ./
+dir /var/lib/redis/
################################# REPLICATION #################################
--
2.1.0

View File

@ -0,0 +1,39 @@
From 4325ecb8fadeb36c7d09b994360110fa9c7b63a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ha=C3=AFkel=20Gu=C3=A9mar?= <hguemar@fedoraproject.org>
Date: Mon, 8 Dec 2014 10:02:54 +0100
Subject: [PATCH 2/5] redis 2.8.18: deps library fPIC performance tuning
---
deps/Makefile | 2 +-
deps/linenoise/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/deps/Makefile b/deps/Makefile
index 1f623ea..4c2df41 100644
--- a/deps/Makefile
+++ b/deps/Makefile
@@ -58,7 +58,7 @@ ifeq ($(uname_S),SunOS)
LUA_CFLAGS= -D__C99FEATURES__=1
endif
-LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL $(CFLAGS)
+LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL $(CFLAGS) -fPIC
LUA_LDFLAGS+= $(LDFLAGS)
# lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
# challenging to cross-compile lua (and redis). These defines make it easier
diff --git a/deps/linenoise/Makefile b/deps/linenoise/Makefile
index 1dd894b..712f2a6 100644
--- a/deps/linenoise/Makefile
+++ b/deps/linenoise/Makefile
@@ -2,7 +2,7 @@ STD=
WARN= -Wall
OPT= -Os
-R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
+R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) -fPIC
R_LDFLAGS= $(LDFLAGS)
DEBUG= -g
--
2.1.0