1 |
commit: bd4a014568869a257c62418d6547299589677d81 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 21 01:48:36 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 21 01:48:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4a0145 |
7 |
|
8 |
media-libs/ming: drop vulnerable wrt bug #646770 |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
media-libs/ming/Manifest | 1 - |
13 |
media-libs/ming/ming-0.4.8-r1.ebuild | 100 ----------------------------------- |
14 |
2 files changed, 101 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/ming/Manifest b/media-libs/ming/Manifest |
17 |
index 6ab5f5bcf2d..fd30e2c4b34 100644 |
18 |
--- a/media-libs/ming/Manifest |
19 |
+++ b/media-libs/ming/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
DIST ming-0.20181112.tar.gz 14889061 BLAKE2B a276f7aaf386f0233b9e92a95daf22b7fd192654275e99f70106b7abf2ec3963ae8d70a82addd2690e6c7038a0a52e41a27fbd5c9b38cc96d1ab617a3bfc522d SHA512 a4d3ed04c96ffc6d040ace3451f2d99a3fdda0726b45cee30913ca2dc8d9f24ff156a643eeb888d05eb199dd9f2caf4ce4f84fe40e1b95bf2f6c9e038155fdc3 |
22 |
-DIST ming-0_4_8.tar.gz 14908459 BLAKE2B df89beab98a7fbdcbefccad3a2fb013453405a7dba757131a61f06d9e40b7e1fe7beeadab42c113b12cff24b91cb1e76e9fabee0e1b4af58e2127eba13cc27bc SHA512 e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0 |
23 |
|
24 |
diff --git a/media-libs/ming/ming-0.4.8-r1.ebuild b/media-libs/ming/ming-0.4.8-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index eba066b8448..00000000000 |
27 |
--- a/media-libs/ming/ming-0.4.8-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,100 +0,0 @@ |
30 |
-# Copyright 1999-2018 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
- |
35 |
-PYTHON_COMPAT=( python2_7 ) |
36 |
-PHP_EXT_NAME=ming |
37 |
-PHP_EXT_OPTIONAL_USE=php |
38 |
-AUTOTOOLS_AUTORECONF=yes |
39 |
-GENTOO_DEPEND_ON_PERL=no |
40 |
-inherit autotools distutils-r1 flag-o-matic multilib perl-module vcs-snapshot |
41 |
- |
42 |
-DESCRIPTION="An Open Source library for Flash movie generation" |
43 |
-HOMEPAGE="http://ming.sourceforge.net/" |
44 |
-SRC_URI="https://github.com/libming/libming/archive/${P//./_}.tar.gz" |
45 |
- |
46 |
-LICENSE="LGPL-2.1" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" |
49 |
-IUSE="+perl php +python static-libs" |
50 |
- |
51 |
-RDEPEND="perl? ( dev-lang/perl:= ) |
52 |
- python? ( ${PYTHON_DEPS} ) |
53 |
- media-libs/freetype:= |
54 |
- media-libs/libpng:0= |
55 |
- media-libs/giflib:= |
56 |
- sys-libs/zlib:= |
57 |
- !media-libs/libswf" |
58 |
-DEPEND="${RDEPEND} |
59 |
- sys-devel/flex |
60 |
- virtual/pkgconfig |
61 |
- virtual/yacc" |
62 |
-PDEPEND="php? ( dev-php/ming-php )" |
63 |
- |
64 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
65 |
-S=${WORKDIR}/${P//./_} |
66 |
- |
67 |
-PATCHES=( |
68 |
- "${FILESDIR}"/${PN}-0.4.8-CVE-2017-8782.patch |
69 |
- "${FILESDIR}"/${PN}-0.4.8-freetype_pkgconfig.patch |
70 |
-) |
71 |
- |
72 |
-# Tests only work when the package is tested on a system |
73 |
-# which does not presently have any version of ming installed. |
74 |
-RESTRICT="test" |
75 |
- |
76 |
-src_prepare() { |
77 |
- default |
78 |
- |
79 |
- # Let's get rid of the TEXTRELS, link dynamic. Use gif. |
80 |
- sed -i \ |
81 |
- -e 's/libming.a/libming.so/' \ |
82 |
- -e 's/lungif/lgif/' \ |
83 |
- perl_ext/Makefile.PL |
84 |
- |
85 |
- sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die |
86 |
- |
87 |
- eautoreconf |
88 |
-} |
89 |
- |
90 |
-src_configure() { |
91 |
- # build is sensitive to -O3 (bug #297437) |
92 |
- replace-flags -O3 -O2 |
93 |
- |
94 |
- # build python via distutils calls, disable here |
95 |
- # php is done in dev-php/ming-php |
96 |
- local myconf=( |
97 |
- --disable-python |
98 |
- --disable-php |
99 |
- $(use_enable static-libs static) |
100 |
- $(use_enable perl) |
101 |
- ) |
102 |
- econf "${myconf[@]}" |
103 |
-} |
104 |
- |
105 |
-run_distutils() { |
106 |
- if use python; then |
107 |
- pushd py_ext > /dev/null || die |
108 |
- distutils-r1_"${@}" |
109 |
- popd > /dev/null || die |
110 |
- fi |
111 |
-} |
112 |
- |
113 |
-src_compile() { |
114 |
- # some parallel make issues on flex/bison |
115 |
- emake -C src/actioncompiler -j1 |
116 |
- emake |
117 |
- |
118 |
- run_distutils ${FUNCNAME} |
119 |
-} |
120 |
- |
121 |
-src_install() { |
122 |
- run_distutils ${FUNCNAME} |
123 |
- |
124 |
- emake DESTDIR="${D}" INSTALLDIRS="vendor" install |
125 |
- einstalldocs |
126 |
- |
127 |
- perl_delete_localpod |
128 |
- find "${ED}"usr/lib* -name '*.la' -delete |
129 |
-} |