summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-11-29 03:22:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-11-29 03:22:14 +0000
commit08ca8e188bb3d8cf1113afd13743cd8e72edb04c (patch)
treeda592b357d6339493cc0dc9d5353b2bae3a32e47
parent59bbb4475afb601f592ab18d588b6ae303fd781b (diff)
create a var/db/rpki-client/roa file with correct ownership so that
rpki-client(8) can deal with it (some upcoming changes...)
-rw-r--r--etc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index bd42a3cc99d..239d892b881 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.472 2019/11/27 17:09:12 florian Exp $
+# $OpenBSD: Makefile,v 1.473 2019/11/29 03:22:13 deraadt Exp $
.include <bsd.own.mk>
@@ -182,6 +182,8 @@ distribution-etc-root-var: distrib-dirs
${DESTDIR}/var/cron/log
${INSTALL} -c -o root -g wheel -m 444 /dev/null \
${DESTDIR}/var/db/locate.database
+ ${INSTALL} -c -o _rpki-client -g wheel -m 644 /dev/null \
+ ${DESTDIR}/var/db/rpki-client/roa
${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
${DESTDIR}/var/log/authlog
${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \