summaryrefslogtreecommitdiff
path: root/distrib/sets/Makefile
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2016-10-02 09:16:23 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2016-10-02 09:16:23 +0000
commit42c66f8ea5e7566664de03a5a696887d23ce5b8d (patch)
tree14856546b5c3c4b6818117aea6b85abbc3ea4ce7 /distrib/sets/Makefile
parentdceb17257980675912296c754b31e5259b408802 (diff)
Explicitly set owners of the xorg.db locate(1) database and of the
xetc.tgz set for sysmerge. Needed for noperm release. ok matthieu
Diffstat (limited to 'distrib/sets/Makefile')
-rw-r--r--distrib/sets/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/distrib/sets/Makefile b/distrib/sets/Makefile
index 3ffba8ef5..e3fcc5bd7 100644
--- a/distrib/sets/Makefile
+++ b/distrib/sets/Makefile
@@ -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
XETC = ${DESTDIR}/var/sysmerge/xetc.tgz
@@ -7,8 +7,12 @@ all: tarxetc makedb
makedb:
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makelocatedb ${OSrev} >${DESTDIR}${DB}
+ chown ${BINOWN}:${BINGRP} ${DESTDIR}${DB}
tarxetc:
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makexetc
+ chown root:wheel ${XETC}
.PHONY: makedb tarxetc
+
+.include <bsd.own.mk>