* update redis to 7.0.0-1

This commit is contained in:
Alexander Baldeck 2022-05-09 14:32:47 +02:00
parent 58a94be7b4
commit c930eaea12
4 changed files with 8 additions and 15 deletions

View File

@ -7,10 +7,10 @@
# Contributor: nofxx <x@<nick>.com> # Contributor: nofxx <x@<nick>.com>
pkgname=redis pkgname=redis
pkgver=6.2.6 pkgver=7.0.0
pkgrel=1 pkgrel=1
pkgdesc='An in-memory database that persists on disk' pkgdesc='An in-memory database that persists on disk'
arch=(x86_64 powerpc64le powerpc) arch=(x86_64 powerpc64le powerpc riscv64)
url='https://redis.io/' url='https://redis.io/'
license=('BSD') license=('BSD')
depends=('jemalloc' 'grep' 'shadow' 'systemd-libs') depends=('jemalloc' 'grep' 'shadow' 'systemd-libs')
@ -27,12 +27,12 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/redis/redis/archive/${p
redis.conf-sane-defaults.patch redis.conf-sane-defaults.patch
redis-5.0-use-system-jemalloc.patch redis-5.0-use-system-jemalloc.patch
redis-powerpc-atomic.patch) redis-powerpc-atomic.patch)
sha512sums=('33dccbc511916ceb6793b0ba74f9639a2b3cf90334dc4a44a78256aa651cd60d12f848ab425f2ca6c64c138159657c3eadc600f49ce2dc6a8b444943491706c1' sha512sums=('9209dd95511a27802f83197b037c006c5f40c50fe5315eb6a5ac2af1619a7b1c890160106157086420c1aca8a058f573681bfad1897052308ca6e64407404757'
'749c5eecfd6cd2ed949302672c20a7972dbef3a4b971ed569eb064362d7f20434b5c39077f665e178394158b5200375bc2e56614682fa08dbf99e868a9b75783' '8abf27f173a4532295dafd91b8e6e226e4376f1b2543c911e4fa60466d50523ada4dcfe520a738fd756c5725f4319153a0c0b26f6cdba234775114c72e4e7865'
'2314c26920f5f0989fb98622f594b621a0b5035525146263da3fdfe640257118e03fc1903c15a62bcd4fbf260e0dcbf9249088292323739a607a11c9630795bf' '2314c26920f5f0989fb98622f594b621a0b5035525146263da3fdfe640257118e03fc1903c15a62bcd4fbf260e0dcbf9249088292323739a607a11c9630795bf'
'2227dfb41bf5112f91716f011862ba5fade220aea3b6a8134a5a05ee3af6d1cca05b08d793a486be97df98780bf43ac5dc4e5e9989ae0c5cd4e1eedb6cee5d71' '2227dfb41bf5112f91716f011862ba5fade220aea3b6a8134a5a05ee3af6d1cca05b08d793a486be97df98780bf43ac5dc4e5e9989ae0c5cd4e1eedb6cee5d71'
'6a817024df70213205159de8350c684684d7dbda568c35a0a3d654bab0b91ec62d60b1a2aac6e1ffbe24040df4033b37a77361357834c572759f2d3c76d16ac0' '6a817024df70213205159de8350c684684d7dbda568c35a0a3d654bab0b91ec62d60b1a2aac6e1ffbe24040df4033b37a77361357834c572759f2d3c76d16ac0'
'9c43c858270d72cf5251d8226b0113f83c1749ad39b8ba286b7f90f05ad666d62ae7e17dc41a2d0a7bec833d65c98c7a3f12a30a93a28f0b1ab1c5a9e9a04a73' 'f45b5d20769159faeeb705e1bb9e4fdc3d74c0779b476cada829bfb49014c6ba6cd78d1d2751bf39acb6db4528281e9cab3aca684cadf687eb5fad10c7453154'
'0acb08a6e0eaba239db7461bcfeddfbe0c1aaa517dc33c3918c9e991a1d5067cfe135b7f75085caade8c3ababd51ec9cefcc4120f57818bea1f7029a548a7732' '0acb08a6e0eaba239db7461bcfeddfbe0c1aaa517dc33c3918c9e991a1d5067cfe135b7f75085caade8c3ababd51ec9cefcc4120f57818bea1f7029a548a7732'
'94c590b760526da8cc5f61376587d988d3da2dbd8271b432275f4a4a60e29ba590da925a974d9e839c17b5592b597ec0226741e9fc2eb6781f243cd98580e7d5') '94c590b760526da8cc5f61376587d988d3da2dbd8271b432275f4a4a60e29ba590da925a974d9e839c17b5592b597ec0226741e9fc2eb6781f243cd98580e7d5')

View File

@ -2,15 +2,6 @@ diff --git a/redis.conf b/redis.conf
index 465d56fc0..9c1bd1ed1 100644 index 465d56fc0..9c1bd1ed1 100644
--- a/redis.conf --- a/redis.conf
+++ b/redis.conf +++ b/redis.conf
@@ -262,7 +262,7 @@ daemonize no
# The default is "no". To run under upstart/systemd, you can simply uncomment
# the line below:
#
-# supervised auto
+supervised systemd
# If a pid file is specified, Redis writes it where specified at startup
# and removes it at exit.
@@ -441,7 +441,7 @@ rdb-del-sync-files no @@ -441,7 +441,7 @@ rdb-del-sync-files no
# The Append Only File will also be created inside this directory. # The Append Only File will also be created inside this directory.
# #

View File

@ -1,5 +1,7 @@
post_upgrade() { post_upgrade() {
if (( $(vercmp $2 6.2.1-2) < 0 )); then
echo "" echo ""
echo "Note: The redis config has been moved from /etc/redis.conf to /etc/redis/redis.conf" echo "Note: The redis config has been moved from /etc/redis.conf to /etc/redis/redis.conf"
echo "" echo ""
fi
} }

View File

@ -6,7 +6,7 @@ After=network.target
Type=notify Type=notify
User=redis User=redis
Group=redis Group=redis
ExecStart=/usr/bin/redis-server /etc/redis/redis.conf ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --supervised systemd
TimeoutStartSec=60 TimeoutStartSec=60
TimeoutStopSec=60 TimeoutStopSec=60
CapabilityBoundingSet= CapabilityBoundingSet=