commit:     e7220615bbaa8ce9c101b5130b58f705425c11ea
Author:     John Helmert III <jchelmert3 <AT> posteo <DOT> net>
AuthorDate: Tue Jun 23 20:43:01 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jun 25 11:27:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7220615

media-libs/gd: Drop old (security cleanup)

Bug: https://bugs.gentoo.org/711122
Bug: https://bugs.gentoo.org/719464
Package-Manager: Portage-2.3.102, Repoman-2.3.23
Signed-off-by: John Helmert III <jchelmert3 <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/16387
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/gd/Manifest           |  3 --
 media-libs/gd/gd-2.2.5-r2.ebuild | 98 ----------------------------------------
 2 files changed, 101 deletions(-)

diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest
index 8c9c7e108d4..b3942941ec3 100644
--- a/media-libs/gd/Manifest
+++ b/media-libs/gd/Manifest
@@ -1,4 +1 @@
-DIST libgd-2.2.5-ossfuzz5700.dat 30 BLAKE2B 
5ddd3d2be2adf05e1e2eb1852cc689be57d4d77c57b471e8b6021877f2fb137d15b4c73445fbb23a9ed585974a96dd154759a48712c1e7b5bdc5750d534aee4a
 SHA512 
2394e92ff7a42c818e13a1ac9ad15bc81aa401adc917366ec8c440bb7f27a63777ab059aa03c501dafef0ac16b462dd23c7fb9f8086ce558203384a98a235fff
-DIST libgd-2.2.5-php_bug_75571.dat 1731 BLAKE2B 
4b5d3f258b73e8089ede1b2c9f538855f410965a9e01e1f3f151ae52f072036172b184bd1a4d07b8355bb974bf088bebb0e812175a277bb67926274272bd80a0
 SHA512 
b3048640ce7828cca7901fadc989e867cfc6d31b44c0f5a1bda54d7428f317c8c8fc6403fef301e193869a95eb46eb7195d47710ec7f8c507ba049cb6cdcb281
-DIST libgd-2.2.5.tar.xz 2594092 BLAKE2B 
222a7e012fbf9924ac391ee96c7cd3dec96afd78c6d43dfb680b33e7143e7df87fe6be75bbfe8fb93e916302d7daf08271214c84da28712e93a36465566cb2bd
 SHA512 
e4598e17a277a75e02255402182cab139cb3f2cffcd68ec05cc10bbeaf6bc7aa39162c3445cd4a7efc1a26b72b9152bbedb187351e3ed099ea51767319997a6b
 DIST libgd-2.3.0.tar.xz 2539188 BLAKE2B 
a90f48be959d1bb6774ec44960e191b8be134ff3e74401eba4cbf9b165c72665f3dffe3beaaf92fa6069e0ef79533be5d57a5946a1839f55446072fa322ed808
 SHA512 
5b201d22560e147a3d5471010b898ad0268c3a2453b870d1267b6ba92e540cf9f75099336c1ab08217e41827ac86fe04525726bf29ad117e5dcbaef9a8d0622a

diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild
deleted file mode 100644
index b4896640b7b..00000000000
--- a/media-libs/gd/gd-2.2.5-r2.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit autotools flag-o-matic multilib-minimal
-
-DESCRIPTION="Graphics library for fast image creation"
-HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/";
-SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz
-       test? (
-               
https://github.com/libgd/libgd/raw/e0cb1b76c305db68b251fe782faa12da5d357593/tests/gif/ossfuzz5700.gif
 -> lib${P}-ossfuzz5700.dat
-               
https://github.com/libgd/libgd/raw/e0cb1b76c305db68b251fe782faa12da5d357593/tests/gif/php_bug_75571.gif
 -> lib${P}-php_bug_75571.dat
-       )"
-
-LICENSE="gd IJG HPND BSD"
-SLOT="2/3"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype 
webp xpm zlib"
-RESTRICT="!test? ( test )"
-
-# fontconfig has prefixed font paths, details see bug #518970
-REQUIRED_USE="prefix? ( fontconfig )"
-
-RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
-       jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
-       png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
-       tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-       truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
-       webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
-       xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] 
>=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
-S="${WORKDIR}/lib${P}"
-
-PATCHES=(
-       "${FILESDIR}/${P}-ossfuzz5700.patch"
-       "${FILESDIR}/${P}-CVE-2018-5711.patch"
-       "${FILESDIR}/${P}-CVE-2018-1000222.patch"
-       "${FILESDIR}/${P}-CVE-2019-6977.patch"
-       "${FILESDIR}/${P}-CVE-2019-6978.patch"
-)
-
-src_unpack() {
-       default
-
-       if use test ; then
-               cp "${DISTDIR}"/lib${P}-ossfuzz5700.dat \
-                       "${S}"/tests/gif/ossfuzz5700.gif || die
-               cp "${DISTDIR}"/lib${P}-php_bug_75571.dat \
-                       "${S}"/tests/gif/php_bug_75571.gif || die
-       fi
-}
-
-src_prepare() {
-       default
-       eautoreconf
-}
-
-multilib_src_configure() {
-       # bug 603360, 
https://github.com/libgd/libgd/blob/fd06f7f83c5e78bf5b7f5397746b4e5ee4366250/docs/README.TESTING#L65
-       if use cpu_flags_x86_sse ; then
-               append-cflags -msse -mfpmath=sse
-       else
-               append-cflags -ffloat-store
-       fi
-
-       # bug 632076, https://github.com/libgd/libgd/issues/278
-       if use arm64 || use ppc64 || use s390 ; then
-               append-cflags -ffp-contract=off
-       fi
-
-       # we aren't actually {en,dis}abling X here ... the configure
-       # script uses it just to add explicit -I/-L paths which we
-       # don't care about on Gentoo systems.
-       local myeconfargs=(
-               --disable-werror
-               --without-x
-               --without-liq
-               $(use_enable static-libs static)
-               $(use_with fontconfig)
-               $(use_with png)
-               $(use_with tiff)
-               $(use_with truetype freetype)
-               $(use_with jpeg)
-               $(use_with webp)
-               $(use_with xpm)
-               $(use_with zlib)
-       )
-       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-       dodoc README.md
-       find "${ED}" -name '*.la' -delete || die
-}

Reply via email to