From f24e6d3c5f6328357a72265b3a1c33b7f73214cf Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Wed, 13 Jul 2011 01:53:42 +0400 Subject: Moved to tree --- media-libs/tiff-compat/ChangeLog | 24 --------- media-libs/tiff-compat/Manifest | 16 ------ .../files/tiff-3.9.4-CVE-2011-0192.patch | 13 ----- .../files/tiff-3.9.4-CVE-2011-1167.patch | 62 ---------------------- media-libs/tiff-compat/metadata.xml | 12 ----- media-libs/tiff-compat/tiff-compat-3.9.4-r1.ebuild | 61 --------------------- 6 files changed, 188 deletions(-) delete mode 100644 media-libs/tiff-compat/ChangeLog delete mode 100644 media-libs/tiff-compat/Manifest delete mode 100644 media-libs/tiff-compat/files/tiff-3.9.4-CVE-2011-0192.patch delete mode 100644 media-libs/tiff-compat/files/tiff-3.9.4-CVE-2011-1167.patch delete mode 100644 media-libs/tiff-compat/metadata.xml delete mode 100644 media-libs/tiff-compat/tiff-compat-3.9.4-r1.ebuild (limited to 'media-libs') diff --git a/media-libs/tiff-compat/ChangeLog b/media-libs/tiff-compat/ChangeLog deleted file mode 100644 index 1e8ef58ef..000000000 --- a/media-libs/tiff-compat/ChangeLog +++ /dev/null @@ -1,24 +0,0 @@ -# ChangeLog for media-libs/tiff-compat -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*tiff-compat-3.9.4-r1 (09 May 2011) - - 09 May 2011; Justin Lecher +tiff-compat-3.9.4-r1.ebuild, - +files/tiff-3.9.4-CVE-2011-0192.patch, +files/tiff-3.9.4-CVE-2011-1167.patch, - +metadata.xml: - Moved from media-libs/tiff to media-libs/tiff-compat - -*tiff-3.9.4-r1 (07 May 2011) - - 07 May 2011; Christoph Junghans +tiff-3.9.4-r1.ebuild, - -tiff-3.9.4-r2.ebuild: - Undo the bump (see bug #364181) - -*tiff-3.9.4-r2 (06 May 2011) - - 06 May 2011; Christoph Junghans -tiff-3.9.4-r1.ebuild, - +tiff-3.9.4-r2.ebuild, +files/tiff-3.9.4-CVE-2011-0192.patch, - +files/tiff-3.9.4-CVE-2011-1167.patch: - Version bump to avoid conflict with tree - diff --git a/media-libs/tiff-compat/Manifest b/media-libs/tiff-compat/Manifest deleted file mode 100644 index 2216cbc37..000000000 --- a/media-libs/tiff-compat/Manifest +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX tiff-3.9.4-CVE-2011-0192.patch 439 RMD160 8d57853f8b9a3312b6d4ec9dbef5058372b4cb41 SHA1 062f1dc95ec4f844aaf49930041016995ceef686 SHA256 10e4cbc100538f43dde12cd2378af20e51ab954c6508d5e5aea6ed3075940bbc -AUX tiff-3.9.4-CVE-2011-1167.patch 1924 RMD160 b5cc360a86f986728e6834c3a79ac9ace31c85de SHA1 494977ffe25a2374ca2b4f378454f88d5b3a6f0c SHA256 7198ae383a617cfae8034eccaf63ff7de897f8217aa6aa77c67f95443ac6deb1 -DIST tiff-3.9.4.tar.gz 1436968 RMD160 3e0a74b6294297c16fb983ad68056a1dfbbdb1de SHA1 a4e32d55afbbcabd0391a9c89995e8e8a19961de SHA256 67b76d075fb74f7cb32e7e4b217701674755fe6cee0f463b259a753fce691da6 -EBUILD tiff-compat-3.9.4-r1.ebuild 1844 RMD160 df8149e9f1919c5511f85d9aa16e5d736525586e SHA1 45cd971e88e0503032ad228e9bb3d2e312ad8bbf SHA256 f6dd915d4395003e6bd5bf105ec4875673ef5e7b0afe0069552c817dbd4ded00 -MISC ChangeLog 813 RMD160 342af37e82e1557bacc9f14c90e08fc360764758 SHA1 a8fde5f82ff8fe4ac6b8635d33d50638c8e75975 SHA256 727c983c1a77037d2868a4ea68fa779255e45801dff333dbc0e26fe0c73e46d9 -MISC metadata.xml 448 RMD160 0419f91f1f20efdc94d3894f6a4fc6471f22d0a1 SHA1 d743d16f4afb124bbe57a45b217b92f71b515f20 SHA256 61b04082cf0ccec1f58146fab271f88e56009277edee28b3f297eafb0562f4c9 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) - -iEYEARECAAYFAk3H1oQACgkQgAnW8HDreRb9AQCgpzEds+ivDqABdRjxXxIYTGbQ -b00AoL1izEOgt7QFs6F7EKaMzL1+A9eZ -=Luq/ ------END PGP SIGNATURE----- diff --git a/media-libs/tiff-compat/files/tiff-3.9.4-CVE-2011-0192.patch b/media-libs/tiff-compat/files/tiff-3.9.4-CVE-2011-0192.patch deleted file mode 100644 index dbeb8825d..000000000 --- a/media-libs/tiff-compat/files/tiff-3.9.4-CVE-2011-0192.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: libtiff/tif_fax3.h -=================================================================== -RCS file: /cvs/maptools/cvsroot/libtiff/libtiff/tif_fax3.h,v -retrieving revision 1.7 -retrieving revision 1.9 -diff -r1.7 -r1.9 -480a481,486 -> if (b1 <= (int) (a0 + TabEnt->Param)) { \ -> if (b1 < (int) (a0 + TabEnt->Param) || pa != thisrun) { \ -> unexpected("VL", a0); \ -> goto eol2d; \ -> } \ -> } \ diff --git a/media-libs/tiff-compat/files/tiff-3.9.4-CVE-2011-1167.patch b/media-libs/tiff-compat/files/tiff-3.9.4-CVE-2011-1167.patch deleted file mode 100644 index 5783a2b23..000000000 --- a/media-libs/tiff-compat/files/tiff-3.9.4-CVE-2011-1167.patch +++ /dev/null @@ -1,62 +0,0 @@ -Index: ChangeLog -=================================================================== -RCS file: /cvs/maptools/cvsroot/libtiff/ChangeLog,v -retrieving revision 1.602.2.130 -diff -r1.602.2.130 ChangeLog -0a1,7 -> 2011-03-12 Frank Warmerdam -> -> * libtiff/tif_thunder.c: Correct potential buffer overflow with -> thunder encoded files with wrong bitspersample set. The libtiff -> development team would like to thank Marin Barbella and TippingPoint's -> Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004). -> -Index: libtiff/tif_thunder.c -=================================================================== -RCS file: /cvs/maptools/cvsroot/libtiff/libtiff/tif_thunder.c,v -retrieving revision 1.5.2.1 -diff -r1.5.2.1 tif_thunder.c -27a28 -> #include -58,62c59,65 -< #define SETPIXEL(op, v) { \ -< lastpixel = (v) & 0xf; \ -< if (npixels++ & 1) \ -< *op++ |= lastpixel; \ -< else \ ---- -> #define SETPIXEL(op, v) { \ -> lastpixel = (v) & 0xf; \ -> if ( npixels < maxpixels ) \ -> { \ -> if (npixels++ & 1) \ -> *op++ |= lastpixel; \ -> else \ -63a67,84 -> } \ -> } -> -> static int -> ThunderSetupDecode(TIFF* tif) -> { -> static const char module[] = "ThunderSetupDecode"; -> -> if( tif->tif_dir.td_bitspersample != 4 ) -> { -> TIFFErrorExt(tif->tif_clientdata, module, -> "Wrong bitspersample value (%d), Thunder decoder only supports 4bits per sample.", -> (int) tif->tif_dir.td_bitspersample ); -> return 0; -> } -> -> -> return (1); -145c166,167 -< return (1); ---- -> -> return (1); -153a176 -> tif->tif_setupdecode = ThunderSetupDecode; -165a189 -> diff --git a/media-libs/tiff-compat/metadata.xml b/media-libs/tiff-compat/metadata.xml deleted file mode 100644 index afea603b6..000000000 --- a/media-libs/tiff-compat/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -graphics - - nerdboy@gentoo.org - Steve Arnold - Primary Maintainer - -TIFF image library and tools, mostly for scanner and fax - support, but also used by GIS and other imaging tools. - diff --git a/media-libs/tiff-compat/tiff-compat-3.9.4-r1.ebuild b/media-libs/tiff-compat/tiff-compat-3.9.4-r1.ebuild deleted file mode 100644 index 655ea479f..000000000 --- a/media-libs/tiff-compat/tiff-compat-3.9.4-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-3.9.4-r1.ebuild,v 1.2 2011/04/23 16:38:13 nerdboy Exp $ - -EAPI=3 -inherit eutils libtool - -# This is ebuild for libtiff.so.3 only for SONAME binary compatibility - -DESCRIPTION="Library for manipulation of TIFF (Tag Image File Format) images" -HOMEPAGE="http://www.remotesensing.org/libtiff/" -SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/${P/-compat}.tar.gz" - -LICENSE="as-is" -SLOT="3" -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" -IUSE="+cxx jbig jpeg static-libs zlib" - -RDEPEND="jpeg? ( virtual/jpeg ) - !=media-libs/tiff-3* - jbig? ( media-libs/jbigkit ) - zlib? ( sys-libs/zlib )" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/${P/-compat} - -src_prepare() { - epatch "${FILESDIR}"/${P/-compat}-CVE-2011-0192.patch - epatch "${FILESDIR}"/${P/-compat}-CVE-2011-1167.patch - elibtoolize -} - -src_configure() { - econf \ - --disable-dependency-tracking \ - $(use_enable static-libs static) \ - $(use_enable cxx) \ - $(use_enable zlib) \ - $(use_enable jpeg) \ - $(use_enable jbig) \ - --without-x \ - --with-docdir="${EPREFIX}"/usr/share/doc/${PF} -} - -src_install() { - exeinto /usr/$(get_libdir) - doexe libtiff/.libs/libtiff.so.3 || die - doexe libtiff/.libs/libtiffxx.so.3 || die -} - -pkg_postinst() { - if use jbig; then - echo - elog "JBIG support is intended for Hylafax fax compression, so we" - elog "really need more feedback in other areas (most testing has" - elog "been done with fax). Be sure to recompile anything linked" - elog "against tiff if you rebuild it with jbig support." - echo - fi -} -- cgit v1.2.3-65-gdbad