Explicitly set owners of the xorg.db locate(1) database and of the

xetc.tgz set for sysmerge.  Needed for noperm release.

ok matthieu
This commit is contained in:
tb 2016-10-02 09:16:22 +00:00
parent c5b53bf9ac
commit 7112b55027

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2015/08/24 10:41:21 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.5 2016/10/02 09:16:22 tb Exp $
DB = /usr/X11R6/lib/locate/xorg.db DB = /usr/X11R6/lib/locate/xorg.db
XETC = ${DESTDIR}/var/sysmerge/xetc.tgz XETC = ${DESTDIR}/var/sysmerge/xetc.tgz
@ -7,8 +7,12 @@ all: tarxetc makedb
makedb: makedb:
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makelocatedb ${OSrev} >${DESTDIR}${DB} MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makelocatedb ${OSrev} >${DESTDIR}${DB}
chown ${BINOWN}:${BINGRP} ${DESTDIR}${DB}
tarxetc: tarxetc:
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makexetc MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makexetc
chown root:wheel ${XETC}
.PHONY: makedb tarxetc .PHONY: makedb tarxetc
.include <bsd.own.mk>