1 |
aballier 10/01/07 14:59:24 |
2 |
|
3 |
Added: 010_all_icu_CVE-2007-4770.patch |
4 |
020_all_poppler.patch |
5 |
030_all_installedscripts.patch |
6 |
040_all_texmfdirs.patch series |
7 |
Log: |
8 |
add tl 2009 patches |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 src/patchsets/texlive/2009/texlive-core/010_all_icu_CVE-2007-4770.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/010_all_icu_CVE-2007-4770.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/010_all_icu_CVE-2007-4770.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: 010_all_icu_CVE-2007-4770.patch |
17 |
=================================================================== |
18 |
Index: texlive-20091107-source/libs/icu/icu-xetex/common/uvectr32.cpp |
19 |
=================================================================== |
20 |
--- texlive-20091107-source.orig/libs/icu/icu-xetex/common/uvectr32.cpp |
21 |
+++ texlive-20091107-source/libs/icu/icu-xetex/common/uvectr32.cpp |
22 |
@@ -1,6 +1,6 @@ |
23 |
/* |
24 |
****************************************************************************** |
25 |
-* Copyright (C) 1999-2003, International Business Machines Corporation and * |
26 |
+* Copyright (C) 1999-2008, International Business Machines Corporation and * |
27 |
* others. All Rights Reserved. * |
28 |
****************************************************************************** |
29 |
* Date Name Description |
30 |
@@ -26,6 +26,7 @@ UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UVect |
31 |
UVector32::UVector32(UErrorCode &status) : |
32 |
count(0), |
33 |
capacity(0), |
34 |
+ maxCapacity(0), |
35 |
elements(NULL) |
36 |
{ |
37 |
_init(DEFUALT_CAPACITY, status); |
38 |
@@ -34,6 +35,7 @@ UVector32::UVector32(UErrorCode &status) |
39 |
UVector32::UVector32(int32_t initialCapacity, UErrorCode &status) : |
40 |
count(0), |
41 |
capacity(0), |
42 |
+ maxCapacity(0), |
43 |
elements(0) |
44 |
{ |
45 |
_init(initialCapacity, status); |
46 |
@@ -46,6 +48,9 @@ void UVector32::_init(int32_t initialCap |
47 |
if (initialCapacity < 1) { |
48 |
initialCapacity = DEFUALT_CAPACITY; |
49 |
} |
50 |
+ if (maxCapacity>0 && maxCapacity<initialCapacity) { |
51 |
+ initialCapacity = maxCapacity; |
52 |
+ } |
53 |
elements = (int32_t *)uprv_malloc(sizeof(int32_t)*initialCapacity); |
54 |
if (elements == 0) { |
55 |
status = U_MEMORY_ALLOCATION_ERROR; |
56 |
@@ -189,21 +194,35 @@ int32_t UVector32::indexOf(int32_t key, |
57 |
UBool UVector32::expandCapacity(int32_t minimumCapacity, UErrorCode &status) { |
58 |
if (capacity >= minimumCapacity) { |
59 |
return TRUE; |
60 |
- } else { |
61 |
- int32_t newCap = capacity * 2; |
62 |
- if (newCap < minimumCapacity) { |
63 |
- newCap = minimumCapacity; |
64 |
- } |
65 |
- int32_t* newElems = (int32_t *)uprv_malloc(sizeof(int32_t)*newCap); |
66 |
- if (newElems == 0) { |
67 |
- status = U_MEMORY_ALLOCATION_ERROR; |
68 |
- return FALSE; |
69 |
- } |
70 |
- uprv_memcpy(newElems, elements, sizeof(elements[0]) * count); |
71 |
- uprv_free(elements); |
72 |
- elements = newElems; |
73 |
- capacity = newCap; |
74 |
- return TRUE; |
75 |
+ } |
76 |
+ if (maxCapacity>0 && minimumCapacity>maxCapacity) { |
77 |
+ status = U_BUFFER_OVERFLOW_ERROR; |
78 |
+ return FALSE; |
79 |
+ } |
80 |
+ int32_t newCap = capacity * 2; |
81 |
+ if (newCap < minimumCapacity) { |
82 |
+ newCap = minimumCapacity; |
83 |
+ } |
84 |
+ if (maxCapacity > 0 && newCap > maxCapacity) { |
85 |
+ newCap = maxCapacity; |
86 |
+ } |
87 |
+ int32_t* newElems = (int32_t *)uprv_malloc(sizeof(int32_t)*newCap); |
88 |
+ if (newElems == 0) { |
89 |
+ status = U_MEMORY_ALLOCATION_ERROR; |
90 |
+ return FALSE; |
91 |
+ } |
92 |
+ uprv_memcpy(newElems, elements, sizeof(elements[0]) * count); |
93 |
+ uprv_free(elements); |
94 |
+ elements = newElems; |
95 |
+ capacity = newCap; |
96 |
+ return TRUE; |
97 |
+} |
98 |
+ |
99 |
+void UVector32::setMaxCapacity(int32_t limit) { |
100 |
+ U_ASSERT(limit >= 0); |
101 |
+ maxCapacity = limit; |
102 |
+ if (maxCapacity < 0) { |
103 |
+ maxCapacity = 0; |
104 |
} |
105 |
} |
106 |
|
107 |
Index: texlive-20091107-source/libs/icu/icu-xetex/common/uvectr32.h |
108 |
=================================================================== |
109 |
--- texlive-20091107-source.orig/libs/icu/icu-xetex/common/uvectr32.h |
110 |
+++ texlive-20091107-source/libs/icu/icu-xetex/common/uvectr32.h |
111 |
@@ -61,6 +61,8 @@ private: |
112 |
int32_t count; |
113 |
|
114 |
int32_t capacity; |
115 |
+ |
116 |
+ int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. |
117 |
|
118 |
int32_t* elements; |
119 |
|
120 |
@@ -162,6 +164,14 @@ public: |
121 |
int32_t *getBuffer() const; |
122 |
|
123 |
/** |
124 |
+ * Set the maximum allowed buffer capacity for this vector/stack. |
125 |
+ * Default with no limit set is unlimited, go until malloc() fails. |
126 |
+ * A Limit of zero means unlimited capacity. |
127 |
+ * Units are vector elements (32 bits each), not bytes. |
128 |
+ */ |
129 |
+ void setMaxCapacity(int32_t limit); |
130 |
+ |
131 |
+ /** |
132 |
* ICU "poor man's RTTI", returns a UClassID for this class. |
133 |
*/ |
134 |
static UClassID U_EXPORT2 getStaticClassID(); |
135 |
@@ -221,7 +231,9 @@ inline void UVector32::addElement(int32_ |
136 |
} |
137 |
|
138 |
inline int32_t *UVector32::reserveBlock(int32_t size, UErrorCode &status) { |
139 |
- ensureCapacity(count+size, status); |
140 |
+ if (ensureCapacity(count+size, status) == FALSE) { |
141 |
+ return NULL; |
142 |
+ } |
143 |
int32_t *rp = elements+count; |
144 |
count += size; |
145 |
return rp; |
146 |
Index: texlive-20091107-source/libs/icu/icu-xetex/i18n/regexcmp.cpp |
147 |
=================================================================== |
148 |
--- texlive-20091107-source.orig/libs/icu/icu-xetex/i18n/regexcmp.cpp |
149 |
+++ texlive-20091107-source/libs/icu/icu-xetex/i18n/regexcmp.cpp |
150 |
@@ -1186,14 +1186,17 @@ UBool RegexCompile::doParseActions(int32 |
151 |
// Because capture groups can be forward-referenced by back-references, |
152 |
// we fill the operand with the capture group number. At the end |
153 |
// of compilation, it will be changed to the variable's location. |
154 |
- U_ASSERT(groupNum > 0); |
155 |
- int32_t op; |
156 |
- if (fModeFlags & UREGEX_CASE_INSENSITIVE) { |
157 |
- op = URX_BUILD(URX_BACKREF_I, groupNum); |
158 |
+ if (groupNum < 1) { |
159 |
+ error(U_REGEX_INVALID_BACK_REF); |
160 |
} else { |
161 |
- op = URX_BUILD(URX_BACKREF, groupNum); |
162 |
+ int32_t op; |
163 |
+ if (fModeFlags & UREGEX_CASE_INSENSITIVE) { |
164 |
+ op = URX_BUILD(URX_BACKREF_I, groupNum); |
165 |
+ } else { |
166 |
+ op = URX_BUILD(URX_BACKREF, groupNum); |
167 |
+ } |
168 |
+ fRXPat->fCompiledPat->addElement(op, *fStatus); |
169 |
} |
170 |
- fRXPat->fCompiledPat->addElement(op, *fStatus); |
171 |
} |
172 |
break; |
173 |
|
174 |
Index: texlive-20091107-source/libs/icu/icu-xetex/i18n/rematch.cpp |
175 |
=================================================================== |
176 |
--- texlive-20091107-source.orig/libs/icu/icu-xetex/i18n/rematch.cpp |
177 |
+++ texlive-20091107-source/libs/icu/icu-xetex/i18n/rematch.cpp |
178 |
@@ -30,6 +30,15 @@ |
179 |
|
180 |
U_NAMESPACE_BEGIN |
181 |
|
182 |
+// Limit the size of the back track stack, to avoid system failures caused |
183 |
+// by heap exhaustion. Units are in 32 bit words, not bytes. |
184 |
+// This value puts ICU's limits higher than most other regexp implementations, |
185 |
+// which use recursion rather than the heap, and take more storage per |
186 |
+// backtrack point. |
187 |
+// This constant is _temporary_. Proper API to control the value will added. |
188 |
+// |
189 |
+static const int32_t BACKTRACK_STACK_CAPACITY = 8000000; |
190 |
+ |
191 |
//----------------------------------------------------------------------------- |
192 |
// |
193 |
// Constructor and Destructor |
194 |
@@ -53,6 +62,8 @@ RegexMatcher::RegexMatcher(const RegexPa |
195 |
} |
196 |
if (fStack == NULL || fData == NULL) { |
197 |
fDeferredStatus = U_MEMORY_ALLOCATION_ERROR; |
198 |
+ } else { |
199 |
+ fStack->setMaxCapacity(BACKTRACK_STACK_CAPACITY); |
200 |
} |
201 |
|
202 |
reset(RegexStaticSets::gStaticSets->fEmptyString); |
203 |
@@ -78,6 +89,8 @@ RegexMatcher::RegexMatcher(const Unicode |
204 |
} |
205 |
if (fStack == NULL || fData == NULL) { |
206 |
status = U_MEMORY_ALLOCATION_ERROR; |
207 |
+ } else { |
208 |
+ fStack->setMaxCapacity(BACKTRACK_STACK_CAPACITY); |
209 |
} |
210 |
reset(input); |
211 |
} |
212 |
@@ -102,6 +115,8 @@ RegexMatcher::RegexMatcher(const Unicode |
213 |
} |
214 |
if (fStack == NULL || fData == NULL) { |
215 |
status = U_MEMORY_ALLOCATION_ERROR; |
216 |
+ } else { |
217 |
+ fStack->setMaxCapacity(BACKTRACK_STACK_CAPACITY); |
218 |
} |
219 |
reset(RegexStaticSets::gStaticSets->fEmptyString); |
220 |
} |
221 |
@@ -1014,6 +1029,14 @@ UBool RegexMatcher::isUWordBoundary(int3 |
222 |
inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int32_t savePatIdx, int32_t frameSize, UErrorCode &status) { |
223 |
// push storage for a new frame. |
224 |
int32_t *newFP = fStack->reserveBlock(frameSize, status); |
225 |
+ if (newFP == NULL) { |
226 |
+ // Heap allocation error on attempted stack expansion. |
227 |
+ // We need to return a writable stack frame, so just return the |
228 |
+ // previous frame. The match operation will stop quickly |
229 |
+ // becuase of the error status, after which the frame will never |
230 |
+ // be looked at again. |
231 |
+ return fp; |
232 |
+ } |
233 |
fp = (REStackFrame *)(newFP - frameSize); // in case of realloc of stack. |
234 |
|
235 |
// New stack frame = copy of old top frame. |
236 |
@@ -1029,8 +1052,8 @@ inline REStackFrame *RegexMatcher::State |
237 |
fp->fPatIdx = savePatIdx; |
238 |
return (REStackFrame *)newFP; |
239 |
} |
240 |
- |
241 |
- |
242 |
+ |
243 |
+ |
244 |
//-------------------------------------------------------------------------------- |
245 |
// |
246 |
// MatchAt This is the actual matching engine. |
247 |
@@ -2261,6 +2284,7 @@ GC_Done: |
248 |
} |
249 |
|
250 |
if (U_FAILURE(status)) { |
251 |
+ isMatch = FALSE; |
252 |
break; |
253 |
} |
254 |
} |
255 |
Index: texlive-20091107-source/libs/icu/icu-xetex/test/intltest/regextst.cpp |
256 |
=================================================================== |
257 |
--- texlive-20091107-source.orig/libs/icu/icu-xetex/test/intltest/regextst.cpp |
258 |
+++ texlive-20091107-source/libs/icu/icu-xetex/test/intltest/regextst.cpp |
259 |
@@ -66,6 +66,10 @@ void RegexTest::runIndexedTest( int32_t |
260 |
case 6: name = "PerlTests"; |
261 |
if (exec) PerlTests(); |
262 |
break; |
263 |
+ case 7: name = "Bug 6149"; |
264 |
+ if (exec) Bug6149(); |
265 |
+ break; |
266 |
+ |
267 |
|
268 |
|
269 |
default: name = ""; |
270 |
@@ -1640,6 +1644,13 @@ void RegexTest::Errors() { |
271 |
// Ticket 5389 |
272 |
REGEX_ERR("*c", 1, 1, U_REGEX_RULE_SYNTAX); |
273 |
|
274 |
+ |
275 |
+ // Invalid Back Reference \0 |
276 |
+ // For ICU 3.8 and earlier |
277 |
+ // For ICU versions newer than 3.8, \0 introduces an octal escape. |
278 |
+ // |
279 |
+ REGEX_ERR("(ab)\\0", 1, 6, U_REGEX_INVALID_BACK_REF); |
280 |
+ |
281 |
} |
282 |
|
283 |
|
284 |
@@ -2122,6 +2133,26 @@ void RegexTest::PerlTests() { |
285 |
} |
286 |
|
287 |
|
288 |
+//-------------------------------------------------------------- |
289 |
+// |
290 |
+// Bug6149 Verify limits to heap expansion for backtrack stack. |
291 |
+// Use this pattern, |
292 |
+// "(a?){1,}" |
293 |
+// The zero-length match will repeat forever. |
294 |
+// (That this goes into a loop is another bug) |
295 |
+// |
296 |
+//--------------------------------------------------------------- |
297 |
+void RegexTest::Bug6149() { |
298 |
+ UnicodeString pattern("(a?){1,}"); |
299 |
+ UnicodeString s("xyz"); |
300 |
+ uint32_t flags = 0; |
301 |
+ UErrorCode status = U_ZERO_ERROR; |
302 |
+ |
303 |
+ RegexMatcher matcher(pattern, s, flags, status); |
304 |
+ UBool result = false; |
305 |
+ REGEX_ASSERT_FAIL(result=matcher.matches(status), U_BUFFER_OVERFLOW_ERROR); |
306 |
+ REGEX_ASSERT(result == FALSE); |
307 |
+ } |
308 |
|
309 |
#endif /* !UCONFIG_NO_REGULAR_EXPRESSIONS */ |
310 |
|
311 |
Index: texlive-20091107-source/libs/icu/icu-xetex/test/intltest/regextst.h |
312 |
=================================================================== |
313 |
--- texlive-20091107-source.orig/libs/icu/icu-xetex/test/intltest/regextst.h |
314 |
+++ texlive-20091107-source/libs/icu/icu-xetex/test/intltest/regextst.h |
315 |
@@ -30,6 +30,7 @@ public: |
316 |
virtual void Extended(); |
317 |
virtual void Errors(); |
318 |
virtual void PerlTests(); |
319 |
+ virtual void Bug6149(); |
320 |
|
321 |
// The following functions are internal to the regexp tests. |
322 |
virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line); |
323 |
|
324 |
|
325 |
|
326 |
1.1 src/patchsets/texlive/2009/texlive-core/020_all_poppler.patch |
327 |
|
328 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/020_all_poppler.patch?rev=1.1&view=markup |
329 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/020_all_poppler.patch?rev=1.1&content-type=text/plain |
330 |
|
331 |
Index: 020_all_poppler.patch |
332 |
=================================================================== |
333 |
Index: texlive-20091107-source/texk/web2c/pdftexdir/pdftoepdf.cc |
334 |
=================================================================== |
335 |
--- texlive-20091107-source.orig/texk/web2c/pdftexdir/pdftoepdf.cc |
336 |
+++ texlive-20091107-source/texk/web2c/pdftexdir/pdftoepdf.cc |
337 |
@@ -650,7 +650,7 @@ static void writeEncodings() |
338 |
} |
339 |
for (r = encodingList; r != 0; r = n) { |
340 |
n = r->next; |
341 |
- delete r->font; |
342 |
+ r->font->decRefCnt(); |
343 |
delete r; |
344 |
} |
345 |
} |
346 |
@@ -690,7 +690,7 @@ read_pdf_info(char *image_name, char *pa |
347 |
Page *page; |
348 |
int rotate; |
349 |
PDFRectangle *pagebox; |
350 |
- float pdf_version_found, pdf_version_wanted; |
351 |
+ int minor_pdf_version_found, major_pdf_version_found; |
352 |
// initialize |
353 |
if (!isInit) { |
354 |
globalParams = new GlobalParams(); |
355 |
@@ -705,15 +705,15 @@ read_pdf_info(char *image_name, char *pa |
356 |
// this works only for PDF 1.x -- but since any versions of PDF newer |
357 |
// than 1.x will not be backwards compatible to PDF 1.x, pdfTeX will |
358 |
// then have to changed drastically anyway. |
359 |
- pdf_version_found = pdf_doc->doc->getPDFVersion(); |
360 |
- pdf_version_wanted = 1 + (minor_pdf_version_wanted * 0.1); |
361 |
- if (pdf_version_found > pdf_version_wanted) { |
362 |
+ minor_pdf_version_found = pdf_doc->doc->getPDFMinorVersion(); |
363 |
+ major_pdf_version_found = pdf_doc->doc->getPDFMajorVersion(); |
364 |
+ if (major_pdf_version_found > 1 || ((major_pdf_version_found == 1) && (minor_pdf_version_found > minor_pdf_version_wanted))) { |
365 |
char msg[] = |
366 |
- "PDF inclusion: found PDF version <%.1f>, but at most version <%.1f> allowed"; |
367 |
+ "PDF inclusion: found PDF version <%d.%d>, but at most version <1.%d> allowed"; |
368 |
if (pdf_inclusion_errorlevel > 0) { |
369 |
- pdftex_fail(msg, pdf_version_found, pdf_version_wanted); |
370 |
+ pdftex_fail(msg, major_pdf_version_found, minor_pdf_version_found, minor_pdf_version_wanted); |
371 |
} else { |
372 |
- pdftex_warn(msg, pdf_version_found, pdf_version_wanted); |
373 |
+ pdftex_warn(msg, major_pdf_version_found, minor_pdf_version_found, minor_pdf_version_wanted); |
374 |
} |
375 |
} |
376 |
epdf_num_pages = pdf_doc->doc->getCatalog()->getNumPages(); |
377 |
|
378 |
|
379 |
|
380 |
1.1 src/patchsets/texlive/2009/texlive-core/030_all_installedscripts.patch |
381 |
|
382 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/030_all_installedscripts.patch?rev=1.1&view=markup |
383 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/030_all_installedscripts.patch?rev=1.1&content-type=text/plain |
384 |
|
385 |
Index: 030_all_installedscripts.patch |
386 |
=================================================================== |
387 |
Index: texlive-20091107-source/texk/texlive/linked_scripts/Makefile.in |
388 |
=================================================================== |
389 |
--- texlive-20091107-source.orig/texk/texlive/linked_scripts/Makefile.in |
390 |
+++ texlive-20091107-source/texk/texlive/linked_scripts/Makefile.in |
391 |
@@ -156,83 +156,30 @@ top_build_prefix = @top_build_prefix@ |
392 |
top_builddir = @top_builddir@ |
393 |
top_srcdir = @top_srcdir@ |
394 |
bin_SCRIPTS = |
395 |
-scriptxdir = ${prefix}/texmf/scripts |
396 |
+scriptxdir = ${prefix}/share/texmf/scripts |
397 |
nobase_dist_scriptx_SCRIPTS = \ |
398 |
a2ping/a2ping.pl \ |
399 |
getnonfreefonts/getnonfreefonts.pl \ |
400 |
- simpdftex/simpdftex \ |
401 |
tetex/e2pall.pl \ |
402 |
tetex/texdoctk.pl \ |
403 |
texdoc/texdoc.tlu \ |
404 |
- texlive/rungs.tlu \ |
405 |
- texlive/tlmgr.pl |
406 |
|
407 |
-scriptdir = ${prefix}/texmf-dist/scripts |
408 |
+scriptdir = ${prefix}/share/texmf-dist/scripts |
409 |
nobase_dist_script_SCRIPTS = \ |
410 |
- accfonts/mkt1font \ |
411 |
- accfonts/vpl2ovp \ |
412 |
- accfonts/vpl2vpl \ |
413 |
- bengali/ebong.py \ |
414 |
- cachepic/cachepic.tlu \ |
415 |
- context/lua/luatools.lua \ |
416 |
- context/lua/mtxrun.lua \ |
417 |
- context/ruby/texmfstart.rb \ |
418 |
- context/stubs/unix/context \ |
419 |
- context/stubs/unix/ctxtools \ |
420 |
- context/stubs/unix/makempy \ |
421 |
- context/stubs/unix/mpstools \ |
422 |
- context/stubs/unix/mptopdf \ |
423 |
- context/stubs/unix/mtxtools \ |
424 |
- context/stubs/unix/pdftools \ |
425 |
- context/stubs/unix/pstopdf \ |
426 |
- context/stubs/unix/rlxtools \ |
427 |
- context/stubs/unix/runtools \ |
428 |
- context/stubs/unix/texexec \ |
429 |
- context/stubs/unix/texfont \ |
430 |
- context/stubs/unix/textools \ |
431 |
- context/stubs/unix/texutil \ |
432 |
- context/stubs/unix/tmftools \ |
433 |
- context/stubs/unix/xmltools \ |
434 |
dviasm/dviasm.py \ |
435 |
- epspdf/epspdf \ |
436 |
- epspdf/epspdftk \ |
437 |
- epstopdf/epstopdf.pl \ |
438 |
- fig4latex/fig4latex \ |
439 |
findhyph/findhyph \ |
440 |
- fontools/afm2afm \ |
441 |
- fontools/autoinst \ |
442 |
- fontools/cmap2enc \ |
443 |
- fontools/font2afm \ |
444 |
- fontools/ot2kpx \ |
445 |
- fontools/pfm2kpx \ |
446 |
- fontools/showglyphs \ |
447 |
fragmaster/fragmaster.pl \ |
448 |
- glossaries/makeglossaries \ |
449 |
latex2man/latex2man \ |
450 |
- latexmk/latexmk.pl \ |
451 |
listings-ext/listings-ext.sh \ |
452 |
mkjobtexmf/mkjobtexmf.pl \ |
453 |
- mkgrkindex/mkgrkindex \ |
454 |
- oberdiek/pdfatfi.pl \ |
455 |
- pax/pdfannotextractor.pl \ |
456 |
pdfcrop/pdfcrop.pl \ |
457 |
- perltex/perltex \ |
458 |
pkfix/pkfix.pl \ |
459 |
pkfix-helper/pkfix-helper \ |
460 |
- ppower4/pdfthumb.tlu \ |
461 |
- ppower4/ppower4.tlu \ |
462 |
- pst-pdf/ps4pdf \ |
463 |
- pst2pdf/pst2pdf.pl \ |
464 |
purifyeps/purifyeps \ |
465 |
- splitindex/perl/splitindex.pl \ |
466 |
- svn-multi/svn-multi.pl \ |
467 |
texcount/texcount.pl \ |
468 |
texdiff/texdiff \ |
469 |
texdirflatten/texdirflatten \ |
470 |
texloganalyser/texloganalyser \ |
471 |
- thumbpdf/thumbpdf.pl \ |
472 |
- ulqda/ulqda.pl \ |
473 |
- vpe/vpe.pl |
474 |
|
475 |
all: all-am |
476 |
|
477 |
@@ -542,8 +489,8 @@ uninstall-am: uninstall-binSCRIPTS unins |
478 |
|
479 |
install-data-hook: |
480 |
case "$(bindir)" in \ |
481 |
- */bin) $(MAKE) $(AM_MAKEFLAGS) REL=.. install-links;; \ |
482 |
- */bin/*) $(MAKE) $(AM_MAKEFLAGS) REL=../.. install-links;; \ |
483 |
+ */bin) $(MAKE) $(AM_MAKEFLAGS) REL=../share install-links;; \ |
484 |
+ */bin/*) $(MAKE) $(AM_MAKEFLAGS) REL=../../share install-links;; \ |
485 |
*) echo "strange directory '$(bindir)' for linked scripts" >&2; \ |
486 |
exit 1;; \ |
487 |
esac |
488 |
Index: texlive-20091107-source/texk/tetex/Makefile.in |
489 |
=================================================================== |
490 |
--- texlive-20091107-source.orig/texk/tetex/Makefile.in |
491 |
+++ texlive-20091107-source/texk/tetex/Makefile.in |
492 |
@@ -197,7 +197,6 @@ dist_bin_SCRIPTS = \ |
493 |
kpsetool \ |
494 |
kpsewhere \ |
495 |
ps2frag \ |
496 |
- ps4pdf \ |
497 |
pslatex \ |
498 |
rubibtex \ |
499 |
rumakeindex \ |
500 |
|
501 |
|
502 |
|
503 |
1.1 src/patchsets/texlive/2009/texlive-core/040_all_texmfdirs.patch |
504 |
|
505 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/040_all_texmfdirs.patch?rev=1.1&view=markup |
506 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/040_all_texmfdirs.patch?rev=1.1&content-type=text/plain |
507 |
|
508 |
Index: 040_all_texmfdirs.patch |
509 |
=================================================================== |
510 |
Index: texlive-20091107-source/texk/tetex/Makefile.in |
511 |
=================================================================== |
512 |
--- texlive-20091107-source.orig/texk/tetex/Makefile.in |
513 |
+++ texlive-20091107-source/texk/tetex/Makefile.in |
514 |
@@ -253,14 +253,14 @@ dist_man5_MANS = \ |
515 |
fmtutil.cnf.5 \ |
516 |
updmap.cfg.5 |
517 |
|
518 |
-tetexdocdir = ${prefix}/texmf/doc/tetex |
519 |
+tetexdocdir = ${prefix}/share/texmf/doc/tetex |
520 |
dist_tetexdoc_DATA = \ |
521 |
doc/TETEXDOC.dvi \ |
522 |
doc/TETEXDOC.pdf \ |
523 |
doc/TETEXDOC.ps \ |
524 |
doc/teTeX-FAQ |
525 |
|
526 |
-texconfdir = ${prefix} |
527 |
+texconfdir = ${prefix}/share/ |
528 |
nobase_dist_texconf_DATA = \ |
529 |
texmf/texconfig/README \ |
530 |
texmf/texconfig/g/generic \ |
531 |
@@ -268,10 +268,10 @@ nobase_dist_texconf_DATA = \ |
532 |
texmf/texconfig/v/vt100 \ |
533 |
texmf/texconfig/x/xterm |
534 |
|
535 |
-texconfigdir = ${prefix}/texmf/texconfig |
536 |
+texconfigdir = ${prefix}/share/texmf/texconfig |
537 |
dist_texconfig_SCRIPTS = tcfmgr |
538 |
dist_texconfig_DATA = tcfmgr.map |
539 |
-web2cdir = ${prefix}/texmf/web2c |
540 |
+web2cdir = ${prefix}/share/texmf/web2c |
541 |
dist_web2c_DATA = fmtutil.cnf |
542 |
EXTRA_DIST = README.a2ping README.texdoctk doc/Makefile \ |
543 |
doc/TETEXDOC.bib doc/TETEXDOC.tex fontinst.bat pdfetex-pl.pool \ |
544 |
Index: texlive-20091107-source/texk/dvipsk/Makefile.in |
545 |
=================================================================== |
546 |
--- texlive-20091107-source.orig/texk/dvipsk/Makefile.in |
547 |
+++ texlive-20091107-source/texk/dvipsk/Makefile.in |
548 |
@@ -376,7 +376,7 @@ dist_prologues = \ |
549 |
tex.lpro \ |
550 |
texps.lpro |
551 |
|
552 |
-prologdir = ${prefix}/texmf/dvips/base |
553 |
+prologdir = ${prefix}/share/texmf/dvips/base |
554 |
prologues = $(dist_prologues:.lpro=.pro) texc.pro |
555 |
SUFFIXES = .pro .lpro |
556 |
EXTRA_DIST = $(dist_prologues) texc.script dvips.test pfbincl.test \ |
557 |
Index: texlive-20091107-source/texk/gsftopk/Makefile.in |
558 |
=================================================================== |
559 |
--- texlive-20091107-source.orig/texk/gsftopk/Makefile.in |
560 |
+++ texlive-20091107-source/texk/gsftopk/Makefile.in |
561 |
@@ -256,7 +256,7 @@ gsftopk_SOURCES = \ |
562 |
gsftopk_DEPENDENCIES = $(KPATHSEA_DEPEND) |
563 |
LDADD = $(KPATHSEA_LIBS) |
564 |
dist_gsftopkpsheader_DATA = render.ps |
565 |
-gsftopkpsheaderdir = ${prefix}/texmf/dvips/gsftopk |
566 |
+gsftopkpsheaderdir = ${prefix}/share/texmf/dvips/gsftopk |
567 |
nodist_man1_MANS = gsftopk.1 |
568 |
DISTCLEANFILES = gsftopk.1 sedscript |
569 |
EXTRA_DIST = gsftopk1.sed mksedscript |
570 |
Index: texlive-20091107-source/texk/bibtex8/Makefile.in |
571 |
=================================================================== |
572 |
--- texlive-20091107-source.orig/texk/bibtex8/Makefile.in |
573 |
+++ texlive-20091107-source/texk/bibtex8/Makefile.in |
574 |
@@ -263,7 +263,7 @@ bibtex8_SOURCES = \ |
575 |
|
576 |
bibtex8_DEPENDENCIES = $(KPATHSEA_DEPEND) |
577 |
LDADD = $(KPATHSEA_LIBS) |
578 |
-csfdir = ${prefix}/texmf-dist/bibtex/csf/base |
579 |
+csfdir = ${prefix}/share/texmf-dist/bibtex/csf/base |
580 |
dist_csf_DATA = \ |
581 |
csf/88591lat.csf \ |
582 |
csf/88591sca.csf \ |
583 |
@@ -274,7 +274,7 @@ dist_csf_DATA = \ |
584 |
csf/cp866rus.csf \ |
585 |
csf/csfile.txt |
586 |
|
587 |
-btdocdir = ${prefix}/texmf/doc/bibtex8 |
588 |
+btdocdir = ${prefix}/share/texmf/doc/bibtex8 |
589 |
dist_btdoc_DATA = \ |
590 |
00readme.txt \ |
591 |
HISTORY \ |
592 |
Index: texlive-20091107-source/texk/kpathsea/Makefile.in |
593 |
=================================================================== |
594 |
--- texlive-20091107-source.orig/texk/kpathsea/Makefile.in |
595 |
+++ texlive-20091107-source/texk/kpathsea/Makefile.in |
596 |
@@ -432,7 +432,7 @@ DISTCLEANFILES = paths.h stamp-paths kpa |
597 |
kpseaccess_SOURCES = access.c |
598 |
kpsereadlink_SOURCES = readlink.c |
599 |
kpsewhich_LDADD = libkpathsea.la |
600 |
-web2cdir = ${prefix}/texmf/web2c |
601 |
+web2cdir = ${prefix}/share/texmf/web2c |
602 |
dist_web2c_SCRIPTS = mktexdir mktexnam mktexupd |
603 |
dist_web2c_DATA = mktex.opt mktexdir.opt mktexnam.opt |
604 |
dist_noinst_SCRIPTS = mktexlsr mktexmf mktexpk mktextfm |
605 |
|
606 |
|
607 |
|
608 |
1.1 src/patchsets/texlive/2009/texlive-core/series |
609 |
|
610 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/series?rev=1.1&view=markup |
611 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/texlive/2009/texlive-core/series?rev=1.1&content-type=text/plain |
612 |
|
613 |
Index: series |
614 |
=================================================================== |
615 |
010_all_icu_CVE-2007-4770.patch |
616 |
020_all_poppler.patch |
617 |
030_all_installedscripts.patch |
618 |
040_all_texmfdirs.patch |