diff options
author | Sebastian Pipping <sping@gentoo.org> | 2017-11-29 13:25:58 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2017-11-29 13:25:58 +0100 |
commit | db692c4edd486975c504a1107891cfc576f49ec4 (patch) | |
tree | c16489ed0cb3e9bac7b6eb2400a2ca1db8ba006d /media-gfx | |
parent | profiles: Last rites for =media-gfx/yafaray-0.1.1 (diff) | |
download | gentoo-db692c4edd486975c504a1107891cfc576f49ec4.tar.gz gentoo-db692c4edd486975c504a1107891cfc576f49ec4.tar.bz2 gentoo-db692c4edd486975c504a1107891cfc576f49ec4.zip |
media-gfx/optipng: Remove vulnerable (CVE-2017-1000229)
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/optipng/optipng-0.7.6.ebuild | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/media-gfx/optipng/optipng-0.7.6.ebuild b/media-gfx/optipng/optipng-0.7.6.ebuild deleted file mode 100644 index 18082197dd2c..000000000000 --- a/media-gfx/optipng/optipng-0.7.6.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils toolchain-funcs - -DESCRIPTION="Compress PNG files without affecting image quality" -HOMEPAGE="http://optipng.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="" - -RDEPEND="sys-libs/zlib - media-libs/libpng:0" -DEPEND="${RDEPEND} - sys-apps/findutils" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.7.5-estonian.patch - - rm -R src/{libpng,zlib} || die - find . -type d -name build -exec rm -R {} + || die - - # next release is almost a complete rewrite, so plug this compilation - # problem in anticipation of the much (c)leaner(?) rewrite - sed -i \ - -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ - src/optipng/osys.c || die - - tc-export CC AR RANLIB - export LD=$(tc-getCC) -} - -src_configure() { - ./configure \ - -with-system-libpng \ - -with-system-zlib \ - || die "configure failed" -} - -src_compile() { - emake -C src/optipng -} - -src_install() { - dodoc README.txt doc/*.txt - dohtml doc/*.html - doman src/${PN}/man/${PN}.1 - - dobin src/${PN}/${PN} -} |