Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-dotnet/libgdiplus: ChangeLog libgdiplus-2.6.7-r1.ebuild
Date: Tue, 07 Sep 2010 21:57:06
Message-Id: 20100907215703.70EB520054@flycatcher.gentoo.org
1 pacho 10/09/07 21:57:03
2
3 Modified: ChangeLog
4 Added: libgdiplus-2.6.7-r1.ebuild
5 Log:
6 Fix Multiple Integer Overflow Vulnerabilities (CVE-2010-1526) (bug #334101) applying upstream patch also used in Fedora.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.116 dev-dotnet/libgdiplus/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog?rev=1.116&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog?rev=1.116&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog?r1=1.115&r2=1.116
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog,v
19 retrieving revision 1.115
20 retrieving revision 1.116
21 diff -u -r1.115 -r1.116
22 --- ChangeLog 21 Jul 2010 17:29:33 -0000 1.115
23 +++ ChangeLog 7 Sep 2010 21:57:03 -0000 1.116
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-dotnet/libgdiplus
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog,v 1.115 2010/07/21 17:29:33 pacho Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog,v 1.116 2010/09/07 21:57:03 pacho Exp $
29 +
30 +*libgdiplus-2.6.7-r1 (07 Sep 2010)
31 +
32 + 07 Sep 2010; Pacho Ramos <pacho@g.o> +libgdiplus-2.6.7-r1.ebuild,
33 + +files/libgdiplus-2.6.7-fix-overflows.patch:
34 + Fix Multiple Integer Overflow Vulnerabilities (CVE-2010-1526) (bug
35 + #334101) applying upstream patch also used in Fedora.
36
37 *libgdiplus-2.6.7 (21 Jul 2010)
38
39
40
41
42 1.1 dev-dotnet/libgdiplus/libgdiplus-2.6.7-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-2.6.7-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-2.6.7-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libgdiplus-2.6.7-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-2.6.7-r1.ebuild,v 1.1 2010/09/07 21:57:03 pacho Exp $
52
53 EAPI=2
54
55 inherit eutils go-mono mono flag-o-matic
56
57 DESCRIPTION="Library for using System.Drawing with mono"
58 HOMEPAGE="http://www.go-mono.com/"
59
60 LICENSE="MIT"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
63 IUSE="cairo"
64
65 RDEPEND=">=dev-libs/glib-2.16
66 >=media-libs/freetype-2.3.7
67 >=media-libs/fontconfig-2.6
68 media-libs/libpng
69 x11-libs/libXrender
70 x11-libs/libX11
71 x11-libs/libXt
72 >=x11-libs/cairo-1.8.4[X]
73 media-libs/libexif
74 >=media-libs/giflib-4.1.3
75 media-libs/jpeg
76 media-libs/tiff
77 !cairo? ( >=x11-libs/pango-1.20 )"
78 DEPEND="${RDEPEND}"
79
80 RESTRICT="test"
81
82 src_prepare() {
83 go-mono_src_prepare
84 sed -i -e 's:ungif:gif:g' configure || die
85
86 # Fix integer overflows when loading images, see bug #334101
87 epatch "${FILESDIR}/${P}-fix-overflows.patch"
88 }
89
90 src_configure() {
91 append-flags -fno-strict-aliasing
92 go-mono_src_configure --with-cairo=system \
93 $(use !cairo && printf %s --with-pango) \
94 || die "configure failed"
95 }