Commit Graph

186 Commits

Author SHA1 Message Date
Remi Collet
f5a7aae26e comment 2020-10-20 12:16:02 +02:00
Remi Collet
679cdc8ab6 comment 2020-10-20 12:10:07 +02:00
Remi Collet
5f6a2d3f13 add missing LICENSE files in main package 2020-10-20 12:00:33 +02:00
Remi Collet
600e4495a1 v6.0.8 2020-09-10 14:33:07 +02:00
Remi Collet
994dbf17e5 Upstream 6.0.7 release.
drop patch merged upstream
2020-09-01 09:15:37 +02:00
Nathan Scott
70185f5606 Update http to https for downloads.redis.io access 2020-08-31 14:31:42 +10:00
Fedora Release Engineering
084b9316b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 05:38:21 +00:00
Remi Collet
8b33f75e64 Upstream 6.0.6 release.
drop patch merged upstream
open https://github.com/redis/redis/pull/7543 fix deprecated tail syntax
2020-07-21 08:00:19 +02:00
Nathan Scott
df1fc55f35 v6.0.5 2020-06-10 16:59:49 +10:00
Nathan Scott
e056a0a925 Update the git commit used for the redis-doc content 2020-05-29 15:40:41 +10:00
Nathan Scott
875ac2f90c Rebase to 6.0.4 and add some updates from Remi. 2020-05-29 15:36:32 +10:00
Nathan Scott
780d984317 v6.0.3 2020-05-18 10:57:58 +10:00
Remi Collet
b02a4ffc17 v6.0.1 2020-05-06 09:11:13 +02:00
Nathan Scott
df4bd8c0c0 Update to upstream v6 release; add fixes from Remi 2020-05-01 09:48:17 +10:00
Nathan Scott
b53d57cbfe Remove no-longer-needed sds.h patch for gcc 10 (merged upstream) 2020-03-13 14:23:24 +11:00
Nathan Scott
7d4a40ea6f Update to latest community sources 2020-03-13 14:18:07 +11:00
Nathan Scott
c84f0b33e4 Add a patch to fix SDS_NOINIT extern definition.
Resolves Red Hat BZ #1799969
2020-02-12 16:38:14 +11:00
Fedora Release Engineering
4efe1163c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 17:29:57 +00:00
86a61cef8f Latest upstream 5.0.7 2019-11-19 15:12:19 -06:00
Nathan Scott
6bafe5b182 Resolve merge conflict from mass rebuild. 2019-09-26 09:53:09 +10:00
Nathan Scott
bcfed061ce Update to redis-5.0.6 sources 2019-09-26 09:51:34 +10:00
Fedora Release Engineering
19e4336521 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 18:23:38 +00:00
Nathan Scott
244dcfee36 Update spec to use bundled jemalloc for active defrag 2019-07-15 16:30:59 +10:00
Nathan Scott
3f346c42e9 Update to redis-5.0.5 sources 2019-05-16 06:49:46 +10:00
Nathan Scott
e900f51ac3 Drop redis-trib sub-package and pre-systemd functionality 2019-05-15 11:12:15 +10:00
Nathan Scott
bea1cbef61 Update to latest community sources 2019-03-19 15:02:19 +11:00
Fedora Release Engineering
5b0571d432 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 11:14:31 +00:00
Remi Collet
7e5caa3834 sentinel.conf now have a logfile line,
so change default value, instead of adding a new line
2019-01-10 17:13:22 +01:00
Nathan Scott
302a52d227 Update to latest community sources 2018-12-13 08:24:43 +11:00
Nathan Scott
216645d1aa Update to latest community sources 2018-11-23 10:10:06 +11:00
Nathan Scott
a42cd7ea32 Update to latest community sources 2018-11-08 11:46:41 +11:00
Nathan Scott
b1313ce2b0 Update to latest community sources 2018-10-18 08:41:26 +11:00
Nathan Scott
4141cfe36a Update to latest community sources 2018-08-09 09:44:15 +10:00
Igor Gnatenko
fcdc2e23ca
Add missing BuildRequires on gcc
make[3]: gcc: Command not found

References: https://bugzilla.redhat.com/show_bug.cgi?id=1606098
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-24 16:25:43 +02:00
Fedora Release Engineering
fb6f99692f - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:28:59 +00:00
Remi Collet
4b7718b1fb fix License (BSD and MIT)
add bundled libraries licences
add information about bundled lzf
2018-06-25 13:25:51 +02:00
Nathan Scott
87a3e7a592 Update to upstream redis-4.0.10 release 2018-06-14 09:34:10 +10:00
Nathan Scott
eb2f5b7b3a Update to latest community sources 2018-03-28 07:15:59 +11:00
Igor Gnatenko
24658f1b66
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:56 +01:00
Nathan Scott
6cae3b1023 Update to latest community sources 2018-02-07 17:00:58 +11:00
Nathan Scott
a5ee299285 Update to latest community sources 2018-01-31 17:29:02 +11:00
Nathan Scott
6c3bdb0b63 Update to upstream redis-4.0.6 release 2017-12-07 20:27:54 +11:00
Nathan Scott
d75d3d4930 Update to latest community sources 2017-12-03 09:46:01 +11:00
Nathan Scott
6314fdc7a6 v4.0.4 and latest redis-doc 2017-12-01 10:44:30 +11:00
Remi Collet
abd5379420 v4.0.3 2017-11-30 15:22:36 +01:00
Remi Collet
72f15713c3 drop duplicated documentation from main package
keep man in main page
2017-11-30 15:21:36 +01:00
Remi Collet
d23b1d4535 avoid duplicate file in redis and redis-doc 2017-11-21 12:59:30 +01:00
Remi Collet
fefcedab2c fix ownership of /usr/share/doc/redis (when redis-doc installed without redis) 2017-11-21 12:44:52 +01:00
Remi Collet
c5eb5af918 fix ownership of /usr/share/doc/redis
use make_flags for test to avoid rebuild and failure
fix rpm macro location on EL-6
add /var/run/redis on EL-6
add spec file license header
2017-11-21 12:09:54 +01:00
Nathan Scott
d924812920 Add ownership of modules directory into the redis package. 2017-11-17 17:02:19 +11:00
Nathan Scott
0500a44e92 Addition of a redis-doc subpackage for Redis v4 onward
This adds a redis-doc subpackage, containing the upstream
docs (https://github.com/antirez/redis-doc/), as well as
the existing man page content we've added.  Care is taken
to handle the movement of man page files between packages
and the naming convention of the redis-doc source is also
careful to follow the prefered Fedora conventions.

Optional conversion of markdown to html is done by pandoc
if available.

In the future, it would be to modify the redis build to
generate the redis src/help.h file using the content from
redis-doc now that we have it.  It's often out of date, I
am noticing - seems to be updated in an ad-hoc fashion in
upstream releases.
2017-11-01 13:57:39 +11:00
Nathan Scott
da65cc3c98 Redis v4 modules packaging preparation
Add spec file macros to create a default location for
Redis modules, and to allow module packages to depend
on a specific redis module ABI.  A build time test is
added to ensure the upstream sources API version does
not differ to one the redis package Provides:.

The devel package now provides an rpm macros file for
the %{redis_modules_abi} and %{redis_modules_dir}.

Much of this is ideas from Haikel and Remi - thanks!

Small cleanup - the _hardened_build macro is dropped
as this has been the default since f22.
2017-10-02 11:05:08 +11:00
Nathan Scott
25bfce9ab8 Undo noarch setting for devel package after all
Its explicitly forbidden in ...
https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Header_Only_Libraries
2017-09-27 16:02:32 +10:00
Nathan Scott
ac2422ae25 Update to redis 4.0.2 upstream release.
Make redis-devel a noarch package as Remi suggests,
first of many changes to come before 4.x builds are
ready to go.
2017-09-27 12:17:46 +10:00
Nathan Scott
74836e8db5 Redis package builds for the 4.0 series
Upstream redis-4.0.1 release packages, including
a devel header-only package for module support.
2017-09-12 17:28:06 +10:00
Nathan Scott
c374de3637 Incorporate recent feedback from Haikel and Remi
Add "--supervised systemd" to the command line, and
drop the "--daemonize" option as Redis already does
this internally in supervised mode.

Add Provides:bundled spec file lines for linenoise,
lua-libs and hiredis.
2017-09-07 16:39:14 +10:00
Nathan Scott
9f0877ed49 Refactor some patches out of redis.spec
For cases where we have two ways of doing one thing (using
a patch or sed-based modification of files), rework these
such that we're only using one method.  Allows several of
the patches to be dropped.

Described in https://github.com/antirez/redis/issues/1417
is a method for allowing integration/replication-psync to
be reliably run - start using it, and drop the patch that
was disabling that test.

Other small side-effects of this commit:
- the build warning about "jemalloc not found" is fixed;
- CFLAGS additions are now consistently handled (for deps
  as well) - using the upstream-provided mechanism for
  compiler flag propogation.
2017-09-07 15:33:39 +10:00
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