Commit Graph

179 Commits

Author SHA1 Message Date
Nathan Scott
dc361d6b75 Switch to systemd service Type=notify for Redis
Enable the systemd supervision support in redis
configuration files and update the service type
in the systemd service file to enable its use.

This resolves RHBZ #1172841.
2017-08-28 16:06:15 +10:00
Nathan Scott
64e67eb9fe Add redis-trib based on patch from Sebastian Saletnik.
Merge the redis-trib sub-package patch originally from
Sebastian Saletnik with added conditionals for building
on platforms with no ruby redis gem (EPEL6 and Fedoras
before f19).

This resolves Redis RHBZ #1215654.
2017-08-14 18:07:25 +10:00
Nathan Scott
16aeff4dbc Merge branch 'master' of ssh://pkgs.fedoraproject.org/redis 2017-08-14 13:48:14 +10:00
Nathan Scott
cf49c6bbe9 Upstream 3.2.10 release
Ensure both the redis and redis-sentinel service files set correct perms.
Dropped systemd tmpfiles source, handled directly in systemd service files.
2017-08-14 12:11:34 +10:00
Fedora Release Engineering
668ece2ae9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 07:38:16 +00:00
Fedora Release Engineering
aa0c5b2abf - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 13:02:26 +00:00
Haikel Guemar
4f1d5f156d Upstream 3.2.9
Add RuntimeDirectory=redis to systemd unit file (RHBZ #1454700)
Mark rundir as %ghost since it may disappear (tmpfs - #1454700)
Fix a shutdown failure with Unix domain sockets (RHBZ #1444988)

Patch contributed by Nathan Scott
2017-06-23 15:02:15 +02:00
Haikel Guemar
dfbfda99c9 Upstream 3.2.8
bugfix for #3796 (MIGRATE could cause server crash  after socket error)
2017-02-20 07:49:12 -05:00
Haikel Guemar
0641733c28 Backport bugfix from RDO package 2017-02-20 07:46:37 -05:00
Fedora Release Engineering
03b3484b7d - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:37:49 +00:00
Haikel Guemar
8cbea8c9c3 Upstream 3.2.7 (important security fix) 2017-02-04 16:19:49 +01:00
Haikel Guemar
93650f449c Refresh patchqueue 2016-09-26 16:36:02 +02:00
Haikel Guemar
b9162a4476 Upstream 3.2.4
- Fix buffer overlow (TALOS-2016-0206)
2016-09-26 16:15:16 +02:00
Remi Collet
83364f086c move redis-shutdown to libexec 2016-09-14 10:48:19 +02:00
Remi Collet
6844759f70 - add missing man pages #1374577
using patch from https://github.com/antirez/redis/pull/3491
- data and configuration should not be publicly readable #1374700
- remove /var/run/redis with systemd #1374728
- provide redis-check-rdb as a symlink to redis-server #1374736
  using patch from https://github.com/antirez/redis/pull/3494
2016-09-13 07:58:57 +02:00
Haikel Guemar
5612b666bc Upstream 3.2.3
- Security fix for CVE-2013-7458 (redis-cli history world readable)
- RHBZ#1363670 RHBZ#1363671
2016-08-05 10:04:43 +02:00
Haikel Guemar
60268427b7 Fix redis-shutdown to handle password-protected instances shutdown 2016-02-08 11:58:35 +01:00
Fedora Release Engineering
c4cdeb229e - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 22:03:52 +00:00
Haikel Guemar
9aa122a4db Upstream 3.0.6 (RHBZ#1272281) 2015-12-19 02:35:56 +01:00
Haikel Guemar
d3f6a51d6b Upstream 3.0.5
- Fix slave/master replication hanging forever in certain case
2015-10-16 18:05:17 +02:00
Haikel Guemar
0df073751a Revert "SPEC cleanup"
This reverts commit 1bb2f79e98.

Not very useful, and makes spec even less readable
2015-10-16 17:50:15 +02:00
Christopher Meng
5c3ab3d4f8 Update to 3.0.4 2015-09-09 17:11:05 +08:00
Christopher Meng
fc3308ff82 Rebuilt for jemalloc 4.0.0 2015-08-31 18:28:16 +08:00
Christopher Meng
1bb2f79e98 SPEC cleanup 2015-08-31 17:41:30 +08:00
Haikel Guemar
ba862cdcbe Upstream 3.0.3 2015-07-21 14:55:10 +02:00
Dennis Gilmore
52a7e9cd42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 22:13:11 +00:00
Haikel Guemar
428c290283 Upstream 3.0.2 (RHBZ #1228245)
- Fix Lua sandbox escape and arbitrary code execution (RHBZ #1228331)
2015-06-05 01:58:03 +02:00
Haikel Guemar
540294a244 Upstream 3.0.1 (RHBZ #1208322) 2015-05-09 19:09:45 +02:00
Remi Collet
9824f26f91 fix changelog 2015-04-14 09:58:28 +02:00
Remi Collet
8c786aea4c rotate /var/log/redis/sentinel.log 2015-04-14 09:56:03 +02:00
Haikel Guemar
456d15d144 Fix broken scriptlet
there's a missing fi in %preun scriptlet that only affects EL6 build
2015-04-10 00:55:41 +02:00
Haikel Guemar
34c249c3cc Upstream 3.0.0 (RHBZ #1208322) 2015-04-02 10:19:26 +02:00
Haikel Guemar
9ac97d7a24 Fix redis-shutdown on multiple NIC setup (RHBZ #1201237) 2015-03-27 00:08:29 +01:00
Haïkel Guémar
1cd925bb3b Cleanup leftovers from removed sentinel macro 2015-02-27 20:40:09 +01:00
Haïkel Guémar
d6fc95793e Upstream 2.8.19 (RHBZ #1175232)
- Fix permissions for tmpfiles (RHBZ #1182913)
- Add limits config files
- Spec cleanups
2015-02-27 15:00:40 +01:00
Haïkel Guémar
4d1e4c3aa9 Upstream 2.8.18
Rebased patches
2014-12-08 10:52:45 +01:00
Remi Collet
3b49225c57 sources... 2014-09-21 08:34:21 +02:00
Remi Collet
f312977bd1 - Upstream 2.8.17
- fix redis-sentinel service unit file for systemd
- fix redis-shutdown for sentinel
- also use redis-shutdown in init scripts
2014-09-21 08:25:11 +02:00
Haïkel Guémar
e4f5128ae6 Bump release to include redis-shutdown fix 2014-09-17 15:19:23 +02:00
Haïkel Guémar
2d31309b6d Upstream 2.8.15 (critical bugfix for sentinel)
- Fix to sentinel systemd service and configuration (thanks Remi)
- Refresh patch management
2014-09-13 15:17:00 +02:00
Haïkel Guémar
bfae9dba22 Cleanup spec
Fix shutdown for redis-{server,sentinel}
Backport fixes from Remi Collet repository
Drop unused patch
2014-09-11 23:34:18 +02:00
Haïkel Guémar
071a048ef0 Make tests non-failing 2014-09-11 18:26:44 +02:00
Haïkel Guémar
b25082a3ce Upstream 2.8.14
backport spec from EPEL7 (thanks Warren)
2014-09-11 17:08:56 +02:00
Peter Robinson
00d13348af - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 23:45:36 +00:00
Christopher Meng
0e8a54a517 Update to 2.8.13 2014-07-17 09:29:20 +08:00
Christopher Meng
fef61ff500 Update to 2.18.12 2014-06-24 15:54:32 +08:00
Christopher Meng
c12243b37b Drop a paradox: tcl 8.5+ requires EL5+ so don't need to introduce
old procps on EL5 because tests won't be executed.
2014-06-19 16:09:57 +08:00
Christopher Meng
f423152125 Use more conditional lines. 2014-06-19 15:38:02 +08:00
Christopher Meng
5a0f5c1d8b ps command is needed by tests/support/server.tcl to catch the server
status. If this command is missing, the valve returned will be invalid
and the test will fail.

More defails please refer to line 75 of server.tcl.
2014-06-19 15:15:55 +08:00
Christopher Meng
dde8ff44ac Update to 2.8.11;
Major SPEC rewrite;
Compiler flags conformed to the guideline;
Patches refreshed;
Remove obsoleted syslog.target in systemd units;
Add ExecStartPre to units to ensure tmpdirs are available before start;
Add new systemd+sysv files for redis-sentinel;
Use jemalloc instead of tcmalloc as memory allocator;
Tests enabled(not verified in Koji yet);
More stricted directory permissions;
Move back %_sbindir binaries;
Use redis-prefix for some files;
2014-06-19 14:21:29 +08:00
Dennis Gilmore
58ec2a40db - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 21:11:04 -05:00
Fabian Deutsch
f067d7a787 Add tmpfiles
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2013-09-06 11:58:42 +02:00
Fabian Deutsch
f98ff92064 Update to 2.6.16
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2013-09-06 11:42:55 +02:00
Fabian Deutsch
0a73e94345 Update changelog and add %ghost directive
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=656683
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2013-09-06 11:33:25 +02:00
Dennis Gilmore
1211652f9b - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 07:21:20 -05:00
Peter Robinson
652040440b RM has gperftools 2013-07-23 18:10:05 +01:00
Fabian Deutsch
88764f95a8 Modify jemalloc patch for s390 compatibility
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2013-06-19 13:01:22 +02:00
Fabian Deutsch
9b86509d24 Unbundle jemalloc
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2013-06-07 09:24:10 +02:00
Fabian Deutsch
12623859e3 Update to redis-2.6.13 and PIC build flag
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2013-06-07 08:57:27 +02:00
Dennis Gilmore
53668999cf - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 15:31:28 -06:00
Silas Sewell
984073b2f8 Update to redis 2.6.7 2012-12-27 08:07:28 -05:00
Dennis Gilmore
9a081bab56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 10:27:36 -05:00
Silas Sewell
1d56211f65 Remove TODO from docs 2012-07-08 21:16:58 -04:00
Silas Sewell
a8351ceb21 Update to redis 2.4.15 2012-07-08 21:01:51 -04:00
Silas Sewell
f1f4a8c0f0 Update to redis 2.4.13 2012-05-19 07:19:42 -04:00
Silas Sewell
a1b09e3afa Update to redis 2.4.10 2012-03-31 15:45:34 -04:00
Silas Sewell
2ba56a3a75 Update to redis 2.4.8 2012-02-25 00:01:44 -05:00
Silas Sewell
6cb76a608e Update to 2.4.7 2012-02-04 15:56:26 -05:00
Fabian Deutsch
5cf0708fa9 spec: Fixed a typo
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2012-02-01 09:53:31 +01:00
Fabian Deutsch
10e5c68666 redis.service: Service type=simple, matches config.
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2012-02-01 09:04:45 +01:00
Fabian Deutsch
e8dff38f7b redis.service: Fix config and user/group. Ta Timon.
Points redis-server to the appropriate config and runs the server as
redis:redis. Thanks Timon.

Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2012-01-31 15:51:59 +01:00
Fabian Deutsch
ad0d775a93 Update to 2.4.6 and introduce systemd unit.
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2012-01-13 09:11:10 +01:00
Silas Sewell
45fb6a4a94 Update to redis 2.2.12 2011-07-24 21:07:58 -04:00
Dan Horák
1a0610ff9e google-perftools exists only on selected architectures 2011-05-06 12:08:43 +02:00
Silas Sewell
0a73f002f5 Update to redis 2.2.5 2011-04-23 18:02:55 -04:00
Silas Sewell
f8b752445d Update to redis 2.2.2 2011-03-26 10:44:11 -04:00
Dennis Gilmore
88646f3123 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 01:11:33 -06:00
Silas Sewell
118e4917bb Update to redis 2.0.4 2010-12-19 02:48:24 -05:00
Silas Sewell
8ddfa61371 Initial import 2010-10-19 11:36:36 -04:00