1 |
commit: 3fa1d3aa440927c9b17c5ff3fc5bc1a5909880bf |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 4 22:49:02 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 4 22:50:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa1d3aa |
7 |
|
8 |
media-libs/libsndfile: Security cleanup |
9 |
|
10 |
Bug: https://bugs.gentoo.org/618016 |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
media-libs/libsndfile/libsndfile-1.0.28-r3.ebuild | 67 ----------------------- |
15 |
1 file changed, 67 deletions(-) |
16 |
|
17 |
diff --git a/media-libs/libsndfile/libsndfile-1.0.28-r3.ebuild b/media-libs/libsndfile/libsndfile-1.0.28-r3.ebuild |
18 |
deleted file mode 100644 |
19 |
index 23a9c0f9b70..00000000000 |
20 |
--- a/media-libs/libsndfile/libsndfile-1.0.28-r3.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,67 +0,0 @@ |
23 |
-# Copyright 1999-2018 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
- |
28 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) |
29 |
- |
30 |
-inherit python-any-r1 multilib-minimal |
31 |
- |
32 |
-MY_P=${P/_pre/pre} |
33 |
- |
34 |
-DESCRIPTION="C library for reading and writing files containing sampled sound" |
35 |
-HOMEPAGE="http://www.mega-nerd.com/libsndfile" |
36 |
-if [[ ${MY_P} == ${P} ]]; then |
37 |
- SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz" |
38 |
-else |
39 |
- SRC_URI="http://www.mega-nerd.com/tmp/${MY_P}b.tar.gz" |
40 |
-fi |
41 |
- |
42 |
-LICENSE="LGPL-2.1" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
45 |
-IUSE="alsa minimal sqlite static-libs test" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- !minimal? ( |
49 |
- >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] |
50 |
- >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] |
51 |
- >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] |
52 |
- ) |
53 |
- alsa? ( media-libs/alsa-lib ) |
54 |
- sqlite? ( >=dev-db/sqlite-3.2 )" |
55 |
-DEPEND="${RDEPEND}" |
56 |
-BDEPEND=" |
57 |
- virtual/pkgconfig |
58 |
- test? ( ${PYTHON_DEPS} )" |
59 |
- |
60 |
-S=${WORKDIR}/${MY_P} |
61 |
- |
62 |
-PATCHES=( |
63 |
- "${FILESDIR}"/${P}-arm-varargs-failure.patch |
64 |
- "${FILESDIR}"/${P}-CVE-2017-12562.patch |
65 |
- "${FILESDIR}"/${P}-CVE-2018-13139.patch |
66 |
-) |
67 |
- |
68 |
-pkg_setup() { |
69 |
- use test && python-any-r1_pkg_setup |
70 |
-} |
71 |
- |
72 |
-multilib_src_configure() { |
73 |
- ECONF_SOURCE="${S}" econf \ |
74 |
- --disable-octave \ |
75 |
- --enable-gcc-pipe \ |
76 |
- --enable-gcc-opt \ |
77 |
- $(use_enable static-libs static) \ |
78 |
- $(use_enable !minimal external-libs) \ |
79 |
- $(multilib_native_enable full-suite) \ |
80 |
- $(multilib_native_use_enable alsa) \ |
81 |
- $(multilib_native_use_enable sqlite) |
82 |
-} |
83 |
- |
84 |
-multilib_src_install_all() { |
85 |
- einstalldocs |
86 |
- |
87 |
- # package provides .pc files |
88 |
- find "${D}" -name '*.la' -delete || die |
89 |
-} |