Gentoo Archives: gentoo-commits

From: "Robert Buchholz (rbu)" <rbu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/tiff: ChangeLog tiff-3.8.2-r4.ebuild
Date: Tue, 26 Aug 2008 14:51:29
Message-Id: E1KXztB-0006f3-8H@stork.gentoo.org
1 rbu 08/08/26 14:51:21
2
3 Modified: ChangeLog
4 Added: tiff-3.8.2-r4.ebuild
5 Log:
6 + Fix buffer underflow in LZW encoding (CVE-2008-2327), straight to stable for
7 + alpha amd64 hppa ppc64 x86 (seccurity bug #234080)
8 (Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc4-git1 x86_64, RepoMan options: --force)
9
10 Revision Changes Path
11 1.106 media-libs/tiff/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/ChangeLog?rev=1.106&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/ChangeLog?rev=1.106&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/ChangeLog?r1=1.105&r2=1.106
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v
20 retrieving revision 1.105
21 retrieving revision 1.106
22 diff -u -r1.105 -r1.106
23 --- ChangeLog 4 Mar 2008 22:41:52 -0000 1.105
24 +++ ChangeLog 26 Aug 2008 14:51:20 -0000 1.106
25 @@ -1,6 +1,14 @@
26 # ChangeLog for media-libs/tiff
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v 1.105 2008/03/04 22:41:52 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v 1.106 2008/08/26 14:51:20 rbu Exp $
30 +
31 +*tiff-3.8.2-r4 (26 Aug 2008)
32 +
33 + 26 Aug 2008; Robert Buchholz <rbu@g.o>
34 + +files/tiff-3.8.2-CVE-2008-2327.patch, +tiff-3.8.2-r4.ebuild:
35 + Fix buffer underflow in LZW encoding (CVE-2008-2327), straight to stable for
36 + alpha amd64 hppa ppc64 x86 (seccurity bug #234080)
37 + (Non-maintainer commit)
38
39 04 Mar 2008; Markus Meier <maekke@g.o> tiff-3.8.2-r2.ebuild,
40 tiff-3.8.2-r3.ebuild:
41
42
43
44 1.1 media-libs/tiff/tiff-3.8.2-r4.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/tiff-3.8.2-r4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/tiff-3.8.2-r4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: tiff-3.8.2-r4.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-3.8.2-r4.ebuild,v 1.1 2008/08/26 14:51:20 rbu Exp $
54
55 inherit eutils libtool
56
57 DESCRIPTION="Library for manipulation of TIFF (Tag Image File Format) images"
58 HOMEPAGE="http://www.remotesensing.org/libtiff/"
59 SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz
60 mirror://gentoo/${P}-tiff2pdf.patch.bz2"
61
62 LICENSE="as-is"
63 SLOT="0"
64 KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~sparc-fbsd x86 ~x86-fbsd"
65 IUSE="jpeg jbig nocxx zlib"
66
67 DEPEND="jpeg? ( >=media-libs/jpeg-6b )
68 jbig? ( >=media-libs/jbigkit-1.6-r1 )
69 zlib? ( >=sys-libs/zlib-1.1.3-r2 )"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${WORKDIR}"/${P}-tiff2pdf.patch
75 epatch "${FILESDIR}"/${P}-tiffsplit.patch
76 if use jbig; then
77 epatch "${FILESDIR}"/${PN}-jbig.patch
78 fi
79 epatch "${FILESDIR}"/${P}-goo-sec.patch
80 epatch "${FILESDIR}"/${P}-CVE-2008-2327.patch
81 elibtoolize
82 }
83
84 src_compile() {
85 econf \
86 $(use_enable !nocxx cxx) \
87 $(use_enable zlib) \
88 $(use_enable jpeg) \
89 $(use_enable jbig) \
90 --with-pic --without-x \
91 --with-docdir=/usr/share/doc/${PF} \
92 || die "econf failed"
93 emake || die "emake failed"
94 }
95
96 src_install() {
97 make install DESTDIR="${D}" || die "make install failed"
98 dodoc README TODO VERSION
99 }
100
101 pkg_postinst() {
102 echo
103 elog "JBIG support is intended for Hylafax fax compression, so we"
104 elog "really need more feedback in other areas (most testing has"
105 elog "been done with fax). Be sure to recompile anything linked"
106 elog "against tiff if you rebuild it with jbig support."
107 echo
108 }