Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
Date: Wed, 03 Jan 2018 19:36:26
Message-Id: 1515008166.f836c9c5676d9d55c4082ac0343122755ccdf9d9.sping@gentoo
1 commit: f836c9c5676d9d55c4082ac0343122755ccdf9d9
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 19:36:06 2018 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 19:36:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f836c9c5
7
8 media-gfx/optipng: Remove 0.7.6-r1 (bug 639690)
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 media-gfx/optipng/optipng-0.7.6-r1.ebuild | 56 -------------------------------
13 1 file changed, 56 deletions(-)
14
15 diff --git a/media-gfx/optipng/optipng-0.7.6-r1.ebuild b/media-gfx/optipng/optipng-0.7.6-r1.ebuild
16 deleted file mode 100644
17 index 9039ea4f153..00000000000
18 --- a/media-gfx/optipng/optipng-0.7.6-r1.ebuild
19 +++ /dev/null
20 @@ -1,56 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=4
25 -
26 -inherit eutils toolchain-funcs
27 -
28 -DESCRIPTION="Compress PNG files without affecting image quality"
29 -HOMEPAGE="http://optipng.sourceforge.net/"
30 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
31 -
32 -LICENSE="ZLIB"
33 -SLOT="0"
34 -KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
35 -IUSE=""
36 -
37 -RDEPEND="sys-libs/zlib
38 - media-libs/libpng:0"
39 -DEPEND="${RDEPEND}
40 - sys-apps/findutils"
41 -
42 -src_prepare() {
43 - epatch "${FILESDIR}"/${PN}-0.7.5-estonian.patch
44 - epatch "${FILESDIR}"/${PN}-0.7.6-cve-2017-1000229.patch # bug 637936
45 -
46 - rm -R src/{libpng,zlib} || die
47 - find . -type d -name build -exec rm -R {} + || die
48 -
49 - # next release is almost a complete rewrite, so plug this compilation
50 - # problem in anticipation of the much (c)leaner(?) rewrite
51 - sed -i \
52 - -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \
53 - src/optipng/osys.c || die
54 -
55 - tc-export CC AR RANLIB
56 - export LD=$(tc-getCC)
57 -}
58 -
59 -src_configure() {
60 - ./configure \
61 - -with-system-libpng \
62 - -with-system-zlib \
63 - || die "configure failed"
64 -}
65 -
66 -src_compile() {
67 - emake -C src/optipng
68 -}
69 -
70 -src_install() {
71 - dodoc README.txt doc/*.txt
72 - dohtml doc/*.html
73 - doman src/${PN}/man/${PN}.1
74 -
75 - dobin src/${PN}/${PN}
76 -}