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-sound/wildmidi/
Date: Sun, 30 Sep 2018 15:39:22
Message-Id: 1538321940.78dc4b326a317b0dbada8261be2ce45016ded02f.asturm@gentoo
1 commit: 78dc4b326a317b0dbada8261be2ce45016ded02f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 20 10:16:23 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 30 15:39:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78dc4b32
7
8 media-sound/wildmidi: Security cleanup
9
10 Bug: https://bugs.gentoo.org/627316
11 Package-Manager: Portage-2.3.49, Repoman-2.3.10
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 media-sound/wildmidi/Manifest | 4 --
15 media-sound/wildmidi/wildmidi-0.2.3.5.ebuild | 43 -----------------
16 media-sound/wildmidi/wildmidi-0.3.6.ebuild | 70 ----------------------------
17 media-sound/wildmidi/wildmidi-0.3.7.ebuild | 68 ---------------------------
18 media-sound/wildmidi/wildmidi-0.3.8.ebuild | 70 ----------------------------
19 5 files changed, 255 deletions(-)
20
21 diff --git a/media-sound/wildmidi/Manifest b/media-sound/wildmidi/Manifest
22 index 25252a2ab96..97a6718b240 100644
23 --- a/media-sound/wildmidi/Manifest
24 +++ b/media-sound/wildmidi/Manifest
25 @@ -1,5 +1 @@
26 -DIST wildmidi-0.2.3.5.tar.gz 375792 BLAKE2B d4f14df0e46ce59d18fc2949d5e3789831301fa86b3abe9d0d027e4beb15cfde871561851d49bcfe3784db16d1a4433a8b3a19a05e673215d84255e0caaa51d5 SHA512 20bce7c551239944d2f6cd27a0963628e13624e651aabfae62380fe953ac3fc67eb27551a427c41ef2b057ec00903128d6afeccfc2688aefd46709d1f941befc
27 DIST wildmidi-0.3.13.tar.gz 132407 BLAKE2B 5f603adb7583d47ca0595a48a385412d09ca8b19e99c93ba474d91076fa17a54e12e08bb39ea73d16c07addeab86e6c9d8b778d19045ef6b7d551d041bbc58fa SHA512 e9ede8a98c97e57a7bd34e63fc725a1b47bbff6b41f5dca101249917f0e7756ce4d93a84b8d5b6f592687fd3deed369c22c727873c9bdd1bea6e8c31fdbb4fdb
28 -DIST wildmidi-0.3.6.tar.gz 105534 BLAKE2B 4c2a62ec61333c3d9dc7f26e981389f22c6b2b611a548d6ff3fa9bc450490ece42f5b1c636dc53fc05c51b445a0ce8bc68fdfccdd440aa82bef36001049ce9d5 SHA512 e7efb9e9e67ee518dd0cdabbe8d701ec3c0762ea007e52533b82f4a4984e0600f7ba1cd9f9b79dda9e553fa04ca861b0b8d4b21ceb35ed0c8f5a4fe6de66d1d0
29 -DIST wildmidi-0.3.7.tar.gz 121501 BLAKE2B bae856c00449564f9199f977a4881d51c19769da10bf554a8baf681454a50b67b70feeda19592be91beda65131d4f241e661524f9c65163fb95a8570fee7f779 SHA512 b4d40404891161cb55a71dd790e2dbd2c4ec21730c8aaa6f3a68eeacd36d939f859b55ab535bee2feb9ffed04337332ef1eedcffbff6ae02d7499fec97f7a42b
30 -DIST wildmidi-0.3.8.tar.gz 121690 BLAKE2B fd11315e930a30f89ca57af0819116f8385fa1a7ecaedf7df1decc39774fa0a98df6b12e47bc8254a6c856bf41083571effa3aa70a448c1fdbcc0bbc7e848178 SHA512 883c5b2db84bee85f14a98729496aa9e15f5c1414dbaed6108d07e649b34937cbd3e8a8823a2b6519fcc7fdd354219c0667615c7b31e8952e13f8635e5284f50
31
32 diff --git a/media-sound/wildmidi/wildmidi-0.2.3.5.ebuild b/media-sound/wildmidi/wildmidi-0.2.3.5.ebuild
33 deleted file mode 100644
34 index 965c76bff30..00000000000
35 --- a/media-sound/wildmidi/wildmidi-0.2.3.5.ebuild
36 +++ /dev/null
37 @@ -1,43 +0,0 @@
38 -# Copyright 1999-2015 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=5
42 -inherit base autotools readme.gentoo
43 -
44 -DESCRIPTION="Midi processing library and a midi player using the gus patch set"
45 -HOMEPAGE="http://wildmidi.sourceforge.net/"
46 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
47 -
48 -LICENSE="GPL-3 LGPL-3"
49 -SLOT="0"
50 -KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86"
51 -IUSE="alsa debug"
52 -
53 -DEPEND="alsa? ( media-libs/alsa-lib )"
54 -RDEPEND="${DEPEND}
55 - media-sound/timidity-freepats"
56 -
57 -src_prepare() {
58 - DOC_CONTENTS="${PN} is using timidity-freepats for midi playback.
59 - A default configuration file was placed on /etc/${PN}.cfg.
60 - For more information please read the ${PN}.cfg manpage."
61 -
62 - # Workaround for parallel make
63 - sed -i -e "/^wildmidi_libs/s:=.*:= libWildMidi.la:" "${S}"/src/Makefile.am || die
64 - eautoreconf
65 -}
66 -
67 -src_configure() {
68 - econf \
69 - --disable-werror \
70 - $(use_enable debug) \
71 - $(use alsa || echo --with-oss)
72 -}
73 -
74 -src_install() {
75 - base_src_install
76 - find "${D}" -name '*.la' -exec rm -f {} +
77 - insinto /etc
78 - doins "${FILESDIR}"/${PN}.cfg
79 - readme.gentoo_create_doc
80 -}
81
82 diff --git a/media-sound/wildmidi/wildmidi-0.3.6.ebuild b/media-sound/wildmidi/wildmidi-0.3.6.ebuild
83 deleted file mode 100644
84 index a2e39896724..00000000000
85 --- a/media-sound/wildmidi/wildmidi-0.3.6.ebuild
86 +++ /dev/null
87 @@ -1,70 +0,0 @@
88 -# Copyright 1999-2014 Gentoo Foundation
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI=5
92 -inherit cmake-utils readme.gentoo
93 -
94 -DESCRIPTION="Midi processing library and a midi player using the gus patch set"
95 -HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/"
96 -SRC_URI="https://github.com/Mindwerks/${PN}/archive/${P}.tar.gz"
97 -
98 -LICENSE="GPL-3 LGPL-3"
99 -SLOT="0"
100 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
101 -IUSE="+alsa openal oss +player"
102 -
103 -DEPEND="player? (
104 - alsa? ( media-libs/alsa-lib )
105 - openal? ( media-libs/openal )
106 - )"
107 -RDEPEND="${DEPEND}
108 - media-sound/timidity-freepats"
109 -
110 -REQUIRED_USE="player? ( ^^ ( alsa oss openal ) )"
111 -
112 -DOC_CONTENTS="${PN} is using timidity-freepats for midi playback.
113 - A default configuration file was placed on /etc/${PN}/${PN}.cfg.
114 - For more information please read the ${PN}.cfg manpage."
115 -
116 -S="${WORKDIR}"/${PN}-${P}
117 -
118 -src_prepare() {
119 - # alsa openal oss only make sense if player is enabled. See CMakeLists.txt
120 - if ! use player && (use alsa || use openal || use oss); then
121 - ewarn
122 - ewarn "The 'alsa', 'openal' and 'oss' use flags only make sense if"
123 - ewarn "the 'player' use flags is selected and as a result they will be"
124 - ewarn "ignored in this build"
125 - ewarn
126 - fi
127 - cmake-utils_src_prepare
128 -}
129 -
130 -src_configure() {
131 - mycmakeargs=(
132 - $(cmake-utils_use_want alsa)
133 - $(cmake-utils_use_want openal)
134 - $(cmake-utils_use_want oss)
135 - $(cmake-utils_use_want player)
136 - )
137 - cmake-utils_src_configure
138 -}
139 -
140 -src_install() {
141 - cmake-utils_src_install
142 - find "${D}" -name '*.la' -exec rm -f {} +
143 - insinto /etc/${PN}/
144 - doins cfg/${PN}.cfg
145 - readme.gentoo_create_doc
146 -}
147 -
148 -pkg_postinst() {
149 - if [[ -e "${ROOT}"/etc/${PN}.cfg ]]; then
150 - elog
151 - elog "Old /etc/${PN}.cfg detected!"
152 - elog "Please migrate your configuration file to"
153 - elog "/etc/${PN}/ directory which is now the default"
154 - elog "location for the ${PN} configuration file."
155 - elog
156 - fi
157 -}
158
159 diff --git a/media-sound/wildmidi/wildmidi-0.3.7.ebuild b/media-sound/wildmidi/wildmidi-0.3.7.ebuild
160 deleted file mode 100644
161 index f580f035724..00000000000
162 --- a/media-sound/wildmidi/wildmidi-0.3.7.ebuild
163 +++ /dev/null
164 @@ -1,68 +0,0 @@
165 -# Copyright 1999-2014 Gentoo Foundation
166 -# Distributed under the terms of the GNU General Public License v2
167 -
168 -EAPI=5
169 -inherit cmake-utils readme.gentoo
170 -
171 -DESCRIPTION="Midi processing library and a midi player using the gus patch set"
172 -HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/"
173 -SRC_URI="https://github.com/Mindwerks/${PN}/archive/${P}.tar.gz"
174 -
175 -LICENSE="GPL-3 LGPL-3"
176 -SLOT="0"
177 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
178 -IUSE="+alsa openal oss +player"
179 -
180 -DEPEND="player? (
181 - alsa? ( media-libs/alsa-lib )
182 - openal? ( media-libs/openal )
183 - )"
184 -RDEPEND="${DEPEND}
185 - media-sound/timidity-freepats"
186 -
187 -REQUIRED_USE="player? ( ^^ ( alsa oss openal ) )"
188 -
189 -DOC_CONTENTS="${PN} is using timidity-freepats for midi playback.
190 - A default configuration file was placed on /etc/${PN}/${PN}.cfg.
191 - For more information please read the ${PN}.cfg manpage."
192 -
193 -src_prepare() {
194 - # alsa openal oss only make sense if player is enabled. See CMakeLists.txt
195 - if ! use player && (use alsa || use openal || use oss); then
196 - ewarn
197 - ewarn "The 'alsa', 'openal' and 'oss' use flags only make sense if"
198 - ewarn "the 'player' use flags is selected and as a result they will be"
199 - ewarn "ignored in this build"
200 - ewarn
201 - fi
202 - cmake-utils_src_prepare
203 -}
204 -
205 -src_configure() {
206 - mycmakeargs=(
207 - $(cmake-utils_use_want alsa)
208 - $(cmake-utils_use_want openal)
209 - $(cmake-utils_use_want oss)
210 - $(cmake-utils_use_want player)
211 - )
212 - cmake-utils_src_configure
213 -}
214 -
215 -src_install() {
216 - cmake-utils_src_install
217 - find "${D}" -name '*.la' -exec rm -f {} +
218 - insinto /etc/${PN}/
219 - doins cfg/${PN}.cfg
220 - readme.gentoo_create_doc
221 -}
222 -
223 -pkg_postinst() {
224 - if [[ -e "${ROOT}"/etc/${PN}.cfg ]]; then
225 - elog
226 - elog "Old /etc/${PN}.cfg detected!"
227 - elog "Please migrate your configuration file to"
228 - elog "/etc/${PN}/ directory which is now the default"
229 - elog "location for the ${PN} configuration file."
230 - elog
231 - fi
232 -}
233
234 diff --git a/media-sound/wildmidi/wildmidi-0.3.8.ebuild b/media-sound/wildmidi/wildmidi-0.3.8.ebuild
235 deleted file mode 100644
236 index cf8aa4a65dc..00000000000
237 --- a/media-sound/wildmidi/wildmidi-0.3.8.ebuild
238 +++ /dev/null
239 @@ -1,70 +0,0 @@
240 -# Copyright 1999-2015 Gentoo Foundation
241 -# Distributed under the terms of the GNU General Public License v2
242 -
243 -EAPI=5
244 -inherit cmake-utils readme.gentoo
245 -
246 -DESCRIPTION="Midi processing library and a midi player using the gus patch set"
247 -HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/"
248 -SRC_URI="https://github.com/Mindwerks/${PN}/archive/${P}.tar.gz"
249 -
250 -LICENSE="GPL-3 LGPL-3"
251 -SLOT="0"
252 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
253 -IUSE="+alsa openal oss +player"
254 -
255 -DEPEND="player? (
256 - alsa? ( media-libs/alsa-lib )
257 - openal? ( media-libs/openal )
258 - )"
259 -RDEPEND="${DEPEND}
260 - media-sound/timidity-freepats"
261 -
262 -REQUIRED_USE="player? ( ^^ ( alsa oss openal ) )"
263 -
264 -DOC_CONTENTS="${PN} is using timidity-freepats for midi playback.
265 - A default configuration file was placed on /etc/${PN}/${PN}.cfg.
266 - For more information please read the ${PN}.cfg manpage."
267 -
268 -S="${WORKDIR}"/${PN}-${P}
269 -
270 -src_prepare() {
271 - # alsa openal oss only make sense if player is enabled. See CMakeLists.txt
272 - if ! use player && (use alsa || use openal || use oss); then
273 - ewarn
274 - ewarn "The 'alsa', 'openal' and 'oss' use flags only make sense if"
275 - ewarn "the 'player' use flags is selected and as a result they will be"
276 - ewarn "ignored in this build"
277 - ewarn
278 - fi
279 - cmake-utils_src_prepare
280 -}
281 -
282 -src_configure() {
283 - mycmakeargs=(
284 - $(cmake-utils_use_want alsa)
285 - $(cmake-utils_use_want openal)
286 - $(cmake-utils_use_want oss)
287 - $(cmake-utils_use_want player)
288 - )
289 - cmake-utils_src_configure
290 -}
291 -
292 -src_install() {
293 - cmake-utils_src_install
294 - find "${D}" -name '*.la' -exec rm -f {} +
295 - insinto /etc/${PN}/
296 - doins cfg/${PN}.cfg
297 - readme.gentoo_create_doc
298 -}
299 -
300 -pkg_postinst() {
301 - if [[ -e "${ROOT}"/etc/${PN}.cfg ]]; then
302 - elog
303 - elog "Old /etc/${PN}.cfg detected!"
304 - elog "Please migrate your configuration file to"
305 - elog "/etc/${PN}/ directory which is now the default"
306 - elog "location for the ${PN} configuration file."
307 - elog
308 - fi
309 -}