1 |
dirtyepic 09/07/19 03:10:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wxGTK-2.8.10.1-r1.ebuild |
5 |
Log: |
6 |
Patch added for CVE-2009-2369. Bug #277722. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.223 x11-libs/wxGTK/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.223&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.223&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/ChangeLog?r1=1.222&r2=1.223 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v |
19 |
retrieving revision 1.222 |
20 |
retrieving revision 1.223 |
21 |
diff -u -r1.222 -r1.223 |
22 |
--- ChangeLog 18 May 2009 03:15:29 -0000 1.222 |
23 |
+++ ChangeLog 19 Jul 2009 03:10:18 -0000 1.223 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-libs/wxGTK |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.222 2009/05/18 03:15:29 dirtyepic Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.223 2009/07/19 03:10:18 dirtyepic Exp $ |
29 |
+ |
30 |
+*wxGTK-2.8.10.1-r1 (19 Jul 2009) |
31 |
+ |
32 |
+ 19 Jul 2009; Ryan Hill <dirtyepic@g.o> +wxGTK-2.8.10.1-r1.ebuild, |
33 |
+ +files/wxGTK-2.8.10.1-CVE-2009-2369.patch: |
34 |
+ Patch added for CVE-2009-2369. Bug #277722. |
35 |
|
36 |
*wxGTK-2.8.10.1 (18 May 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-libs/wxGTK/wxGTK-2.8.10.1-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.10.1-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.10.1-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: wxGTK-2.8.10.1-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.10.1-r1.ebuild,v 1.1 2009/07/19 03:10:18 dirtyepic Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils versionator flag-o-matic |
55 |
|
56 |
DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit." |
57 |
HOMEPAGE="http://wxwidgets.org/" |
58 |
|
59 |
BASE_PV="$(get_version_component_range 1-3)" |
60 |
BASE_P="${PN}-${BASE_PV}" |
61 |
|
62 |
# we use the wxPython tarballs because they include the full wxGTK sources and |
63 |
# docs, and are released more frequently than wxGTK. |
64 |
SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2" |
65 |
|
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
67 |
IUSE="X doc debug gnome gstreamer odbc opengl pch sdl" |
68 |
|
69 |
RDEPEND=" |
70 |
dev-libs/expat |
71 |
odbc? ( dev-db/unixODBC ) |
72 |
sdl? ( media-libs/libsdl ) |
73 |
X? ( |
74 |
>=x11-libs/gtk+-2.4 |
75 |
>=dev-libs/glib-2.4 |
76 |
media-libs/jpeg |
77 |
media-libs/tiff |
78 |
x11-libs/libSM |
79 |
x11-libs/libXinerama |
80 |
x11-libs/libXxf86vm |
81 |
gnome? ( gnome-base/libgnomeprintui ) |
82 |
gstreamer? ( |
83 |
>=gnome-base/gconf-2.0 |
84 |
>=media-libs/gstreamer-0.10 ) |
85 |
opengl? ( virtual/opengl ) |
86 |
)" |
87 |
|
88 |
DEPEND="${RDEPEND} |
89 |
dev-util/pkgconfig |
90 |
X? ( |
91 |
x11-proto/xproto |
92 |
x11-proto/xineramaproto |
93 |
x11-proto/xf86vidmodeproto |
94 |
)" |
95 |
|
96 |
PDEPEND=">=app-admin/eselect-wxwidgets-0.7" |
97 |
|
98 |
SLOT="2.8" |
99 |
LICENSE="wxWinLL-3 |
100 |
GPL-2 |
101 |
odbc? ( LGPL-2 ) |
102 |
doc? ( wxWinFDL-3 )" |
103 |
|
104 |
S="${WORKDIR}/wxPython-src-${PV}" |
105 |
|
106 |
src_prepare() { |
107 |
cd "${S}" |
108 |
epatch "${FILESDIR}"/${PN}-2.6.3-unicode-odbc.patch |
109 |
epatch "${FILESDIR}"/${PN}-2.8.10-collision.patch |
110 |
epatch "${FILESDIR}"/${PN}-2.8.7-mmedia.patch # Bug #174874 |
111 |
# this version only: |
112 |
epatch "${FILESDIR}"/${P}-CVE-2009-2369.patch # Bug #277722 |
113 |
} |
114 |
|
115 |
src_configure() { |
116 |
local myconf |
117 |
|
118 |
append-flags -fno-strict-aliasing |
119 |
|
120 |
# X independent options |
121 |
myconf="--enable-compat26 |
122 |
--enable-shared |
123 |
--enable-unicode |
124 |
--with-regex=builtin |
125 |
--with-zlib=sys |
126 |
--with-expat=sys |
127 |
$(use_enable debug) |
128 |
$(use_enable pch precomp-headers) |
129 |
$(use_with sdl)" |
130 |
|
131 |
use odbc \ |
132 |
&& myconf="${myconf} --with-odbc=sys" \ |
133 |
|| myconf="${myconf} $(use_with odbc)" |
134 |
|
135 |
# wxGTK options |
136 |
# --enable-graphics_ctx - needed for webkit, editra |
137 |
# --without-gnomevfs - bug #203389 |
138 |
|
139 |
use X && \ |
140 |
myconf="${myconf} |
141 |
--enable-graphics_ctx |
142 |
--enable-gui |
143 |
--with-libpng=sys |
144 |
--with-libxpm=sys |
145 |
--with-libjpeg=sys |
146 |
--with-libtiff=sys |
147 |
$(use_enable gstreamer mediactrl) |
148 |
$(use_enable opengl) |
149 |
$(use_with opengl) |
150 |
$(use_with gnome gnomeprint) |
151 |
--without-gnomevfs" |
152 |
|
153 |
# wxBase options |
154 |
use X || \ |
155 |
myconf="${myconf} |
156 |
--disable-gui" |
157 |
|
158 |
mkdir "${S}"/wxgtk_build |
159 |
cd "${S}"/wxgtk_build |
160 |
|
161 |
ECONF_SOURCE="${S}" econf ${myconf} || die "configure failed." |
162 |
} |
163 |
|
164 |
src_compile() { |
165 |
cd "${S}"/wxgtk_build |
166 |
|
167 |
emake || die "make failed." |
168 |
|
169 |
if [[ -d contrib/src ]]; then |
170 |
cd contrib/src |
171 |
emake || die "make contrib failed." |
172 |
fi |
173 |
} |
174 |
|
175 |
src_install() { |
176 |
cd "${S}"/wxgtk_build |
177 |
|
178 |
emake DESTDIR="${D}" install || die "install failed." |
179 |
|
180 |
if [[ -d contrib/src ]]; then |
181 |
cd contrib/src |
182 |
emake DESTDIR="${D}" install || die "install contrib failed." |
183 |
fi |
184 |
|
185 |
cd "${S}"/docs |
186 |
dodoc changes.txt readme.txt todo30.txt |
187 |
newdoc base/readme.txt base_readme.txt |
188 |
newdoc gtk/readme.txt gtk_readme.txt |
189 |
|
190 |
if use doc; then |
191 |
dohtml -r "${S}"/docs/html/* |
192 |
fi |
193 |
|
194 |
# We don't want this |
195 |
rm "${D}"usr/share/locale/it/LC_MESSAGES/wxmsw.mo |
196 |
} |
197 |
|
198 |
pkg_postinst() { |
199 |
has_version app-admin/eselect-wxwidgets \ |
200 |
&& eselect wxwidgets update |
201 |
} |
202 |
|
203 |
pkg_postrm() { |
204 |
has_version app-admin/eselect-wxwidgets \ |
205 |
&& eselect wxwidgets update |
206 |
} |