1 |
commit: 2d337a98434572f0a046ecc6a32c08ed3453984d |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 10 17:55:15 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 10 18:05:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d337a98 |
7 |
|
8 |
dev-libs/kpathsea: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
dev-libs/kpathsea/Manifest | 7 -- |
14 |
.../kpathsea/files/insecure_tmp_mktexlsr.patch | 17 ---- |
15 |
dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild | 110 --------------------- |
16 |
dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild | 110 --------------------- |
17 |
4 files changed, 244 deletions(-) |
18 |
|
19 |
diff --git a/dev-libs/kpathsea/Manifest b/dev-libs/kpathsea/Manifest |
20 |
index b417eca96f4..a53a19f68ef 100644 |
21 |
--- a/dev-libs/kpathsea/Manifest |
22 |
+++ b/dev-libs/kpathsea/Manifest |
23 |
@@ -1,11 +1,4 @@ |
24 |
-DIST kpathsea-texmf.d-8.tar.xz 11456 BLAKE2B e631ebcae97494b963dbe4bc03d7ba19ce0a38392dca8c171a40738cd7c6ea46ee821f993ab3ce8f4beb068cc485cb1c84adc7a07dd13c58c68bf9a0c17dff5e SHA512 496ef6e3134f1b0507b15729416de86d72f41b518f4d382c78c2f39b0d603d3d44f8c8befdab2351d38d2a26fd87e5a73570a67b11dbb3f307b006f409a6f036 |
25 |
DIST kpathsea-texmf.d-9.tar.xz 12120 BLAKE2B 80069cdb1c8e1edf8ae0b5af2de825afdf234840f9365c0033d7fb080a1e5e5692ae9ba4c191b83422724f35523a21551102ef91e8642f5cbd4df9e251357b11 SHA512 5718ef60d33013159b5913f198330f9ecb098ac4333dd536068e8c48bf6eb208039a9b29afba331b3e4942c0c77c46e6add1c116d273f1f53550116ac06e69aa |
26 |
-DIST texlive-20160523-source.tar.xz 45941100 BLAKE2B 8752212d41d6bbabc725d9b1dcc187dd4dbb34df4271c768e83c13a2dd4e7170aa162d01a15d87fa02bc1b5abee648a2d35e3aa1380569851cc21d6f33f2f109 SHA512 915fa2f5e2099dd385ef81033db7aafdf09558c0c200fed0748a8a42fd61f69d3eaac9decea334e30981af739dd81061a9b1d6853c7f6d00285fe0be40e26c3e |
27 |
-DIST texlive-20170524-source.tar.xz 63483372 BLAKE2B 44669d1228f5be27e9d93672a4f4ead40f7f4c6cf386f2db6fef54d64f8b8a743a485fe1170904d8117b9745f71ec77db8434caa6cdd79359b1f3f387130a3b4 SHA512 18c18940992ab94ce22e22ccd4ad798253ea14ac2ab296a10ea5e9a8da9f33989f2e2641b42b564d1d5fb53bd371da3e68726b676d706b469016ad146cd19daa |
28 |
DIST texlive-20190410-source.tar.xz 53783408 BLAKE2B 8e34c7c2b74eab1c4d16ddbf7eddd8566593e6d68c42a2634760f11d86e68970698d8b9deddcf3297966968ede11ecf30e0b04ec19b708dc3e6d0a2abcc3799d SHA512 7759d8e668e53c0c73e48907096da9d8fb6384dd9c3342ddfb05e17d077054c5351d35256cf4e63a6da502de2f09f521979bede7209cdd5bd8ae80eba0efed2e |
29 |
-DIST texlive-module-kpathsea-2016.tar.xz 30696 BLAKE2B 066f5586c93b07db1c07ee0e9a31465e24564faa30b0abf40e31212a1048527a54c58d516c5af139931df2f7d32b6c9c679080acc93f71f05245b2c4f0bb9530 SHA512 330254cf76fd30bf3686dd48710f21c4804f2f6ea9b14e6033b2741c3e6ba627e51efe96da9a1089120d474e36aad1c052285a7ea394b76ee2d4d335b86095fd |
30 |
-DIST texlive-module-kpathsea-2017.tar.xz 30956 BLAKE2B f9f7d70a6d814996a211a5f3d9c6ee1f477497f84e4716af915bf1171018243094f11d131d2f51930575129b6e16e5fe5e907c0d74be1a182ba7e573be0eadb5 SHA512 df4bc2175394bb6e9726b2c09ccf04e2787f73d584dd6944a25b3aab1eb6e8b4bdcd14ca043b7fe4f6e240ede1bd7e9003b83e34dd3df8c685658b8dcddc83c9 |
31 |
DIST texlive-module-kpathsea-2019.tar.xz 31480 BLAKE2B 897ceb8cb536f2d4a54ead2529da891eba83e4480b9ca527ab99337ed030f680bc25a12d4286e101965d146567720e3bb5fb8ff18a240365be9eeb7471c970bc SHA512 12676ea4b26af792c1abc2a3189c103357b6af4994d3131d8d98e507af24f5d9666bfe4d8abba0ec984eec1ba8c99ab7a6d35813c8e053c79c82a7baa88c973d |
32 |
-DIST texlive-module-kpathsea.doc-2016.tar.xz 1128872 BLAKE2B e3b2e5c2c14e2d67fba3c89d31169b2af13bd6767983302ca302369ee8cf790655b248cc1069cfd59e4044562627eb83bca6ffe368d5c1b38832e08fcc53b678 SHA512 1cfbb4b5a8647bf5da46b04c9bc911091aa3322b154d65544aa3a1163e24b6906d7e5420549ab0ba023250e6dfa90e75d3a20dffd2e7360fba068a5c3cece885 |
33 |
-DIST texlive-module-kpathsea.doc-2017.tar.xz 1128868 BLAKE2B d1f6bb2f9a893616cc9e090671a7a3c2aaab0f942eed0824a60826b75ee0a62ded33cad197d0bb953100a02ecead1f8d84bf7374889bdba9fc36a26b23440a9c SHA512 af829f666c815da49b59bbe678a2c1e9fe45cbc528f484dfb6e43a1e52bbf0245a4e571505f5be2cc7cf7f5ebcdb06b862ac6e9f9b5390489f0fab10a11fd997 |
34 |
DIST texlive-module-kpathsea.doc-2019.tar.xz 1068236 BLAKE2B 19ecf7d3e5dc1c7a537f59ad45188bb2cd23127682382e719d8bfced05a7f46704606be55c1ff3fe1374587b99866f441b67cb1b555dbf2e33f332d147e30dda SHA512 bd13bb8a5740df0abda5d5f546138504bf3b6bd54caa95e5f1758cc540af4bbbd055e3868c494f65e9bebe108038205d8537fcffbc821a8f17bc51119e5d479c |
35 |
|
36 |
diff --git a/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch b/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch |
37 |
deleted file mode 100644 |
38 |
index 36d2094cddf..00000000000 |
39 |
--- a/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch |
40 |
+++ /dev/null |
41 |
@@ -1,17 +0,0 @@ |
42 |
-https://bugzilla.redhat.com/show_bug.cgi?id=1181167 |
43 |
-https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775139 |
44 |
-https://bugs.gentoo.org/show_bug.cgi?id=536454 |
45 |
- |
46 |
-Index: kpathsea/mktexlsr |
47 |
-=================================================================== |
48 |
---- kpathsea.orig/mktexlsr |
49 |
-+++ kpathsea/mktexlsr |
50 |
-@@ -73,7 +73,7 @@ if tty -s; then verbose=true; else verbo |
51 |
- dry_run=false |
52 |
- trees= |
53 |
- |
54 |
--treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp" |
55 |
-+treefile=`mktemp --tmpdir mktexlsrtrees.XXXXXXXXXX` || exit 1 |
56 |
- trap 'cd /; rm -f $treefile; test -z "$db_dir_tmp" || rm -rf "$db_dir_tmp"; |
57 |
- exit' 0 1 2 3 7 13 15 |
58 |
- |
59 |
|
60 |
diff --git a/dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild b/dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild |
61 |
deleted file mode 100644 |
62 |
index 5b99104d2fe..00000000000 |
63 |
--- a/dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild |
64 |
+++ /dev/null |
65 |
@@ -1,110 +0,0 @@ |
66 |
-# Copyright 1999-2017 Gentoo Foundation |
67 |
-# Distributed under the terms of the GNU General Public License v2 |
68 |
- |
69 |
-EAPI=5 |
70 |
- |
71 |
-inherit texlive-common eutils libtool prefix |
72 |
- |
73 |
-TEXMFD_VERSION="8" |
74 |
- |
75 |
-DESCRIPTION="Path searching library for TeX-related files" |
76 |
-HOMEPAGE="http://tug.org/texlive/" |
77 |
-SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz |
78 |
- mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz" |
79 |
- |
80 |
-LICENSE="GPL-2" |
81 |
-SLOT="0/${PV%_p*}" |
82 |
-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" |
83 |
-IUSE="doc source static-libs" |
84 |
- |
85 |
-DEPEND="!<app-text/texlive-core-2013 |
86 |
- !app-text/ptex" |
87 |
-RDEPEND="${DEPEND}" |
88 |
- |
89 |
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} |
90 |
- |
91 |
-TL_VERSION=2016 |
92 |
-EXTRA_TL_MODULES="kpathsea" |
93 |
-EXTRA_TL_DOC_MODULES="kpathsea.doc" |
94 |
- |
95 |
-for i in ${EXTRA_TL_MODULES} ; do |
96 |
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz" |
97 |
-done |
98 |
- |
99 |
-SRC_URI="${SRC_URI} doc? ( " |
100 |
-for i in ${EXTRA_TL_DOC_MODULES} ; do |
101 |
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz" |
102 |
-done |
103 |
-SRC_URI="${SRC_URI} ) " |
104 |
- |
105 |
-TEXMF_PATH=/usr/share/texmf-dist |
106 |
- |
107 |
-src_prepare() { |
108 |
- epatch "${FILESDIR}/insecure_tmp_mktexlsr.patch" |
109 |
- cd "${WORKDIR}/texlive-${PV#*_p}-source" |
110 |
- S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd |
111 |
- cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update |
112 |
- eprefixify "${S}"/texmf-update |
113 |
-} |
114 |
- |
115 |
-src_configure() { |
116 |
- # Too many regexps use A-Z a-z constructs, what causes problems with locales |
117 |
- # that don't have the same alphabetical order than ascii. Bug #347798 |
118 |
- # So we set LC_ALL to C in order to avoid problems. |
119 |
- export LC_ALL=C |
120 |
- |
121 |
- # Disable largefile because it seems to cause problems on big endian 32 bits |
122 |
- # systems... |
123 |
- econf \ |
124 |
- --disable-largefile \ |
125 |
- $(use_enable static-libs static) |
126 |
-} |
127 |
- |
128 |
-src_install() { |
129 |
- emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install |
130 |
- find "${D}" -name '*.la' -delete |
131 |
- |
132 |
- dodir /usr/share # just in case |
133 |
- cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees" |
134 |
- if use source ; then |
135 |
- cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files" |
136 |
- fi |
137 |
- |
138 |
- # The default configuration expects it to be world writable, bug #266680 |
139 |
- # People can still change it with texconfig though. |
140 |
- dodir /var/cache/fonts |
141 |
- fperms 1777 /var/cache/fonts |
142 |
- |
143 |
- # Take care of fmtutil.cnf and texmf.cnf |
144 |
- dodir /etc/texmf/{fmtutil.d,texmf.d} |
145 |
- |
146 |
- # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's |
147 |
- # texmf.cnf |
148 |
- # It will also be generated from /etc/texmf/texmf.d files by texmf-update |
149 |
- rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf" |
150 |
- |
151 |
- insinto /etc/texmf/texmf.d |
152 |
- doins "${WORKDIR}/texmf.d/"*.cnf |
153 |
- |
154 |
- # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files |
155 |
- # by texmf-update |
156 |
- rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" |
157 |
- |
158 |
- dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf |
159 |
- dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf |
160 |
- |
161 |
- newsbin "${S}/texmf-update" texmf-update |
162 |
- |
163 |
- # Keep it as that's where the formats will go |
164 |
- keepdir /var/lib/texmf |
165 |
- |
166 |
- dodoc ChangeLog NEWS PROJECTS README |
167 |
-} |
168 |
- |
169 |
-pkg_postinst() { |
170 |
- etexmf-update |
171 |
-} |
172 |
- |
173 |
-pkg_postrm() { |
174 |
- etexmf-update |
175 |
-} |
176 |
|
177 |
diff --git a/dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild b/dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild |
178 |
deleted file mode 100644 |
179 |
index c5c3c142508..00000000000 |
180 |
--- a/dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild |
181 |
+++ /dev/null |
182 |
@@ -1,110 +0,0 @@ |
183 |
-# Copyright 1999-2018 Gentoo Authors |
184 |
-# Distributed under the terms of the GNU General Public License v2 |
185 |
- |
186 |
-EAPI=5 |
187 |
- |
188 |
-inherit texlive-common eutils libtool prefix |
189 |
- |
190 |
-TEXMFD_VERSION="8" |
191 |
- |
192 |
-DESCRIPTION="Path searching library for TeX-related files" |
193 |
-HOMEPAGE="http://tug.org/texlive/" |
194 |
-SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz |
195 |
- mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz" |
196 |
- |
197 |
-LICENSE="GPL-2" |
198 |
-SLOT="0/${PV%_p*}" |
199 |
-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" |
200 |
-IUSE="doc source static-libs" |
201 |
- |
202 |
-DEPEND="!<app-text/texlive-core-2013 |
203 |
- !app-text/ptex" |
204 |
-RDEPEND="${DEPEND}" |
205 |
- |
206 |
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} |
207 |
- |
208 |
-TL_VERSION=2017 |
209 |
-EXTRA_TL_MODULES="kpathsea" |
210 |
-EXTRA_TL_DOC_MODULES="kpathsea.doc" |
211 |
- |
212 |
-for i in ${EXTRA_TL_MODULES} ; do |
213 |
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz" |
214 |
-done |
215 |
- |
216 |
-SRC_URI="${SRC_URI} doc? ( " |
217 |
-for i in ${EXTRA_TL_DOC_MODULES} ; do |
218 |
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz" |
219 |
-done |
220 |
-SRC_URI="${SRC_URI} ) " |
221 |
- |
222 |
-TEXMF_PATH=/usr/share/texmf-dist |
223 |
- |
224 |
-src_prepare() { |
225 |
- epatch "${FILESDIR}/insecure_tmp_mktexlsr.patch" |
226 |
- cd "${WORKDIR}/texlive-${PV#*_p}-source" |
227 |
- S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd |
228 |
- cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update |
229 |
- eprefixify "${S}"/texmf-update |
230 |
-} |
231 |
- |
232 |
-src_configure() { |
233 |
- # Too many regexps use A-Z a-z constructs, what causes problems with locales |
234 |
- # that don't have the same alphabetical order than ascii. Bug #347798 |
235 |
- # So we set LC_ALL to C in order to avoid problems. |
236 |
- export LC_ALL=C |
237 |
- |
238 |
- # Disable largefile because it seems to cause problems on big endian 32 bits |
239 |
- # systems... |
240 |
- econf \ |
241 |
- --disable-largefile \ |
242 |
- $(use_enable static-libs static) |
243 |
-} |
244 |
- |
245 |
-src_install() { |
246 |
- emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install |
247 |
- find "${D}" -name '*.la' -delete |
248 |
- |
249 |
- dodir /usr/share # just in case |
250 |
- cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees" |
251 |
- if use source ; then |
252 |
- cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files" |
253 |
- fi |
254 |
- |
255 |
- # The default configuration expects it to be world writable, bug #266680 |
256 |
- # People can still change it with texconfig though. |
257 |
- dodir /var/cache/fonts |
258 |
- fperms 1777 /var/cache/fonts |
259 |
- |
260 |
- # Take care of fmtutil.cnf and texmf.cnf |
261 |
- dodir /etc/texmf/{fmtutil.d,texmf.d} |
262 |
- |
263 |
- # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's |
264 |
- # texmf.cnf |
265 |
- # It will also be generated from /etc/texmf/texmf.d files by texmf-update |
266 |
- rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf" |
267 |
- |
268 |
- insinto /etc/texmf/texmf.d |
269 |
- doins "${WORKDIR}/texmf.d/"*.cnf |
270 |
- |
271 |
- # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files |
272 |
- # by texmf-update |
273 |
- rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" |
274 |
- |
275 |
- dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf |
276 |
- dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf |
277 |
- |
278 |
- newsbin "${S}/texmf-update" texmf-update |
279 |
- |
280 |
- # Keep it as that's where the formats will go |
281 |
- keepdir /var/lib/texmf |
282 |
- |
283 |
- dodoc ChangeLog NEWS PROJECTS README |
284 |
-} |
285 |
- |
286 |
-pkg_postinst() { |
287 |
- etexmf-update |
288 |
-} |
289 |
- |
290 |
-pkg_postrm() { |
291 |
- etexmf-update |
292 |
-} |