Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/imlib: ChangeLog imlib-1.9.15-r2.ebuild
Date: Mon, 10 Dec 2007 20:14:32
Message-Id: E1J1p1H-0000eH-Uv@stork.gentoo.org
1 pva 07/12/10 20:14:27
2
3 Modified: ChangeLog
4 Added: imlib-1.9.15-r2.ebuild
5 Log:
6 Fixed denial of service (infinite loop) via a BMP image, bug #201887.
7 Fixed bug which prevented imlib to render images is MIT-SHM when the MIT-SHM extension doesn't support shared pixmaps (bugs.debian.org/448360). Thank for report Antti Mäkelä <zarhan AT cs.tut.fi>.
8 Homepage changed. No website is available for this old library, so pointing to sources location.
9 (Portage version: 2.1.3.19)
10
11 Revision Changes Path
12 1.58 media-libs/imlib/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/imlib/ChangeLog?rev=1.58&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/imlib/ChangeLog?rev=1.58&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/imlib/ChangeLog?r1=1.57&r2=1.58
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/imlib/ChangeLog,v
21 retrieving revision 1.57
22 retrieving revision 1.58
23 diff -u -r1.57 -r1.58
24 --- ChangeLog 23 Sep 2007 14:18:20 -0000 1.57
25 +++ ChangeLog 10 Dec 2007 20:14:24 -0000 1.58
26 @@ -1,6 +1,17 @@
27 # ChangeLog for media-libs/imlib
28 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/ChangeLog,v 1.57 2007/09/23 14:18:20 drac Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/ChangeLog,v 1.58 2007/12/10 20:14:24 pva Exp $
31 +
32 +*imlib-1.9.15-r2 (10 Dec 2007)
33 +
34 + 10 Dec 2007; <pva@g.o>
35 + +files/imlib-1.9.15-bpp16-CVE-2007-3568.patch,
36 + +files/imlib-1.9.15-fix-rendering.patch, +imlib-1.9.15-r2.ebuild:
37 + Fixed denial of service (infinite loop) via a BMP image, bug #201887. Fixed
38 + bug which prevented imlib to render images is MIT-SHM when the MIT-SHM
39 + extension doesn't support shared pixmaps (bugs.debian.org/448360). Thank for
40 + report Antti Mäkelä <zarhan AT cs.tut.fi>. Homepage changed. No website is
41 + available for this old library, so pointing to sources location.
42
43 23 Sep 2007; Samuli Suominen <drac@g.o> imlib-1.9.15-r1.ebuild:
44 Fix modular X deps wrt #192733.
45
46
47
48 1.1 media-libs/imlib/imlib-1.9.15-r2.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/imlib/imlib-1.9.15-r2.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/imlib/imlib-1.9.15-r2.ebuild?rev=1.1&content-type=text/plain
52
53 Index: imlib-1.9.15-r2.ebuild
54 ===================================================================
55 # Copyright 1999-2007 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/imlib-1.9.15-r2.ebuild,v 1.1 2007/12/10 20:14:24 pva Exp $
58
59 inherit autotools eutils gnome.org
60
61 DESCRIPTION="Image loading and rendering library"
62 HOMEPAGE="http://ftp.acc.umu.se/pub/GNOME/sources/imlib/1.9/"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
67 IUSE="doc gtk"
68
69 RDEPEND="gtk? ( =x11-libs/gtk+-1.2* )
70 >=media-libs/tiff-3.5.5
71 >=media-libs/giflib-4.1.0
72 >=media-libs/libpng-1.2.1
73 >=media-libs/jpeg-6b
74 x11-libs/libICE
75 x11-libs/libSM
76 x11-libs/libXext"
77 DEPEND="${RDEPEND}"
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82
83 # Fix aclocal underquoted definition warnings.
84 # Conditionalize gdk functions for bug 40453.
85 # Fix imlib-config for bug 3425.
86 epatch "${FILESDIR}"/${P}.patch
87
88 # Fix security bug 72681.
89 epatch "${FILESDIR}"/${PN}-security.patch
90
91 # Fixes security bug #201887
92 epatch "${FILESDIR}"/${P}-bpp16-CVE-2007-3568.patch
93
94 # Fixes #197489
95 epatch "${FILESDIR}"/${P}-fix-rendering.patch
96
97 eautoconf
98 _elibtoolize
99 }
100
101 src_compile() {
102 econf --sysconfdir=/etc/imlib \
103 $(use_enable gtk gdk) \
104 $(use_enable gtk gtktest)
105
106 emake || die "emake failed."
107 }
108
109 src_install() {
110 emake DESTDIR="${D}" install || die "emake install failed."
111
112 dodoc AUTHORS ChangeLog README
113 use doc && dohtml doc/*
114
115 # Hack to avoid installing pkgconfig file.
116 use gtk || rm "${D}"/usr/lib*/pkgconfig/imlibgdk.pc
117 }
118
119
120
121 --
122 gentoo-commits@g.o mailing list