From 74ae99d10bfb08c6a302b549dfad077035e1b960 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sat, 19 Nov 2016 08:56:28 +0000 Subject: Set permissions of mandoc.db and xetcsum explicitly, so they don't depend on the umask. push forward deraadt; no objections matthieu --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5e12eb176..5f207f5b2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.75 2016/10/14 10:14:00 natano Exp $ +# $OpenBSD: Makefile,v 1.76 2016/11/19 08:56:27 tb Exp $ .include .include @@ -57,11 +57,13 @@ afterinstall afterbuild: exec ${MAKE} fix-appd /usr/sbin/makewhatis -Qv ${DESTDIR}/usr/X11R6/man chown root:wheel ${DESTDIR}/usr/X11R6/man/mandoc.db + chmod 644 ${DESTDIR}/usr/X11R6/man/mandoc.db touch ${DESTDIR}/var/sysmerge/xetcsum cd ${DESTDIR}/ && \ sort ${.CURDIR}/distrib/sets/lists/xetc/{mi,md.${MACHINE}} | \ xargs sha256 -h ${DESTDIR}/var/sysmerge/xetcsum || true chown root:wheel ${DESTDIR}/var/sysmerge/xetcsum + chmod 644 ${DESTDIR}/var/sysmerge/xetcsum cd distrib/sets && exec ${MAKE} install-mk: -- cgit v1.2.3