diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-11-07 19:57:01 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-11-08 18:48:51 -0500 |
commit | 4fe5fff7e18111b0eb547177c52016744f2f0011 (patch) | |
tree | 6bdc71c077fc575db3fe389add03e6d05fcde330 /media-fonts | |
parent | dev-python/tabulate: Stabilize 0.9.0 ALLARCHES, #880477 (diff) | |
download | gentoo-4fe5fff7e18111b0eb547177c52016744f2f0011.tar.gz gentoo-4fe5fff7e18111b0eb547177c52016744f2f0011.tar.bz2 gentoo-4fe5fff7e18111b0eb547177c52016744f2f0011.zip |
media-fonts/x11fonts-jmk: Install files with 0644 permissions
font.eclass has some racy code in pkg_postinst() that changes
permissions of already-installed files. I want to remove that to avoid
the race. This is the only package that installs fonts with permissions
other than 0644, so override that in src_install().
The claim in font.eclass is that fontconfig segfaults if fonts are
unreadable, but that claim dates to 2007 (bug #187774). Additionally,
0444 is readable, but who knows. Let's just keep things working how they
have been since 2007.
Bug: https://bugs.gentoo.org/187774
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild index 70ad93064b5f..f24d067c4121 100644 --- a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild +++ b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild @@ -32,6 +32,6 @@ src_configure() { } src_install() { - emake install INSTALL_DIR="${ED}/usr/share/fonts/jmk" + emake install INSTDATFLAGS="-m 0644" INSTALL_DIR="${ED}/usr/share/fonts/jmk" einstalldocs } |