1 |
aballier 07/11/07 23:05:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tetex-3.0_p1-r5.ebuild |
5 |
Log: |
6 |
security fixes for dvips, dviljk bug #198238 and libxpdf bug #196735; quote variables |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.155 app-text/tetex/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/tetex/ChangeLog?rev=1.155&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/tetex/ChangeLog?rev=1.155&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/tetex/ChangeLog?r1=1.154&r2=1.155 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v |
19 |
retrieving revision 1.154 |
20 |
retrieving revision 1.155 |
21 |
diff -u -r1.154 -r1.155 |
22 |
--- ChangeLog 8 Sep 2007 01:13:26 -0000 1.154 |
23 |
+++ ChangeLog 7 Nov 2007 23:05:19 -0000 1.155 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for app-text/tetex |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.154 2007/09/08 01:13:26 beandog Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.155 2007/11/07 23:05:19 aballier Exp $ |
29 |
+ |
30 |
+*tetex-3.0_p1-r5 (07 Nov 2007) |
31 |
+ |
32 |
+ 07 Nov 2007; Alexis Ballier <aballier@g.o> |
33 |
+ +files/tetex-3.0_p1-dvips_bufferoverflow.patch, +files/xpdf-3.02pl2.patch, |
34 |
+ +tetex-3.0_p1-r5.ebuild: |
35 |
+ security fixes for dvips, dviljk bug #198238 and libxpdf bug #196735; quote |
36 |
+ variables |
37 |
|
38 |
08 Sep 2007; Steve Dibb <beandog@g.o> tetex-3.0_p1-r4.ebuild: |
39 |
amd64 stable, security bug 170861 |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-text/tetex/tetex-3.0_p1-r5.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/tetex/tetex-3.0_p1-r5.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/tetex/tetex-3.0_p1-r5.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: tetex-3.0_p1-r5.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2007 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-3.0_p1-r5.ebuild,v 1.1 2007/11/07 23:05:19 aballier Exp $ |
53 |
|
54 |
inherit tetex-3 flag-o-matic versionator virtualx autotools |
55 |
|
56 |
SMALL_PV=$(get_version_component_range 1-2 ${PV}) |
57 |
TETEX_TEXMF_PV=${SMALL_PV} |
58 |
S="${WORKDIR}/tetex-src-${SMALL_PV}" |
59 |
|
60 |
TETEX_SRC="tetex-src-${PV}.tar.gz" |
61 |
TETEX_TEXMF="tetex-texmf-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz" |
62 |
#TETEX_TEXMF_SRC="tetex-texmfsrc-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz" |
63 |
TETEX_TEXMF_SRC="" |
64 |
|
65 |
DESCRIPTION="a complete TeX distribution" |
66 |
HOMEPAGE="http://tug.org/teTeX/" |
67 |
|
68 |
SRC_PATH_TETEX=ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib |
69 |
SRC_URI="mirror://gentoo/${TETEX_SRC} |
70 |
${SRC_PATH_TETEX}/${TETEX_TEXMF} |
71 |
mirror://gentoo/${P}-gentoo.tar.gz |
72 |
mirror://gentoo/${P}-dviljk-security-fixes.patch.bz2" |
73 |
|
74 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
75 |
|
76 |
# these are defined in tetex.eclass and tetex-3.eclass |
77 |
IUSE="" |
78 |
DEPEND="${DEPEND} media-libs/gd" |
79 |
RDEPEND="${RDEPEND} media-libs/gd" |
80 |
|
81 |
src_unpack() { |
82 |
tetex-3_src_unpack |
83 |
cd "${WORKDIR}" |
84 |
unpack ${P}-dviljk-security-fixes.patch.bz2 |
85 |
cd "${S}" |
86 |
epatch "${FILESDIR}/${PN}-${SMALL_PV}-kpathsea-pic.patch" |
87 |
|
88 |
# bug 85404 |
89 |
epatch "${FILESDIR}/${PN}-${SMALL_PV}-epstopdf-wrong-rotation.patch" |
90 |
|
91 |
epatch "${FILESDIR}/${P}-amd64-xdvik-wp.patch" |
92 |
epatch "${FILESDIR}/${P}-mptest.patch" |
93 |
|
94 |
#bug 98029 |
95 |
epatch "${FILESDIR}/${P}-fmtutil-etex.patch" |
96 |
|
97 |
#bug 115775 |
98 |
epatch "${FILESDIR}/${P}-xpdf-vulnerabilities.patch" |
99 |
|
100 |
# bug 94860 |
101 |
epatch "${FILESDIR}/${P}-pdftosrc-install.patch" |
102 |
|
103 |
# bug 126918 |
104 |
epatch "${FILESDIR}/${P}-create-empty-files.patch" |
105 |
|
106 |
# bug 94901 |
107 |
epatch "${FILESDIR}/${P}-dvipdfm-timezone.patch" |
108 |
|
109 |
# security bug #170861 |
110 |
epatch "${FILESDIR}/${P}-CVE-2007-0650.patch" |
111 |
|
112 |
# security bug #188172 |
113 |
epatch "${FILESDIR}/${P}-xpdf-CVE-2007-3387.patch" |
114 |
|
115 |
# security bug #198238 |
116 |
epatch "${FILESDIR}/${P}-dvips_bufferoverflow.patch" |
117 |
|
118 |
# securty bug #196735 |
119 |
epatch "${FILESDIR}/xpdf-3.02pl2.patch" |
120 |
|
121 |
# Construct a Gentoo site texmf directory |
122 |
# that overlays the upstream supplied |
123 |
epatch "${FILESDIR}/${P}-texmf-site.patch" |
124 |
|
125 |
# security bug #198238 |
126 |
epatch "${WORKDIR}/${P}-dviljk-security-fixes.patch" |
127 |
|
128 |
cd "${S}/texk/dviljk" |
129 |
AT_M4DIR="${S}/texk/m4" eautoreconf |
130 |
} |
131 |
|
132 |
src_compile() { |
133 |
#bug 119856 |
134 |
export LC_ALL=C |
135 |
|
136 |
# dvipng has its own ebuild (fix for bug #129044). |
137 |
# also, do not build against own lib gd (security #182055) |
138 |
TETEX_ECONF="${TETEX_ECONF} --without-dvipng --with-system-gd" |
139 |
|
140 |
tetex-3_src_compile |
141 |
} |
142 |
|
143 |
src_test() { |
144 |
fmtutil --fmtdir "${S}/texk/web2c" --all |
145 |
# The check target tries to access X display, bug #69439. |
146 |
Xmake check || die "Xmake check failed." |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
insinto /usr/share/texmf/dvips/pstricks |
151 |
doins "${FILESDIR}/pst-circ.pro" |
152 |
|
153 |
# install pdftosrc man page, bug 94860 |
154 |
doman "${S}/texk/web2c/pdftexdir/pdftosrc.1" |
155 |
|
156 |
tetex-3_src_install |
157 |
|
158 |
# Create Gentoo site texmf directory |
159 |
keepdir /usr/share/texmf-site |
160 |
} |
161 |
|
162 |
pkg_postinst() { |
163 |
tetex-3_pkg_postinst |
164 |
|
165 |
elog |
166 |
elog "This release removes dvipng since it is provided in app-text/dvipng" |
167 |
elog |
168 |
} |
169 |
|
170 |
|
171 |
|
172 |
-- |
173 |
gentoo-commits@g.o mailing list |