From d026ee755fcb9a75540a662e2d3f903e400dead3 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 2 Oct 2016 09:25:23 +0000 Subject: [PATCH] Set owner and group of the mandoc.db, the xetcsum file for sysmerge and of the app-defaults symlink. Needed for noperm release. ok matthieu --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bccaaf921..59d2520a4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.72 2016/09/03 13:57:18 matthieu Exp $ +# $OpenBSD: Makefile,v 1.73 2016/10/02 09:25:23 tb Exp $ .include .include @@ -48,10 +48,12 @@ beforeinstall beforebuild: afterinstall afterbuild: exec ${MAKE} fix-appd /usr/sbin/makewhatis -Qv ${DESTDIR}/usr/X11R6/man + chown root:wheel ${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 cd distrib/sets && exec ${MAKE} install-mk: @@ -66,6 +68,7 @@ fix-appd: fi; \ mkdir -p ${DESTDIR}${LOCALAPPX}; \ ln -s ${REALAPPD} ${DESTDIR}${LOCALAPPD}; \ + chown -h root:wheel ${DESTDIR}${LOCALAPPD}; \ fi font-cache: