1 |
mescalinum 09/10/07 18:15:27 |
2 |
|
3 |
Modified: newt-0.52.2.ebuild newt-0.52.10.ebuild ChangeLog |
4 |
Added: newt-0.52.2-r1.ebuild newt-0.52.10-r1.ebuild |
5 |
Log: |
6 |
CVE-2009-2905, bug #285854 |
7 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.16 dev-libs/newt/newt-0.52.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.2.ebuild?rev=1.16&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.2.ebuild?rev=1.16&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.2.ebuild?r1=1.15&r2=1.16 |
15 |
|
16 |
Index: newt-0.52.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.2.ebuild,v |
19 |
retrieving revision 1.15 |
20 |
retrieving revision 1.16 |
21 |
diff -u -r1.15 -r1.16 |
22 |
--- newt-0.52.2.ebuild 7 Oct 2009 17:25:09 -0000 1.15 |
23 |
+++ newt-0.52.2.ebuild 7 Oct 2009 18:15:26 -0000 1.16 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2009 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.2.ebuild,v 1.15 2009/10/07 17:25:09 mescalinum Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.2.ebuild,v 1.16 2009/10/07 18:15:26 mescalinum Exp $ |
29 |
|
30 |
inherit python toolchain-funcs eutils rpm |
31 |
|
32 |
@@ -49,9 +49,6 @@ |
33 |
fi |
34 |
|
35 |
sed -i -e 's:0.52.1:0.52.2:g' "${S}"/configure || die |
36 |
- |
37 |
- # bug 285854 |
38 |
- epatch "${FILESDIR}"/newt-CVE-2009-2905.patch |
39 |
} |
40 |
|
41 |
src_compile() { |
42 |
|
43 |
|
44 |
|
45 |
1.11 dev-libs/newt/newt-0.52.10.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.10.ebuild?rev=1.11&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.10.ebuild?rev=1.11&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.10.ebuild?r1=1.10&r2=1.11 |
50 |
|
51 |
Index: newt-0.52.10.ebuild |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10.ebuild,v |
54 |
retrieving revision 1.10 |
55 |
retrieving revision 1.11 |
56 |
diff -u -r1.10 -r1.11 |
57 |
--- newt-0.52.10.ebuild 7 Oct 2009 17:25:09 -0000 1.10 |
58 |
+++ newt-0.52.10.ebuild 7 Oct 2009 18:15:26 -0000 1.11 |
59 |
@@ -1,6 +1,6 @@ |
60 |
# Copyright 1999-2009 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10.ebuild,v 1.10 2009/10/07 17:25:09 mescalinum Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10.ebuild,v 1.11 2009/10/07 18:15:26 mescalinum Exp $ |
64 |
|
65 |
inherit python toolchain-funcs eutils rpm |
66 |
|
67 |
@@ -37,9 +37,6 @@ |
68 |
sed -i -e 's:-ltcl8.4:-ltcl8.5:g' "${S}"/Makefile.in |
69 |
|
70 |
sed -i -e 's:instroot:DESTDIR:g' "${S}"/Makefile.in || die |
71 |
- |
72 |
- # bug 285854 |
73 |
- epatch "${FILESDIR}"/newt-CVE-2009-2905.patch |
74 |
} |
75 |
|
76 |
src_compile() { |
77 |
|
78 |
|
79 |
|
80 |
1.55 dev-libs/newt/ChangeLog |
81 |
|
82 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.55&view=markup |
83 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.55&content-type=text/plain |
84 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/ChangeLog?r1=1.54&r2=1.55 |
85 |
|
86 |
Index: ChangeLog |
87 |
=================================================================== |
88 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v |
89 |
retrieving revision 1.54 |
90 |
retrieving revision 1.55 |
91 |
diff -u -r1.54 -r1.55 |
92 |
--- ChangeLog 7 Oct 2009 17:25:09 -0000 1.54 |
93 |
+++ ChangeLog 7 Oct 2009 18:15:26 -0000 1.55 |
94 |
@@ -1,9 +1,13 @@ |
95 |
# ChangeLog for dev-libs/newt |
96 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
97 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.54 2009/10/07 17:25:09 mescalinum Exp $ |
98 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.55 2009/10/07 18:15:26 mescalinum Exp $ |
99 |
|
100 |
- 07 Oct 2009; Federico Ferri <mescalinum@g.o> newt-0.52.2.ebuild, |
101 |
- -newt-0.52.8.ebuild, newt-0.52.10.ebuild, +files/newt-CVE-2009-2905.patch: |
102 |
+*newt-0.52.10-r1 (07 Oct 2009) |
103 |
+*newt-0.52.2-r1 (07 Oct 2009) |
104 |
+ |
105 |
+ 07 Oct 2009; Federico Ferri <mescalinum@g.o> +newt-0.52.2-r1.ebuild, |
106 |
+ -newt-0.52.8.ebuild, +newt-0.52.10-r1.ebuild, |
107 |
+ +files/newt-CVE-2009-2905.patch: |
108 |
CVE-2009-2905, bug #285854 |
109 |
|
110 |
04 Oct 2009; Markus Meier <maekke@g.o> newt-0.52.10.ebuild: |
111 |
|
112 |
|
113 |
|
114 |
1.1 dev-libs/newt/newt-0.52.2-r1.ebuild |
115 |
|
116 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.2-r1.ebuild?rev=1.1&view=markup |
117 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.2-r1.ebuild?rev=1.1&content-type=text/plain |
118 |
|
119 |
Index: newt-0.52.2-r1.ebuild |
120 |
=================================================================== |
121 |
# Copyright 1999-2009 Gentoo Foundation |
122 |
# Distributed under the terms of the GNU General Public License v2 |
123 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.2-r1.ebuild,v 1.1 2009/10/07 18:15:26 mescalinum Exp $ |
124 |
|
125 |
inherit python toolchain-funcs eutils rpm |
126 |
|
127 |
# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source |
128 |
# tarball out of it |
129 |
RPMREV="9" |
130 |
|
131 |
DESCRIPTION="Redhat's Newt windowing toolkit development files" |
132 |
HOMEPAGE="http://www.redhat.com/" |
133 |
SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.src.rpm" |
134 |
|
135 |
LICENSE="LGPL-2" |
136 |
SLOT="0" |
137 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
138 |
IUSE="gpm tcl" |
139 |
|
140 |
RDEPEND=">=sys-libs/slang-1.4 |
141 |
>=dev-libs/popt-1.6 |
142 |
dev-lang/python |
143 |
elibc_uclibc? ( sys-libs/ncurses ) |
144 |
gpm? ( sys-libs/gpm ) |
145 |
tcl? ( =dev-lang/tcl-8.4* )" |
146 |
DEPEND="${RDEPEND}" |
147 |
|
148 |
src_unpack() { |
149 |
rpm_src_unpack |
150 |
cd "${S}" |
151 |
|
152 |
epatch "${FILESDIR}"/${P}-scrollbars.patch |
153 |
epatch "${FILESDIR}"/${P}-pgupdown-crash.patch |
154 |
epatch "${FILESDIR}"/${P}-screensize.patch |
155 |
epatch "${FILESDIR}"/${P}-cbtpos.patch |
156 |
epatch "${FILESDIR}"/${P}-focus.patch |
157 |
epatch "${FILESDIR}"/${P}-cursor.patch |
158 |
epatch "${FILESDIR}"/${P}-colors.patch |
159 |
epatch "${FILESDIR}"/${P}-pyexample.patch |
160 |
epatch "${FILESDIR}"/${P}-dwchar.patch |
161 |
|
162 |
if ! use tcl; then |
163 |
epatch "${FILESDIR}"/${P}-notcl.patch |
164 |
fi |
165 |
|
166 |
# bug 73850 |
167 |
if use elibc_uclibc; then |
168 |
sed -i -e 's:-lslang:-lslang -lncurses:g' "${S}"/Makefile.in |
169 |
fi |
170 |
|
171 |
sed -i -e 's:0.52.1:0.52.2:g' "${S}"/configure || die |
172 |
|
173 |
# bug 285854 |
174 |
epatch "${FILESDIR}"/newt-CVE-2009-2905.patch |
175 |
} |
176 |
|
177 |
src_compile() { |
178 |
python_version |
179 |
|
180 |
econf \ |
181 |
$(use_with gpm gpm-support) |
182 |
|
183 |
# not parallel safe |
184 |
emake \ |
185 |
CC="$(tc-getCC)" \ |
186 |
PYTHONVERS="python${PYVER}" \ |
187 |
RPM_OPT_FLAGS="${CFLAGS}" \ |
188 |
|| die "emake failed" |
189 |
} |
190 |
|
191 |
src_install () { |
192 |
python_version |
193 |
# the RPM_OPT_FLAGS="ERROR" is there to catch a build error |
194 |
# if it fails, that means something in src_compile() didn't build properly |
195 |
# not parallel safe |
196 |
emake \ |
197 |
prefix="${D}/usr" \ |
198 |
libdir="${D}/usr/$(get_libdir)" \ |
199 |
PYTHONVERS="python${PYVER}" \ |
200 |
RPM_OPT_FLAGS="ERROR" \ |
201 |
install || die "make install failed" |
202 |
dodoc peanuts.py popcorn.py tutorial.sgml |
203 |
doman whiptail.1 |
204 |
|
205 |
# Don't know if it's needed but it was here before so leaving /peper |
206 |
dosym libnewt.so.0.52.2 /usr/$(get_libdir)/libnewt.so.0.52 |
207 |
} |
208 |
|
209 |
|
210 |
|
211 |
1.1 dev-libs/newt/newt-0.52.10-r1.ebuild |
212 |
|
213 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild?rev=1.1&view=markup |
214 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild?rev=1.1&content-type=text/plain |
215 |
|
216 |
Index: newt-0.52.10-r1.ebuild |
217 |
=================================================================== |
218 |
# Copyright 1999-2009 Gentoo Foundation |
219 |
# Distributed under the terms of the GNU General Public License v2 |
220 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild,v 1.1 2009/10/07 18:15:26 mescalinum Exp $ |
221 |
|
222 |
inherit python toolchain-funcs eutils rpm |
223 |
|
224 |
DESCRIPTION="Redhat's Newt windowing toolkit development files" |
225 |
HOMEPAGE="https://fedorahosted.org/newt/" |
226 |
SRC_URI="https://fedorahosted.org/releases/n/e/newt/${P}.tar.gz" |
227 |
|
228 |
LICENSE="LGPL-2" |
229 |
SLOT="0" |
230 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
231 |
IUSE="gpm tcl nls" |
232 |
|
233 |
RDEPEND="=sys-libs/slang-2* |
234 |
>=dev-libs/popt-1.6 |
235 |
dev-lang/python |
236 |
elibc_uclibc? ( sys-libs/ncurses ) |
237 |
gpm? ( sys-libs/gpm ) |
238 |
tcl? ( =dev-lang/tcl-8.5* ) |
239 |
" |
240 |
|
241 |
DEPEND="${RDEPEND}" |
242 |
|
243 |
src_unpack() { |
244 |
unpack ${A} |
245 |
#rpm_src_unpack |
246 |
cd "${S}" |
247 |
|
248 |
# bug 73850 |
249 |
if use elibc_uclibc; then |
250 |
sed -i -e 's:-lslang:-lslang -lncurses:g' "${S}"/Makefile.in |
251 |
fi |
252 |
|
253 |
# bug 212676 |
254 |
sed -i -e 's:-ltcl8.4:-ltcl8.5:g' "${S}"/Makefile.in |
255 |
|
256 |
sed -i -e 's:instroot:DESTDIR:g' "${S}"/Makefile.in || die |
257 |
|
258 |
# bug 285854 |
259 |
epatch "${FILESDIR}"/newt-CVE-2009-2905.patch |
260 |
} |
261 |
|
262 |
src_compile() { |
263 |
python_version |
264 |
|
265 |
econf \ |
266 |
$(use_with gpm gpm-support) \ |
267 |
$(use_with tcl) \ |
268 |
$(use_enable nls) |
269 |
|
270 |
# not parallel safe |
271 |
emake -j1 \ |
272 |
CC="$(tc-getCC)" \ |
273 |
PYTHONVERS="python${PYVER}" \ |
274 |
RPM_OPT_FLAGS="${CFLAGS}" \ |
275 |
|| die "emake failed" |
276 |
} |
277 |
|
278 |
src_install () { |
279 |
python_version |
280 |
# the RPM_OPT_FLAGS="ERROR" is there to catch a build error |
281 |
# if it fails, that means something in src_compile() didn't build properly |
282 |
# not parallel safe |
283 |
emake \ |
284 |
DESTDIR="${D}" \ |
285 |
prefix="/usr" \ |
286 |
libdir="/usr/$(get_libdir)" \ |
287 |
PYTHONVERS="python${PYVER}" \ |
288 |
RPM_OPT_FLAGS="ERROR" \ |
289 |
install || die "make install failed" |
290 |
dodoc peanuts.py popcorn.py tutorial.sgml |
291 |
doman whiptail.1 |
292 |
} |