media-libs/gd: Security cleanup (bug #607718).

Package-Manager: Portage-2.3.4, Repoman-2.3.2
This commit is contained in:
Lars Wendler
2017-03-13 13:55:51 +01:00
parent 4d5d0eac6f
commit 8a80444cd0
2 changed files with 0 additions and 62 deletions

View File

@@ -1,2 +1 @@
DIST libgd-2.2.3.tar.xz 2164152 SHA256 746b6cbd6769a22ff3ba6f5756f3512a769bd4cdf4695dff17f4867f25fa7d3c SHA512 bdc6d086bc054beda6574ec46baa4cd94048a5f2f357f875ba05983e92d247f1b731434b9e438c6aef09d46fa96f1a7e1f330a25a77ffd2dd78aa8a32d652557 WHIRLPOOL 1f290bb446618e402422488e77e1b88626ea3d9679653f10392b90386cf2ae861f9f8fdf624ebd96d152b764cfa3bf6f01859f58a033585db01ef8ea77c21e1a
DIST libgd-2.2.4.tar.xz 2478528 SHA256 137f13a7eb93ce72e32ccd7cebdab6874f8cf7ddf31d3a455a68e016ecd9e4e6 SHA512 07903f322c4f6ab392508b0f60c38ca133699111ea92995dc6cd9379210d598bcb24a46c19657884d9e252f8663d0ee8c89c600e3a382a5ae598198c190f39b5 WHIRLPOOL eb00e684e8db02e649b3e6e2e76e7eff1e7aaa08995d78cef429b2b2053798aa1a44cd5b5eed5d3bc042394e72096d90ccc238ab3759e11fd543c80b697d0d91

View File

@@ -1,61 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit eutils libtool multilib-minimal
DESCRIPTION="A graphics library for fast image creation"
HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"
SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"
LICENSE="gd IJG HPND BSD"
SLOT="2/3"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib"
# 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-0-r1[${MULTILIB_USEDEP}]"
S="${WORKDIR}/lib${P}"
src_prepare() {
default
elibtoolize # for shared library on Solaris
}
multilib_src_configure() {
# 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.
ECONF_SOURCE=${S} \
econf \
--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)
}
multilib_src_install_all() {
dodoc NEWS README.md
prune_libtool_files
}