commit:     37595745cfaca05f187eba0f3b9a392a79510393
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 11 15:15:09 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 15:15:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37595745

media-libs/tiff: drop vulnerable

Bug: https://bugs.gentoo.org/624696
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/tiff/Manifest             |  1 -
 media-libs/tiff/tiff-4.0.8.ebuild    | 80 ------------------------------------
 media-libs/tiff/tiff-4.0.9-r1.ebuild | 75 ---------------------------------
 media-libs/tiff/tiff-4.0.9-r2.ebuild | 79 -----------------------------------
 4 files changed, 235 deletions(-)

diff --git a/media-libs/tiff/Manifest b/media-libs/tiff/Manifest
index 7fb67c5c4a4..fd0ec14369a 100644
--- a/media-libs/tiff/Manifest
+++ b/media-libs/tiff/Manifest
@@ -1,3 +1,2 @@
 DIST tiff-3.9.7.tar.gz 1468097 BLAKE2B 
303339acf9bb48558695b13fcc2b41acacbbf2ce6d2ec497067761895cb2de7674108e8ca2f35f845dcd2e45801777fe25d234af1c308acf59846c2f5617ab53
 SHA512 
ca89584a9ffa33b4986e4bc2165043cec239896f1f0ab73db00818d0442b570efaa6345b2ed422e884202324d359713df849bf14782bb0cf3b959655febddd77
-DIST tiff-4.0.8.tar.gz 2065574 BLAKE2B 
b9ece26d3549836d2cbbce1b90ce724a6eae51adae0abbd6193942ced8be965df63d1aa8e774b83d9ae689e5d08033705ef62b77276b40c34913cd535caa72b9
 SHA512 
5d010ec4ce37aca733f7ab7db9f432987b0cd21664bd9d99452a146833c40f0d1e7309d1870b0395e947964134d5cfeb1366181e761fe353ad585803ff3d6be6
 DIST tiff-4.0.9.tar.gz 2305681 BLAKE2B 
3de03408d2974b9f9f5f2444029cc3018ef43beb67e9fd21be68ee400cdcc6deca1247f055d880841a18b92284ce81f112682c8b5f083ddc61e5255d73a7de3f
 SHA512 
04f3d5eefccf9c1a0393659fe27f3dddd31108c401ba0dc587bca152a1c1f6bc844ba41622ff5572da8cc278593eff8c402b44e7af0a0090e91d326c2d79f6cd

diff --git a/media-libs/tiff/tiff-4.0.8.ebuild 
b/media-libs/tiff/tiff-4.0.8.ebuild
deleted file mode 100644
index 23aa7a1c6be..00000000000
--- a/media-libs/tiff/tiff-4.0.8.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-inherit autotools eutils libtool multilib-minimal
-
-DESCRIPTION="Tag Image File Format (TIFF) library"
-HOMEPAGE="http://libtiff.maptools.org";
-SRC_URI="http://download.osgeo.org/libtiff/${P}.tar.gz
-       ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz";
-
-LICENSE="libtiff"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris 
~x86-solaris"
-IUSE="+cxx jbig jpeg lzma static-libs test zlib"
-
-RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
-       jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
-       lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="test? ( jpeg )" #483132
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-4.0.7-pdfium-0005-Leak-TIFFFetchStripThing.patch
-       
"${FILESDIR}"/${PN}-4.0.7-pdfium-0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
-       "${FILESDIR}"/${PN}-4.0.7-pdfium-0007-uninitialized-value.patch
-       
"${FILESDIR}"/${PN}-4.0.7-pdfium-0008-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
-       "${FILESDIR}"/${PN}-4.0.7-pdfium-0013-validate-refblackwhite.patch
-       "${FILESDIR}"/${PN}-4.0.7-pdfium-0017-safe_skews_in_gtTileContig.patch
-       
"${FILESDIR}"/${PN}-4.0.7-pdfium-0018-fix-leak-in-PredictorSetupDecode.patch
-       "${FILESDIR}"/${PN}-4.0.7-pdfium-0021-oom-TIFFFillStrip.patch
-)
-
-MULTILIB_WRAPPED_HEADERS=(
-       /usr/include/tiffconf.h
-)
-
-src_prepare() {
-       default
-
-       # tiffcp-thumbnail.sh fails as thumbnail binary doesn't get built 
anymore since tiff-4.0.7
-       sed '/tiffcp-thumbnail\.sh/d' -i test/Makefile.am || die
-
-       eautoreconf
-}
-
-multilib_src_configure() {
-       ECONF_SOURCE="${S}" econf \
-               $(use_enable static-libs static) \
-               $(use_enable zlib) \
-               $(use_enable jpeg) \
-               $(use_enable jbig) \
-               $(use_enable lzma) \
-               $(use_enable cxx) \
-               --without-x
-
-       # remove useless subdirs
-       if ! multilib_is_native_abi ; then
-               sed -i \
-                       -e 's/ tools//' \
-                       -e 's/ contrib//' \
-                       -e 's/ man//' \
-                       -e 's/ html//' \
-                       Makefile || die
-       fi
-}
-
-multilib_src_test() {
-       if ! multilib_is_native_abi ; then
-               emake -C tools
-       fi
-       emake check
-}
-
-multilib_src_install_all() {
-       prune_libtool_files --all
-       rm -f 
"${ED}"/usr/share/doc/${PF}/{COPYRIGHT,README*,RELEASE-DATE,TODO,VERSION}
-}

diff --git a/media-libs/tiff/tiff-4.0.9-r1.ebuild 
b/media-libs/tiff/tiff-4.0.9-r1.ebuild
deleted file mode 100644
index 72494681d30..00000000000
--- a/media-libs/tiff/tiff-4.0.9-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-inherit autotools eutils libtool multilib-minimal
-
-DESCRIPTION="Tag Image File Format (TIFF) library"
-HOMEPAGE="http://libtiff.maptools.org";
-SRC_URI="http://download.osgeo.org/libtiff/${P}.tar.gz
-       ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz";
-
-LICENSE="libtiff"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~x64-solaris ~x86-solaris"
-IUSE="+cxx jbig jpeg lzma static-libs test zlib"
-
-RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
-       jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
-       lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="test? ( jpeg )" #483132
-
-PATCHES=(
-       
"${FILESDIR}"/${PN}-4.0.7-pdfium-0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
-       
"${FILESDIR}"/${PN}-4.0.7-pdfium-0008-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
-       "${FILESDIR}"/${P}-CVE-2017-9935.patch #624696
-)
-
-MULTILIB_WRAPPED_HEADERS=(
-       /usr/include/tiffconf.h
-)
-
-src_prepare() {
-       default
-
-       # tiffcp-thumbnail.sh fails as thumbnail binary doesn't get built 
anymore since tiff-4.0.7
-       sed '/tiffcp-thumbnail\.sh/d' -i test/Makefile.am || die
-
-       eautoreconf
-}
-
-multilib_src_configure() {
-       ECONF_SOURCE="${S}" econf \
-               $(use_enable static-libs static) \
-               $(use_enable zlib) \
-               $(use_enable jpeg) \
-               $(use_enable jbig) \
-               $(use_enable lzma) \
-               $(use_enable cxx) \
-               --without-x
-
-       # remove useless subdirs
-       if ! multilib_is_native_abi ; then
-               sed -i \
-                       -e 's/ tools//' \
-                       -e 's/ contrib//' \
-                       -e 's/ man//' \
-                       -e 's/ html//' \
-                       Makefile || die
-       fi
-}
-
-multilib_src_test() {
-       if ! multilib_is_native_abi ; then
-               emake -C tools
-       fi
-       emake check
-}
-
-multilib_src_install_all() {
-       prune_libtool_files --all
-       rm -f 
"${ED}"/usr/share/doc/${PF}/{COPYRIGHT,README*,RELEASE-DATE,TODO,VERSION}
-}

diff --git a/media-libs/tiff/tiff-4.0.9-r2.ebuild 
b/media-libs/tiff/tiff-4.0.9-r2.ebuild
deleted file mode 100644
index 3bd50a67341..00000000000
--- a/media-libs/tiff/tiff-4.0.9-r2.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools libtool ltprune multilib-minimal
-
-DESCRIPTION="Tag Image File Format (TIFF) library"
-HOMEPAGE="http://libtiff.maptools.org";
-SRC_URI="http://download.osgeo.org/libtiff/${P}.tar.gz
-       ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz";
-
-LICENSE="libtiff"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~x64-solaris ~x86-solaris"
-IUSE="+cxx jbig jpeg lzma static-libs test zlib"
-
-RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
-       jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
-       lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="test? ( jpeg )" #483132
-
-PATCHES=(
-       
"${FILESDIR}"/${PN}-4.0.7-pdfium-0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
-       
"${FILESDIR}"/${PN}-4.0.7-pdfium-0008-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
-       "${FILESDIR}"/${P}-CVE-2017-9935.patch #624696
-       "${FILESDIR}"/${P}-CVE-2017-9935-fix-incorrect-type.patch #624696
-)
-
-MULTILIB_WRAPPED_HEADERS=(
-       /usr/include/tiffconf.h
-)
-
-src_prepare() {
-       default
-
-       # tiffcp-thumbnail.sh fails as thumbnail binary doesn't get built 
anymore since tiff-4.0.7
-       sed '/tiffcp-thumbnail\.sh/d' -i test/Makefile.am || die
-
-       eautoreconf
-}
-
-multilib_src_configure() {
-       local myeconfargs=(
-               --without-x
-               $(use_enable cxx)
-               $(use_enable jbig)
-               $(use_enable jpeg)
-               $(use_enable lzma)
-               $(use_enable static-libs static)
-               $(use_enable zlib)
-       )
-       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-
-       # remove useless subdirs
-       if ! multilib_is_native_abi ; then
-               sed -i \
-                       -e 's/ tools//' \
-                       -e 's/ contrib//' \
-                       -e 's/ man//' \
-                       -e 's/ html//' \
-                       Makefile || die
-       fi
-}
-
-multilib_src_test() {
-       if ! multilib_is_native_abi ; then
-               emake -C tools
-       fi
-       emake check
-}
-
-multilib_src_install_all() {
-       prune_libtool_files --all
-       rm -f 
"${ED%/}"/usr/share/doc/${PF}/{COPYRIGHT,README*,RELEASE-DATE,TODO,VERSION}
-}

Reply via email to