From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 18AAB158020 for ; Tue, 8 Nov 2022 23:49:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D435E09FE; Tue, 8 Nov 2022 23:49:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3CE5E09DF for ; Tue, 8 Nov 2022 23:49:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D326C340ECA for ; Tue, 8 Nov 2022 23:49:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 378226DF for ; Tue, 8 Nov 2022 23:49:00 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1667951331.4fe5fff7e18111b0eb547177c52016744f2f0011.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/x11fonts-jmk/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild X-VCS-Directories: media-fonts/x11fonts-jmk/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 4fe5fff7e18111b0eb547177c52016744f2f0011 X-VCS-Branch: master Date: Tue, 8 Nov 2022 23:49:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e9ac8482-3603-40b7-bed2-4e58e59bd8a1 X-Archives-Hash: 8be025145ede2f09e4ddf51619ade6a7 commit: 4fe5fff7e18111b0eb547177c52016744f2f0011 Author: Matt Turner gentoo org> AuthorDate: Tue Nov 8 00:57:01 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue Nov 8 23:48:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe5fff7 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 gentoo.org> media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }