summaryrefslogtreecommitdiff
path: root/databases/redis/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-08-03 10:38:45 +0000
committerwiz <wiz@pkgsrc.org>2020-08-03 10:38:45 +0000
commitb7a69f47235bc5b2e321064982fd27b69c93880e (patch)
treed7da1bd7ad384edc3d3db6b00452ede8fdcb0b52 /databases/redis/Makefile
parentb9f432095c650feaada52800b24d06c805f2ba42 (diff)
downloadpkgsrc-b7a69f47235bc5b2e321064982fd27b69c93880e.tar.gz
redis: fix CVE-2016-2121
The configuration file was installed mode 644, but could contain passwords. Bump PKGREVISION.
Diffstat (limited to 'databases/redis/Makefile')
-rw-r--r--databases/redis/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/redis/Makefile b/databases/redis/Makefile
index d8f02f26694..b5ae6f46ac5 100644
--- a/databases/redis/Makefile
+++ b/databases/redis/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2020/07/21 07:34:43 adam Exp $
+# $NetBSD: Makefile,v 1.56 2020/08/03 10:38:45 wiz Exp $
DISTNAME= redis-6.0.6
+PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://download.redis.io/releases/
@@ -24,6 +25,7 @@ DOCFILES+= 00-RELEASENOTES BUGS COPYING README.md
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
INSTALLATION_DIRS+= bin ${DOCDIR} ${EGDIR} ${EGDIR}/utils ${EGDIR}/tests
CONF_FILES= ${EGDIR}/redis.conf.example ${PKG_SYSCONFDIR}/redis.conf
+CONF_FILES_MODE= 0640
BUILD_DEFS+= VARBASE REDIS_USER REDIS_GROUP REDIS_DATADIR
BUILD_DEFS+= REDIS_LOGDIR REDIS_PIDDIR