From c129c1f06797652567c493630024758a78434b8e Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sat, 19 Nov 2016 08:43:20 +0000 Subject: Set permissions of fonts.dir and fonts.scale explicitly, so they don't depend on the umask. For historical reasons, ${BINGRP}=wheel here, so use 'bin' instead of ${BINGRP} to set the group of /etc/fonts/conf.d push forward deraadt; no objections matthieu --- font/dejavu-ttf/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'font/dejavu-ttf/Makefile') diff --git a/font/dejavu-ttf/Makefile b/font/dejavu-ttf/Makefile index 6797e41d5..a592f9e11 100644 --- a/font/dejavu-ttf/Makefile +++ b/font/dejavu-ttf/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2016/10/02 09:23:26 tb Exp $ +# $OpenBSD: Makefile,v 1.4 2016/11/19 08:43:19 tb Exp $ FONT_FILES= \ DejaVuMathTeXGyre.ttf \ @@ -55,14 +55,15 @@ install: ( cd ${DESTDIR}${fontconfigdir}/conf.d ; \ rm -f $$f ; \ ln -s ../conf.avail/$$f ; \ - chown -h ${BINOWN}:${BINGRP} $$f ) ; \ + chown -h ${BINOWN}:bin $$f ) ; \ done @rm -f ${DESTDIR}${fontdir}/fonts.scale mkfontscale ${DESTDIR}${fontdir} chown root:wheel ${DESTDIR}${fontdir}/fonts.scale + chmod 644 ${DESTDIR}${fontdir}/fonts.scale @rm -f ${DESTDIR}${fontdir}/fonts.dir mkfontdir ${DESTDIR}${fontdir} chown root:wheel ${DESTDIR}${fontdir}/fonts.dir + chmod 644 ${DESTDIR}${fontdir}/fonts.dir .include - -- cgit v1.2.3