Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
Date: Fri, 02 Aug 2019 00:48:00
Message-Id: 1564706842.9b133c6f76d516f9e9dc48d428a62cf21961ea5f.bman@gentoo
1 commit: 9b133c6f76d516f9e9dc48d428a62cf21961ea5f
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 2 00:47:22 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 2 00:47:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b133c6f
7
8 media-libs/gd: drop vulnerable wrt bug #679702
9
10 * maintainer/proj timeout
11
12 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
13
14 media-libs/gd/gd-2.2.5-r1.ebuild | 64 ----------------------------------------
15 1 file changed, 64 deletions(-)
16
17 diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild
18 deleted file mode 100644
19 index 4e85c3bff54..00000000000
20 --- a/media-libs/gd/gd-2.2.5-r1.ebuild
21 +++ /dev/null
22 @@ -1,64 +0,0 @@
23 -# Copyright 1999-2019 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -
28 -inherit libtool multilib-minimal
29 -
30 -DESCRIPTION="Graphics library for fast image creation"
31 -HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"
32 -SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"
33 -
34 -LICENSE="gd IJG HPND BSD"
35 -SLOT="2/3"
36 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
37 -IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib"
38 -
39 -# fontconfig has prefixed font paths, details see bug #518970
40 -REQUIRED_USE="prefix? ( fontconfig )"
41 -
42 -RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
43 - jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
44 - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
45 - tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
46 - truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
47 - webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
48 - xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )
49 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
50 -DEPEND="${RDEPEND}
51 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
52 -
53 -S="${WORKDIR}/lib${P}"
54 -
55 -PATCHES=( "${FILESDIR}/${P}-CVE-2018-1000222.patch" )
56 -
57 -src_prepare() {
58 - default
59 - elibtoolize # for shared library on Solaris
60 -}
61 -
62 -multilib_src_configure() {
63 - # we aren't actually {en,dis}abling X here ... the configure
64 - # script uses it just to add explicit -I/-L paths which we
65 - # don't care about on Gentoo systems.
66 - local myeconfargs=(
67 - --disable-werror
68 - --without-x
69 - --without-liq
70 - $(use_enable static-libs static)
71 - $(use_with fontconfig)
72 - $(use_with png)
73 - $(use_with tiff)
74 - $(use_with truetype freetype)
75 - $(use_with jpeg)
76 - $(use_with webp)
77 - $(use_with xpm)
78 - $(use_with zlib)
79 - )
80 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
81 -}
82 -
83 -multilib_src_install_all() {
84 - dodoc README.md
85 - find "${D}" -name '*.la' -delete || die
86 -}