Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsndfile/
Date: Wed, 03 Oct 2018 18:52:13
Message-Id: 1538591637.1d764439209b09293cebf18eb0f4a5a6bc7a2c0e.asturm@gentoo
1 commit: 1d764439209b09293cebf18eb0f4a5a6bc7a2c0e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 3 18:33:57 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 3 18:33:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d764439
7
8 media-libs/libsndfile: Security cleanup
9
10 Bug: https://bugs.gentoo.org/627152
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12 Package-Manager: Portage-2.3.50, Repoman-2.3.11
13
14 media-libs/libsndfile/libsndfile-1.0.28-r1.ebuild | 62 ---------------------
15 media-libs/libsndfile/libsndfile-1.0.28-r2.ebuild | 66 -----------------------
16 2 files changed, 128 deletions(-)
17
18 diff --git a/media-libs/libsndfile/libsndfile-1.0.28-r1.ebuild b/media-libs/libsndfile/libsndfile-1.0.28-r1.ebuild
19 deleted file mode 100644
20 index f4a3b0b1d8f..00000000000
21 --- a/media-libs/libsndfile/libsndfile-1.0.28-r1.ebuild
22 +++ /dev/null
23 @@ -1,62 +0,0 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=6
28 -
29 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
30 -
31 -inherit python-any-r1 multilib-minimal
32 -
33 -MY_P=${P/_pre/pre}
34 -
35 -DESCRIPTION="A C library for reading and writing files containing sampled sound"
36 -HOMEPAGE="http://www.mega-nerd.com/libsndfile"
37 -if [[ ${MY_P} == ${P} ]]; then
38 - SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz"
39 -else
40 - SRC_URI="http://www.mega-nerd.com/tmp/${MY_P}b.tar.gz"
41 -fi
42 -
43 -LICENSE="LGPL-2.1"
44 -SLOT="0"
45 -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"
46 -IUSE="alsa minimal sqlite static-libs test"
47 -
48 -RDEPEND="
49 - !minimal? (
50 - >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}]
51 - >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
52 - >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
53 - )
54 - alsa? ( media-libs/alsa-lib )
55 - sqlite? ( >=dev-db/sqlite-3.2 )"
56 -DEPEND="${RDEPEND}
57 - virtual/pkgconfig
58 - test? ( ${PYTHON_DEPS} )"
59 -
60 -S=${WORKDIR}/${MY_P}
61 -
62 -PATCHES=( "${FILESDIR}"/${P}-arm-varargs-failure.patch )
63 -
64 -pkg_setup() {
65 - use test && python-any-r1_pkg_setup
66 -}
67 -
68 -multilib_src_configure() {
69 - ECONF_SOURCE="${S}" econf \
70 - --disable-octave \
71 - --enable-gcc-pipe \
72 - --enable-gcc-opt \
73 - $(use_enable static-libs static) \
74 - $(use_enable !minimal external-libs) \
75 - $(multilib_native_enable full-suite) \
76 - $(multilib_native_use_enable alsa) \
77 - $(multilib_native_use_enable sqlite)
78 -}
79 -
80 -multilib_src_install_all() {
81 - einstalldocs
82 -
83 - # package provides .pc files
84 - find "${D}" -name '*.la' -delete || die
85 -}
86
87 diff --git a/media-libs/libsndfile/libsndfile-1.0.28-r2.ebuild b/media-libs/libsndfile/libsndfile-1.0.28-r2.ebuild
88 deleted file mode 100644
89 index fb59074ec72..00000000000
90 --- a/media-libs/libsndfile/libsndfile-1.0.28-r2.ebuild
91 +++ /dev/null
92 @@ -1,66 +0,0 @@
93 -# Copyright 1999-2018 Gentoo Foundation
94 -# Distributed under the terms of the GNU General Public License v2
95 -
96 -EAPI=7
97 -
98 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
99 -
100 -inherit python-any-r1 multilib-minimal
101 -
102 -MY_P=${P/_pre/pre}
103 -
104 -DESCRIPTION="C library for reading and writing files containing sampled sound"
105 -HOMEPAGE="http://www.mega-nerd.com/libsndfile"
106 -if [[ ${MY_P} == ${P} ]]; then
107 - SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz"
108 -else
109 - SRC_URI="http://www.mega-nerd.com/tmp/${MY_P}b.tar.gz"
110 -fi
111 -
112 -LICENSE="LGPL-2.1"
113 -SLOT="0"
114 -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"
115 -IUSE="alsa minimal sqlite static-libs test"
116 -
117 -RDEPEND="
118 - !minimal? (
119 - >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}]
120 - >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
121 - >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
122 - )
123 - alsa? ( media-libs/alsa-lib )
124 - sqlite? ( >=dev-db/sqlite-3.2 )"
125 -DEPEND="${RDEPEND}"
126 -BDEPEND="
127 - virtual/pkgconfig
128 - test? ( ${PYTHON_DEPS} )"
129 -
130 -S=${WORKDIR}/${MY_P}
131 -
132 -PATCHES=(
133 - "${FILESDIR}"/${P}-arm-varargs-failure.patch
134 - "${FILESDIR}"/${P}-CVE-2017-12562.patch
135 -)
136 -
137 -pkg_setup() {
138 - use test && python-any-r1_pkg_setup
139 -}
140 -
141 -multilib_src_configure() {
142 - ECONF_SOURCE="${S}" econf \
143 - --disable-octave \
144 - --enable-gcc-pipe \
145 - --enable-gcc-opt \
146 - $(use_enable static-libs static) \
147 - $(use_enable !minimal external-libs) \
148 - $(multilib_native_enable full-suite) \
149 - $(multilib_native_use_enable alsa) \
150 - $(multilib_native_use_enable sqlite)
151 -}
152 -
153 -multilib_src_install_all() {
154 - einstalldocs
155 -
156 - # package provides .pc files
157 - find "${D}" -name '*.la' -delete || die
158 -}