1 |
commit: db692c4edd486975c504a1107891cfc576f49ec4 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 29 12:25:58 2017 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 29 12:25:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db692c4e |
7 |
|
8 |
media-gfx/optipng: Remove vulnerable (CVE-2017-1000229) |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
media-gfx/optipng/optipng-0.7.6.ebuild | 55 ---------------------------------- |
13 |
1 file changed, 55 deletions(-) |
14 |
|
15 |
diff --git a/media-gfx/optipng/optipng-0.7.6.ebuild b/media-gfx/optipng/optipng-0.7.6.ebuild |
16 |
deleted file mode 100644 |
17 |
index 18082197dd2..00000000000 |
18 |
--- a/media-gfx/optipng/optipng-0.7.6.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,55 +0,0 @@ |
21 |
-# Copyright 1999-2016 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 |
- |
45 |
- rm -R src/{libpng,zlib} || die |
46 |
- find . -type d -name build -exec rm -R {} + || die |
47 |
- |
48 |
- # next release is almost a complete rewrite, so plug this compilation |
49 |
- # problem in anticipation of the much (c)leaner(?) rewrite |
50 |
- sed -i \ |
51 |
- -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ |
52 |
- src/optipng/osys.c || die |
53 |
- |
54 |
- tc-export CC AR RANLIB |
55 |
- export LD=$(tc-getCC) |
56 |
-} |
57 |
- |
58 |
-src_configure() { |
59 |
- ./configure \ |
60 |
- -with-system-libpng \ |
61 |
- -with-system-zlib \ |
62 |
- || die "configure failed" |
63 |
-} |
64 |
- |
65 |
-src_compile() { |
66 |
- emake -C src/optipng |
67 |
-} |
68 |
- |
69 |
-src_install() { |
70 |
- dodoc README.txt doc/*.txt |
71 |
- dohtml doc/*.html |
72 |
- doman src/${PN}/man/${PN}.1 |
73 |
- |
74 |
- dobin src/${PN}/${PN} |
75 |
-} |