Compare commits
No commits in common. "stream-redis-7-rhel-9.6.0" and "c8-stream-6" have entirely different histories.
stream-red
...
c8-stream-
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,4 +1,2 @@
|
|||||||
redis-6.2*.gz
|
SOURCES/redis-6.2.7.tar.gz
|
||||||
/redis-7.0.11.tar.gz
|
SOURCES/redis-doc-8d4bf9b.tar.gz
|
||||||
/redis-doc-c7880ba.tar.gz
|
|
||||||
/redis-7.0.12.tar.gz
|
|
||||||
|
2
.redis.metadata
Normal file
2
.redis.metadata
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
b01ef3f117c9815dea41bf2609e489a03c3a5ab1 SOURCES/redis-6.2.7.tar.gz
|
||||||
|
45ec7c3b4a034891252507febace7e25ee64b4d9 SOURCES/redis-doc-8d4bf9b.tar.gz
|
@ -1,33 +0,0 @@
|
|||||||
From bbace21828d7e82f1c481f0e1caece31b661cbd9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Florian Weimer <fweimer@redhat.com>
|
|
||||||
Date: Mon, 5 Dec 2022 11:10:37 +0100
|
|
||||||
Subject: [PATCH 2/2] deps/jemalloc: Do not force building in gnu99 mode
|
|
||||||
Content-type: text/plain
|
|
||||||
|
|
||||||
The jemalloc configure logic switches to gnu11 mode if available,
|
|
||||||
and this explicit flags injection prevents that. The main difference
|
|
||||||
seems to be that in gnu99 mode, <stdatomic.h> is presumed to be
|
|
||||||
unavailable and is not used.
|
|
||||||
|
|
||||||
Submitted upstream: <https://github.com/redis/redis/pull/11583>
|
|
||||||
|
|
||||||
---
|
|
||||||
deps/Makefile | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/deps/Makefile b/deps/Makefile
|
|
||||||
index 8592e17..d6cb06e 100644
|
|
||||||
--- a/deps/Makefile
|
|
||||||
+++ b/deps/Makefile
|
|
||||||
@@ -90,7 +90,7 @@ lua: .make-prerequisites
|
|
||||||
|
|
||||||
.PHONY: lua
|
|
||||||
|
|
||||||
-JEMALLOC_CFLAGS= -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops $(CFLAGS)
|
|
||||||
+JEMALLOC_CFLAGS= -Wall -pipe -g3 -O3 -funroll-loops $(CFLAGS)
|
|
||||||
JEMALLOC_LDFLAGS= $(LDFLAGS)
|
|
||||||
|
|
||||||
ifneq ($(DEB_HOST_GNU_TYPE),)
|
|
||||||
--
|
|
||||||
2.38.1
|
|
||||||
|
|
117
SOURCES/redis-config.patch
Normal file
117
SOURCES/redis-config.patch
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
Revert to 6.0.8 behavior to save configuration file
|
||||||
|
to fix "CONFIG REWRITE" when using /etc/redis.conf
|
||||||
|
as new behavior expect a writable directory
|
||||||
|
|
||||||
|
Revert: 90555566ed5cbd3e1c3df1293ba3bbf6098e34c3
|
||||||
|
|
||||||
|
See discussion about this breaking change in
|
||||||
|
https://github.com/redis/redis/issues/8051
|
||||||
|
|
||||||
|
diff -up ./src/config.c.rev ./src/config.c
|
||||||
|
--- ./src/config.c.rev 2022-05-09 14:48:31.118296748 +0200
|
||||||
|
+++ ./src/config.c 2022-05-09 14:48:41.571163767 +0200
|
||||||
|
@@ -1605,62 +1605,60 @@ void rewriteConfigRemoveOrphaned(struct
|
||||||
|
dictReleaseIterator(di);
|
||||||
|
}
|
||||||
|
|
||||||
|
-/* This function replaces the old configuration file with the new content
|
||||||
|
- * in an atomic manner.
|
||||||
|
+/* This function overwrites the old configuration file with the new content.
|
||||||
|
+ *
|
||||||
|
+ * 1) The old file length is obtained.
|
||||||
|
+ * 2) If the new content is smaller, padding is added.
|
||||||
|
+ * 3) A single write(2) call is used to replace the content of the file.
|
||||||
|
+ * 4) Later the file is truncated to the length of the new content.
|
||||||
|
+ *
|
||||||
|
+ * This way we are sure the file is left in a consistent state even if the
|
||||||
|
+ * process is stopped between any of the four operations.
|
||||||
|
*
|
||||||
|
* The function returns 0 on success, otherwise -1 is returned and errno
|
||||||
|
- * is set accordingly. */
|
||||||
|
+ * set accordingly. */
|
||||||
|
int rewriteConfigOverwriteFile(char *configfile, sds content) {
|
||||||
|
- int fd = -1;
|
||||||
|
- int retval = -1;
|
||||||
|
- char tmp_conffile[PATH_MAX];
|
||||||
|
- const char *tmp_suffix = ".XXXXXX";
|
||||||
|
- size_t offset = 0;
|
||||||
|
- ssize_t written_bytes = 0;
|
||||||
|
-
|
||||||
|
- int tmp_path_len = snprintf(tmp_conffile, sizeof(tmp_conffile), "%s%s", configfile, tmp_suffix);
|
||||||
|
- if (tmp_path_len <= 0 || (unsigned int)tmp_path_len >= sizeof(tmp_conffile)) {
|
||||||
|
- serverLog(LL_WARNING, "Config file full path is too long");
|
||||||
|
- errno = ENAMETOOLONG;
|
||||||
|
- return retval;
|
||||||
|
+ int retval = 0;
|
||||||
|
+ int fd = open(configfile,O_RDWR|O_CREAT,0644);
|
||||||
|
+ int content_size = sdslen(content), padding = 0;
|
||||||
|
+ struct stat sb;
|
||||||
|
+ sds content_padded;
|
||||||
|
+
|
||||||
|
+ /* 1) Open the old file (or create a new one if it does not
|
||||||
|
+ * exist), get the size. */
|
||||||
|
+ if (fd == -1) return -1; /* errno set by open(). */
|
||||||
|
+ if (fstat(fd,&sb) == -1) {
|
||||||
|
+ close(fd);
|
||||||
|
+ return -1; /* errno set by fstat(). */
|
||||||
|
}
|
||||||
|
|
||||||
|
-#ifdef _GNU_SOURCE
|
||||||
|
- fd = mkostemp(tmp_conffile, O_CLOEXEC);
|
||||||
|
-#else
|
||||||
|
- /* There's a theoretical chance here to leak the FD if a module thread forks & execv in the middle */
|
||||||
|
- fd = mkstemp(tmp_conffile);
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
- if (fd == -1) {
|
||||||
|
- serverLog(LL_WARNING, "Could not create tmp config file (%s)", strerror(errno));
|
||||||
|
- return retval;
|
||||||
|
+ /* 2) Pad the content at least match the old file size. */
|
||||||
|
+ content_padded = sdsdup(content);
|
||||||
|
+ if (content_size < sb.st_size) {
|
||||||
|
+ /* If the old file was bigger, pad the content with
|
||||||
|
+ * a newline plus as many "#" chars as required. */
|
||||||
|
+ padding = sb.st_size - content_size;
|
||||||
|
+ content_padded = sdsgrowzero(content_padded,sb.st_size);
|
||||||
|
+ content_padded[content_size] = '\n';
|
||||||
|
+ memset(content_padded+content_size+1,'#',padding-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
- while (offset < sdslen(content)) {
|
||||||
|
- written_bytes = write(fd, content + offset, sdslen(content) - offset);
|
||||||
|
- if (written_bytes <= 0) {
|
||||||
|
- if (errno == EINTR) continue; /* FD is blocking, no other retryable errors */
|
||||||
|
- serverLog(LL_WARNING, "Failed after writing (%zd) bytes to tmp config file (%s)", offset, strerror(errno));
|
||||||
|
- goto cleanup;
|
||||||
|
- }
|
||||||
|
- offset+=written_bytes;
|
||||||
|
+ /* 3) Write the new content using a single write(2). */
|
||||||
|
+ if (write(fd,content_padded,strlen(content_padded)) == -1) {
|
||||||
|
+ retval = -1;
|
||||||
|
+ goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (fsync(fd))
|
||||||
|
- serverLog(LL_WARNING, "Could not sync tmp config file to disk (%s)", strerror(errno));
|
||||||
|
- else if (fchmod(fd, 0644 & ~server.umask) == -1)
|
||||||
|
- serverLog(LL_WARNING, "Could not chmod config file (%s)", strerror(errno));
|
||||||
|
- else if (rename(tmp_conffile, configfile) == -1)
|
||||||
|
- serverLog(LL_WARNING, "Could not rename tmp config file (%s)", strerror(errno));
|
||||||
|
- else {
|
||||||
|
- retval = 0;
|
||||||
|
- serverLog(LL_DEBUG, "Rewritten config file (%s) successfully", configfile);
|
||||||
|
- }
|
||||||
|
+ /* 4) Truncate the file to the right length if we used padding. */
|
||||||
|
+ if (padding) {
|
||||||
|
+ if (ftruncate(fd,content_size) == -1) {
|
||||||
|
+ /* Non critical error... */
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
+ sdsfree(content_padded);
|
||||||
|
close(fd);
|
||||||
|
- if (retval) unlink(tmp_conffile);
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
|
6
SOURCES/redis-limit-init
Normal file
6
SOURCES/redis-limit-init
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# If you need to change max open file limit
|
||||||
|
# for example, when you change maxclient in configuration
|
||||||
|
# you can change the value below
|
||||||
|
# see "man limits.conf" for information
|
||||||
|
redis soft nofile 10240
|
||||||
|
redis hard nofile 10240
|
94
SOURCES/redis-sentinel.init
Normal file
94
SOURCES/redis-sentinel.init
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# redis init file for starting up the redis-sentinel daemon
|
||||||
|
#
|
||||||
|
# chkconfig: - 21 79
|
||||||
|
# description: Starts and stops the redis-sentinel daemon.
|
||||||
|
#
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: redis-sentinel
|
||||||
|
# Required-Start: $local_fs $remote_fs $network
|
||||||
|
# Required-Stop: $local_fs $remote_fs $network
|
||||||
|
# Short-Description: start and stop Sentinel server
|
||||||
|
# Description: A persistent key-value database
|
||||||
|
### END INIT INFO
|
||||||
|
|
||||||
|
# Source function library.
|
||||||
|
. /etc/rc.d/init.d/functions
|
||||||
|
|
||||||
|
name="redis-sentinel"
|
||||||
|
exec="/usr/bin/$name"
|
||||||
|
shut="/usr/libexec/redis-shutdown"
|
||||||
|
pidfile="/var/run/redis/sentinel.pid"
|
||||||
|
SENTINEL_CONFIG="/etc/redis-sentinel.conf"
|
||||||
|
|
||||||
|
[ -e /etc/sysconfig/redis-sentinel ] && . /etc/sysconfig/redis-sentinel
|
||||||
|
|
||||||
|
lockfile=/var/lock/subsys/redis
|
||||||
|
|
||||||
|
start() {
|
||||||
|
[ -f $SENTINEL_CONFIG ] || exit 6
|
||||||
|
[ -x $exec ] || exit 5
|
||||||
|
echo -n $"Starting $name: "
|
||||||
|
daemon --user ${REDIS_USER-redis} "$exec $SENTINEL_CONFIG --daemonize yes --pidfile $pidfile"
|
||||||
|
retval=$?
|
||||||
|
echo
|
||||||
|
[ $retval -eq 0 ] && touch $lockfile
|
||||||
|
return $retval
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
echo -n $"Stopping $name: "
|
||||||
|
[ -x $shut ] && $shut $name
|
||||||
|
retval=$?
|
||||||
|
if [ -f $pidfile ]
|
||||||
|
then
|
||||||
|
# shutdown haven't work, try old way
|
||||||
|
killproc -p $pidfile $name
|
||||||
|
retval=$?
|
||||||
|
else
|
||||||
|
success "$name shutdown"
|
||||||
|
fi
|
||||||
|
echo
|
||||||
|
[ $retval -eq 0 ] && rm -f $lockfile
|
||||||
|
return $retval
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
stop
|
||||||
|
start
|
||||||
|
}
|
||||||
|
|
||||||
|
rh_status() {
|
||||||
|
status -p $pidfile $name
|
||||||
|
}
|
||||||
|
|
||||||
|
rh_status_q() {
|
||||||
|
rh_status >/dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
rh_status_q && exit 0
|
||||||
|
$1
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
rh_status_q || exit 0
|
||||||
|
$1
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
$1
|
||||||
|
;;
|
||||||
|
status)
|
||||||
|
rh_status
|
||||||
|
;;
|
||||||
|
condrestart|try-restart)
|
||||||
|
rh_status_q || exit 0
|
||||||
|
restart
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart}"
|
||||||
|
exit 2
|
||||||
|
esac
|
||||||
|
exit $?
|
@ -1,11 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Redis Sentinel
|
Description=Redis Sentinel
|
||||||
After=network.target
|
After=network.target
|
||||||
After=network-online.target
|
|
||||||
Wants=network-online.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/redis-sentinel /etc/redis/sentinel.conf --daemonize no --supervised systemd
|
ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --daemonize no --supervised systemd
|
||||||
|
ExecStop=/usr/libexec/redis-shutdown redis-sentinel
|
||||||
Type=notify
|
Type=notify
|
||||||
User=redis
|
User=redis
|
||||||
Group=redis
|
Group=redis
|
40
SOURCES/redis-shutdown
Normal file
40
SOURCES/redis-shutdown
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Wrapper to close properly redis and sentinel
|
||||||
|
test x"$REDIS_DEBUG" != x && set -x
|
||||||
|
|
||||||
|
REDIS_CLI=/usr/bin/redis-cli
|
||||||
|
|
||||||
|
# Retrieve service name
|
||||||
|
SERVICE_NAME="$1"
|
||||||
|
if [ -z "$SERVICE_NAME" ]; then
|
||||||
|
SERVICE_NAME=redis
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get the proper config file based on service name
|
||||||
|
CONFIG_FILE="/etc/$SERVICE_NAME.conf"
|
||||||
|
|
||||||
|
# Use awk to retrieve host, port from config file
|
||||||
|
HOST=`awk '/^[[:blank:]]*bind/ { print $2 }' $CONFIG_FILE | tail -n1`
|
||||||
|
PORT=`awk '/^[[:blank:]]*port/ { print $2 }' $CONFIG_FILE | tail -n1`
|
||||||
|
PASS=`awk '/^[[:blank:]]*requirepass/ { print $2 }' $CONFIG_FILE | tail -n1`
|
||||||
|
SOCK=`awk '/^[[:blank:]]*unixsocket\s/ { print $2 }' $CONFIG_FILE | tail -n1`
|
||||||
|
|
||||||
|
# Just in case, use default host, port
|
||||||
|
HOST=${HOST:-127.0.0.1}
|
||||||
|
if [ "$SERVICE_NAME" = redis ]; then
|
||||||
|
PORT=${PORT:-6379}
|
||||||
|
else
|
||||||
|
PORT=${PORT:-26739}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Setup additional parameters
|
||||||
|
# e.g password-protected redis instances
|
||||||
|
[ -z "$PASS" ] || ADDITIONAL_PARAMS="-a $PASS"
|
||||||
|
|
||||||
|
# shutdown the service properly
|
||||||
|
if [ -e "$SOCK" ] ; then
|
||||||
|
$REDIS_CLI -s $SOCK $ADDITIONAL_PARAMS shutdown
|
||||||
|
else
|
||||||
|
$REDIS_CLI -h $HOST -p $PORT $ADDITIONAL_PARAMS shutdown
|
||||||
|
fi
|
94
SOURCES/redis.init
Normal file
94
SOURCES/redis.init
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# redis init file for starting up the redis daemon
|
||||||
|
#
|
||||||
|
# chkconfig: - 20 80
|
||||||
|
# description: Starts and stops the redis daemon.
|
||||||
|
#
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: redis-server
|
||||||
|
# Required-Start: $local_fs $remote_fs $network
|
||||||
|
# Required-Stop: $local_fs $remote_fs $network
|
||||||
|
# Short-Description: start and stop Redis server
|
||||||
|
# Description: A persistent key-value database
|
||||||
|
### END INIT INFO
|
||||||
|
|
||||||
|
# Source function library.
|
||||||
|
. /etc/rc.d/init.d/functions
|
||||||
|
|
||||||
|
name="redis-server"
|
||||||
|
exec="/usr/bin/$name"
|
||||||
|
shut="/usr/libexec/redis-shutdown"
|
||||||
|
pidfile="/var/run/redis/redis.pid"
|
||||||
|
REDIS_CONFIG="/etc/redis.conf"
|
||||||
|
|
||||||
|
[ -e /etc/sysconfig/redis ] && . /etc/sysconfig/redis
|
||||||
|
|
||||||
|
lockfile=/var/lock/subsys/redis
|
||||||
|
|
||||||
|
start() {
|
||||||
|
[ -f $REDIS_CONFIG ] || exit 6
|
||||||
|
[ -x $exec ] || exit 5
|
||||||
|
echo -n $"Starting $name: "
|
||||||
|
daemon --user ${REDIS_USER-redis} "$exec $REDIS_CONFIG --daemonize yes --pidfile $pidfile"
|
||||||
|
retval=$?
|
||||||
|
echo
|
||||||
|
[ $retval -eq 0 ] && touch $lockfile
|
||||||
|
return $retval
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
echo -n $"Stopping $name: "
|
||||||
|
[ -x $shut ] && $shut
|
||||||
|
retval=$?
|
||||||
|
if [ -f $pidfile ]
|
||||||
|
then
|
||||||
|
# shutdown haven't work, try old way
|
||||||
|
killproc -p $pidfile $name
|
||||||
|
retval=$?
|
||||||
|
else
|
||||||
|
success "$name shutdown"
|
||||||
|
fi
|
||||||
|
echo
|
||||||
|
[ $retval -eq 0 ] && rm -f $lockfile
|
||||||
|
return $retval
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
stop
|
||||||
|
start
|
||||||
|
}
|
||||||
|
|
||||||
|
rh_status() {
|
||||||
|
status -p $pidfile $name
|
||||||
|
}
|
||||||
|
|
||||||
|
rh_status_q() {
|
||||||
|
rh_status >/dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
rh_status_q && exit 0
|
||||||
|
$1
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
rh_status_q || exit 0
|
||||||
|
$1
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
$1
|
||||||
|
;;
|
||||||
|
status)
|
||||||
|
rh_status
|
||||||
|
;;
|
||||||
|
condrestart|try-restart)
|
||||||
|
rh_status_q || exit 0
|
||||||
|
restart
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart}"
|
||||||
|
exit 2
|
||||||
|
esac
|
||||||
|
exit $?
|
@ -1,11 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Redis persistent key-value database
|
Description=Redis persistent key-value database
|
||||||
After=network.target
|
After=network.target
|
||||||
After=network-online.target
|
|
||||||
Wants=network-online.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --daemonize no --supervised systemd
|
ExecStart=/usr/bin/redis-server /etc/redis.conf --daemonize no --supervised systemd
|
||||||
|
ExecStop=/usr/libexec/redis-shutdown
|
||||||
Type=notify
|
Type=notify
|
||||||
User=redis
|
User=redis
|
||||||
Group=redis
|
Group=redis
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Fedora spec file for redis
|
# RHEL / Fedora spec file for redis
|
||||||
#
|
#
|
||||||
# License: MIT
|
# License: MIT
|
||||||
# http://opensource.org/licenses/MIT
|
# http://opensource.org/licenses/MIT
|
||||||
@ -7,36 +7,36 @@
|
|||||||
# Please preserve changelog entries
|
# Please preserve changelog entries
|
||||||
#
|
#
|
||||||
|
|
||||||
# temp workaround to https://bugzilla.redhat.com/2059488
|
|
||||||
%undefine _package_note_file
|
|
||||||
|
|
||||||
# Tests fail in mock, not in local build.
|
# Tests fail in mock, not in local build.
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
# Commit IDs for the (unversioned) redis-doc repository
|
# Commit IDs for the (unversioned) redis-doc repository
|
||||||
# https://fedoraproject.org/wiki/Packaging:SourceURL "Commit Revision"
|
# https://fedoraproject.org/wiki/Packaging:SourceURL "Commit Revision"
|
||||||
%global doc_commit c7880ba85fd67cb09110a4be790da47d4a6cec80
|
%global doc_commit 8d4bf9bc476829a84a055c049be72634d6e938df
|
||||||
%global short_doc_commit %(c=%{doc_commit}; echo ${c:0:7})
|
%global short_doc_commit %(c=%{doc_commit}; echo ${c:0:7})
|
||||||
|
|
||||||
# %%{rpmmacrodir} not usable on EL-6
|
# %%{rpmmacrodir} not usable on EL-6
|
||||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||||
|
|
||||||
Name: redis
|
Name: redis
|
||||||
Version: 7.0.12
|
Version: 6.2.7
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A persistent key-value database
|
Summary: A persistent key-value database
|
||||||
# redis, hiredis: BSD-3-Clause
|
# redis, jemalloc, linenoise, lzf, hiredis are BSD
|
||||||
# hdrhistogram, jemalloc, lzf, linenoise: BSD-2-Clause
|
# lua is MIT
|
||||||
# lua: MIT
|
License: BSD and MIT
|
||||||
License: BSD-3-Clause AND BSD-2-Clause AND MIT
|
|
||||||
URL: https://redis.io
|
URL: https://redis.io
|
||||||
Source0: https://download.redis.io/releases/%{name}-%{version}.tar.gz
|
Source0: https://download.redis.io/releases/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.logrotate
|
Source1: %{name}.logrotate
|
||||||
Source2: %{name}-sentinel.service
|
Source2: %{name}-sentinel.service
|
||||||
Source3: %{name}.service
|
Source3: %{name}.service
|
||||||
|
Source4: %{name}-sentinel.init
|
||||||
|
Source5: %{name}.init
|
||||||
|
Source6: %{name}-shutdown
|
||||||
Source7: %{name}-limit-systemd
|
Source7: %{name}-limit-systemd
|
||||||
|
Source8: %{name}-limit-init
|
||||||
Source9: macros.%{name}
|
Source9: macros.%{name}
|
||||||
Source10: https://github.com/%{name}/%{name}-doc/archive/%{doc_commit}/%{name}-doc-%{short_doc_commit}.tar.gz
|
Source10: https://github.com/antirez/%{name}-doc/archive/%{doc_commit}/%{name}-doc-%{short_doc_commit}.tar.gz
|
||||||
|
|
||||||
# To refresh patches:
|
# To refresh patches:
|
||||||
# tar xf redis-xxx.tar.gz && cd redis-xxx && git init && git add . && git commit -m "%%{version} baseline"
|
# tar xf redis-xxx.tar.gz && cd redis-xxx && git init && git add . && git commit -m "%%{version} baseline"
|
||||||
@ -44,11 +44,13 @@ Source10: https://github.com/%{name}/%{name}-doc/archive/%{doc_commit}/
|
|||||||
# Then refresh your patches
|
# Then refresh your patches
|
||||||
# git format-patch HEAD~<number of expected patches>
|
# git format-patch HEAD~<number of expected patches>
|
||||||
# Update configuration for Fedora
|
# Update configuration for Fedora
|
||||||
# https://github.com/redis/redis/pull/3491 - man pages
|
# https://github.com/antirez/redis/pull/3491 - man pages
|
||||||
Patch0001: 0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch
|
Patch0001: 0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch
|
||||||
Patch0002: 0002-deps-jemalloc-Do-not-force-building-in-gnu99-mode.patch
|
# revert BC break
|
||||||
|
Patch0003: redis-config.patch
|
||||||
|
|
||||||
|
# Security patches
|
||||||
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: procps-ng
|
BuildRequires: procps-ng
|
||||||
@ -56,26 +58,23 @@ BuildRequires: tcl
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(libsystemd)
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
# redis-trib functionality migrated to redis-cli
|
# Required for redis-shutdown
|
||||||
Obsoletes: redis-trib < 5
|
Requires: /bin/awk
|
||||||
Requires: logrotate
|
Requires: logrotate
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
# from deps/hiredis/hiredis.h
|
# from deps/hiredis/hiredis.h
|
||||||
Provides: bundled(hiredis) = 0.14.0
|
Provides: bundled(hiredis) = 1.0.0
|
||||||
# from deps/jemalloc/VERSION
|
# from deps/jemalloc/VERSION
|
||||||
Provides: bundled(jemalloc) = 5.2.1
|
Provides: bundled(jemalloc) = 5.1.0
|
||||||
# from deps/lua/src/lua.h
|
# from deps/lua/src/lua.h
|
||||||
Provides: bundled(lua-libs) = 5.1.5
|
Provides: bundled(lua-libs) = 5.1.5
|
||||||
# from deps/linenoise/linenoise.h
|
# from deps/linenoise/linenoise.h
|
||||||
Provides: bundled(linenoise) = 1.0
|
Provides: bundled(linenoise) = 1.0
|
||||||
Provides: bundled(lzf)
|
Provides: bundled(lzf)
|
||||||
# from deps/hdr_histogram/README.md
|
|
||||||
Provides: bundled(hdr_histogram) = 0.11.0
|
|
||||||
|
|
||||||
%global redis_modules_abi 1
|
%global redis_modules_abi 1
|
||||||
%global redis_modules_dir %{_libdir}/%{name}/modules
|
%global redis_modules_dir %{_libdir}/%{name}/modules
|
||||||
@ -117,7 +116,7 @@ API documentation is available in the redis-doc package.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for Redis including man pages
|
Summary: Documentation for Redis including man pages
|
||||||
License: CC-BY-SA-4.0
|
License: CC-BY-SA
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
|
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
|
||||||
@ -132,14 +131,12 @@ administration and development.
|
|||||||
%setup -q -b 10
|
%setup -q -b 10
|
||||||
%setup -q
|
%setup -q
|
||||||
mv ../%{name}-doc-%{doc_commit} doc
|
mv ../%{name}-doc-%{doc_commit} doc
|
||||||
%patch -P0001 -p1
|
%patch0001 -p1
|
||||||
%patch -P0002 -p1
|
%patch0003 -p1 -b .rev
|
||||||
|
|
||||||
mv deps/lua/COPYRIGHT COPYRIGHT-lua
|
mv deps/lua/COPYRIGHT COPYRIGHT-lua
|
||||||
mv deps/jemalloc/COPYING COPYING-jemalloc
|
mv deps/jemalloc/COPYING COPYING-jemalloc
|
||||||
mv deps/hiredis/COPYING COPYING-hiredis
|
mv deps/hiredis/COPYING COPYING-hiredis
|
||||||
mv deps/hdr_histogram/LICENSE.txt LICENSE-hdrhistogram
|
|
||||||
mv deps/hdr_histogram/COPYING.txt COPYING-hdrhistogram
|
|
||||||
|
|
||||||
# Configuration file changes
|
# Configuration file changes
|
||||||
sed -i -e 's|^logfile .*$|logfile /var/log/redis/redis.log|g' redis.conf
|
sed -i -e 's|^logfile .*$|logfile /var/log/redis/redis.log|g' redis.conf
|
||||||
@ -157,7 +154,7 @@ fi
|
|||||||
%global make_flags DEBUG="" V="echo" LDFLAGS="%{?__global_ldflags}" CFLAGS+="%{optflags} -fPIC" INSTALL="install -p" PREFIX=%{buildroot}%{_prefix} BUILD_WITH_SYSTEMD=yes BUILD_TLS=yes
|
%global make_flags DEBUG="" V="echo" LDFLAGS="%{?__global_ldflags}" CFLAGS+="%{optflags} -fPIC" INSTALL="install -p" PREFIX=%{buildroot}%{_prefix} BUILD_WITH_SYSTEMD=yes BUILD_TLS=yes
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build %{make_flags} all
|
make %{?_smp_mflags} %{make_flags} all
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make %{make_flags} install
|
make %{make_flags} install
|
||||||
@ -172,8 +169,8 @@ install -d %{buildroot}%{redis_modules_dir}
|
|||||||
install -pDm644 %{S:1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
install -pDm644 %{S:1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||||
|
|
||||||
# Install configuration files.
|
# Install configuration files.
|
||||||
install -pDm640 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
|
install -pDm640 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
|
||||||
install -pDm640 sentinel.conf %{buildroot}%{_sysconfdir}/%{name}/sentinel.conf
|
install -pDm640 sentinel.conf %{buildroot}%{_sysconfdir}/%{name}-sentinel.conf
|
||||||
|
|
||||||
# Install systemd unit files.
|
# Install systemd unit files.
|
||||||
mkdir -p %{buildroot}%{_unitdir}
|
mkdir -p %{buildroot}%{_unitdir}
|
||||||
@ -187,6 +184,9 @@ install -p -D -m 644 %{S:7} %{buildroot}%{_sysconfdir}/systemd/system/%{name}-se
|
|||||||
# Fix non-standard-executable-perm error.
|
# Fix non-standard-executable-perm error.
|
||||||
chmod 755 %{buildroot}%{_bindir}/%{name}-*
|
chmod 755 %{buildroot}%{_bindir}/%{name}-*
|
||||||
|
|
||||||
|
# Install redis-shutdown
|
||||||
|
install -pDm755 %{S:6} %{buildroot}%{_libexecdir}/%{name}-shutdown
|
||||||
|
|
||||||
# Install redis module header
|
# Install redis module header
|
||||||
install -pDm644 src/%{name}module.h %{buildroot}%{_includedir}/%{name}module.h
|
install -pDm644 src/%{name}module.h %{buildroot}%{_includedir}/%{name}module.h
|
||||||
|
|
||||||
@ -200,7 +200,7 @@ ln -s redis.conf.5 %{buildroot}%{_mandir}/man5/redis-sentinel.conf.5
|
|||||||
|
|
||||||
# Install documentation and html pages
|
# Install documentation and html pages
|
||||||
doc=$(echo %{buildroot}/%{_docdir}/%{name})
|
doc=$(echo %{buildroot}/%{_docdir}/%{name})
|
||||||
for page in 00-RELEASENOTES BUGS MANIFESTO *.md; do
|
for page in 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO; do
|
||||||
install -Dpm644 $page $doc/$page
|
install -Dpm644 $page $doc/$page
|
||||||
done
|
done
|
||||||
for page in $(find doc -name \*.md | sed -e 's|.md$||g'); do
|
for page in $(find doc -name \*.md | sed -e 's|.md$||g'); do
|
||||||
@ -214,7 +214,7 @@ install -pDm644 %{S:9} %{buildroot}%{macrosdir}/macros.%{name}
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
# https://github.com/redis/redis/issues/1417 (for "taskset -c 1")
|
# https://github.com/antirez/redis/issues/1417 (for "taskset -c 1")
|
||||||
taskset -c 1 make %{make_flags} test
|
taskset -c 1 make %{make_flags} test
|
||||||
make %{make_flags} test-sentinel
|
make %{make_flags} test-sentinel
|
||||||
%endif
|
%endif
|
||||||
@ -228,25 +228,6 @@ useradd -r -g %{name} -d %{_sharedstatedir}/%{name} -s /sbin/nologin \
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ -f %{_sysconfdir}/%{name}.conf -a ! -L %{_sysconfdir}/%{name}.conf ]; then
|
|
||||||
if [ -f %{_sysconfdir}/%{name}/%{name}.conf.rpmnew ]; then
|
|
||||||
rm %{_sysconfdir}/%{name}/%{name}.conf.rpmnew
|
|
||||||
fi
|
|
||||||
if [ -f %{_sysconfdir}/%{name}/%{name}.conf ]; then
|
|
||||||
mv %{_sysconfdir}/%{name}/%{name}.conf %{_sysconfdir}/%{name}/%{name}.conf.rpmnew
|
|
||||||
fi
|
|
||||||
mv %{_sysconfdir}/%{name}.conf %{_sysconfdir}/%{name}/%{name}.conf
|
|
||||||
echo -e "\nWarning: %{name} configuration is now in %{_sysconfdir}/%{name} directory\n"
|
|
||||||
fi
|
|
||||||
if [ -f %{_sysconfdir}/%{name}-sentinel.conf -a ! -L %{_sysconfdir}/%{name}-sentinel.conf ]; then
|
|
||||||
if [ -f %{_sysconfdir}/%{name}/sentinel.conf.rpmnew ]; then
|
|
||||||
rm %{_sysconfdir}/%{name}/sentinel.conf.rpmnew
|
|
||||||
fi
|
|
||||||
if [ -f %{_sysconfdir}/%{name}/sentinel.conf ]; then
|
|
||||||
mv %{_sysconfdir}/%{name}/sentinel.conf %{_sysconfdir}/%{name}/sentinel.conf.rpmnew
|
|
||||||
fi
|
|
||||||
mv %{_sysconfdir}/%{name}-sentinel.conf %{_sysconfdir}/%{name}/sentinel.conf
|
|
||||||
fi
|
|
||||||
%systemd_post %{name}.service
|
%systemd_post %{name}.service
|
||||||
%systemd_post %{name}-sentinel.service
|
%systemd_post %{name}-sentinel.service
|
||||||
|
|
||||||
@ -264,20 +245,18 @@ fi
|
|||||||
%license COPYRIGHT-lua
|
%license COPYRIGHT-lua
|
||||||
%license COPYING-jemalloc
|
%license COPYING-jemalloc
|
||||||
%license COPYING-hiredis
|
%license COPYING-hiredis
|
||||||
%license LICENSE-hdrhistogram
|
|
||||||
%license COPYING-hdrhistogram
|
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||||
%attr(0750, redis, root) %dir %{_sysconfdir}/%{name}
|
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||||
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}-sentinel.conf
|
||||||
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}/sentinel.conf
|
%dir %attr(0750, redis, redis) %{_libdir}/%{name}
|
||||||
%dir %{_libdir}/%{name}
|
%dir %attr(0750, redis, redis) %{redis_modules_dir}
|
||||||
%dir %{redis_modules_dir}
|
|
||||||
%dir %attr(0750, redis, redis) %{_sharedstatedir}/%{name}
|
%dir %attr(0750, redis, redis) %{_sharedstatedir}/%{name}
|
||||||
%dir %attr(0750, redis, redis) %{_localstatedir}/log/%{name}
|
%dir %attr(0750, redis, redis) %{_localstatedir}/log/%{name}
|
||||||
%exclude %{macrosdir}
|
%exclude %{macrosdir}
|
||||||
%exclude %{_includedir}
|
%exclude %{_includedir}
|
||||||
%exclude %{_docdir}/%{name}/*
|
%exclude %{_docdir}/%{name}/*
|
||||||
%{_bindir}/%{name}-*
|
%{_bindir}/%{name}-*
|
||||||
|
%{_libexecdir}/%{name}-*
|
||||||
%{_mandir}/man1/%{name}*
|
%{_mandir}/man1/%{name}*
|
||||||
%{_mandir}/man5/%{name}*
|
%{_mandir}/man5/%{name}*
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
@ -295,227 +274,68 @@ fi
|
|||||||
%{macrosdir}/*
|
%{macrosdir}/*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
# specific for documentation (CC-BY-SA)
|
# main package is not required
|
||||||
%license doc/LICENSE
|
%license COPYING
|
||||||
%docdir %{_docdir}/%{name}
|
%docdir %{_docdir}/%{name}
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/%{name}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jul 11 2023 Remi Collet <rcollet@redhat.com> - 7.0.12-1
|
* Mon May 9 2022 Remi Collet <rcollet@redhat.com> - 6.2.7-1
|
||||||
- rebase to 7.0.12 #2221899
|
- rebase to 6.2.7 #1999873
|
||||||
|
|
||||||
* Thu May 25 2023 Remi Collet <rcollet@redhat.com> - 7.0.11-1
|
* Mon Oct 11 2021 Remi Collet <rcollet@redhat.com> - 6.0.9-5
|
||||||
- rebase to 7.0.11 for new redis:7 stream #2129826
|
- fix denial of service via Redis Standard Protocol (RESP) request
|
||||||
|
CVE-2021-32675
|
||||||
|
|
||||||
* Tue Apr 18 2023 Remi Collet <remi@remirepo.net> - 7.0.11-1
|
* Fri Oct 8 2021 Remi Collet <rcollet@redhat.com> - 6.0.9-4
|
||||||
- Upstream 7.0.11 release.
|
- fix lua scripts can overflow the heap-based Lua stack
|
||||||
|
CVE-2021-32626
|
||||||
|
- fix integer overflow issue with Streams
|
||||||
|
CVE-2021-32627
|
||||||
|
- fix integer overflow bug in the ziplist data structure
|
||||||
|
CVE-2021-32628
|
||||||
|
- fix integer overflow issue with intsets
|
||||||
|
CVE-2021-32687
|
||||||
|
- fix integer overflow issue with strings
|
||||||
|
CVE-2021-41099
|
||||||
|
|
||||||
* Thu Mar 30 2023 Remi Collet <remi@remirepo.net> - 7.0.10-2
|
* Wed May 12 2021 Remi Collet <rcollet@redhat.com> - 6.0.9-3
|
||||||
- fix modules directory ownership and permissions #2176173
|
- fix integer overflow via STRALGO LCS command
|
||||||
- drop redis-shutdown helper and rely on systemd #2181181
|
CVE-2021-29477
|
||||||
|
|
||||||
* Tue Mar 21 2023 Remi Collet <remi@remirepo.net> - 7.0.10-1
|
* Tue Nov 24 2020 Remi Collet <rcollet@redhat.com> - 6.0.9-2
|
||||||
- Upstream 7.0.10 release.
|
- revert "simplify config rewrite file" and keep
|
||||||
|
configuration in /etc
|
||||||
|
|
||||||
* Wed Feb 1 2023 Remi Collet <remi@remirepo.net> - 7.0.9-1
|
* Thu Oct 29 2020 Remi Collet <rcollet@redhat.com> - 6.0.9-1
|
||||||
- Upstream 7.0.9 release.
|
- update to 6.0.9
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.8-2
|
* Tue Oct 20 2020 Remi Collet <rcollet@redhat.com> - 6.0.8-1
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- update to 6.0.8 for new stream #1862063
|
||||||
|
|
||||||
* Tue Jan 17 2023 Remi Collet <remi@remirepo.net> - 7.0.8-1
|
* Thu Jul 11 2019 Remi Collet <rcollet@redhat.com> - 5.0.3-2
|
||||||
- Upstream 7.0.8 release.
|
- fix Heap buffer overflow in HyperLogLog triggered by malicious client
|
||||||
|
CVE-2019-10192
|
||||||
|
- fix Stack buffer overflow in HyperLogLog triggered by malicious client
|
||||||
|
CVE-2019-10193
|
||||||
|
|
||||||
* Fri Dec 16 2022 Remi Collet <remi@remirepo.net> - 7.0.7-2
|
* Thu Dec 13 2018 Remi Collet <rcollet@redhat.com> - 5.0.3-1
|
||||||
- Upstream 7.0.7 release.
|
- update to 5.0.3
|
||||||
- refresh documentation
|
|
||||||
|
|
||||||
* Tue Dec 13 2022 Remi Collet <remi@remirepo.net> - 7.0.6-1
|
|
||||||
- Upstream 7.0.6 release.
|
|
||||||
|
|
||||||
* Mon Dec 5 2022 Florian Weimer <fweimer@redhat.com> - 7.0.5-2
|
|
||||||
- Port makefile to C99 mode
|
|
||||||
|
|
||||||
* Thu Sep 22 2022 Remi Collet <remi@remirepo.net> - 7.0.5-1
|
|
||||||
- Upstream 7.0.5 security release.
|
|
||||||
|
|
||||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.4-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 18 2022 Remi Collet <remi@remirepo.net> - 7.0.4-1
|
|
||||||
- Upstream 7.0.4 release.
|
|
||||||
|
|
||||||
* Tue Jul 12 2022 Remi Collet <remi@remirepo.net> - 7.0.3-1
|
|
||||||
- Upstream 7.0.3 release.
|
|
||||||
|
|
||||||
* Mon Jun 13 2022 Remi Collet <remi@remirepo.net> - 7.0.2-1
|
|
||||||
- Upstream 7.0.2 release.
|
|
||||||
|
|
||||||
* Wed Jun 8 2022 Remi Collet <remi@remirepo.net> - 7.0.1-1
|
|
||||||
- Upstream 7.0.1 release.
|
|
||||||
|
|
||||||
* Thu Apr 28 2022 Remi Collet <remi@remirepo.net> - 7.0.0-1
|
|
||||||
- Upstream 7.0.0 release.
|
|
||||||
|
|
||||||
* Thu Apr 28 2022 Remi Collet <remi@remirepo.net> - 6.2.7-1
|
|
||||||
- Upstream 6.2.7 release.
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.6-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Nov 3 2021 Remi Collet <remi@remirepo.net> - 6.2.6-2
|
|
||||||
- use proper license in dec/devel sub-packages
|
|
||||||
|
|
||||||
* Mon Oct 4 2021 Remi Collet <remi@remirepo.net> - 6.2.6-1
|
|
||||||
- Upstream 6.2.6 release.
|
|
||||||
|
|
||||||
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 6.2.5-2
|
|
||||||
- Rebuilt with OpenSSL 3.0.0
|
|
||||||
|
|
||||||
* Thu Jul 22 2021 Nathan Scott <nathans@redhat.com> - 6.2.5-1
|
|
||||||
- Upstream 6.2.5 release (RHBZ #1984631).
|
|
||||||
- Fix CVE-2021-32761: 32-bit systems BITFIELD command integer overflow.
|
|
||||||
|
|
||||||
* Wed Jun 2 2021 Remi Collet <remi@remirepo.net> - 6.2.4-1
|
|
||||||
- Upstream 6.2.4 release.
|
|
||||||
|
|
||||||
* Tue May 4 2021 Remi Collet <remi@remirepo.net> - 6.2.3-1
|
|
||||||
- Upstream 6.2.3 release
|
|
||||||
|
|
||||||
* Tue Apr 20 2021 Remi Collet <remi@remirepo.net> - 6.2.2-1
|
|
||||||
- Upstream 6.2.2 release
|
|
||||||
|
|
||||||
* Thu Apr 01 2021 Nathan Scott <nathans@redhat.com> - 6.2.1-1
|
|
||||||
- Upstream 6.2.1 release
|
|
||||||
- Merged make-macros spec change from Tom Stellard
|
|
||||||
|
|
||||||
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 6.2.0-2
|
|
||||||
- Rebuilt for updated systemd-rpm-macros
|
|
||||||
See https://pagure.io/fesco/issue/2583.
|
|
||||||
|
|
||||||
* Mon Mar 01 2021 Nathan Scott <nathans@redhat.com> - 6.2.0-1
|
|
||||||
- Upstream 6.2.0 release (RHBZ #1915463).
|
|
||||||
- drop patch merged upstream.
|
|
||||||
|
|
||||||
* Wed Feb 24 2021 Nathan Scott <nathans@redhat.com> - 6.0.11-1
|
|
||||||
- Upstream 6.0.11 release.
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.10-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 13 2021 Remi Collet <remi@remirepo.net> - 6.0.10-1
|
|
||||||
- Upstream 6.0.10 release.
|
|
||||||
|
|
||||||
* Tue Nov 24 2020 Remi Collet <remi@remirepo.net> - 6.0.9-3
|
|
||||||
- fix check for regular file, not symlink
|
|
||||||
|
|
||||||
* Mon Nov 23 2020 Remi Collet <remi@remirepo.net> - 6.0.9-2
|
|
||||||
- move configuration in /etc/redis per upstream recommendation
|
|
||||||
see https://github.com/redis/redis/issues/8051
|
|
||||||
|
|
||||||
* Tue Oct 27 2020 Remi Collet <remi@remirepo.net> - 6.0.9-1
|
|
||||||
- Upstream 6.0.9 release.
|
|
||||||
|
|
||||||
* Tue Oct 20 2020 Remi Collet <remi@remirepo.net> - 6.0.8-2
|
|
||||||
- add missing LICENSE files in main package
|
|
||||||
|
|
||||||
* Thu Sep 10 2020 Remi Collet <remi@remirepo.net> - 6.0.8-1
|
|
||||||
- Upstream 6.0.8 release.
|
|
||||||
|
|
||||||
* Tue Sep 1 2020 Remi Collet <remi@remirepo.net> - 6.0.7-1
|
|
||||||
- Upstream 6.0.7 release.
|
|
||||||
- drop patch merged upstream
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.6-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 21 2020 Remi Collet <rcollet@redhat.com> - 6.0.6-1
|
|
||||||
- Upstream 6.0.6 release.
|
|
||||||
- drop patch merged upstream
|
|
||||||
- open https://github.com/redis/redis/pull/7543 fix deprecated tail syntax
|
|
||||||
|
|
||||||
* Wed Jun 10 2020 Nathan Scott <nathans@redhat.com> - 6.0.5-1
|
|
||||||
- Upstream 6.0.5 release.
|
|
||||||
|
|
||||||
* Thu May 28 2020 Remi Collet <remi@remirepo.net> - 6.0.4-3
|
|
||||||
- Add comment for TimeoutStartSec and TimeoutStopSec in limit.conf
|
|
||||||
- Fix missing notification to systemd for sentinel
|
|
||||||
patch from https://github.com/redis/redis/pull/7168
|
|
||||||
- Upstream 6.0.4 release.
|
|
||||||
|
|
||||||
* Mon May 18 2020 Nathan Scott <nathans@redhat.com> - 6.0.3-1
|
|
||||||
- Upstream 6.0.3 release.
|
|
||||||
|
|
||||||
* Wed May 6 2020 Remi Collet <rcollet@redhat.com> - 6.0.1-1
|
|
||||||
- Upstream 6.0.1 release.
|
|
||||||
|
|
||||||
* Fri May 01 2020 Nathan Scott <nathans@redhat.com> - 6.0.0-1
|
|
||||||
- Upstream 6.0.0 release.
|
|
||||||
|
|
||||||
* Fri Mar 13 2020 Nathan Scott <nathans@redhat.com> - 5.0.8-1
|
|
||||||
- Upstream 5.0.8 release.
|
|
||||||
|
|
||||||
* Wed Feb 12 2020 Nathan Scott <nathans@redhat.com> - 5.0.7-3
|
|
||||||
- Patch extern SDS_NOINIT definition for gcc 10 (RHBZ #1799969)
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.7-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Nov 19 2019 Carl George <carl@george.computer> - 5.0.7-1
|
|
||||||
- Latest upstream
|
|
||||||
|
|
||||||
* Thu Sep 26 2019 Nathan Scott <nathans@redhat.com> - 5.0.6-1
|
|
||||||
- Upstream 5.0.6 release and redis-doc updates.
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.5-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 15 2019 Nathan Scott <nathans@redhat.com> - 5.0.5-2
|
|
||||||
- Use the (modified) bundled jemalloc for defrag (RHBZ #1725852)
|
|
||||||
|
|
||||||
* Thu May 16 2019 Nathan Scott <nathans@redhat.com> - 5.0.5-1
|
|
||||||
- Upstream 5.0.5 release and redis-doc updates.
|
|
||||||
|
|
||||||
* Sat May 11 2019 Nathan Scott <nathans@redhat.com> - 5.0.4-2
|
|
||||||
- Obsolete redis-trib - functionality now in redis-cli(1)
|
|
||||||
- Remove old chkconfig support, all systemd platforms now
|
|
||||||
|
|
||||||
* Tue Mar 19 2019 Nathan Scott <nathans@redhat.com> - 5.0.4-1
|
|
||||||
- Upstream 5.0.4 release and redis-doc updates.
|
|
||||||
- Fix sentinel.conf logfile line addition.
|
|
||||||
|
|
||||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Dec 13 2018 Nathan Scott <nathans@redhat.com> - 5.0.3-1
|
|
||||||
- Upstream 5.0.3 release and redis-doc updates.
|
|
||||||
|
|
||||||
* Fri Nov 23 2018 Nathan Scott <nathans@redhat.com> - 5.0.2-1
|
|
||||||
- Upstream 5.0.2 release and redis-doc updates.
|
|
||||||
|
|
||||||
* Thu Nov 08 2018 Nathan Scott <nathans@redhat.com> - 5.0.1-1
|
|
||||||
- Upstream 5.0.1 release.
|
|
||||||
|
|
||||||
* Thu Oct 18 2018 Nathan Scott <nathans@redhat.com> - 5.0.0-1
|
|
||||||
- Update systemd service files for network-online requirement
|
|
||||||
- Upstream 5.0.0 release.
|
|
||||||
|
|
||||||
* Thu Aug 09 2018 Nathan Scott <nathans@redhat.com> - 4.0.11-1
|
|
||||||
- Drop the pandoc build dependency, install only markdown.
|
|
||||||
- Upstream 4.0.11 release.
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.10-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 25 2018 Remi Collet <rcollet@redhat.com> - 4.0.10-2
|
* Mon Jun 25 2018 Remi Collet <rcollet@redhat.com> - 4.0.10-2
|
||||||
|
- drop build dependency on pandoc
|
||||||
|
- drop dependency on jemalloc #1591762
|
||||||
- fix License (BSD and MIT)
|
- fix License (BSD and MIT)
|
||||||
- add bundled libraries licences
|
- add bundled libraries licences
|
||||||
- add information about bundled lzf
|
- cleanup conditions from spec file
|
||||||
|
|
||||||
* Thu Jun 14 2018 Nathan Scott <nathans@redhat.com> - 4.0.10-1
|
* Thu Jun 14 2018 Nathan Scott <nathans@redhat.com> - 4.0.10-1
|
||||||
- Upstream 4.0.10 release.
|
- Upstream 4.0.10 release.
|
||||||
|
|
||||||
|
* Mon May 21 2018 Joe Orton <jorton@redhat.com> - 4.0.9-1.2
|
||||||
|
- rebuild (#1571197)
|
||||||
|
|
||||||
* Tue Mar 27 2018 Nathan Scott <nathans@redhat.com> - 4.0.9-1
|
* Tue Mar 27 2018 Nathan Scott <nathans@redhat.com> - 4.0.9-1
|
||||||
- Upstream 4.0.9 release.
|
- Upstream 4.0.9 release.
|
||||||
|
|
||||||
@ -605,11 +425,11 @@ fi
|
|||||||
|
|
||||||
* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> - 3.2.3-2
|
* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> - 3.2.3-2
|
||||||
- add missing man pages #1374577
|
- add missing man pages #1374577
|
||||||
using patch from https://github.com/redis/redis/pull/3491
|
using patch from https://github.com/antirez/redis/pull/3491
|
||||||
- data and configuration should not be publicly readable #1374700
|
- data and configuration should not be publicly readable #1374700
|
||||||
- remove /var/run/redis with systemd #1374728
|
- remove /var/run/redis with systemd #1374728
|
||||||
- provide redis-check-rdb as a symlink to redis-server #1374736
|
- provide redis-check-rdb as a symlink to redis-server #1374736
|
||||||
using patch from https://github.com/redis/redis/pull/3494
|
using patch from https://github.com/antirez/redis/pull/3494
|
||||||
- move redis-shutdown to libexec
|
- move redis-shutdown to libexec
|
||||||
|
|
||||||
* Thu Aug 4 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 3.2.3-1
|
* Thu Aug 4 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 3.2.3-1
|
10
gating.yaml
10
gating.yaml
@ -1,10 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-9
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier2.functional}
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier3.functional}
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional}
|
|
||||||
|
|
2
sources
2
sources
@ -1,2 +0,0 @@
|
|||||||
SHA512 (redis-7.0.12.tar.gz) = 27ed0ab054d262028d236694f323387e3ef0e007de782545878011a7535e188152ed0af898dea4d6c0a7fa385849bbce6a0d85661780cb0e69c7d89dea3825b8
|
|
||||||
SHA512 (redis-doc-c7880ba.tar.gz) = 9aa62207768f7bdeda398f6684eaaa6d00f51934be3762c988e4ff6232be107d98e061a9da6d62c5a38c4f69c2d13bee5f5788e02d249063acdabf8faf4a2420
|
|
Loading…
Reference in New Issue
Block a user