diff options
author | Joachim Blaabjerg <styx@gentoo.org> | 2003-02-05 10:29:51 +0000 |
---|---|---|
committer | Joachim Blaabjerg <styx@gentoo.org> | 2003-02-05 10:29:51 +0000 |
commit | f46dcb507803885cb09036092e12813bf4761e44 (patch) | |
tree | eeab3ab1e669d2dc61ce91522e66e3b4fb8bdba8 /media-sound/bladeenc | |
parent | added sparc to KEYWORDS (diff) | |
download | gentoo-2-f46dcb507803885cb09036092e12813bf4761e44.tar.gz gentoo-2-f46dcb507803885cb09036092e12813bf4761e44.tar.bz2 gentoo-2-f46dcb507803885cb09036092e12813bf4761e44.zip |
Added a small patch to fix a security problem, fixes bug #15154.
Diffstat (limited to 'media-sound/bladeenc')
-rw-r--r-- | media-sound/bladeenc/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/bladeenc/bladeenc-0.94.2-r1.ebuild | 31 | ||||
-rw-r--r-- | media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff | 11 | ||||
-rw-r--r-- | media-sound/bladeenc/files/digest-bladeenc-0.94.2-r1 | 1 |
4 files changed, 52 insertions, 1 deletions
diff --git a/media-sound/bladeenc/ChangeLog b/media-sound/bladeenc/ChangeLog index a54d0d0a6d75..5ffb4dd25371 100644 --- a/media-sound/bladeenc/ChangeLog +++ b/media-sound/bladeenc/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-sound/bladeenc # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-sound/bladeenc/ChangeLog,v 1.2 2002/08/14 08:47:00 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/bladeenc/ChangeLog,v 1.3 2003/02/05 10:29:51 styx Exp $ + +*bladeenc-0.94.2-r1 (5 Feb 2003) + + 5 Feb 2003; Joachim Blaabjerg <styx@gentoo.org> bladeenc-0.94.2-r1.ebuild, + files/bladeenc-0.94.2-secfix.diff, files/digest-bladeenc-0.94.2-r1, + ChangeLog : + + Added a small patch to fix a security problem, fixes bug #15154. *bladeenc-0.94.2 (1 Feb 2002) diff --git a/media-sound/bladeenc/bladeenc-0.94.2-r1.ebuild b/media-sound/bladeenc/bladeenc-0.94.2-r1.ebuild new file mode 100644 index 000000000000..5fbbacbb5cf2 --- /dev/null +++ b/media-sound/bladeenc/bladeenc-0.94.2-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/bladeenc/bladeenc-0.94.2-r1.ebuild,v 1.1 2003/02/05 10:29:51 styx Exp $ + +inherit eutils + +S=${WORKDIR}/${P} +DESCRIPTION="An mp3 encoder" +SRC_URI="http://bladeenc.mp3.no/source/${P}-src-stable.tar.gz" +HOMEPAGE="http://bladeenc.mp3.no/deenc.mp3.no/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ppc" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-secfix.diff +} + +src_compile() { + econf || die + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog COPYING INSTALL README TODO +} diff --git a/media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff b/media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff new file mode 100644 index 000000000000..5a126f2ceedd --- /dev/null +++ b/media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff @@ -0,0 +1,11 @@ +diff -Naur bladeenc-0.94.2/bladeenc/samplein.c bladeenc-0.94.2-fixed/bladeenc/samplein.c +--- bladeenc-0.94.2/bladeenc/samplein.c 2001-05-08 14:11:53.000000000 +0200 ++++ bladeenc-0.94.2-fixed/bladeenc/samplein.c 2003-02-05 11:19:59.000000000 +0100 +@@ -616,6 +616,7 @@ + static int myFseek (FILE *fp, int offset) + { + char dummy[256]; ++ offset = abs(offset); + + while (offset >= 256) + { diff --git a/media-sound/bladeenc/files/digest-bladeenc-0.94.2-r1 b/media-sound/bladeenc/files/digest-bladeenc-0.94.2-r1 new file mode 100644 index 000000000000..833b5a551ddd --- /dev/null +++ b/media-sound/bladeenc/files/digest-bladeenc-0.94.2-r1 @@ -0,0 +1 @@ +MD5 9b9f6eafe1637a48a67f0a0f8f6e71ad bladeenc-0.94.2-src-stable.tar.gz 142949 |