mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
dma: Don't install dma.conf world-readable
While here, install auth.conf into /etc as well. MFC after: 3 days PR: 288409 Reviewed by: ivy, bapt Differential Revision: https://reviews.freebsd.org/D51529
This commit is contained in:
parent
1286fd8ecc
commit
a3d4ae7cf3
3 changed files with 8 additions and 3 deletions
|
|
@ -51,6 +51,9 @@
|
|||
# xargs -n1 | sort | uniq -d;
|
||||
# done
|
||||
|
||||
# 20250726: This file is now installed in /etc/dma
|
||||
OLD_FILES+=usr/share/examples/dma/auth.conf
|
||||
|
||||
# 20250725: libbsnmp bumped to version 7
|
||||
OLD_LIBS+=usr/lib/libbsnmp.so.6
|
||||
|
||||
|
|
|
|||
|
|
@ -17,12 +17,14 @@ SRCS= aliases_parse.y \
|
|||
util.c
|
||||
MAN8= dma.8
|
||||
MLINKS= dma.8 dma.conf.5
|
||||
CONFS= dma.conf
|
||||
CONFSMODE= 0640
|
||||
CONFSGRP= mail
|
||||
CONFS= auth.conf dma.conf
|
||||
CONFSDIR= ${CONFDIR}/dma
|
||||
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
|
||||
YFLAGS+= -i
|
||||
CLEANFILES= aliases_parse.i
|
||||
FILES= auth.conf mailer.conf
|
||||
FILES= mailer.conf
|
||||
FILESDIR= ${SHAREDIR}/examples/dma
|
||||
|
||||
BINMODE= 2555
|
||||
|
|
|
|||
|
|
@ -1473,12 +1473,12 @@ OLD_DIRS+=usr/share/dict
|
|||
.endif
|
||||
|
||||
.if ${MK_DMAGENT} == no
|
||||
OLD_FILES+=etc/dma/auth.conf
|
||||
OLD_FILES+=etc/dma/dma.conf
|
||||
OLD_DIRS+=etc/dma
|
||||
OLD_FILES+=usr/libexec/dma
|
||||
OLD_FILES+=usr/libexec/dma-mbox-create
|
||||
OLD_FILES+=usr/share/man/man8/dma.8.gz
|
||||
OLD_FILES+=usr/share/examples/dma/auth.conf
|
||||
OLD_FILES+=usr/share/examples/dma/mailer.conf
|
||||
OLD_DIRS+=usr/share/examples/dma
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue