summaryrefslogtreecommitdiff
path: root/font
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2016-11-19 08:43:20 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2016-11-19 08:43:20 +0000
commitc129c1f06797652567c493630024758a78434b8e (patch)
treec20c4e67dcd3122bb814581260788859d18f3397 /font
parent1419c3b478ea81e1d1f33f746bd91a7d48eb9938 (diff)
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
Diffstat (limited to 'font')
-rw-r--r--font/dejavu-ttf/Makefile7
1 files changed, 4 insertions, 3 deletions
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 <bsd.xorg.mk>
-