redis: update to 5.0.4.
This commit is contained in:
parent
5dd5af0029
commit
95c7d23fa0
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'redis'
|
# Template file for 'redis'
|
||||||
pkgname=redis
|
pkgname=redis
|
||||||
version=5.0.3
|
version=5.0.4
|
||||||
revision=2
|
revision=1
|
||||||
makedepends="jemalloc-devel libatomic-devel"
|
makedepends="jemalloc-devel libatomic-devel"
|
||||||
checkdepends="tcl-devel"
|
checkdepends="tcl-devel"
|
||||||
short_desc="Advanced key-value store"
|
short_desc="Advanced key-value store"
|
||||||
|
@ -10,7 +10,7 @@ license="BSD-3-Clause"
|
||||||
homepage="https://redis.io"
|
homepage="https://redis.io"
|
||||||
changelog="https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES"
|
changelog="https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES"
|
||||||
distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz"
|
distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz"
|
||||||
checksum=e290b4ddf817b26254a74d5d564095b11f9cd20d8f165459efa53eb63cd93e02
|
checksum=3ce9ceff5a23f60913e1573f6dfcd4aa53b42d4a2789e28fa53ec2bd28c987dd
|
||||||
|
|
||||||
system_accounts="redis"
|
system_accounts="redis"
|
||||||
redis_homedir="/var/lib/redis"
|
redis_homedir="/var/lib/redis"
|
||||||
|
@ -19,11 +19,11 @@ conf_files="/etc/redis/redis.conf"
|
||||||
make_dirs="/var/lib/redis 0700 redis redis"
|
make_dirs="/var/lib/redis 0700 redis redis"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
sed -i \
|
vsed -i \
|
||||||
-e "s|^# bind 127.0.0.1|bind 127.0.0.1|" \
|
-e "s|^# bind 127.0.0.1|bind 127.0.0.1|" \
|
||||||
-e "s|^dir .*|dir ${redis_homedir}|" \
|
-e "s|^dir .*|dir ${redis_homedir}|" \
|
||||||
-e "s|^pidfile .*|pidfile /run/redis/redis.pid|" redis.conf
|
-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() {
|
do_build() {
|
||||||
|
|
Loading…
Reference in New Issue