Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/redis redis: fix CVE-2016-2121



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f3ff4490a8d
branches:  trunk
changeset: 436446:9f3ff4490a8d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Aug 03 10:38:45 2020 +0000

description:
redis: fix CVE-2016-2121

The configuration file was installed mode 644, but could contain passwords.

Bump PKGREVISION.

diffstat:

 databases/redis/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 5478c2cee14b -r 9f3ff4490a8d databases/redis/Makefile
--- a/databases/redis/Makefile  Mon Aug 03 09:51:51 2020 +0000
+++ b/databases/redis/Makefile  Mon Aug 03 10:38:45 2020 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index