Set permissions of xorg.db and xetc.tgz explicitly, so they don't
depend on the umask. push forward deraadt; no objections matthieu
This commit is contained in:
parent
a76f791a27
commit
014a2c67d0
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2016/10/02 09:16:22 tb Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2016/11/19 08:36:48 tb Exp $
|
||||
|
||||
DB = /usr/X11R6/lib/locate/xorg.db
|
||||
XETC = ${DESTDIR}/var/sysmerge/xetc.tgz
|
||||
@ -8,10 +8,12 @@ all: tarxetc makedb
|
||||
makedb:
|
||||
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makelocatedb ${OSrev} >${DESTDIR}${DB}
|
||||
chown ${BINOWN}:${BINGRP} ${DESTDIR}${DB}
|
||||
chmod 644 ${DESTDIR}${DB}
|
||||
|
||||
tarxetc:
|
||||
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makexetc
|
||||
chown root:wheel ${XETC}
|
||||
chmod 644 ${XETC}
|
||||
|
||||
.PHONY: makedb tarxetc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user