summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/cheesetracker')
-rw-r--r--media-sound/cheesetracker/ChangeLog9
-rw-r--r--media-sound/cheesetracker/cheesetracker-0.9.9-r1.ebuild38
-rw-r--r--media-sound/cheesetracker/files/cheesetracker-0.9.9-buffer-overflow.diff14
-rw-r--r--media-sound/cheesetracker/files/digest-cheesetracker-0.9.92
-rw-r--r--media-sound/cheesetracker/files/digest-cheesetracker-0.9.9-r13
5 files changed, 65 insertions, 1 deletions
diff --git a/media-sound/cheesetracker/ChangeLog b/media-sound/cheesetracker/ChangeLog
index f2e7d50712f5..7c7441d94901 100644
--- a/media-sound/cheesetracker/ChangeLog
+++ b/media-sound/cheesetracker/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/cheesetracker
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cheesetracker/ChangeLog,v 1.18 2006/04/18 18:25:00 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cheesetracker/ChangeLog,v 1.19 2006/10/19 15:15:25 chriswhite Exp $
+
+*cheesetracker-0.9.9-r1 (19 Oct 2006)
+
+ 19 Oct 2006; Chris White <chriswhite@gentoo.org>
+ +files/cheesetracker-0.9.9-buffer-overflow.diff,
+ +cheesetracker-0.9.9-r1.ebuild:
+ Security bump for bug #142391.
18 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+files/cheesetracker-0.9.9-gcc4.patch, cheesetracker-0.9.9.ebuild:
diff --git a/media-sound/cheesetracker/cheesetracker-0.9.9-r1.ebuild b/media-sound/cheesetracker/cheesetracker-0.9.9-r1.ebuild
new file mode 100644
index 000000000000..7656a77eb900
--- /dev/null
+++ b/media-sound/cheesetracker/cheesetracker-0.9.9-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cheesetracker/cheesetracker-0.9.9-r1.ebuild,v 1.1 2006/10/19 15:15:25 chriswhite Exp $
+
+inherit eutils
+
+DESCRIPTION="A clone of Impulse Tracker with some extensions and a built-in sample editor; uses QT"
+HOMEPAGE="http://cheesetronic.sf.net/"
+SRC_URI="mirror://sourceforge/cheesetronic/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="jack"
+
+RDEPEND="jack? ( media-sound/jack-audio-connection-kit )
+ =dev-libs/libsigc++-1.2*
+ =x11-libs/qt-3*"
+DEPEND="${RDEPEND}
+ >=dev-util/scons-0.94-r2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-64bit-clean.diff"
+ epatch "${FILESDIR}/${P}-gcc4.patch"
+ epatch "${FILESDIR}"/${P}-buffer-overflow.diff
+}
+
+src_compile() {
+ scons || die
+}
+
+src_install() {
+ dodir /usr/bin
+ scons prefix=${D}/usr install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO docs/*.txt
+}
diff --git a/media-sound/cheesetracker/files/cheesetracker-0.9.9-buffer-overflow.diff b/media-sound/cheesetracker/files/cheesetracker-0.9.9-buffer-overflow.diff
new file mode 100644
index 000000000000..de046a6b29ae
--- /dev/null
+++ b/media-sound/cheesetracker/files/cheesetracker-0.9.9-buffer-overflow.diff
@@ -0,0 +1,14 @@
+--- cheesetracker-0.9.9.orig/cheesetracker/loaders/loader_xm.cpp
++++ cheesetracker-0.9.9/cheesetracker/loaders/loader_xm.cpp
+@@ -494,7 +494,10 @@
+
+ if ((reader.get_file_pos()-p_cpos)<p_hsize) {
+
+- Uint8 junkbuster[500];
++ // allocate a buffer big enough for the data being read
++ Uint8 *junkbuster = new Uint8 [p_hsize-(reader.get_file_pos()-p_cpos)];
++ // return in error if it can't be allocated
++ if (!junkbuster) return FILE_ERROR;
+
+ //printf("extra junk XM instrument in header! hsize is %i, extra junk: %i\n",p_hsize,(reader.get_file_pos()-p_cpos));
+ \ No newline at end of file
diff --git a/media-sound/cheesetracker/files/digest-cheesetracker-0.9.9 b/media-sound/cheesetracker/files/digest-cheesetracker-0.9.9
index 3087db0449af..9698e87bd71a 100644
--- a/media-sound/cheesetracker/files/digest-cheesetracker-0.9.9
+++ b/media-sound/cheesetracker/files/digest-cheesetracker-0.9.9
@@ -1 +1,3 @@
MD5 d2cb55cd35eaaaef48454a5aad41a08d cheesetracker-0.9.9.tar.gz 842246
+RMD160 2fba963f614a2436088d1bb00a61379bcb3f4c79 cheesetracker-0.9.9.tar.gz 842246
+SHA256 97ddb3a7e6959400c1f042b8661a43540b3d5790db39c18bb9ce413a76d41d55 cheesetracker-0.9.9.tar.gz 842246
diff --git a/media-sound/cheesetracker/files/digest-cheesetracker-0.9.9-r1 b/media-sound/cheesetracker/files/digest-cheesetracker-0.9.9-r1
new file mode 100644
index 000000000000..9698e87bd71a
--- /dev/null
+++ b/media-sound/cheesetracker/files/digest-cheesetracker-0.9.9-r1
@@ -0,0 +1,3 @@
+MD5 d2cb55cd35eaaaef48454a5aad41a08d cheesetracker-0.9.9.tar.gz 842246
+RMD160 2fba963f614a2436088d1bb00a61379bcb3f4c79 cheesetracker-0.9.9.tar.gz 842246
+SHA256 97ddb3a7e6959400c1f042b8661a43540b3d5790db39c18bb9ce413a76d41d55 cheesetracker-0.9.9.tar.gz 842246