* [gentoo-commits] repo/gentoo:master commit in: dev-libs/kpathsea/, dev-libs/kpathsea/files/
@ 2022-11-04 5:15 Sam James
0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-11-04 5:15 UTC (permalink / raw
To: gentoo-commits
commit: 344cd785d060dc5d86d791416116cf5d4f89fbcb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 4 05:05:16 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 4 05:05:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=344cd785
dev-libs/kpathsea: fix configure w/ clang 16
Signed-off-by: Sam James <sam <AT> gentoo.org>
...-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch | 12 ++++++++++++
...3_p20210325.ebuild => kpathsea-6.3.3_p20210325-r1.ebuild} | 4 ++++
2 files changed, 16 insertions(+)
diff --git a/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch
new file mode 100644
index 000000000000..ad8dc0e33342
--- /dev/null
+++ b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch
@@ -0,0 +1,12 @@
+diff --git a/configure b/configure
+index be42b2e..6a7efb0 100755
+--- a/configure
++++ b/configure
+@@ -13920,6 +13920,7 @@ else
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
++#include <stdlib.h>
+ int fork() { exit(1); }
+ int vfork() { exit(1); }
+ extern char *getcwd();
diff --git a/dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild b/dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild
similarity index 97%
rename from dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild
rename to dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild
index 43a961e05eb2..45e773f12628 100644
--- a/dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild
+++ b/dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild
@@ -35,6 +35,10 @@ SRC_URI="${SRC_URI} ) "
TEXMF_PATH=/usr/share/texmf-dist
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch
+)
+
src_prepare() {
default
cd "${WORKDIR}/texlive-${PV#*_p}-source" || die
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/kpathsea/, dev-libs/kpathsea/files/
@ 2019-10-10 18:06 Mikle Kolyada
0 siblings, 0 replies; 5+ messages in thread
From: Mikle Kolyada @ 2019-10-10 18:06 UTC (permalink / raw
To: gentoo-commits
commit: 2d337a98434572f0a046ecc6a32c08ed3453984d
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 17:55:15 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 18:05:39 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d337a98
dev-libs/kpathsea: Drop old
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
dev-libs/kpathsea/Manifest | 7 --
.../kpathsea/files/insecure_tmp_mktexlsr.patch | 17 ----
dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild | 110 ---------------------
dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild | 110 ---------------------
4 files changed, 244 deletions(-)
diff --git a/dev-libs/kpathsea/Manifest b/dev-libs/kpathsea/Manifest
index b417eca96f4..a53a19f68ef 100644
--- a/dev-libs/kpathsea/Manifest
+++ b/dev-libs/kpathsea/Manifest
@@ -1,11 +1,4 @@
-DIST kpathsea-texmf.d-8.tar.xz 11456 BLAKE2B e631ebcae97494b963dbe4bc03d7ba19ce0a38392dca8c171a40738cd7c6ea46ee821f993ab3ce8f4beb068cc485cb1c84adc7a07dd13c58c68bf9a0c17dff5e SHA512 496ef6e3134f1b0507b15729416de86d72f41b518f4d382c78c2f39b0d603d3d44f8c8befdab2351d38d2a26fd87e5a73570a67b11dbb3f307b006f409a6f036
DIST kpathsea-texmf.d-9.tar.xz 12120 BLAKE2B 80069cdb1c8e1edf8ae0b5af2de825afdf234840f9365c0033d7fb080a1e5e5692ae9ba4c191b83422724f35523a21551102ef91e8642f5cbd4df9e251357b11 SHA512 5718ef60d33013159b5913f198330f9ecb098ac4333dd536068e8c48bf6eb208039a9b29afba331b3e4942c0c77c46e6add1c116d273f1f53550116ac06e69aa
-DIST texlive-20160523-source.tar.xz 45941100 BLAKE2B 8752212d41d6bbabc725d9b1dcc187dd4dbb34df4271c768e83c13a2dd4e7170aa162d01a15d87fa02bc1b5abee648a2d35e3aa1380569851cc21d6f33f2f109 SHA512 915fa2f5e2099dd385ef81033db7aafdf09558c0c200fed0748a8a42fd61f69d3eaac9decea334e30981af739dd81061a9b1d6853c7f6d00285fe0be40e26c3e
-DIST texlive-20170524-source.tar.xz 63483372 BLAKE2B 44669d1228f5be27e9d93672a4f4ead40f7f4c6cf386f2db6fef54d64f8b8a743a485fe1170904d8117b9745f71ec77db8434caa6cdd79359b1f3f387130a3b4 SHA512 18c18940992ab94ce22e22ccd4ad798253ea14ac2ab296a10ea5e9a8da9f33989f2e2641b42b564d1d5fb53bd371da3e68726b676d706b469016ad146cd19daa
DIST texlive-20190410-source.tar.xz 53783408 BLAKE2B 8e34c7c2b74eab1c4d16ddbf7eddd8566593e6d68c42a2634760f11d86e68970698d8b9deddcf3297966968ede11ecf30e0b04ec19b708dc3e6d0a2abcc3799d SHA512 7759d8e668e53c0c73e48907096da9d8fb6384dd9c3342ddfb05e17d077054c5351d35256cf4e63a6da502de2f09f521979bede7209cdd5bd8ae80eba0efed2e
-DIST texlive-module-kpathsea-2016.tar.xz 30696 BLAKE2B 066f5586c93b07db1c07ee0e9a31465e24564faa30b0abf40e31212a1048527a54c58d516c5af139931df2f7d32b6c9c679080acc93f71f05245b2c4f0bb9530 SHA512 330254cf76fd30bf3686dd48710f21c4804f2f6ea9b14e6033b2741c3e6ba627e51efe96da9a1089120d474e36aad1c052285a7ea394b76ee2d4d335b86095fd
-DIST texlive-module-kpathsea-2017.tar.xz 30956 BLAKE2B f9f7d70a6d814996a211a5f3d9c6ee1f477497f84e4716af915bf1171018243094f11d131d2f51930575129b6e16e5fe5e907c0d74be1a182ba7e573be0eadb5 SHA512 df4bc2175394bb6e9726b2c09ccf04e2787f73d584dd6944a25b3aab1eb6e8b4bdcd14ca043b7fe4f6e240ede1bd7e9003b83e34dd3df8c685658b8dcddc83c9
DIST texlive-module-kpathsea-2019.tar.xz 31480 BLAKE2B 897ceb8cb536f2d4a54ead2529da891eba83e4480b9ca527ab99337ed030f680bc25a12d4286e101965d146567720e3bb5fb8ff18a240365be9eeb7471c970bc SHA512 12676ea4b26af792c1abc2a3189c103357b6af4994d3131d8d98e507af24f5d9666bfe4d8abba0ec984eec1ba8c99ab7a6d35813c8e053c79c82a7baa88c973d
-DIST texlive-module-kpathsea.doc-2016.tar.xz 1128872 BLAKE2B e3b2e5c2c14e2d67fba3c89d31169b2af13bd6767983302ca302369ee8cf790655b248cc1069cfd59e4044562627eb83bca6ffe368d5c1b38832e08fcc53b678 SHA512 1cfbb4b5a8647bf5da46b04c9bc911091aa3322b154d65544aa3a1163e24b6906d7e5420549ab0ba023250e6dfa90e75d3a20dffd2e7360fba068a5c3cece885
-DIST texlive-module-kpathsea.doc-2017.tar.xz 1128868 BLAKE2B d1f6bb2f9a893616cc9e090671a7a3c2aaab0f942eed0824a60826b75ee0a62ded33cad197d0bb953100a02ecead1f8d84bf7374889bdba9fc36a26b23440a9c SHA512 af829f666c815da49b59bbe678a2c1e9fe45cbc528f484dfb6e43a1e52bbf0245a4e571505f5be2cc7cf7f5ebcdb06b862ac6e9f9b5390489f0fab10a11fd997
DIST texlive-module-kpathsea.doc-2019.tar.xz 1068236 BLAKE2B 19ecf7d3e5dc1c7a537f59ad45188bb2cd23127682382e719d8bfced05a7f46704606be55c1ff3fe1374587b99866f441b67cb1b555dbf2e33f332d147e30dda SHA512 bd13bb8a5740df0abda5d5f546138504bf3b6bd54caa95e5f1758cc540af4bbbd055e3868c494f65e9bebe108038205d8537fcffbc821a8f17bc51119e5d479c
diff --git a/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch b/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch
deleted file mode 100644
index 36d2094cddf..00000000000
--- a/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://bugzilla.redhat.com/show_bug.cgi?id=1181167
-https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775139
-https://bugs.gentoo.org/show_bug.cgi?id=536454
-
-Index: kpathsea/mktexlsr
-===================================================================
---- kpathsea.orig/mktexlsr
-+++ kpathsea/mktexlsr
-@@ -73,7 +73,7 @@ if tty -s; then verbose=true; else verbo
- dry_run=false
- trees=
-
--treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp"
-+treefile=`mktemp --tmpdir mktexlsrtrees.XXXXXXXXXX` || exit 1
- trap 'cd /; rm -f $treefile; test -z "$db_dir_tmp" || rm -rf "$db_dir_tmp";
- exit' 0 1 2 3 7 13 15
-
diff --git a/dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild b/dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild
deleted file mode 100644
index 5b99104d2fe..00000000000
--- a/dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit texlive-common eutils libtool prefix
-
-TEXMFD_VERSION="8"
-
-DESCRIPTION="Path searching library for TeX-related files"
-HOMEPAGE="http://tug.org/texlive/"
-SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz
- mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0/${PV%_p*}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc source static-libs"
-
-DEPEND="!<app-text/texlive-core-2013
- !app-text/ptex"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
-
-TL_VERSION=2016
-EXTRA_TL_MODULES="kpathsea"
-EXTRA_TL_DOC_MODULES="kpathsea.doc"
-
-for i in ${EXTRA_TL_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-
-SRC_URI="${SRC_URI} doc? ( "
-for i in ${EXTRA_TL_DOC_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-SRC_URI="${SRC_URI} ) "
-
-TEXMF_PATH=/usr/share/texmf-dist
-
-src_prepare() {
- epatch "${FILESDIR}/insecure_tmp_mktexlsr.patch"
- cd "${WORKDIR}/texlive-${PV#*_p}-source"
- S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
- cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update
- eprefixify "${S}"/texmf-update
-}
-
-src_configure() {
- # Too many regexps use A-Z a-z constructs, what causes problems with locales
- # that don't have the same alphabetical order than ascii. Bug #347798
- # So we set LC_ALL to C in order to avoid problems.
- export LC_ALL=C
-
- # Disable largefile because it seems to cause problems on big endian 32 bits
- # systems...
- econf \
- --disable-largefile \
- $(use_enable static-libs static)
-}
-
-src_install() {
- emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install
- find "${D}" -name '*.la' -delete
-
- dodir /usr/share # just in case
- cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
- if use source ; then
- cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
- fi
-
- # 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
-
- # Take care of fmtutil.cnf and texmf.cnf
- dodir /etc/texmf/{fmtutil.d,texmf.d}
-
- # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
- # texmf.cnf
- # It will also be generated from /etc/texmf/texmf.d files by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
-
- insinto /etc/texmf/texmf.d
- doins "${WORKDIR}/texmf.d/"*.cnf
-
- # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
- # by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
-
- dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
- dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
-
- newsbin "${S}/texmf-update" texmf-update
-
- # Keep it as that's where the formats will go
- keepdir /var/lib/texmf
-
- dodoc ChangeLog NEWS PROJECTS README
-}
-
-pkg_postinst() {
- etexmf-update
-}
-
-pkg_postrm() {
- etexmf-update
-}
diff --git a/dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild b/dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild
deleted file mode 100644
index c5c3c142508..00000000000
--- a/dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit texlive-common eutils libtool prefix
-
-TEXMFD_VERSION="8"
-
-DESCRIPTION="Path searching library for TeX-related files"
-HOMEPAGE="http://tug.org/texlive/"
-SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz
- mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0/${PV%_p*}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc source static-libs"
-
-DEPEND="!<app-text/texlive-core-2013
- !app-text/ptex"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
-
-TL_VERSION=2017
-EXTRA_TL_MODULES="kpathsea"
-EXTRA_TL_DOC_MODULES="kpathsea.doc"
-
-for i in ${EXTRA_TL_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-
-SRC_URI="${SRC_URI} doc? ( "
-for i in ${EXTRA_TL_DOC_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-SRC_URI="${SRC_URI} ) "
-
-TEXMF_PATH=/usr/share/texmf-dist
-
-src_prepare() {
- epatch "${FILESDIR}/insecure_tmp_mktexlsr.patch"
- cd "${WORKDIR}/texlive-${PV#*_p}-source"
- S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
- cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update
- eprefixify "${S}"/texmf-update
-}
-
-src_configure() {
- # Too many regexps use A-Z a-z constructs, what causes problems with locales
- # that don't have the same alphabetical order than ascii. Bug #347798
- # So we set LC_ALL to C in order to avoid problems.
- export LC_ALL=C
-
- # Disable largefile because it seems to cause problems on big endian 32 bits
- # systems...
- econf \
- --disable-largefile \
- $(use_enable static-libs static)
-}
-
-src_install() {
- emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install
- find "${D}" -name '*.la' -delete
-
- dodir /usr/share # just in case
- cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
- if use source ; then
- cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
- fi
-
- # 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
-
- # Take care of fmtutil.cnf and texmf.cnf
- dodir /etc/texmf/{fmtutil.d,texmf.d}
-
- # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
- # texmf.cnf
- # It will also be generated from /etc/texmf/texmf.d files by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
-
- insinto /etc/texmf/texmf.d
- doins "${WORKDIR}/texmf.d/"*.cnf
-
- # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
- # by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
-
- dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
- dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
-
- newsbin "${S}/texmf-update" texmf-update
-
- # Keep it as that's where the formats will go
- keepdir /var/lib/texmf
-
- dodoc ChangeLog NEWS PROJECTS README
-}
-
-pkg_postinst() {
- etexmf-update
-}
-
-pkg_postrm() {
- etexmf-update
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/kpathsea/, dev-libs/kpathsea/files/
@ 2017-03-14 17:55 Alexis Ballier
0 siblings, 0 replies; 5+ messages in thread
From: Alexis Ballier @ 2017-03-14 17:55 UTC (permalink / raw
To: gentoo-commits
commit: 114220236b337d9a7a2de42c99b3db018fd64b63
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 14 17:54:43 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Mar 14 17:54:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11422023
dev-libs/kpathsea: remove old
Package-Manager: Portage-2.3.4, Repoman-2.3.2
dev-libs/kpathsea/Manifest | 16 --
dev-libs/kpathsea/files/texmf-update | 165 ---------------------
dev-libs/kpathsea/files/texmf-update-r1 | 165 ---------------------
dev-libs/kpathsea/kpathsea-6.1.0_p20120701.ebuild | 103 -------------
dev-libs/kpathsea/kpathsea-6.1.1_p20130530.ebuild | 109 --------------
dev-libs/kpathsea/kpathsea-6.2.0_p20140525.ebuild | 109 --------------
.../kpathsea/kpathsea-6.2.1_p20150521-r2.ebuild | 110 --------------
7 files changed, 777 deletions(-)
diff --git a/dev-libs/kpathsea/Manifest b/dev-libs/kpathsea/Manifest
index 1aa54e336da..1d7767a3ee8 100644
--- a/dev-libs/kpathsea/Manifest
+++ b/dev-libs/kpathsea/Manifest
@@ -1,20 +1,4 @@
-DIST kpathsea-texmf.d-4.tar.xz 11148 SHA256 d5cc455db13afb9a229892380f835e57e932aedf8d02c8f12895ce682888b88e SHA512 a2906e4f8ec0fdbe31d618878a0633ab52f8dc71ef31d7608190d1f37bf3003b6d2c204520edc249c0c49b8f7308f24a283ca9510033378442093a8194a7bea5 WHIRLPOOL ba1a9aec8f5c040f7124d0720d2600bdb9253d82c859249c871576ac1c5255b81d0b14c3cd381ff8b2e5aae021e694383f93fee3459603615f7187daef35ec2e
-DIST kpathsea-texmf.d-5.tar.xz 11180 SHA256 85d9e1ed697859952a3ba273314f8670454016f3cd1988f0ea17f0cab8630a19 SHA512 23e8134340ae6f10baddef91f642a34c9289d84ccf791bd66779e794cfeed4eeadebd8cb1062e2e545a042e9c64cc9121f893279ddf776aae11c30baffc7f3af WHIRLPOOL b432effa293c410d019b20fa9dc848f3e67b71bb66af27b4e41ed814df688b933ffb30831411358222e170f75c38d2733e671c8224025516cc9c2aed0be8599d
-DIST kpathsea-texmf.d-6.tar.xz 11232 SHA256 9aeccecaf9ba51d25147605b10150047e1f8353942e288a4529b6f28bda2bda8 SHA512 7073c7fb25a53414604395ef02f526e556049b4d296d762fe0b78858d82e0122f0b1fa0b8342e8f81c603e1c1f799702235dcdff08bf56797798e29a15581a9e WHIRLPOOL 919281c784c2efe49e7b0b88c2915ebeadda90251718cfa612a98f9dfa4ed01f4e6b5d3de13fc22f22b4b589f77feeb6d3955e461ea54572f283be20f6246ead
-DIST kpathsea-texmf.d-7.tar.xz 11292 SHA256 9cc7563b54ffc5f75f88e120e5eae21643eae5e97a804bea2bee1f2e33bb4472 SHA512 972a370bcc3534542a8392f0e0066d277bd83f68e684f7a02cf46fa490bec6f2a1f9dde04081f965178a019adb220cf44bc8e4d5862ac70597de64ea8a7e5902 WHIRLPOOL 2ac681e84ac5818bb2332bf5ed15d74c3a09f6b78dced71158ecd0a5b4f49991c10bf143c44c1766c80e784d39199a84319dbec4ff8e86eba58f71268613f949
DIST kpathsea-texmf.d-8.tar.xz 11456 SHA256 054471f13f001f5f24c6aea24fa57d82a3fb349c362be545b5443e0d4db25364 SHA512 496ef6e3134f1b0507b15729416de86d72f41b518f4d382c78c2f39b0d603d3d44f8c8befdab2351d38d2a26fd87e5a73570a67b11dbb3f307b006f409a6f036 WHIRLPOOL a2ed25416b3a5c72b19f5a0ca4308af51496161f68152e471e4a78a1c0f0a5779973bcd3fa4edb37ebb1ca37039f19bb090b772c5913c1449a56c85faccea6b0
-DIST texlive-20120701-source.tar.xz 131904044 SHA256 9666617d5dac3e82578e696835cc9f251ee0a56d162d86dff08659ac5dcb6c81 SHA512 0e8653aa21094e079900d17256f0768ac5514690a3725d96923d5fdc7633484d611441df1af8c674b38b9ce6a8845a9004976cd00635742dfc6837aa433caf5f WHIRLPOOL 9d570a1bd58cca8baed399ab53eb767c7c3db607c00363ce563e14dfccdd235703c538e6a651aa7f2934adf21f8477775f1547f9e7f3d957b89af644c89bcb57
-DIST texlive-20130530-source.tar.xz 179963948 SHA256 a905832e4c04dd1cb16db4bb7baacb78fbc19682bd33ac2697a3a85ce78d79d4 SHA512 4aa85273a675af2453f09777b7cb348c18add77410d72f562c6586f6814d4e7c34b6f3690e3453020654fb0a265339fcabf590d9155367d52846224499af334c WHIRLPOOL 3affaf25d3936505d971599092964b0f0e97d107d22dbac6a85ad547e1d2726a6a09c5075fecb0c6ff8c88bc1bd09d78f95902f76eb76c608f8a7bc42dd6bc33
-DIST texlive-20140525-source.tar.xz 41657688 SHA256 08bb4eb02923ac65ce1183612c6b64da185904f26a1660f5ca4f902d055795be SHA512 09169af15d806abd721e55ffc20ed684c0a7ad60783272d49fabfe9c88857c4abd15b60f30e3f5511ceda1982fdc1d33db8265f97e374bfa5b250dbb5612f8ad WHIRLPOOL fd7fffeeaf319bca5333f6d5d8d9cc6517f76ffe5b2793a73604d844cb7474d83c23826f98d4d11ea5e1a35c0f273e12b2fe6f5945f9880a9577fedad6625014
-DIST texlive-20150521-source.tar.xz 45459552 SHA256 ed9bcd7bdce899c3c27c16a8c5c3017c4f09e1d7fd097038351b72497e9d4669 SHA512 9d06bb88c489715787ce619c4c6b5e2d4251e1db8d48ae7fe2d1a253634c76bc6d7282ef9c93c77847845cae01eafb58dfb37ba3fb83a6d223f0d7fe8f5d3855 WHIRLPOOL e19e4cf9c6122e8a2e80d3ad62171591a2d53317792ce69d7b2afdd6978d397c873565d597b1457d23ba6f5b5de33750955690a92fb6c34d814c075397b67a0b
DIST texlive-20160523-source.tar.xz 45941100 SHA256 a8b32ca47f0a403661a09e202f4567a995beb718c18d8f81ca6d76daa1da21ed SHA512 915fa2f5e2099dd385ef81033db7aafdf09558c0c200fed0748a8a42fd61f69d3eaac9decea334e30981af739dd81061a9b1d6853c7f6d00285fe0be40e26c3e WHIRLPOOL 25d27fb7a7bdb47d40ddf951394e36546b184d71f2e09adb20698bd0f960e54841ddd0313a87510cb2ef43953eb4d9d05d30b88d25d15762dd774575c88fedbe
-DIST texlive-module-kpathsea-2012.tar.xz 30060 SHA256 528044bcea040d00016c5b22c10a856774368ff4d030907a84647a05dadafc08 SHA512 e89d4a37c0b4555a38f20bf9020355f01416a2483ff2b9535343b678442ec8547663da5e2a2fb84c32d4db621bebf7fb878df52e20fb32123985aaa9d61e44cb WHIRLPOOL 3f332ae9f5409370f9966e29418d22a57af7e1e483c6b24828afaeac8644a73dd658418e1d45d487bf8325770113a3c5593351c39852a7374bf85a481179bfc8
-DIST texlive-module-kpathsea-2013.tar.xz 30120 SHA256 1891e7c6b57aca72d2b6d749526ee49bffe62f10736875c886d7bc1e02eeb8a0 SHA512 7642cebecf5ebe916aee0f8f19d1740e3e3f234454429cb5f88d550f41ec93e8fbfebdf7de0a893bd22cec17222adc9f8c2e6756dd22b21a34ad181baf0753a9 WHIRLPOOL 8d7be24abc8485d29e3fed363d43d0da5d657d98f3de4f28e6ee2f632b0609b846f26b9ccb82fa86b42a449ce21b75742f63db7fe264a0fe2befb1a6de62055f
-DIST texlive-module-kpathsea-2014.tar.xz 30212 SHA256 41b824f75f885f5ec94996230aac840d10403168200ea681d1bd851aab8c661d SHA512 f66a933201fd9d10a47906a4c19c8a54d36a8a1f7be0e2c25a7014e0a52f094c563b6684a2c639ec96ee51aacfd6d725dd77ff50b7d8c6a7c26f45586803c999 WHIRLPOOL e97afa0286f8c4ffb11239172129c805b6d0f845c8cf9e51d1b08045590a8148b3ae3dadc398ffe8558d1e34dc30221351f07f8caf392b5210d0eee0e4b1e130
-DIST texlive-module-kpathsea-2015.tar.xz 30512 SHA256 a026c0880c1884daaeab664cc0e25a6c3325c4d2181cc946b3332716804e4a2a SHA512 7bbb389ce368decdcf8f50a352636e95584e8d6b052cbeb3b0498c88d9147807c37aa0bd81b2860c9cb11d0d0ac4e8a4eef069876fb3ef737c9ac77fac192ab0 WHIRLPOOL 99ae57ca8103eeeaaf38c969a98353fa9dbb7c7edce1389ee7c9a022107157c5193f785b7f8c99f44b66bac6c56b43c0ed06b473b23051db7936fadaa5f6032b
DIST texlive-module-kpathsea-2016.tar.xz 30696 SHA256 4a2e801e167d7d0b50c67e510b730ad92b8ad63cce5e28d7f35e3cc1ed931552 SHA512 330254cf76fd30bf3686dd48710f21c4804f2f6ea9b14e6033b2741c3e6ba627e51efe96da9a1089120d474e36aad1c052285a7ea394b76ee2d4d335b86095fd WHIRLPOOL 02ad551bd1af49e25f5fc35cddd59f65afed9e6c1899a14000cdedf0c4227edfa8b1038ec90f783f28090594164016f9c9ebbd1158dee048d24e81b1e8a9a446
-DIST texlive-module-kpathsea.doc-2012.tar.xz 1092220 SHA256 df92d722d168a527669e4b093217c6595b1cb30eb65f55bbf80d29745ad9ca3b SHA512 ef455d4cf755bb7aa06f475cfc50dd00343331fb4d985334866121306eda697aed0131b0591efb94bc87710b7eb9bdd9eb0ea4d567779e2684ca33e21e8bf645 WHIRLPOOL 66e76ac53a62e120b3dc39c8e76bac29126d799ba9dc8b5963e6722f6c3c908b2fa04071416d6218f5e4e99ed4852103dc61de7e413d8502f876fecaf7f3ec8d
-DIST texlive-module-kpathsea.doc-2013.tar.xz 1086956 SHA256 2697dd13f35e0c51254c0857fecc4cf480d7ab1799325e4996e7a39380b77b38 SHA512 8bab0f70815b0298c62be560974d213c2e29b95bf06181598d976c962e1ecb66da5a3d6facd711adfd70dc1bdb64228b2916cdac568c1165324e348b0adda678 WHIRLPOOL b6ca6dd58b8b4216f4bb256aef4f206b8413afec911d42365ddfc59f10a62b4ef342eeea56ede962236fc90cd4e2a08e27f4705e892b32f8b4b427ecc8d03a4a
-DIST texlive-module-kpathsea.doc-2014.tar.xz 998516 SHA256 d3a1829dfaa17955988fe018c84849a2ff9530a313f9394535d97ddd9602a0ae SHA512 12ae3d32930e42f80ff3fa354b3bbce3716cc2cbd682be6d4a72153bff29d28006f1bf1c3d6e945778cd2caf8380fb35cad169da6a0bf1c59f45752d4dcc61cf WHIRLPOOL 159dae0fa66337e22066498ccc3bb79bebaae9b281131921b953a68e728afaa75e13ea999a74db2c6ed981f6eb6073494628c2fe9343bf8e9e96d49eeff06dab
-DIST texlive-module-kpathsea.doc-2015.tar.xz 1004596 SHA256 17d99c5a106ac6340a49c633932f9dedec5b34dcdc71f89a5e9da6bca185ed75 SHA512 1413d6c8a0e1dbf1c50446fcf6b0e3c83e3dd2f35505268c8e7a38d4c8bd97e4c46ec345c4ff9c868a01fd7d5db630498b484224094f0ac96d8f1afaf14b60b7 WHIRLPOOL 826d8601ee677c2832865b8616ce2c4673ed27b821d3537d1ba81d0ec58d770a7ed3dab9dc78be791330baa7100eac033af556cc98b9ca0f795271c1e4ec14b8
DIST texlive-module-kpathsea.doc-2016.tar.xz 1128872 SHA256 f65ba5c972f2a1d837027dab288615344cbae70b961b110884b8de6008fa75be SHA512 1cfbb4b5a8647bf5da46b04c9bc911091aa3322b154d65544aa3a1163e24b6906d7e5420549ab0ba023250e6dfa90e75d3a20dffd2e7360fba068a5c3cece885 WHIRLPOOL f680b54f64b04b2722ec702c532678db894a6465261546fbbb3469adbf561413c1c34c08bbf96b62950ca733c3a52517d3a3007e3e1c157bc4cd7ebced08b5cb
diff --git a/dev-libs/kpathsea/files/texmf-update b/dev-libs/kpathsea/files/texmf-update
deleted file mode 100644
index a877823e7c1..00000000000
--- a/dev-libs/kpathsea/files/texmf-update
+++ /dev/null
@@ -1,165 +0,0 @@
-#!/bin/bash
-#
-# Utility to update Gentoo TeXLive distribution configuration files
-#
-
-echo "Configuring TeXLive ..."
-
-PATH=/bin:/usr/bin
-
-# Fix for all those with altered umask for root
-umask 022
-
-# Make sure we have a correct environment, bug #30432
-# The list of env. vars is taken from the INSTALL file
-for texvar in AFMFONTS BIBINPUTS BSTINPUTS DVILJFONTS DVIPSFONTS \
- DVIPSHEADERS GFFONTS GLYPHFONTS INDEXSTYLE MFBASES MFINPUTS \
- MFPOOL MFTINPUTS MPINPUTS MPMEMS MPPOOL MPSUPPORT OCPINPUTS \
- OFMFONTS OPLFONTS OTPINPUTS OVFFONTS OVPFONTS PKFONTS PSHEADERS \
- T1FONTS T1INPUTS TEXBIB TEXCONFIG TEXDOCS TEXFONTMAPS TEXFONTS \
- TEXFORMATS TEXINDEXSTYLE TEXINPUTS TEXMFCNF TEXMFDBS TEXMFINI \
- TEXPICTS TEXPKS TEXPOOL TEXPSHEADERS TEXSOURCES TFMFONTS TRFONTS \
- VFFONTS XDVIFONTS XDVIVFS ; do
-
- if [ "${!texvar}" ]; then
- if ! $(echo ${!texvar} | grep '^:\|::\|:$' &>/dev/null) ; then
- export ${texvar}="${!texvar}:"
- fi
- fi
-done
-
-if [ "$TEXINPUTS" ]; then
- if $(echo ${TEXINPUTS} | grep '/usr/share/texmf' &>/dev/null) ; then
- export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|/usr/share/texmf/*:\?||g')
- elif $(echo ${TEXINPUTS} | grep '/var/lib/texmf' &>/dev/null) ; then
- export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|/var/lib/texmf/*:\?||g')
- fi
-fi
-
-MKTEMP_COMMAND="mktemp -t tmp.XXXXXXXXXX"
-DIFF_COMMAND="cmp -s"
-TEMP_FILE="`${MKTEMP_COMMAND}`"
-
-if [ -z "${TEMP_FILE}" ]; then
- exit
-fi
-
-# check whether config files for fmtutil and updmap have changed
-STATUS_FMTUTIL="0"
-STATUS_UPDMAP="0"
-
-if [ -d /etc/texmf/texmf.d ]; then
- echo "Generating /etc/texmf/web2c/texmf.cnf from /etc/texmf/texmf.d ..."
- cat /etc/texmf/texmf.d/*.cnf > "/etc/texmf/web2c/texmf.cnf"
-fi
-
-if [ -d /etc/texmf/fmtutil.d ]; then
- echo "Generating /etc/texmf/web2c/fmtutil.cnf from /etc/texmf/fmtutil.d ..."
- if [ -f /etc/texmf/web2c/fmtutil.cnf ]; then
- cp -f /etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE}
- else
- touch ${TEMP_FILE}
- fi
- cat /etc/texmf/fmtutil.d/*.cnf > "/etc/texmf/web2c/fmtutil.cnf"
- ${DIFF_COMMAND} /etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE}
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-else
-# if no regeneration took place:
-# always regenerate the formats to be on the safe side
- STATUS_FMTUTIL="${STATUS_FMTUTIL}3"
-fi
-
-if [ -d /etc/texmf/updmap.d ]; then
- if [ -f /etc/texmf/web2c/updmap.cfg ]; then
- cp -f /etc/texmf/web2c/updmap.cfg ${TEMP_FILE}
- else
- touch ${TEMP_FILE}
- fi
- echo "Generating /etc/texmf/web2c/updmap.cfg from /etc/texmf/updmap.d ..."
- cat /etc/texmf/updmap.d/*.cfg > "/etc/texmf/web2c/updmap.cfg"
- ${DIFF_COMMAND} /etc/texmf/web2c/updmap.cfg ${TEMP_FILE}
- STATUS_UPDMAP="${STATUS_UPDMAP}$?"
-else
-# if no regeneration could be done:
-# always regenerate the maps to be on the safe side
- STATUS_UPDMAP="${STATUS_UPDMAP}3"
-fi
-
-echo "Generating ls-R files"
-mktexlsr &>/dev/null
-
-# Generate language.dat file, from texlive install-pkg.sh
-X=`kpsewhich language.dat`
-Z=`dirname $X`
-if [ -n "$X" -a -f "$Z/language.dat" -a -f "$Z/language.us" ] ; then
- echo "Generating language.dat file"
-
- # Save the old one, we will check if it has changed
- cp -f "$Z/language.dat" "${TEMP_FILE}"
-
- cat "$Z/language.us" > "$Z/language.dat"
- for i in /etc/texmf/language.dat.d/language.*.dat; do
- [ -f "$i" ] && cat "$i" >> "$Z/language.dat"
- done
-
- ${DIFF_COMMAND} "$Z/language.dat" "${TEMP_FILE}"
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-fi
-
-# Generate language.def file.
-if [ -n "$X" -a -f "$Z/language.def" -a -f "$Z/language.us.def" ] ; then
- echo "Generating language.def file"
-
- # Save the old one, we will check if it has changed
- cp -f "$Z/language.def" "${TEMP_FILE}"
-
- cat "$Z/language.us.def" > "$Z/language.def"
- for i in /etc/texmf/language.def.d/language.*.def; do
- [ -f "$i" ] && cat "$i" >> "$Z/language.def"
- done
- cat << EOF >> "$Z/language.def"
-%%% No changes may be made beyond this point.
-
-\uselanguage {USenglish} %%% This MUST be the last line of the file.
-EOF
-
- ${DIFF_COMMAND} "$Z/language.def" "${TEMP_FILE}"
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-fi
-
-# Generate language.dat.lua file.
-if [ -n "$X" -a -f "$Z/language.dat.lua" -a -f "$Z/language.us.lua" ] ; then
- echo "Generating language.dat.lua file"
-
- # Save the old one, we will check if it has changed
- cp -f "$Z/language.dat.lua" "${TEMP_FILE}"
-
- cat "$Z/language.us.lua" > "$Z/language.dat.lua"
- for i in /etc/texmf/language.dat.lua.d/language.*.dat.lua; do
- [ -f "$i" ] && cat "$i" >> "$Z/language.dat.lua"
- done
- printf "}\n" >> "$Z/language.dat.lua"
-
- ${DIFF_COMMAND} "$Z/language.dat.lua" "${TEMP_FILE}"
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-fi
-
-if [ "${STATUS_FMTUTIL}" -ne 0 ] ; then
- echo "Generating format files ..."
- fmtutil-sys --all &>/dev/null
-else
- echo "Skipping format files, since they are unchanged"
-fi
-
-if [ "${STATUS_UPDMAP}" -ne 0 ] ; then
- echo "Generating font maps..."
- updmap-sys &>/dev/null
-else
- echo "Skipping font maps, since they are unchanged"
-fi
-
-rm -f ${TEMP_FILE}
-
-echo
-echo "Use 'texconfig font ro'(rw) to disable (enable) font generation for users"
-echo
diff --git a/dev-libs/kpathsea/files/texmf-update-r1 b/dev-libs/kpathsea/files/texmf-update-r1
deleted file mode 100644
index f97d527c720..00000000000
--- a/dev-libs/kpathsea/files/texmf-update-r1
+++ /dev/null
@@ -1,165 +0,0 @@
-#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
-#
-# Utility to update Gentoo TeXLive distribution configuration files
-#
-
-echo "Configuring TeXLive ..."
-
-PATH="@GENTOO_PORTAGE_EPREFIX@"/bin:"@GENTOO_PORTAGE_EPREFIX@"/usr/bin
-
-# Fix for all those with altered umask for root
-umask 022
-
-# Make sure we have a correct environment, bug #30432
-# The list of env. vars is taken from the INSTALL file
-for texvar in AFMFONTS BIBINPUTS BSTINPUTS DVILJFONTS DVIPSFONTS \
- DVIPSHEADERS GFFONTS GLYPHFONTS INDEXSTYLE MFBASES MFINPUTS \
- MFPOOL MFTINPUTS MPINPUTS MPMEMS MPPOOL MPSUPPORT OCPINPUTS \
- OFMFONTS OPLFONTS OTPINPUTS OVFFONTS OVPFONTS PKFONTS PSHEADERS \
- T1FONTS T1INPUTS TEXBIB TEXCONFIG TEXDOCS TEXFONTMAPS TEXFONTS \
- TEXFORMATS TEXINDEXSTYLE TEXINPUTS TEXMFCNF TEXMFDBS TEXMFINI \
- TEXPICTS TEXPKS TEXPOOL TEXPSHEADERS TEXSOURCES TFMFONTS TRFONTS \
- VFFONTS XDVIFONTS XDVIVFS ; do
-
- if [ "${!texvar}" ]; then
- if ! $(echo ${!texvar} | grep '^:\|::\|:$' &>/dev/null) ; then
- export ${texvar}="${!texvar}:"
- fi
- fi
-done
-
-if [ "$TEXINPUTS" ]; then
- if $(echo ${TEXINPUTS} | grep '@GENTOO_PORTAGE_EPREFIX@/usr/share/texmf' &>/dev/null) ; then
- export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|@GENTOO_PORTAGE_EPREFIX@/usr/share/texmf/*:\?||g')
- elif $(echo ${TEXINPUTS} | grep '@GENTOO_PORTAGE_EPREFIX@/var/lib/texmf' &>/dev/null) ; then
- export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|@GENTOO_PORTAGE_EPREFIX@/var/lib/texmf/*:\?||g')
- fi
-fi
-
-MKTEMP_COMMAND="mktemp -t tmp.XXXXXXXXXX"
-DIFF_COMMAND="cmp -s"
-TEMP_FILE="`${MKTEMP_COMMAND}`"
-
-if [ -z "${TEMP_FILE}" ]; then
- exit
-fi
-
-# check whether config files for fmtutil and updmap have changed
-STATUS_FMTUTIL="0"
-STATUS_UPDMAP="0"
-
-if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/texmf.d ]; then
- echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/texmf.cnf from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/texmf.d ..."
- cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/texmf.d/*.cnf > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/texmf.cnf"
-fi
-
-if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/fmtutil.d ]; then
- echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/fmtutil.cnf from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/fmtutil.d ..."
- if [ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ]; then
- cp -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE}
- else
- touch ${TEMP_FILE}
- fi
- cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/fmtutil.d/*.cnf > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/fmtutil.cnf"
- ${DIFF_COMMAND} "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE}
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-else
-# if no regeneration took place:
-# always regenerate the formats to be on the safe side
- STATUS_FMTUTIL="${STATUS_FMTUTIL}3"
-fi
-
-if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/updmap.d ]; then
- if [ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ]; then
- cp -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ${TEMP_FILE}
- else
- touch ${TEMP_FILE}
- fi
- echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/updmap.cfg from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/updmap.d ..."
- cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/updmap.d/*.cfg > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/updmap.cfg"
- ${DIFF_COMMAND} "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ${TEMP_FILE}
- STATUS_UPDMAP="${STATUS_UPDMAP}$?"
-else
-# if no regeneration could be done:
-# always regenerate the maps to be on the safe side
- STATUS_UPDMAP="${STATUS_UPDMAP}3"
-fi
-
-echo "Generating ls-R files"
-mktexlsr &>/dev/null
-
-# Generate language.dat file, from texlive install-pkg.sh
-X=`kpsewhich language.dat`
-Z=`dirname $X`
-if [ -n "$X" -a -f "$Z/language.dat" -a -f "$Z/language.us" ] ; then
- echo "Generating language.dat file"
-
- # Save the old one, we will check if it has changed
- cp -f "$Z/language.dat" "${TEMP_FILE}"
-
- cat "$Z/language.us" > "$Z/language.dat"
- for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.dat.d/language.*.dat; do
- [ -f "$i" ] && cat "$i" >> "$Z/language.dat"
- done
-
- ${DIFF_COMMAND} "$Z/language.dat" "${TEMP_FILE}"
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-fi
-
-# Generate language.def file.
-if [ -n "$X" -a -f "$Z/language.def" -a -f "$Z/language.us.def" ] ; then
- echo "Generating language.def file"
-
- # Save the old one, we will check if it has changed
- cp -f "$Z/language.def" "${TEMP_FILE}"
-
- cat "$Z/language.us.def" > "$Z/language.def"
- for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.def.d/language.*.def; do
- [ -f "$i" ] && cat "$i" >> "$Z/language.def"
- done
- cat << EOF >> "$Z/language.def"
-%%% No changes may be made beyond this point.
-
-\uselanguage {USenglish} %%% This MUST be the last line of the file.
-EOF
-
- ${DIFF_COMMAND} "$Z/language.def" "${TEMP_FILE}"
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-fi
-
-# Generate language.dat.lua file.
-if [ -n "$X" -a -f "$Z/language.dat.lua" -a -f "$Z/language.us.lua" ] ; then
- echo "Generating language.dat.lua file"
-
- # Save the old one, we will check if it has changed
- cp -f "$Z/language.dat.lua" "${TEMP_FILE}"
-
- cat "$Z/language.us.lua" > "$Z/language.dat.lua"
- for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.dat.lua.d/language.*.dat.lua; do
- [ -f "$i" ] && cat "$i" >> "$Z/language.dat.lua"
- done
- printf "}\n" >> "$Z/language.dat.lua"
-
- ${DIFF_COMMAND} "$Z/language.dat.lua" "${TEMP_FILE}"
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-fi
-
-if [ "${STATUS_FMTUTIL}" -ne 0 ] ; then
- echo "Generating format files ..."
- fmtutil-sys --all &>/dev/null
-else
- echo "Skipping format files, since they are unchanged"
-fi
-
-if [ "${STATUS_UPDMAP}" -ne 0 ] ; then
- echo "Generating font maps..."
- updmap-sys &>/dev/null
-else
- echo "Skipping font maps, since they are unchanged"
-fi
-
-rm -f ${TEMP_FILE}
-
-echo
-echo "Use 'texconfig font ro'(rw) to disable (enable) font generation for users"
-echo
diff --git a/dev-libs/kpathsea/kpathsea-6.1.0_p20120701.ebuild b/dev-libs/kpathsea/kpathsea-6.1.0_p20120701.ebuild
deleted file mode 100644
index 9212a84d276..00000000000
--- a/dev-libs/kpathsea/kpathsea-6.1.0_p20120701.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit texlive-common eutils libtool
-
-TEXMFD_VERSION="4"
-
-DESCRIPTION="Library implementing generic path searching, configuration, and TeX-specific file searching"
-HOMEPAGE="http://tug.org/texlive/"
-SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz
- mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc source static-libs"
-
-DEPEND="!<app-text/texlive-core-2010
- !app-text/ptex"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
-
-TL_VERSION=2012
-EXTRA_TL_MODULES="kpathsea"
-EXTRA_TL_DOC_MODULES="kpathsea.doc"
-
-for i in ${EXTRA_TL_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-
-SRC_URI="${SRC_URI} doc? ( "
-for i in ${EXTRA_TL_DOC_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-SRC_URI="${SRC_URI} ) "
-
-src_prepare() {
- cd "${WORKDIR}/texlive-${PV#*_p}-source"
- S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
-}
-
-src_configure() {
- # Too many regexps use A-Z a-z constructs, what causes problems with locales
- # that don't have the same alphabetical order than ascii. Bug #347798
- # So we set LC_ALL to C in order to avoid problems.
- export LC_ALL=C
-
- # Disable largefile because it seems to cause problems on big endian 32 bits
- # systems...
- econf \
- --disable-largefile \
- $(use_enable static-libs static)
-}
-
-src_install() {
- emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf/web2c" install
- find "${D}" -name '*.la' -delete
-
- dodir /usr/share # just in case
- cp -pR "${WORKDIR}"/texmf "${ED}/usr/share/" || die "failed to install texmf trees"
- if use source ; then
- cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
- fi
-
- # 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
-
- # Take care of fmtutil.cnf and texmf.cnf
- dodir /etc/texmf/{fmtutil.d,texmf.d}
-
- # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
- # texmf.cnf
- # It will also be generated from /etc/texmf/texmf.d files by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
-
- insinto /etc/texmf/texmf.d
- doins "${WORKDIR}/texmf.d/"*.cnf
-
- # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
- # by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
-
- dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
- dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
-
- # Keep it as that's where the formats will go
- keepdir /var/lib/texmf
-
- dodoc BUGS ChangeLog NEWS PROJECTS README
-}
-
-pkg_postinst() {
- etexmf-update
-}
-
-pkg_postrm() {
- etexmf-update
-}
diff --git a/dev-libs/kpathsea/kpathsea-6.1.1_p20130530.ebuild b/dev-libs/kpathsea/kpathsea-6.1.1_p20130530.ebuild
deleted file mode 100644
index 908d14a1cdb..00000000000
--- a/dev-libs/kpathsea/kpathsea-6.1.1_p20130530.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit texlive-common eutils libtool prefix
-
-TEXMFD_VERSION="5"
-
-DESCRIPTION="Library implementing generic path searching, configuration, and TeX-specific file searching"
-HOMEPAGE="http://tug.org/texlive/"
-SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz
- mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc source static-libs"
-
-DEPEND="!<app-text/texlive-core-2013
- !app-text/ptex"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
-
-TL_VERSION=2013
-EXTRA_TL_MODULES="kpathsea"
-EXTRA_TL_DOC_MODULES="kpathsea.doc"
-
-for i in ${EXTRA_TL_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-
-SRC_URI="${SRC_URI} doc? ( "
-for i in ${EXTRA_TL_DOC_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-SRC_URI="${SRC_URI} ) "
-
-TEXMF_PATH=/usr/share/texmf-dist
-
-src_prepare() {
- cd "${WORKDIR}/texlive-${PV#*_p}-source"
- S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
- cp "${FILESDIR}/texmf-update-r1" "${S}"/texmf-update
- eprefixify "${S}"/texmf-update
-}
-
-src_configure() {
- # Too many regexps use A-Z a-z constructs, what causes problems with locales
- # that don't have the same alphabetical order than ascii. Bug #347798
- # So we set LC_ALL to C in order to avoid problems.
- export LC_ALL=C
-
- # Disable largefile because it seems to cause problems on big endian 32 bits
- # systems...
- econf \
- --disable-largefile \
- $(use_enable static-libs static)
-}
-
-src_install() {
- emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install
- find "${D}" -name '*.la' -delete
-
- dodir /usr/share # just in case
- cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
- if use source ; then
- cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
- fi
-
- # 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
-
- # Take care of fmtutil.cnf and texmf.cnf
- dodir /etc/texmf/{fmtutil.d,texmf.d}
-
- # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
- # texmf.cnf
- # It will also be generated from /etc/texmf/texmf.d files by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
-
- insinto /etc/texmf/texmf.d
- doins "${WORKDIR}/texmf.d/"*.cnf
-
- # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
- # by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
-
- dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
- dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
-
- newsbin "${S}/texmf-update" texmf-update
-
- # Keep it as that's where the formats will go
- keepdir /var/lib/texmf
-
- dodoc BUGS ChangeLog NEWS PROJECTS README
-}
-
-pkg_postinst() {
- etexmf-update
-}
-
-pkg_postrm() {
- etexmf-update
-}
diff --git a/dev-libs/kpathsea/kpathsea-6.2.0_p20140525.ebuild b/dev-libs/kpathsea/kpathsea-6.2.0_p20140525.ebuild
deleted file mode 100644
index 2e8f475e6f3..00000000000
--- a/dev-libs/kpathsea/kpathsea-6.2.0_p20140525.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit texlive-common eutils libtool prefix
-
-TEXMFD_VERSION="6"
-
-DESCRIPTION="Library implementing generic path searching, configuration, and TeX-specific file searching"
-HOMEPAGE="http://tug.org/texlive/"
-SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz
- mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0/${PV%_p*}"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc source static-libs"
-
-DEPEND="!<app-text/texlive-core-2013
- !app-text/ptex"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
-
-TL_VERSION=2014
-EXTRA_TL_MODULES="kpathsea"
-EXTRA_TL_DOC_MODULES="kpathsea.doc"
-
-for i in ${EXTRA_TL_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-
-SRC_URI="${SRC_URI} doc? ( "
-for i in ${EXTRA_TL_DOC_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-SRC_URI="${SRC_URI} ) "
-
-TEXMF_PATH=/usr/share/texmf-dist
-
-src_prepare() {
- cd "${WORKDIR}/texlive-${PV#*_p}-source"
- S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
- cp "${FILESDIR}/texmf-update-r1" "${S}"/texmf-update
- eprefixify "${S}"/texmf-update
-}
-
-src_configure() {
- # Too many regexps use A-Z a-z constructs, what causes problems with locales
- # that don't have the same alphabetical order than ascii. Bug #347798
- # So we set LC_ALL to C in order to avoid problems.
- export LC_ALL=C
-
- # Disable largefile because it seems to cause problems on big endian 32 bits
- # systems...
- econf \
- --disable-largefile \
- $(use_enable static-libs static)
-}
-
-src_install() {
- emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install
- find "${D}" -name '*.la' -delete
-
- dodir /usr/share # just in case
- cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
- if use source ; then
- cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
- fi
-
- # 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
-
- # Take care of fmtutil.cnf and texmf.cnf
- dodir /etc/texmf/{fmtutil.d,texmf.d}
-
- # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
- # texmf.cnf
- # It will also be generated from /etc/texmf/texmf.d files by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
-
- insinto /etc/texmf/texmf.d
- doins "${WORKDIR}/texmf.d/"*.cnf
-
- # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
- # by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
-
- dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
- dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
-
- newsbin "${S}/texmf-update" texmf-update
-
- # Keep it as that's where the formats will go
- keepdir /var/lib/texmf
-
- dodoc ChangeLog NEWS PROJECTS README
-}
-
-pkg_postinst() {
- etexmf-update
-}
-
-pkg_postrm() {
- etexmf-update
-}
diff --git a/dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r2.ebuild b/dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r2.ebuild
deleted file mode 100644
index 51ac2ef61a9..00000000000
--- a/dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r2.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit texlive-common eutils libtool prefix
-
-TEXMFD_VERSION="7"
-
-DESCRIPTION="Library implementing generic path searching, configuration, and TeX-specific file searching"
-HOMEPAGE="http://tug.org/texlive/"
-SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz
- mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0/${PV%_p*}"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc source static-libs"
-
-DEPEND="!<app-text/texlive-core-2013
- !app-text/ptex"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
-
-TL_VERSION=2015
-EXTRA_TL_MODULES="kpathsea"
-EXTRA_TL_DOC_MODULES="kpathsea.doc"
-
-for i in ${EXTRA_TL_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-
-SRC_URI="${SRC_URI} doc? ( "
-for i in ${EXTRA_TL_DOC_MODULES} ; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
-done
-SRC_URI="${SRC_URI} ) "
-
-TEXMF_PATH=/usr/share/texmf-dist
-
-src_prepare() {
- epatch "${FILESDIR}/insecure_tmp_mktexlsr.patch"
- cd "${WORKDIR}/texlive-${PV#*_p}-source"
- S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
- cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update
- eprefixify "${S}"/texmf-update
-}
-
-src_configure() {
- # Too many regexps use A-Z a-z constructs, what causes problems with locales
- # that don't have the same alphabetical order than ascii. Bug #347798
- # So we set LC_ALL to C in order to avoid problems.
- export LC_ALL=C
-
- # Disable largefile because it seems to cause problems on big endian 32 bits
- # systems...
- econf \
- --disable-largefile \
- $(use_enable static-libs static)
-}
-
-src_install() {
- emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install
- find "${D}" -name '*.la' -delete
-
- dodir /usr/share # just in case
- cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
- if use source ; then
- cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
- fi
-
- # 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
-
- # Take care of fmtutil.cnf and texmf.cnf
- dodir /etc/texmf/{fmtutil.d,texmf.d}
-
- # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
- # texmf.cnf
- # It will also be generated from /etc/texmf/texmf.d files by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
-
- insinto /etc/texmf/texmf.d
- doins "${WORKDIR}/texmf.d/"*.cnf
-
- # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
- # by texmf-update
- rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
-
- dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
- dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
-
- newsbin "${S}/texmf-update" texmf-update
-
- # Keep it as that's where the formats will go
- keepdir /var/lib/texmf
-
- dodoc ChangeLog NEWS PROJECTS README
-}
-
-pkg_postinst() {
- etexmf-update
-}
-
-pkg_postrm() {
- etexmf-update
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/kpathsea/, dev-libs/kpathsea/files/
@ 2016-12-01 17:36 Alexis Ballier
0 siblings, 0 replies; 5+ messages in thread
From: Alexis Ballier @ 2016-12-01 17:36 UTC (permalink / raw
To: gentoo-commits
commit: 9649e2aae8ded6f8f43aa6e85bc53e048a77c9c4
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 1 17:36:31 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Dec 1 17:36:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9649e2aa
dev-libs/kpathsea: fix insecure use of /tmp, bug #536454
Package-Manager: portage-2.3.2
dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch | 17 +++++++++++++++++
...521-r1.ebuild => kpathsea-6.2.1_p20150521-r2.ebuild} | 1 +
2 files changed, 18 insertions(+)
diff --git a/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch b/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch
new file mode 100644
index 00000000..36d2094
--- /dev/null
+++ b/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch
@@ -0,0 +1,17 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=1181167
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775139
+https://bugs.gentoo.org/show_bug.cgi?id=536454
+
+Index: kpathsea/mktexlsr
+===================================================================
+--- kpathsea.orig/mktexlsr
++++ kpathsea/mktexlsr
+@@ -73,7 +73,7 @@ if tty -s; then verbose=true; else verbo
+ dry_run=false
+ trees=
+
+-treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp"
++treefile=`mktemp --tmpdir mktexlsrtrees.XXXXXXXXXX` || exit 1
+ trap 'cd /; rm -f $treefile; test -z "$db_dir_tmp" || rm -rf "$db_dir_tmp";
+ exit' 0 1 2 3 7 13 15
+
diff --git a/dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r1.ebuild b/dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r2.ebuild
similarity index 98%
rename from dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r1.ebuild
rename to dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r2.ebuild
index 7829ed5..a678e17 100644
--- a/dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r1.ebuild
+++ b/dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r2.ebuild
@@ -41,6 +41,7 @@ SRC_URI="${SRC_URI} ) "
TEXMF_PATH=/usr/share/texmf-dist
src_prepare() {
+ epatch "${FILESDIR}/insecure_tmp_mktexlsr.patch"
cd "${WORKDIR}/texlive-${PV#*_p}-source"
S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/kpathsea/, dev-libs/kpathsea/files/
@ 2016-08-03 10:21 Alexis Ballier
0 siblings, 0 replies; 5+ messages in thread
From: Alexis Ballier @ 2016-08-03 10:21 UTC (permalink / raw
To: gentoo-commits
commit: 496d7b353665993c9551946f25409fde51532b0b
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 3 10:20:45 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 3 10:20:59 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496d7b35
dev-libs/kpathsea: Set LC_COLLATE=C in texmf-update script to ensure reliable order when processing files.
Fixes bug #579018
Package-Manager: portage-2.3.0
dev-libs/kpathsea/files/texmf-update-r2 | 168 +++++++++++++++++++++
...1.ebuild => kpathsea-6.2.1_p20150521-r1.ebuild} | 4 +-
2 files changed, 170 insertions(+), 2 deletions(-)
diff --git a/dev-libs/kpathsea/files/texmf-update-r2 b/dev-libs/kpathsea/files/texmf-update-r2
new file mode 100644
index 0000000..d30cbd3
--- /dev/null
+++ b/dev-libs/kpathsea/files/texmf-update-r2
@@ -0,0 +1,168 @@
+#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
+#
+# Utility to update Gentoo TeXLive distribution configuration files
+#
+
+echo "Configuring TeXLive ..."
+
+PATH="@GENTOO_PORTAGE_EPREFIX@"/bin:"@GENTOO_PORTAGE_EPREFIX@"/usr/bin
+
+# Fix for all those with altered umask for root
+umask 022
+
+# Ensure reliable order when concatenating files, bug #579018
+LC_COLLATE=C
+
+# Make sure we have a correct environment, bug #30432
+# The list of env. vars is taken from the INSTALL file
+for texvar in AFMFONTS BIBINPUTS BSTINPUTS DVILJFONTS DVIPSFONTS \
+ DVIPSHEADERS GFFONTS GLYPHFONTS INDEXSTYLE MFBASES MFINPUTS \
+ MFPOOL MFTINPUTS MPINPUTS MPMEMS MPPOOL MPSUPPORT OCPINPUTS \
+ OFMFONTS OPLFONTS OTPINPUTS OVFFONTS OVPFONTS PKFONTS PSHEADERS \
+ T1FONTS T1INPUTS TEXBIB TEXCONFIG TEXDOCS TEXFONTMAPS TEXFONTS \
+ TEXFORMATS TEXINDEXSTYLE TEXINPUTS TEXMFCNF TEXMFDBS TEXMFINI \
+ TEXPICTS TEXPKS TEXPOOL TEXPSHEADERS TEXSOURCES TFMFONTS TRFONTS \
+ VFFONTS XDVIFONTS XDVIVFS ; do
+
+ if [ "${!texvar}" ]; then
+ if ! $(echo ${!texvar} | grep '^:\|::\|:$' &>/dev/null) ; then
+ export ${texvar}="${!texvar}:"
+ fi
+ fi
+done
+
+if [ "$TEXINPUTS" ]; then
+ if $(echo ${TEXINPUTS} | grep '@GENTOO_PORTAGE_EPREFIX@/usr/share/texmf' &>/dev/null) ; then
+ export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|@GENTOO_PORTAGE_EPREFIX@/usr/share/texmf/*:\?||g')
+ elif $(echo ${TEXINPUTS} | grep '@GENTOO_PORTAGE_EPREFIX@/var/lib/texmf' &>/dev/null) ; then
+ export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|@GENTOO_PORTAGE_EPREFIX@/var/lib/texmf/*:\?||g')
+ fi
+fi
+
+MKTEMP_COMMAND="mktemp -t tmp.XXXXXXXXXX"
+DIFF_COMMAND="cmp -s"
+TEMP_FILE="`${MKTEMP_COMMAND}`"
+
+if [ -z "${TEMP_FILE}" ]; then
+ exit
+fi
+
+# check whether config files for fmtutil and updmap have changed
+STATUS_FMTUTIL="0"
+STATUS_UPDMAP="0"
+
+if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/texmf.d ]; then
+ echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/texmf.cnf from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/texmf.d ..."
+ cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/texmf.d/*.cnf > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/texmf.cnf"
+fi
+
+if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/fmtutil.d ]; then
+ echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/fmtutil.cnf from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/fmtutil.d ..."
+ if [ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ]; then
+ cp -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE}
+ else
+ touch ${TEMP_FILE}
+ fi
+ cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/fmtutil.d/*.cnf > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/fmtutil.cnf"
+ ${DIFF_COMMAND} "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE}
+ STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
+else
+# if no regeneration took place:
+# always regenerate the formats to be on the safe side
+ STATUS_FMTUTIL="${STATUS_FMTUTIL}3"
+fi
+
+if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/updmap.d ]; then
+ if [ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ]; then
+ cp -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ${TEMP_FILE}
+ else
+ touch ${TEMP_FILE}
+ fi
+ echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/updmap.cfg from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/updmap.d ..."
+ cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/updmap.d/*.cfg > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/updmap.cfg"
+ ${DIFF_COMMAND} "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ${TEMP_FILE}
+ STATUS_UPDMAP="${STATUS_UPDMAP}$?"
+else
+# if no regeneration could be done:
+# always regenerate the maps to be on the safe side
+ STATUS_UPDMAP="${STATUS_UPDMAP}3"
+fi
+
+echo "Generating ls-R files"
+mktexlsr &>/dev/null
+
+# Generate language.dat file, from texlive install-pkg.sh
+X=`kpsewhich language.dat`
+Z=`dirname $X`
+if [ -n "$X" -a -f "$Z/language.dat" -a -f "$Z/language.us" ] ; then
+ echo "Generating language.dat file"
+
+ # Save the old one, we will check if it has changed
+ cp -f "$Z/language.dat" "${TEMP_FILE}"
+
+ cat "$Z/language.us" > "$Z/language.dat"
+ for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.dat.d/language.*.dat; do
+ [ -f "$i" ] && cat "$i" >> "$Z/language.dat"
+ done
+
+ ${DIFF_COMMAND} "$Z/language.dat" "${TEMP_FILE}"
+ STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
+fi
+
+# Generate language.def file.
+if [ -n "$X" -a -f "$Z/language.def" -a -f "$Z/language.us.def" ] ; then
+ echo "Generating language.def file"
+
+ # Save the old one, we will check if it has changed
+ cp -f "$Z/language.def" "${TEMP_FILE}"
+
+ cat "$Z/language.us.def" > "$Z/language.def"
+ for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.def.d/language.*.def; do
+ [ -f "$i" ] && cat "$i" >> "$Z/language.def"
+ done
+ cat << EOF >> "$Z/language.def"
+%%% No changes may be made beyond this point.
+
+\uselanguage {USenglish} %%% This MUST be the last line of the file.
+EOF
+
+ ${DIFF_COMMAND} "$Z/language.def" "${TEMP_FILE}"
+ STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
+fi
+
+# Generate language.dat.lua file.
+if [ -n "$X" -a -f "$Z/language.dat.lua" -a -f "$Z/language.us.lua" ] ; then
+ echo "Generating language.dat.lua file"
+
+ # Save the old one, we will check if it has changed
+ cp -f "$Z/language.dat.lua" "${TEMP_FILE}"
+
+ cat "$Z/language.us.lua" > "$Z/language.dat.lua"
+ for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.dat.lua.d/language.*.dat.lua; do
+ [ -f "$i" ] && cat "$i" >> "$Z/language.dat.lua"
+ done
+ printf "}\n" >> "$Z/language.dat.lua"
+
+ ${DIFF_COMMAND} "$Z/language.dat.lua" "${TEMP_FILE}"
+ STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
+fi
+
+if [ "${STATUS_FMTUTIL}" -ne 0 ] ; then
+ echo "Generating format files ..."
+ fmtutil-sys --all &>/dev/null
+else
+ echo "Skipping format files, since they are unchanged"
+fi
+
+if [ "${STATUS_UPDMAP}" -ne 0 ] ; then
+ echo "Generating font maps..."
+ updmap-sys &>/dev/null
+else
+ echo "Skipping font maps, since they are unchanged"
+fi
+
+rm -f ${TEMP_FILE}
+
+echo
+echo "Use 'texconfig font ro'(rw) to disable (enable) font generation for users"
+echo
diff --git a/dev-libs/kpathsea/kpathsea-6.2.1_p20150521.ebuild b/dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r1.ebuild
similarity index 97%
rename from dev-libs/kpathsea/kpathsea-6.2.1_p20150521.ebuild
rename to dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r1.ebuild
index 2a3e6cb..7829ed5 100644
--- a/dev-libs/kpathsea/kpathsea-6.2.1_p20150521.ebuild
+++ b/dev-libs/kpathsea/kpathsea-6.2.1_p20150521-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -43,7 +43,7 @@ TEXMF_PATH=/usr/share/texmf-dist
src_prepare() {
cd "${WORKDIR}/texlive-${PV#*_p}-source"
S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
- cp "${FILESDIR}/texmf-update-r1" "${S}"/texmf-update
+ cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update
eprefixify "${S}"/texmf-update
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-11-04 5:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-04 5:15 [gentoo-commits] repo/gentoo:master commit in: dev-libs/kpathsea/, dev-libs/kpathsea/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2019-10-10 18:06 Mikle Kolyada
2017-03-14 17:55 Alexis Ballier
2016-12-01 17:36 Alexis Ballier
2016-08-03 10:21 Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox