From 4e3f3e84d201c35de079bef14fcf0d469ed3bf60 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sun, 2 Oct 2016 09:23:27 +0000 Subject: Explicitly set owner and group of the symlinks in etc/fonts/conf.d and of the fonts.dir and fonts.scale indexes. Needed for noperm release. ok matthieu --- font/dejavu-ttf/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'font') diff --git a/font/dejavu-ttf/Makefile b/font/dejavu-ttf/Makefile index c5d1852e7..6797e41d5 100644 --- a/font/dejavu-ttf/Makefile +++ b/font/dejavu-ttf/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2016/08/29 17:27:25 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2016/10/02 09:23:26 tb Exp $ FONT_FILES= \ DejaVuMathTeXGyre.ttf \ @@ -54,12 +54,15 @@ install: ${DESTDIR}${fontconfigdir}/conf.avail ; \ ( cd ${DESTDIR}${fontconfigdir}/conf.d ; \ rm -f $$f ; \ - ln -s ../conf.avail/$$f ) ; \ + ln -s ../conf.avail/$$f ; \ + chown -h ${BINOWN}:${BINGRP} $$f ) ; \ done @rm -f ${DESTDIR}${fontdir}/fonts.scale mkfontscale ${DESTDIR}${fontdir} + chown root:wheel ${DESTDIR}${fontdir}/fonts.scale @rm -f ${DESTDIR}${fontdir}/fonts.dir mkfontdir ${DESTDIR}${fontdir} + chown root:wheel ${DESTDIR}${fontdir}/fonts.dir .include -- cgit v1.2.3