Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/webkit-gtk: ChangeLog webkit-gtk-0_p40220-r1.ebuild
Date: Sat, 27 Jun 2009 11:34:56
Message-Id: E1MKWBK-0001QN-Is@stork.gentoo.org
1 nirbheek 09/06/27 11:34:54
2
3 Modified: ChangeLog
4 Added: webkit-gtk-0_p40220-r1.ebuild
5 Log:
6 Fix bug 271861 (Array indexing vulnerability (CVE-2009-0945))
7 (Portage version: 2.2_rc33/cvs/Linux i686)
8
9 Revision Changes Path
10 1.35 net-libs/webkit-gtk/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/webkit-gtk/ChangeLog?rev=1.35&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/webkit-gtk/ChangeLog?rev=1.35&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/webkit-gtk/ChangeLog?r1=1.34&r2=1.35
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v
19 retrieving revision 1.34
20 retrieving revision 1.35
21 diff -u -r1.34 -r1.35
22 --- ChangeLog 19 Jun 2009 17:26:25 -0000 1.34
23 +++ ChangeLog 27 Jun 2009 11:34:54 -0000 1.35
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-libs/webkit-gtk
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.34 2009/06/19 17:26:25 mrpouet Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.35 2009/06/27 11:34:54 nirbheek Exp $
29 +
30 +*webkit-gtk-0_p40220-r1 (27 Jun 2009)
31 +
32 + 27 Jun 2009; <nirbheek@g.o> +webkit-gtk-0_p40220-r1.ebuild,
33 + +files/webkit-gtk-CVE-2009-0945.patch:
34 + Fix bug 271861 (Array indexing vulnerability (CVE-2009-0945))
35
36 *webkit-gtk-1.1.10 (19 Jun 2009)
37
38
39
40
41 1.1 net-libs/webkit-gtk/webkit-gtk-0_p40220-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-0_p40220-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-0_p40220-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: webkit-gtk-0_p40220-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/net-libs/webkit-gtk/webkit-gtk-0_p40220-r1.ebuild,v 1.1 2009/06/27 11:34:54 nirbheek Exp $
51
52 inherit autotools flag-o-matic eutils
53
54 MY_P="WebKit-r${PV/0\_p}"
55 DESCRIPTION="Open source web browser engine"
56 HOMEPAGE="http://www.webkit.org/"
57 SRC_URI="http://nightly.webkit.org/files/trunk/src/${MY_P}.tar.bz2"
58
59 LICENSE="LGPL-2 LGPL-2.1 BSD"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 -ia64 ~ppc -sparc ~x86 ~x86-fbsd"
62 IUSE="coverage debug gstreamer pango soup sqlite svg xslt"
63
64 RDEPEND=">=x11-libs/gtk+-2.8
65 >=dev-libs/icu-3.8.1-r1
66 >=net-misc/curl-7.15
67 media-libs/jpeg
68 media-libs/libpng
69 dev-libs/libxml2
70 sqlite? ( >=dev-db/sqlite-3 )
71 gstreamer? (
72 >=media-libs/gst-plugins-base-0.10
73 )
74 soup? ( >=net-libs/libsoup-2.23.1 )
75 xslt? ( dev-libs/libxslt )
76 pango? ( x11-libs/pango )"
77
78 DEPEND="${RDEPEND}
79 dev-util/gperf
80 dev-util/pkgconfig
81 virtual/perl-Text-Balanced"
82
83 S="${WORKDIR}/${MY_P}"
84
85 src_unpack() {
86 unpack ${A}
87 cd "${S}"
88 epatch "${FILESDIR}/${P}-gcc44-aliasing.patch"
89 epatch "${FILESDIR}/${PN}-CVE-2009-0945.patch"
90 eautoreconf
91 }
92
93 src_compile() {
94 # It doesn't compile on alpha without this LDFLAGS
95 use alpha && append-ldflags "-Wl,--no-relax"
96
97 local myconf
98 use pango && myconf="${myconf} --with-font-backend=pango"
99 use soup && myconf="${myconf} --with-http-backend=soup"
100
101 econf \
102 $(use_enable sqlite database) \
103 $(use_enable sqlite icon-database) \
104 $(use_enable sqlite dom-storage) \
105 $(use_enable sqlite offline-web-applications) \
106 $(use_enable gstreamer video) \
107 $(use_enable svg) \
108 $(use_enable debug) \
109 $(use_enable xslt) \
110 $(use_enable coverage) \
111 ${myconf} \
112 || die "configure failed"
113
114 emake || die "emake failed"
115 }
116
117 src_install() {
118 emake DESTDIR="${D}" install || die "Install failed"
119 }