mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
redis: restrict /etc/redis permissions
It's not a good idea to have /etc/redis/redis.conf world-readable since it may contain sensitive informations like passwords.
This commit is contained in:
parent
b914d653bd
commit
1aaabd4370
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'redis'
|
# Template file for 'redis'
|
||||||
pkgname=redis
|
pkgname=redis
|
||||||
version=7.0.8
|
version=7.0.8
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="V=1"
|
make_build_args="V=1"
|
||||||
make_check_target="test"
|
make_check_target="test"
|
||||||
|
@ -18,7 +18,9 @@ system_accounts="redis"
|
||||||
redis_homedir="/var/lib/redis"
|
redis_homedir="/var/lib/redis"
|
||||||
conf_files="/etc/redis/redis.conf"
|
conf_files="/etc/redis/redis.conf"
|
||||||
|
|
||||||
make_dirs="/var/lib/redis 0700 redis redis"
|
make_dirs="
|
||||||
|
/var/lib/redis 0700 redis redis
|
||||||
|
/etc/redis 0750 root redis"
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
make_build_args+=" MALLOC=libc"
|
make_build_args+=" MALLOC=libc"
|
||||||
|
|
Loading…
Add table
Reference in a new issue