Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/tiff: ChangeLog tiff-3.9.2-r1.ebuild
Date: Fri, 26 Feb 2010 20:31:36
Message-Id: E1Nl6qT-0007Bi-Ni@stork.gentoo.org
1 ssuominen 10/02/26 20:31:33
2
3 Modified: ChangeLog
4 Added: tiff-3.9.2-r1.ebuild
5 Log:
6 Fix CVE-2009-2347 again wrt security #307001.
7 (Portage version: 2.2_rc63/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.145 media-libs/tiff/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/ChangeLog?rev=1.145&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/ChangeLog?rev=1.145&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/ChangeLog?r1=1.144&r2=1.145
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v
19 retrieving revision 1.144
20 retrieving revision 1.145
21 diff -u -r1.144 -r1.145
22 --- ChangeLog 22 Jan 2010 17:19:11 -0000 1.144
23 +++ ChangeLog 26 Feb 2010 20:31:32 -0000 1.145
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/tiff
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v 1.144 2010/01/22 17:19:11 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v 1.145 2010/02/26 20:31:32 ssuominen Exp $
29 +
30 +*tiff-3.9.2-r1 (26 Feb 2010)
31 +
32 + 26 Feb 2010; Samuli Suominen <ssuominen@g.o> +tiff-3.9.2-r1.ebuild,
33 + +files/tiff-3.9.2-CVE-2009-2347.patch:
34 + Fix CVE-2009-2347 again wrt security #307001.
35
36 22 Jan 2010; Samuli Suominen <ssuominen@g.o> tiff-3.9.2.ebuild:
37 Require SLOT="0" of media-libs/jpeg for headers.
38
39
40
41 1.1 media-libs/tiff/tiff-3.9.2-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/tiff-3.9.2-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/tiff-3.9.2-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tiff-3.9.2-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-3.9.2-r1.ebuild,v 1.1 2010/02/26 20:31:32 ssuominen Exp $
51
52 EAPI=2
53 inherit eutils libtool
54
55 DESCRIPTION="Library for manipulation of TIFF (Tag Image File Format) images"
56 HOMEPAGE="http://www.remotesensing.org/libtiff/"
57 SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz"
58
59 LICENSE="as-is"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
62 IUSE="jpeg jbig +cxx zlib"
63
64 DEPEND="jpeg? ( >=media-libs/jpeg-6b:0 )
65 jbig? ( media-libs/jbigkit )
66 zlib? ( sys-libs/zlib )"
67
68 src_prepare() {
69 epatch "${FILESDIR}"/${PN}-3.8.2-CVE-2009-2285.patch \
70 "${FILESDIR}"/${P}-CVE-2009-2347.patch
71 elibtoolize
72 }
73
74 src_configure() {
75 use prefix || EPREFIX=
76 econf \
77 --disable-dependency-tracking \
78 $(use_enable cxx) \
79 $(use_enable zlib) \
80 $(use_enable jpeg) \
81 $(use_enable jbig) \
82 --without-x \
83 --with-docdir="${EPREFIX}"/usr/share/doc/${PF}
84 }
85
86 src_install() {
87 emake DESTDIR="${D}" install || die
88 dodoc ChangeLog README TODO
89 }
90
91 pkg_postinst() {
92 if use jbig; then
93 echo
94 elog "JBIG support is intended for Hylafax fax compression, so we"
95 elog "really need more feedback in other areas (most testing has"
96 elog "been done with fax). Be sure to recompile anything linked"
97 elog "against tiff if you rebuild it with jbig support."
98 echo
99 fi
100 }