diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-18 08:26:42 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-18 08:26:54 +0200 |
commit | cac3017eed6bec4140ba2dec99d67365bb1da66f (patch) | |
tree | 36a99165fec0562415662534d505c61338fda061 /media-sound/lame | |
parent | net-firewall/iptables: bind to net-libs/libnftnl and net-libs/libmnl subslots (diff) | |
download | gentoo-cac3017eed6bec4140ba2dec99d67365bb1da66f.tar.gz gentoo-cac3017eed6bec4140ba2dec99d67365bb1da66f.tar.bz2 gentoo-cac3017eed6bec4140ba2dec99d67365bb1da66f.zip |
media-sound/lame: Security bump to version 3.100 (bug #634598).
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-sound/lame')
-rw-r--r-- | media-sound/lame/Manifest | 1 | ||||
-rw-r--r-- | media-sound/lame/files/lame-3.96-ccc.patch | 4 | ||||
-rw-r--r-- | media-sound/lame/files/lame-3.98-gtk-path.patch | 4 | ||||
-rw-r--r-- | media-sound/lame/files/lame-3.99.5-tinfo.patch | 4 | ||||
-rw-r--r-- | media-sound/lame/lame-3.100.ebuild | 80 |
5 files changed, 87 insertions, 6 deletions
diff --git a/media-sound/lame/Manifest b/media-sound/lame/Manifest index 34500bc1cc93..1673e9655cd8 100644 --- a/media-sound/lame/Manifest +++ b/media-sound/lame/Manifest @@ -1,2 +1,3 @@ +DIST lame-3.100.tar.gz 1524133 SHA256 ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e SHA512 0844b9eadb4aacf8000444621451277de365041cc1d97b7f7a589da0b7a23899310afd4e4d81114b9912aa97832621d20588034715573d417b2923948c08634b WHIRLPOOL 6e940e2995dec8d1f6b73b87fc5441f9d85bdccfb3faf670ca06f9001ce752e9efbad17dc8fb5641e0e14e4e27aa2ff33f4c2c9df2fafd5e522ca0894e4c8efb DIST lame-3.99.5-automake-2.12.patch.gz 536 SHA256 49833b952d846405fdcc8d87de55f60dda5fb2268e1b36861c53dfd39dbd275d SHA512 9d6211e257d573ced5c29c43ba5d5cc98a231b213d6e0cfc352b14776c06c9e656ed1873d5caae466afb27dfe753eeac0842c7221a8538ccecea8f4ba0f8bfe2 WHIRLPOOL 506e505cbf8659c3f67084565fc581e4dee3ba2016db3d835e3e63d9eca0d4383443e7596229f51b349c1f8c53ef42a581761d27778de4c1e5b698c85418b401 DIST lame-3.99.5.tar.gz 1445348 SHA256 24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff SHA512 ce62d7eb9fc8c53c343374ded30f11153a296910f0be7e649197bca7412c6660aad1aa6143d56b750f866229eb492cf7bb4f682535c383fb4aa57d7077d8b4d8 WHIRLPOOL c238107bfb824c67c639875547e24b64ceeeb22125800af753ca42de129138f480574a6cfe132bc2c9cffeb39e54b6d57059be69cb41bdc164cdbf29bd95afe9 diff --git a/media-sound/lame/files/lame-3.96-ccc.patch b/media-sound/lame/files/lame-3.96-ccc.patch index 4d3491ae4256..1ef2fadc58a3 100644 --- a/media-sound/lame/files/lame-3.96-ccc.patch +++ b/media-sound/lame/files/lame-3.96-ccc.patch @@ -3,8 +3,8 @@ configure is broken, fix it to respect CC. This is only directly broken for ARCH=alpha but would affect anybody with a ccc binary in their PATH. Bug #41908 (26 Jul 2004 agriffis) ---- configure.in -+++ configure.in +--- a/configure.in ++++ b/configure.in @@ -915,11 +915,9 @@ alpha*-*-linux*) diff --git a/media-sound/lame/files/lame-3.98-gtk-path.patch b/media-sound/lame/files/lame-3.98-gtk-path.patch index a5843597485a..98925c01a30b 100644 --- a/media-sound/lame/files/lame-3.98-gtk-path.patch +++ b/media-sound/lame/files/lame-3.98-gtk-path.patch @@ -1,5 +1,5 @@ ---- gtk.m4 -+++ gtk.m4 +--- a/gtk.m4 ++++ b/gtk.m4 @@ -0,0 +1,194 @@ +# Configure paths for GTK+ +# Owen Taylor 97-11-3 diff --git a/media-sound/lame/files/lame-3.99.5-tinfo.patch b/media-sound/lame/files/lame-3.99.5-tinfo.patch index cb570e7880f0..29d386d01bd3 100644 --- a/media-sound/lame/files/lame-3.99.5-tinfo.patch +++ b/media-sound/lame/files/lame-3.99.5-tinfo.patch @@ -5,8 +5,8 @@ like used in debian and gentoo http://bugs.gentoo.org/454322 ---- configure.in -+++ configure.in +--- a/configure.in ++++ b/configure.in @@ -372,9 +372,10 @@ AC_CHECK_HEADERS(termcap.h) diff --git a/media-sound/lame/lame-3.100.ebuild b/media-sound/lame/lame-3.100.ebuild new file mode 100644 index 000000000000..1c19043df7a3 --- /dev/null +++ b/media-sound/lame/lame-3.100.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal + +DESCRIPTION="LAME Ain't an MP3 Encoder" +HOMEPAGE="http://lame.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +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" +IUSE="debug cpu_flags_x86_mmx +frontend mp3rtp sndfile static-libs" + +# These deps are without MULTILIB_USEDEP and are correct since we only build +# libmp3lame for multilib and these deps apply to the lame frontend executable. +RDEPEND=" + frontend? ( + >=sys-libs/ncurses-5.7-r7:0= + sndfile? ( >=media-libs/libsndfile-1.0.2 ) + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + cpu_flags_x86_mmx? ( dev-lang/nasm )" + +PATCHES=( + "${FILESDIR}"/${PN}-3.96-ccc.patch + "${FILESDIR}"/${PN}-3.98-gtk-path.patch + "${FILESDIR}"/${PN}-3.99.5-tinfo.patch + "${FILESDIR}"/${PN}-3.99.5-msse.patch +) + +src_prepare() { + default + + mkdir libmp3lame/i386/.libs || die #workaround parallel build with nasm + + sed -i -e '/define sp/s/+/ + /g' libmp3lame/i386/nasm.h || die + + use cpu_flags_x86_mmx || sed -i -e '/AC_PATH_PROG/s:nasm:dIsAbLe&:' configure.in #361879 + + AT_M4DIR=. eautoreconf +} + +multilib_src_configure() { + local myconf=( + $(use_enable static-libs static) + $(use_enable debug debug norm) + --disable-mp3x + --enable-dynamic-frontends + ) + use cpu_flags_x86_mmx && myconf+=( --enable-nasm ) #361879 + + # Only build the frontend for the default ABI. + if [ "${ABI}" = "${DEFAULT_ABI}" ] ; then + myconf+=( $(use_enable mp3rtp) $(use_enable frontend) ) + use sndfile && myconf+=( --with-fileio=sndfile ) + else + myconf+=( --disable-frontend --disable-mp3rtp ) + fi + + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" pkghtmldir="${EPREFIX}/usr/share/doc/${PF}/html" install +} + +multilib_src_install_all() { + cd "${S}" + dobin misc/mlame + + dodoc API ChangeLog HACKING README STYLEGUIDE TODO USAGE + dohtml misc/lameGUI.html Dll/LameDLLInterface.htm + + find "${ED}" -name '*.la' -exec rm -f {} + +} |