Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mp3gain: mp3gain-1.5.1.ebuild ChangeLog
Date: Sun, 02 May 2010 14:48:03
Message-Id: 20100502144759.0F9E52C22D@corvid.gentoo.org
1 chainsaw 10/05/02 14:47:58
2
3 Modified: ChangeLog
4 Added: mp3gain-1.5.1.ebuild
5 Log:
6 Version bump as requested by Daniel Pinto dos Santos in bug #285794. Dropped long options support as I was unable to rebase it. Addressed format string vulnerability with a patch.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.42 media-sound/mp3gain/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/ChangeLog?rev=1.42&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/ChangeLog?rev=1.42&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/ChangeLog?r1=1.41&r2=1.42
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v
19 retrieving revision 1.41
20 retrieving revision 1.42
21 diff -u -r1.41 -r1.42
22 --- ChangeLog 7 Jan 2010 14:38:48 -0000 1.41
23 +++ ChangeLog 2 May 2010 14:47:58 -0000 1.42
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-sound/mp3gain
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.41 2010/01/07 14:38:48 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.42 2010/05/02 14:47:58 chainsaw Exp $
29 +
30 +*mp3gain-1.5.1 (02 May 2010)
31 +
32 + 02 May 2010; <chainsaw@g.o> +files/1.5.1-format-string.patch,
33 + +mp3gain-1.5.1.ebuild:
34 + Version bump as requested by Daniel Pinto dos Santos in bug #285794.
35 + Dropped long options support as I was unable to rebase it. Addressed
36 + format string vulnerability with a patch.
37
38 07 Jan 2010; Christian Faulhammer <fauli@g.o>
39 mp3gain-1.4.6-r3.ebuild:
40
41
42
43 1.1 media-sound/mp3gain/mp3gain-1.5.1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/mp3gain-1.5.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/mp3gain-1.5.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mp3gain-1.5.1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/mp3gain-1.5.1.ebuild,v 1.1 2010/05/02 14:47:58 chainsaw Exp $
53
54 inherit eutils flag-o-matic toolchain-funcs
55
56 IUSE=""
57
58 MY_P=${P//./_}
59 S=${WORKDIR}
60
61 DESCRIPTION="MP3Gain automatically adjusts mp3s so that they all have the same volume"
62 HOMEPAGE="http://mp3gain.sourceforge.net"
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.zip"
64
65 SLOT="0"
66 LICENSE="LGPL-2.1"
67 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
68
69 DEPEND="app-arch/unzip"
70 RDEPEND=""
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75
76 filter-flags -O*
77 sed -i -e "s:CC=.*:CC=$(tc-getCC):" \
78 -e "s:CFLAGS= -Wall -O3 -DHAVE_MEMCPY:CFLAGS+= -Wall -DHAVE_MEMCPY:" \
79 -e "s:LIBS=.*:LIBS= ${LDFLAGS} -lm:" \
80 "${S}"/Makefile \
81 || die "Unable to adjust build system compiler/flags."
82 epatch "${FILESDIR}"/${PV}-format-string.patch
83 }
84
85 src_install () {
86 dobin mp3gain
87 }