redis: update to 5.0.4.

This commit is contained in:
maxice8 2019-03-23 16:42:42 -03:00 committed by maxice8
parent 5dd5af0029
commit 95c7d23fa0
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'redis'
pkgname=redis
version=5.0.3
revision=2
version=5.0.4
revision=1
makedepends="jemalloc-devel libatomic-devel"
checkdepends="tcl-devel"
short_desc="Advanced key-value store"
@ -10,7 +10,7 @@ license="BSD-3-Clause"
homepage="https://redis.io"
changelog="https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES"
distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz"
checksum=e290b4ddf817b26254a74d5d564095b11f9cd20d8f165459efa53eb63cd93e02
checksum=3ce9ceff5a23f60913e1573f6dfcd4aa53b42d4a2789e28fa53ec2bd28c987dd
system_accounts="redis"
redis_homedir="/var/lib/redis"
@ -19,11 +19,11 @@ conf_files="/etc/redis/redis.conf"
make_dirs="/var/lib/redis 0700 redis redis"
do_configure() {
sed -i \
vsed -i \
-e "s|^# bind 127.0.0.1|bind 127.0.0.1|" \
-e "s|^dir .*|dir ${redis_homedir}|" \
-e "s|^pidfile .*|pidfile /run/redis/redis.pid|" redis.conf
sed -i -e "s|^FINAL_LIBS=.*|& -latomic|" src/Makefile
vsed -i -e "s|^FINAL_LIBS=.*|& -latomic|" src/Makefile
}
do_build() {