Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lame/
Date: Fri, 23 Mar 2018 23:55:35
Message-Id: 1521849320.b469ec2d931fcc7c2f7549e11ed413db1efb9e12.bman@gentoo
1 commit: b469ec2d931fcc7c2f7549e11ed413db1efb9e12
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 23 23:54:38 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 23 23:55:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b469ec2d
7
8 media-sound/lame: drop vulnerable wrt bug #634598
9
10 media-sound/lame/Manifest | 2 -
11 media-sound/lame/lame-3.99.5-r1.ebuild | 80 ----------------------------------
12 2 files changed, 82 deletions(-)
13
14 diff --git a/media-sound/lame/Manifest b/media-sound/lame/Manifest
15 index 660b616eb69..38a803ac7bd 100644
16 --- a/media-sound/lame/Manifest
17 +++ b/media-sound/lame/Manifest
18 @@ -1,3 +1 @@
19 DIST lame-3.100.tar.gz 1524133 BLAKE2B 6954d30cfd3951ea07762ba5dd7ff27038b78455f423099a225ebf748abddf9970e444456ca5a6179bd381e2205b32293392cb757c203901674860710fe2c183 SHA512 0844b9eadb4aacf8000444621451277de365041cc1d97b7f7a589da0b7a23899310afd4e4d81114b9912aa97832621d20588034715573d417b2923948c08634b
20 -DIST lame-3.99.5-automake-2.12.patch.gz 536 BLAKE2B d8e3aa813abdd255c4e95d55936f0f53bec08af8dcfa0eec7ed9978d569fe566085f92e2bb4962b13ef56c7f8a57e2100ca767b3ae9bc13ca5dfe3bad012fc77 SHA512 9d6211e257d573ced5c29c43ba5d5cc98a231b213d6e0cfc352b14776c06c9e656ed1873d5caae466afb27dfe753eeac0842c7221a8538ccecea8f4ba0f8bfe2
21 -DIST lame-3.99.5.tar.gz 1445348 BLAKE2B 3bb2e3b680fb03a2af517b9d03a20e9366326a410fe9c3688323eb7cad7186273d25071258fe4df38bb47f9ee033a5b9e3fa8a508e65058f37485f204c580c72 SHA512 ce62d7eb9fc8c53c343374ded30f11153a296910f0be7e649197bca7412c6660aad1aa6143d56b750f866229eb492cf7bb4f682535c383fb4aa57d7077d8b4d8
22
23 diff --git a/media-sound/lame/lame-3.99.5-r1.ebuild b/media-sound/lame/lame-3.99.5-r1.ebuild
24 deleted file mode 100644
25 index 63a1db9b353..00000000000
26 --- a/media-sound/lame/lame-3.99.5-r1.ebuild
27 +++ /dev/null
28 @@ -1,80 +0,0 @@
29 -# Copyright 1999-2018 Gentoo Foundation
30 -# Distributed under the terms of the GNU General Public License v2
31 -
32 -EAPI=5
33 -
34 -inherit autotools eutils multilib-minimal
35 -
36 -DESCRIPTION="LAME Ain't an MP3 Encoder"
37 -HOMEPAGE="http://lame.sourceforge.net/"
38 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
39 - mirror://gentoo/${P}-automake-2.12.patch.gz"
40 -
41 -LICENSE="LGPL-2.1"
42 -SLOT="0"
43 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
44 -IUSE="debug cpu_flags_x86_mmx +frontend mp3rtp sndfile static-libs"
45 -
46 -# These deps are without MULTILIB_USEDEP and are correct since we only build
47 -# libmp3lame for multilib and these deps apply to the lame frontend executable.
48 -RDEPEND="
49 - frontend? (
50 - >=sys-libs/ncurses-5.7-r7:0=
51 - sndfile? ( >=media-libs/libsndfile-1.0.2 )
52 - )
53 - abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
54 -DEPEND="${RDEPEND}
55 - virtual/pkgconfig
56 - cpu_flags_x86_mmx? ( dev-lang/nasm )"
57 -
58 -src_prepare() {
59 - epatch -p1 \
60 - "${FILESDIR}"/${PN}-3.96-ccc.patch \
61 - "${FILESDIR}"/${PN}-3.98-gtk-path.patch \
62 - "${FILESDIR}"/${PN}-3.99.5-tinfo.patch \
63 - "${FILESDIR}"/${PN}-3.99.5-msse.patch \
64 - "${WORKDIR}"/${P}-automake-2.12.patch
65 -
66 - mkdir libmp3lame/i386/.libs || die #workaround parallel build with nasm
67 -
68 - sed -i -e '/define sp/s/+/ + /g' libmp3lame/i386/nasm.h || die
69 -
70 - use cpu_flags_x86_mmx || sed -i -e '/AC_PATH_PROG/s:nasm:dIsAbLe&:' configure.in #361879
71 -
72 - AT_M4DIR=. eautoreconf
73 -}
74 -
75 -multilib_src_configure() {
76 - local myconf
77 - use cpu_flags_x86_mmx && myconf+="--enable-nasm" #361879
78 -
79 - # Only build the frontend for the default ABI.
80 - if [ "${ABI}" = "${DEFAULT_ABI}" ] ; then
81 - myconf+=" $(use_enable mp3rtp) $(use_enable frontend)"
82 - use sndfile && myconf+=" --with-fileio=sndfile"
83 - else
84 - myconf+=" --disable-frontend --disable-mp3rtp"
85 - fi
86 -
87 - ECONF_SOURCE="${S}" econf \
88 - $(use_enable static-libs static) \
89 - $(use_enable debug debug norm) \
90 - --disable-mp3x \
91 - --enable-dynamic-frontends \
92 - ${myconf}
93 -}
94 -
95 -multilib_src_install() {
96 - emake DESTDIR="${D}" pkghtmldir="${EPREFIX}/usr/share/doc/${PF}/html" install
97 -}
98 -
99 -multilib_src_install_all() {
100 - cd "${S}"
101 - dobin misc/mlame
102 -
103 - dodoc API ChangeLog HACKING README STYLEGUIDE TODO USAGE
104 - docinto html
105 - dodoc misc/lameGUI.html Dll/LameDLLInterface.htm
106 -
107 - find "${ED}" -name '*.la' -exec rm -f {} +
108 -}