commit: 6c71f0cce20b1ba654b8ab81515231ce5796b24d Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> AuthorDate: Fri Apr 2 07:19:48 2021 +0000 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> CommitDate: Fri Apr 2 07:20:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c71f0cc
dev-libs/kpathsea: Use tmpfiles for runtime dirs Closes: https://bugs.gentoo.org/605364 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild b/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild index e2fd405ab8c..365d871b16e 100644 --- a/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild +++ b/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit texlive-common libtool prefix +inherit texlive-common libtool prefix tmpfiles TEXMFD_VERSION="10" @@ -68,8 +68,7 @@ src_install() { # The default configuration expects it to be world writable, bug #266680 # People can still change it with texconfig though. - dodir /var/cache/fonts - fperms 1777 /var/cache/fonts + dotmpfiles "${FILESDIR}"/kpathsea.conf # Take care of fmtutil.cnf and texmf.cnf dodir /etc/texmf/{fmtutil.d,texmf.d} @@ -98,6 +97,8 @@ src_install() { } pkg_postinst() { + tmpfiles_process "${FILESDIR}"/kpathsea.conf + etexmf-update }
