diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2016-11-19 08:56:28 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2016-11-19 08:56:28 +0000 |
commit | 74ae99d10bfb08c6a302b549dfad077035e1b960 (patch) | |
tree | 233784baef9fd432fecc6780750caefed8434f7f | |
parent | 677cea8a80fbff13f8a722ceb3321986b836e18b (diff) |
Set permissions of mandoc.db and xetcsum explicitly, so they don't
depend on the umask.
push forward deraadt; no objections matthieu
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 <bsd.own.mk> .include <bsd.xconf.mk> @@ -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: |