From 05d0ca9699265304061c69b87fce05226b3f2928 Mon Sep 17 00:00:00 2001
From: Diego Elio Pettenò <flameeyes@gentoo.org>
Date: Thu, 2 Feb 2006 09:07:24 +0000
Subject: Cleanup old verisons. (Portage version: 2.1_pre4-r1)

---
 media-libs/alsa-oss/ChangeLog                      |   6 +-
 media-libs/alsa-oss/alsa-oss-1.0.8-r1.ebuild       |  26 ----
 media-libs/alsa-oss/alsa-oss-1.0.9.ebuild          |  22 ---
 media-libs/alsa-oss/files/digest-alsa-oss-1.0.8-r1 |   1 -
 media-libs/alsa-oss/files/digest-alsa-oss-1.0.9    |   1 -
 media-sound/alsa-driver/ChangeLog                  |   9 +-
 .../alsa-driver/alsa-driver-1.0.10-r1.ebuild       | 164 ---------------------
 media-sound/alsa-driver/alsa-driver-1.0.10.ebuild  | 162 --------------------
 .../alsa-driver/alsa-driver-1.0.10_rc3.ebuild      | 163 --------------------
 .../files/alsa-driver-0.9.8-au-fix.patch           |  24 ---
 .../alsa-driver-1.0.10_rc3-ppc-unbreakage.patch    | 105 -------------
 .../alsa-driver/files/digest-alsa-driver-1.0.10    |   1 -
 .../alsa-driver/files/digest-alsa-driver-1.0.10-r1 |   1 -
 .../files/digest-alsa-driver-1.0.10_rc3            |   1 -
 media-sound/alsa-driver/files/makefile.patch       |  28 ----
 media-sound/alsa-firmware/ChangeLog                |   6 +-
 .../alsa-firmware/alsa-firmware-1.0.9.ebuild       |  27 ----
 .../alsa-firmware/files/digest-alsa-firmware-1.0.9 |   1 -
 media-sound/alsa-headers/ChangeLog                 |   6 +-
 .../alsa-headers/alsa-headers-1.0.10_rc3.ebuild    |  45 ------
 .../alsa-headers/alsa-headers-1.0.9b.ebuild        |  45 ------
 .../files/digest-alsa-headers-1.0.10_rc3           |   1 -
 .../alsa-headers/files/digest-alsa-headers-1.0.9b  |   1 -
 media-sound/alsa-tools/ChangeLog                   |   6 +-
 media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild  |  96 ------------
 .../alsa-tools/files/alsa-tools-1.0.6-gcc34.patch  |  11 --
 .../alsa-tools/files/digest-alsa-tools-1.0.8-r1    |   1 -
 27 files changed, 28 insertions(+), 932 deletions(-)
 delete mode 100644 media-libs/alsa-oss/alsa-oss-1.0.8-r1.ebuild
 delete mode 100644 media-libs/alsa-oss/alsa-oss-1.0.9.ebuild
 delete mode 100644 media-libs/alsa-oss/files/digest-alsa-oss-1.0.8-r1
 delete mode 100644 media-libs/alsa-oss/files/digest-alsa-oss-1.0.9
 delete mode 100644 media-sound/alsa-driver/alsa-driver-1.0.10-r1.ebuild
 delete mode 100644 media-sound/alsa-driver/alsa-driver-1.0.10.ebuild
 delete mode 100644 media-sound/alsa-driver/alsa-driver-1.0.10_rc3.ebuild
 delete mode 100644 media-sound/alsa-driver/files/alsa-driver-0.9.8-au-fix.patch
 delete mode 100644 media-sound/alsa-driver/files/alsa-driver-1.0.10_rc3-ppc-unbreakage.patch
 delete mode 100644 media-sound/alsa-driver/files/digest-alsa-driver-1.0.10
 delete mode 100644 media-sound/alsa-driver/files/digest-alsa-driver-1.0.10-r1
 delete mode 100644 media-sound/alsa-driver/files/digest-alsa-driver-1.0.10_rc3
 delete mode 100644 media-sound/alsa-driver/files/makefile.patch
 delete mode 100644 media-sound/alsa-firmware/alsa-firmware-1.0.9.ebuild
 delete mode 100644 media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.9
 delete mode 100644 media-sound/alsa-headers/alsa-headers-1.0.10_rc3.ebuild
 delete mode 100644 media-sound/alsa-headers/alsa-headers-1.0.9b.ebuild
 delete mode 100644 media-sound/alsa-headers/files/digest-alsa-headers-1.0.10_rc3
 delete mode 100644 media-sound/alsa-headers/files/digest-alsa-headers-1.0.9b
 delete mode 100644 media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild
 delete mode 100644 media-sound/alsa-tools/files/alsa-tools-1.0.6-gcc34.patch
 delete mode 100644 media-sound/alsa-tools/files/digest-alsa-tools-1.0.8-r1

diff --git a/media-libs/alsa-oss/ChangeLog b/media-libs/alsa-oss/ChangeLog
index 9325e5a4a91c..f5135fe28230 100644
--- a/media-libs/alsa-oss/ChangeLog
+++ b/media-libs/alsa-oss/ChangeLog
@@ -1,6 +1,10 @@
 # ChangeLog for media-libs/alsa-oss
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-oss/ChangeLog,v 1.68 2006/01/22 07:17:29 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-oss/ChangeLog,v 1.69 2006/02/02 09:06:56 flameeyes Exp $
+
+  02 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
+  -alsa-oss-1.0.8-r1.ebuild, -alsa-oss-1.0.9.ebuild:
+  Cleanup old verisons.
 
   22 Jan 2006; Joseph Jezak <josejx@gentoo.org> alsa-oss-1.0.10-r1.ebuild:
   Marked ppc stable.
diff --git a/media-libs/alsa-oss/alsa-oss-1.0.8-r1.ebuild b/media-libs/alsa-oss/alsa-oss-1.0.8-r1.ebuild
deleted file mode 100644
index 259469fe7b29..000000000000
--- a/media-libs/alsa-oss/alsa-oss-1.0.8-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-oss/alsa-oss-1.0.8-r1.ebuild,v 1.3 2005/09/14 04:47:59 agriffis Exp $
-
-IUSE=""
-
-inherit multilib
-
-MY_P=${P/_rc/rc}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Advanced Linux Sound Architecture OSS compatibility layer."
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/oss-lib/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ppc sparc x86"
-
-DEPEND="virtual/libc
-	>=media-libs/alsa-lib-1.0"
-
-src_install() {
-	make DESTDIR="${D}" install || die
-	dosed "s:/usr/$(get_libdir)/libaoss.so:libaoss.so:g" /usr/bin/aoss
-}
diff --git a/media-libs/alsa-oss/alsa-oss-1.0.9.ebuild b/media-libs/alsa-oss/alsa-oss-1.0.9.ebuild
deleted file mode 100644
index 937c1db55111..000000000000
--- a/media-libs/alsa-oss/alsa-oss-1.0.9.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-oss/alsa-oss-1.0.9.ebuild,v 1.2 2006/01/02 22:32:53 eradicator Exp $
-
-inherit multilib
-
-DESCRIPTION="Advanced Linux Sound Architecture OSS compatibility layer."
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/oss-lib/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
-	>=media-libs/alsa-lib-1.0"
-
-src_install() {
-	make DESTDIR="${D}" install || die "make install failed"
-	dosed "s:/usr/$(get_libdir)/libaoss.so:libaoss.so:g" /usr/bin/aoss
-}
diff --git a/media-libs/alsa-oss/files/digest-alsa-oss-1.0.8-r1 b/media-libs/alsa-oss/files/digest-alsa-oss-1.0.8-r1
deleted file mode 100644
index 550390490e05..000000000000
--- a/media-libs/alsa-oss/files/digest-alsa-oss-1.0.8-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fb13eed47ab086d9c5acf746de34b872 alsa-oss-1.0.8.tar.bz2 223532
diff --git a/media-libs/alsa-oss/files/digest-alsa-oss-1.0.9 b/media-libs/alsa-oss/files/digest-alsa-oss-1.0.9
deleted file mode 100644
index c15d1dd62015..000000000000
--- a/media-libs/alsa-oss/files/digest-alsa-oss-1.0.9
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3c0411e54fd2e5c6083fd3c2ac9db509 alsa-oss-1.0.9.tar.bz2 223728
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog
index 9f01b0502a5e..fc0c34f7fd35 100644
--- a/media-sound/alsa-driver/ChangeLog
+++ b/media-sound/alsa-driver/ChangeLog
@@ -1,6 +1,13 @@
 # ChangeLog for media-sound/alsa-driver
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.196 2006/01/22 07:19:21 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.197 2006/02/02 09:07:10 flameeyes Exp $
+
+  02 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
+  -files/alsa-driver-0.9.8-au-fix.patch,
+  -files/alsa-driver-1.0.10_rc3-ppc-unbreakage.patch, -files/makefile.patch,
+  -alsa-driver-1.0.10_rc3.ebuild, -alsa-driver-1.0.10.ebuild,
+  -alsa-driver-1.0.10-r1.ebuild:
+  Cleanup old verisons.
 
   22 Jan 2006; Joseph Jezak <josejx@gentoo.org>
   alsa-driver-1.0.10-r2.ebuild:
diff --git a/media-sound/alsa-driver/alsa-driver-1.0.10-r1.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.10-r1.ebuild
deleted file mode 100644
index 059c0251615f..000000000000
--- a/media-sound/alsa-driver/alsa-driver-1.0.10-r1.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.10-r1.ebuild,v 1.2 2005/12/19 09:33:13 flameeyes Exp $
-
-inherit linux-mod flag-o-matic eutils
-
-MY_P="${P/_rc/rc}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Advanced Linux Sound Architecture kernel modules"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-
-KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~x86"
-IUSE="oss doc debug"
-
-RDEPEND="virtual/modutils
-	 ~media-sound/alsa-headers-${PV}"
-DEPEND="${RDEPEND}
-	virtual/linux-sources
-	sparc? ( >=sys-devel/autoconf-2.50 )
-	sys-apps/debianutils"
-
-PROVIDE="virtual/alsa"
-
-pkg_setup() {
-	# By default, drivers for all supported cards will be compiled.
-	# If you want to only compile for specific card(s), set ALSA_CARDS
-	# environment to a space-separated list of drivers that you want to build.
-	# For example:
-	#
-	#   env ALSA_CARDS='emu10k1 intel8x0 ens1370' emerge alsa-driver
-	#
-	ALSA_CARDS=${ALSA_CARDS:-all}
-
-	# Which drivers need PNP
-	local PNP_DRIVERS="interwave interwave-stb"
-
-	CONFIG_CHECK="SOUND"
-	SND_ERROR="ALSA is already compiled into the kernel."
-	SOUND_ERROR="Your kernel doesn't have sound support enabled."
-	SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers.  Please disable them and re-emerge alsa-driver."
-	PNP_ERROR="Some of the drivers you selected require PNP in your kernel (${PNP_DRIVERS}).  Either enable PNP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf."
-
-	if [[ "${ALSA_CARDS}" == "all" ]]; then
-
-		# Ignore PNP checks for ppc architecture, as PNP can't be enabled there.
-		if [[ ${ARCH} != "ppc" ]]; then
-			CONFIG_CHECK="${CONFIG_CHECK} PNP"
-		fi
-	else
-		for pnpdriver in ${PNP_DRIVERS}; do
-			hasq ${pnpdriver} ${ALSA_CARDS} && CONFIG_CHECK="${CONFIG_CHECK} PNP"
-		done
-	fi
-
-	linux-mod_pkg_setup
-
-	if [[ ${PROFILE_ARCH} == "sparc64" ]] ; then
-		export CBUILD=${CBUILD-${CHOST}}
-		export CHOST="sparc64-unknown-linux-gnu"
-	fi
-}
-
-src_unpack() {
-	unpack ${A}
-
-	cd ${S}
-
-	epatch "${FILESDIR}"/${PN}-1.0.10_rc1-include.patch
-	epatch "${FILESDIR}/${P}-oops.patch"
-
-	convert_to_m ${S}/Makefile
-	sed -i -e 's:\(.*depmod\):#\1:' ${S}/Makefile
-}
-
-src_compile() {
-	# Should fix bug #46901
-	is-flag "-malign-double" && filter-flags "-fomit-frame-pointer"
-	append-flags "-I${KV_DIR}/arch/$(tc-arch-kernel)/include"
-
-	econf $(use_with oss) \
-		$(use_with debug debug full) \
-		--with-kernel="${KV_DIR}" \
-		--with-build="${KV_OUT_DIR}" \
-		--with-isapnp=yes \
-		--with-sequencer=yes \
-		--with-cards="${ALSA_CARDS}" || die "econf failed"
-
-	# linux-mod_src_compile doesn't work well with alsa
-
-	ARCH=$(tc-arch-kernel)
-	# -j1 : see bug #71028
-	emake -j1 HOSTCC=$(tc-getBUILD_CC) CC=$(tc-getCC) || die "Make Failed"
-	ARCH=$(tc-arch)
-
-	if use doc;
-	then
-		ebegin "Building Documentation"
-		cd ${S}/scripts
-		emake || die Failed making docs in ${S}/scripts
-
-		cd ${S}/doc/DocBook
-		emake || die Failed making docs in ${S}/doc/DocBook
-		eend $?
-	fi
-}
-
-
-src_install() {
-	make DESTDIR=${D} install-modules || die "make install failed"
-
-	dodoc CARDS-STATUS FAQ README WARNING TODO
-
-	if use doc; then
-		docinto doc
-		dodoc doc/*
-		rm ${D}/usr/share/doc/${PF}/doc/Makefile.gz
-
-		docinto DocBook
-		dodoc doc/DocBook/*
-		rm ${D}/usr/share/doc/${PF}/DocBook/Makefile.gz
-
-		docinto Documentation
-		dodoc sound/Documentation/*
-	fi
-
-	if kernel_is 2 6; then
-		# mv the drivers somewhere they won't be killed by the kernel's make modules_install
-		mv ${D}/lib/modules/${KV_FULL}/kernel/sound ${D}/lib/modules/${KV_FULL}/${PN}
-		rmdir ${D}/lib/modules/${KV_FULL}/kernel &> /dev/null
-	fi
-}
-
-pkg_postinst() {
-	einfo
-	einfo "The alsasound initscript and modules.d/alsa have now moved to alsa-utils"
-	einfo
-	einfo "Also, remember that all mixer channels will be MUTED by default."
-	einfo "Use the 'alsamixer' program to unmute them."
-	einfo
-	einfo "Version 1.0.3 and above should work with version 2.6 kernels."
-	einfo "If you experience problems, please report bugs to http://bugs.gentoo.org."
-	einfo
-
-	linux-mod_pkg_postinst
-
-	einfo "Check out the ALSA installation guide availible at the following URL:"
-	einfo "http://www.gentoo.org/doc/en/alsa-guide.xml"
-
-	if kernel_is 2 6 && [ -e ${ROOT}/lib/modules/${KV_FULL}/kernel/sound ]; then
-		# Cleanup if they had older alsa installed
-		for file in $(find ${ROOT}/lib/modules/${KV_FULL}/${PN} -type f); do
-			rm -f ${file//${KV_FULL}\/${PN}/${KV_FULL}\/kernel\/sound}
-		done
-
-		for dir in $(find ${ROOT}/lib/modules/${KV_FULL}/kernel/sound -type d | tac); do
-			rmdir ${dir} &> /dev/null
-		done
-	fi
-}
diff --git a/media-sound/alsa-driver/alsa-driver-1.0.10.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.10.ebuild
deleted file mode 100644
index 3d3f8297f5f9..000000000000
--- a/media-sound/alsa-driver/alsa-driver-1.0.10.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.10.ebuild,v 1.8 2006/01/15 15:52:20 agriffis Exp $
-
-inherit linux-mod flag-o-matic eutils
-
-MY_P="${P/_rc/rc}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Advanced Linux Sound Architecture kernel modules"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-
-KEYWORDS="alpha amd64 ia64 ~mips ppc ppc64 x86"
-IUSE="oss doc"
-
-RDEPEND="virtual/modutils
-	 ~media-sound/alsa-headers-${PV}"
-DEPEND="${RDEPEND}
-	virtual/linux-sources
-	sparc? ( >=sys-devel/autoconf-2.50 )
-	sys-apps/debianutils"
-
-PROVIDE="virtual/alsa"
-
-pkg_setup() {
-	# By default, drivers for all supported cards will be compiled.
-	# If you want to only compile for specific card(s), set ALSA_CARDS
-	# environment to a space-separated list of drivers that you want to build.
-	# For example:
-	#
-	#   env ALSA_CARDS='emu10k1 intel8x0 ens1370' emerge alsa-driver
-	#
-	ALSA_CARDS=${ALSA_CARDS:-all}
-
-	# Which drivers need PNP
-	local PNP_DRIVERS="interwave interwave-stb"
-
-	CONFIG_CHECK="SOUND"
-	SND_ERROR="ALSA is already compiled into the kernel."
-	SOUND_ERROR="Your kernel doesn't have sound support enabled."
-	SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers.  Please disable them and re-emerge alsa-driver."
-	PNP_ERROR="Some of the drivers you selected require PNP in your kernel (${PNP_DRIVERS}).  Either enable PNP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf."
-
-	if [[ "${ALSA_CARDS}" == "all" ]]; then
-
-		# Ignore PNP checks for ppc architecture, as PNP can't be enabled there.
-		if [[ ${ARCH} != "ppc" ]]; then
-			CONFIG_CHECK="${CONFIG_CHECK} PNP"
-		fi
-	else
-		for pnpdriver in ${PNP_DRIVERS}; do
-			hasq ${pnpdriver} ${ALSA_CARDS} && CONFIG_CHECK="${CONFIG_CHECK} PNP"
-		done
-	fi
-
-	linux-mod_pkg_setup
-
-	if [[ ${PROFILE_ARCH} == "sparc64" ]] ; then
-		CBUILD=${CBUILD-${CHOST}}
-		CHOST="sparc64-unknown-linux-gnu"
-	fi
-}
-
-src_unpack() {
-	unpack ${A}
-
-	cd ${S}
-
-	epatch "${FILESDIR}"/${PN}-1.0.10_rc1-include.patch
-
-	convert_to_m ${S}/Makefile
-	sed -i -e 's:\(.*depmod\):#\1:' ${S}/Makefile
-}
-
-src_compile() {
-	# Should fix bug #46901
-	is-flag "-malign-double" && filter-flags "-fomit-frame-pointer"
-	append-flags "-I${KV_DIR}/arch/$(tc-arch-kernel)/include"
-
-	econf $(use_with oss) \
-		--with-kernel="${KV_DIR}" \
-		--with-build="${KV_OUT_DIR}" \
-		--with-isapnp=yes \
-		--with-sequencer=yes \
-		--with-cards="${ALSA_CARDS}" || die "econf failed"
-
-	# linux-mod_src_compile doesn't work well with alsa
-
-	ARCH=$(tc-arch-kernel)
-	# -j1 : see bug #71028
-	emake -j1 HOSTCC=$(tc-getBUILD_CC) CC=$(tc-getCC) || die "Make Failed"
-	ARCH=$(tc-arch)
-
-	if use doc;
-	then
-		ebegin "Building Documentation"
-		cd ${S}/scripts
-		emake || die Failed making docs in ${S}/scripts
-
-		cd ${S}/doc/DocBook
-		emake || die Failed making docs in ${S}/doc/DocBook
-		eend $?
-	fi
-}
-
-
-src_install() {
-	make DESTDIR=${D} install-modules || die "make install failed"
-
-	dodoc CARDS-STATUS FAQ README WARNING TODO
-
-	if use doc; then
-		docinto doc
-		dodoc doc/*
-		rm ${D}/usr/share/doc/${PF}/doc/Makefile.gz
-
-		docinto DocBook
-		dodoc doc/DocBook/*
-		rm ${D}/usr/share/doc/${PF}/DocBook/Makefile.gz
-
-		docinto Documentation
-		dodoc sound/Documentation/*
-	fi
-
-	if kernel_is 2 6; then
-		# mv the drivers somewhere they won't be killed by the kernel's make modules_install
-		mv ${D}/lib/modules/${KV_FULL}/kernel/sound ${D}/lib/modules/${KV_FULL}/${PN}
-		rmdir ${D}/lib/modules/${KV_FULL}/kernel &> /dev/null
-	fi
-}
-
-pkg_postinst() {
-	einfo
-	einfo "The alsasound initscript and modules.d/alsa have now moved to alsa-utils"
-	einfo
-	einfo "Also, remember that all mixer channels will be MUTED by default."
-	einfo "Use the 'alsamixer' program to unmute them."
-	einfo
-	einfo "Version 1.0.3 and above should work with version 2.6 kernels."
-	einfo "If you experience problems, please report bugs to http://bugs.gentoo.org."
-	einfo
-
-	linux-mod_pkg_postinst
-
-	einfo "Check out the ALSA installation guide availible at the following URL:"
-	einfo "http://www.gentoo.org/doc/en/alsa-guide.xml"
-
-	if kernel_is 2 6 && [ -e ${ROOT}/lib/modules/${KV_FULL}/kernel/sound ]; then
-		# Cleanup if they had older alsa installed
-		for file in $(find ${ROOT}/lib/modules/${KV_FULL}/${PN} -type f); do
-			rm -f ${file//${KV_FULL}\/${PN}/${KV_FULL}\/kernel\/sound}
-		done
-
-		for dir in $(find ${ROOT}/lib/modules/${KV_FULL}/kernel/sound -type d | tac); do
-			rmdir ${dir} &> /dev/null
-		done
-	fi
-}
diff --git a/media-sound/alsa-driver/alsa-driver-1.0.10_rc3.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.10_rc3.ebuild
deleted file mode 100644
index 21e957ff78f4..000000000000
--- a/media-sound/alsa-driver/alsa-driver-1.0.10_rc3.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.10_rc3.ebuild,v 1.5 2005/11/15 19:00:50 wolf31o2 Exp $
-
-inherit linux-mod flag-o-matic eutils
-
-MY_P="${P/_rc/rc}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Advanced Linux Sound Architecture kernel modules"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-
-KEYWORDS="~alpha ~amd64 ~ia64 ~mips ppc ~ppc64 x86"
-IUSE="oss doc"
-
-RDEPEND="virtual/modutils
-	 ~media-sound/alsa-headers-${PV}"
-DEPEND="${RDEPEND}
-	virtual/linux-sources
-	sparc? ( >=sys-devel/autoconf-2.50 )
-	sys-apps/debianutils"
-
-PROVIDE="virtual/alsa"
-
-pkg_setup() {
-	# By default, drivers for all supported cards will be compiled.
-	# If you want to only compile for specific card(s), set ALSA_CARDS
-	# environment to a space-separated list of drivers that you want to build.
-	# For example:
-	#
-	#   env ALSA_CARDS='emu10k1 intel8x0 ens1370' emerge alsa-driver
-	#
-	ALSA_CARDS=${ALSA_CARDS:-all}
-
-	# Which drivers need PNP
-	local PNP_DRIVERS="interwave interwave-stb"
-
-	CONFIG_CHECK="SOUND"
-	SND_ERROR="ALSA is already compiled into the kernel."
-	SOUND_ERROR="Your kernel doesn't have sound support enabled."
-	SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers.  Please disable them and re-emerge alsa-driver."
-	PNP_ERROR="Some of the drivers you selected require PNP in your kernel (${PNP_DRIVERS}).  Either enable PNP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf."
-
-	if [[ "${ALSA_CARDS}" == "all" ]]; then
-
-		# Ignore PNP checks for ppc architecture, as PNP can't be enabled there.
-		if [[ ${ARCH} != "ppc" ]]; then
-			CONFIG_CHECK="${CONFIG_CHECK} PNP"
-		fi
-	else
-		for pnpdriver in ${PNP_DRIVERS}; do
-			hasq ${pnpdriver} ${ALSA_CARDS} && CONFIG_CHECK="${CONFIG_CHECK} PNP"
-		done
-	fi
-
-	linux-mod_pkg_setup
-
-	if [[ ${PROFILE_ARCH} == "sparc64" ]] ; then
-		CBUILD=${CBUILD-${CHOST}}
-		CHOST="sparc64-unknown-linux-gnu"
-	fi
-}
-
-src_unpack() {
-	unpack ${A}
-
-	cd ${S}
-
-	epatch "${FILESDIR}"/${PN}-1.0.10_rc1-include.patch
-	epatch "${FILESDIR}/${P}-ppc-unbreakage.patch"
-
-	convert_to_m ${S}/Makefile
-	sed -i -e 's:\(.*depmod\):#\1:' ${S}/Makefile
-}
-
-src_compile() {
-	# Should fix bug #46901
-	is-flag "-malign-double" && filter-flags "-fomit-frame-pointer"
-	append-flags "-I${KV_DIR}/arch/$(tc-arch-kernel)/include"
-
-	econf $(use_with oss) \
-		--with-kernel="${KV_DIR}" \
-		--with-build="${KV_OUT_DIR}" \
-		--with-isapnp=yes \
-		--with-sequencer=yes \
-		--with-cards="${ALSA_CARDS}" || die "econf failed"
-
-	# linux-mod_src_compile doesn't work well with alsa
-
-	ARCH=$(tc-arch-kernel)
-	# -j1 : see bug #71028
-	emake -j1 HOSTCC=$(tc-getBUILD_CC) CC=$(tc-getCC) || die "Make Failed"
-	ARCH=$(tc-arch)
-
-	if use doc;
-	then
-		ebegin "Building Documentation"
-		cd ${S}/scripts
-		emake || die Failed making docs in ${S}/scripts
-
-		cd ${S}/doc/DocBook
-		emake || die Failed making docs in ${S}/doc/DocBook
-		eend $?
-	fi
-}
-
-
-src_install() {
-	make DESTDIR=${D} install-modules || die "make install failed"
-
-	dodoc CARDS-STATUS FAQ README WARNING TODO
-
-	if use doc; then
-		docinto doc
-		dodoc doc/*
-		rm ${D}/usr/share/doc/${PF}/doc/Makefile.gz
-
-		docinto DocBook
-		dodoc doc/DocBook/*
-		rm ${D}/usr/share/doc/${PF}/DocBook/Makefile.gz
-
-		docinto Documentation
-		dodoc sound/Documentation/*
-	fi
-
-	if kernel_is 2 6; then
-		# mv the drivers somewhere they won't be killed by the kernel's make modules_install
-		mv ${D}/lib/modules/${KV_FULL}/kernel/sound ${D}/lib/modules/${KV_FULL}/${PN}
-		rmdir ${D}/lib/modules/${KV_FULL}/kernel &> /dev/null
-	fi
-}
-
-pkg_postinst() {
-	einfo
-	einfo "The alsasound initscript and modules.d/alsa have now moved to alsa-utils"
-	einfo
-	einfo "Also, remember that all mixer channels will be MUTED by default."
-	einfo "Use the 'alsamixer' program to unmute them."
-	einfo
-	einfo "Version 1.0.3 and above should work with version 2.6 kernels."
-	einfo "If you experience problems, please report bugs to http://bugs.gentoo.org."
-	einfo
-
-	linux-mod_pkg_postinst
-
-	einfo "Check out the ALSA installation guide availible at the following URL:"
-	einfo "http://www.gentoo.org/doc/en/alsa-guide.xml"
-
-	if kernel_is 2 6 && [ -e ${ROOT}/lib/modules/${KV_FULL}/kernel/sound ]; then
-		# Cleanup if they had older alsa installed
-		for file in $(find ${ROOT}/lib/modules/${KV_FULL}/${PN} -type f); do
-			rm -f ${file//${KV_FULL}\/${PN}/${KV_FULL}\/kernel\/sound}
-		done
-
-		for dir in $(find ${ROOT}/lib/modules/${KV_FULL}/kernel/sound -type d | tac); do
-			rmdir ${dir} &> /dev/null
-		done
-	fi
-}
diff --git a/media-sound/alsa-driver/files/alsa-driver-0.9.8-au-fix.patch b/media-sound/alsa-driver/files/alsa-driver-0.9.8-au-fix.patch
deleted file mode 100644
index daeba268271a..000000000000
--- a/media-sound/alsa-driver/files/alsa-driver-0.9.8-au-fix.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur alsa-driver-0.9.8.orig/alsa-kernel/drivers/mpu401/Makefile alsa-driver-0.9.8/alsa-kernel/drivers/mpu401/Makefile
---- alsa-driver-0.9.8.orig/alsa-kernel/drivers/mpu401/Makefile	2003-06-02 05:59:40.000000000 -0700
-+++ alsa-driver-0.9.8/alsa-kernel/drivers/mpu401/Makefile	2004-02-08 01:18:47.000000000 -0800
-@@ -41,5 +41,8 @@
- obj-$(CONFIG_SND_YMFPCI) += snd-mpu401-uart.o
- obj-$(CONFIG_SND_PC98_CS4232) += snd-mpu401-uart.o
- obj-$(CONFIG_SND_SSCAPE) += snd-mpu401-uart.o
-+obj-$(CONFIG_SND_AU8810) += snd-mpu401-uart.o
-+obj-$(CONFIG_SND_AU8820) += snd-mpu401-uart.o
-+obj-$(CONFIG_SND_AU8830) += snd-mpu401-uart.o
- 
- obj-m := $(sort $(obj-m))
-diff -Naur alsa-driver-0.9.8.orig/alsa-kernel/pci/ac97/Makefile alsa-driver-0.9.8/alsa-kernel/pci/ac97/Makefile
---- alsa-driver-0.9.8.orig/alsa-kernel/pci/ac97/Makefile	2003-06-17 11:43:31.000000000 -0700
-+++ alsa-driver-0.9.8/alsa-kernel/pci/ac97/Makefile	2004-02-08 01:17:58.000000000 -0800
-@@ -23,5 +23,8 @@
- obj-$(CONFIG_SND_NM256) += snd-ac97-codec.o
- obj-$(CONFIG_SND_TRIDENT) += snd-ac97-codec.o
- obj-$(CONFIG_SND_YMFPCI) += snd-ac97-codec.o
-+obj-$(CONFIG_SND_AU8810) += snd-ac97-codec.o
-+obj-$(CONFIG_SND_AU8820) += snd-ac97-codec.o
-+obj-$(CONFIG_SND_AU8830) += snd-ac97-codec.o
- 
- obj-m := $(sort $(obj-m))
diff --git a/media-sound/alsa-driver/files/alsa-driver-1.0.10_rc3-ppc-unbreakage.patch b/media-sound/alsa-driver/files/alsa-driver-1.0.10_rc3-ppc-unbreakage.patch
deleted file mode 100644
index 43a462a004eb..000000000000
--- a/media-sound/alsa-driver/files/alsa-driver-1.0.10_rc3-ppc-unbreakage.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-Index: alsa-driver-1.0.10rc3/sound/ppc/beep.c
-===================================================================
---- alsa-driver-1.0.10rc3.orig/sound/ppc/beep.c
-+++ alsa-driver-1.0.10rc3/sound/ppc/beep.c
-@@ -31,14 +31,14 @@
- #include "pmac.h"
- 
- struct snd_pmac_beep {
--	int running;		/* boolean */
--	int volume;		/* mixer volume: 0-100 */
-+	int running;	/* boolean */
-+	int volume;	/* mixer volume: 0-100 */
- 	int volume_play;	/* currently playing volume */
- 	int hz;
- 	int nsamples;
- 	short *buf;		/* allocated wave buffer */
- 	dma_addr_t addr;	/* physical address of buffer */
--	struct input_dev *dev;
-+	struct input_dev dev;
- };
- 
- /*
-@@ -210,55 +210,47 @@ static snd_kcontrol_new_t snd_pmac_beep_
- int __init snd_pmac_attach_beep(pmac_t *chip)
- {
- 	pmac_beep_t *beep;
--	struct input_dev *input_dev;
--	void *dmabuf;
--	int err = -ENOMEM;
--
--	beep = kzalloc(sizeof(*beep), GFP_KERNEL);
--	dmabuf = dma_alloc_coherent(&chip->pdev->dev, BEEP_BUFLEN * 4,
--				    &beep->addr, GFP_KERNEL);
--	input_dev = input_allocate_device();
--	if (!beep || !dmabuf || !input_dev)
--		goto fail;
-+	int err;
-+
-+	beep = kmalloc(sizeof(*beep), GFP_KERNEL);
-+	if (! beep)
-+		return -ENOMEM;
-+
-+	memset(beep, 0, sizeof(*beep));
-+	beep->buf = dma_alloc_coherent(&chip->pdev->dev, BEEP_BUFLEN * 4,
-+					&beep->addr, GFP_KERNEL);
-+
-+	beep->dev.evbit[0] = BIT(EV_SND);
-+	beep->dev.sndbit[0] = BIT(SND_BELL) | BIT(SND_TONE);
-+	beep->dev.event = snd_pmac_beep_event;
-+	beep->dev.private = chip;
- 
- 	/* FIXME: set more better values */
--	input_dev->name = "PowerMac Beep";
--	input_dev->phys = "powermac/beep";
--	input_dev->id.bustype = BUS_ADB;
--	input_dev->id.vendor = 0x001f;
--	input_dev->id.product = 0x0001;
--	input_dev->id.version = 0x0100;
--
--	input_dev->evbit[0] = BIT(EV_SND);
--	input_dev->sndbit[0] = BIT(SND_BELL) | BIT(SND_TONE);
--	input_dev->event = snd_pmac_beep_event;
--	input_dev->private = chip;
--	input_dev->cdev.dev = &chip->pdev->dev;
-+	beep->dev.name = "PowerMac Beep";
-+	beep->dev.phys = "powermac/beep";
-+	beep->dev.id.bustype = BUS_ADB;
-+	beep->dev.id.vendor = 0x001f;
-+	beep->dev.id.product = 0x0001;
-+	beep->dev.id.version = 0x0100;
- 
--	beep->dev = input_dev;
--	beep->buf = dmabuf;
- 	beep->volume = BEEP_VOLUME;
- 	beep->running = 0;
--
--	err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_pmac_beep_mixer, chip));
--	if (err < 0)
--		goto fail;
-+	if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_pmac_beep_mixer, chip))) < 0) {
-+		kfree(beep->buf);
-+		kfree(beep);
-+		return err;
-+	}
- 
- 	chip->beep = beep;
--	input_register_device(beep->dev);
-+	input_register_device(&beep->dev);
- 
- 	return 0;
--
-- fail:	input_free_device(input_dev);
--	kfree(dmabuf);
--	kfree(beep);
--	return err;
- }
- 
- void snd_pmac_detach_beep(pmac_t *chip)
- {
- 	if (chip->beep) {
--		input_unregister_device(chip->beep->dev);
-+		input_unregister_device(&chip->beep->dev);
- 		dma_free_coherent(&chip->pdev->dev, BEEP_BUFLEN * 4,
- 				  chip->beep->buf, chip->beep->addr);
- 		kfree(chip->beep);
diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10 b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10
deleted file mode 100644
index 5d0bc883e3c8..000000000000
--- a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e9e7c1ca664a14275d67185049f933f9 alsa-driver-1.0.10.tar.bz2 2194644
diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10-r1 b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10-r1
deleted file mode 100644
index 5d0bc883e3c8..000000000000
--- a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e9e7c1ca664a14275d67185049f933f9 alsa-driver-1.0.10.tar.bz2 2194644
diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10_rc3 b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10_rc3
deleted file mode 100644
index b87b0b3a9b6a..000000000000
--- a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10_rc3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4a5bae151a08cc0d6a6a768bf4a7207e alsa-driver-1.0.10rc3.tar.bz2 2191881
diff --git a/media-sound/alsa-driver/files/makefile.patch b/media-sound/alsa-driver/files/makefile.patch
deleted file mode 100644
index 8190cb78ea77..000000000000
--- a/media-sound/alsa-driver/files/makefile.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- Makefile.hacked	2003-05-23 11:24:05.000000000 +0100
-+++ Makefile	2003-08-05 21:19:05.809762711 +0100
-@@ -107,7 +107,7 @@
- 	mv -f snd.map1 snd.map
- 
- .PHONY: install
--install: install-modules install-headers install-scripts check-snd-prefix
-+install: install-modules install-headers check-snd-prefix
- 	@if [ -L /dev/snd ]; then \
- 		echo "The ALSA devices were removed from /proc/asound/dev directory." ; \
- 		echo "Creating static device entries in /dev/snd." ; \
-@@ -146,16 +146,6 @@
- 	-/sbin/depmod -a -b $(DESTDIR)/ $(SYSTEM_MAP_OPT) $(kaversion)
- endif
- 
--.PHONY: install-scripts
--install-scripts:
--	if [ -d $(DESTDIR)/sbin/init.d ]; then \
--	  install -m 755 -g $(IGROUP) -o $(IUSER) utils/alsasound $(DESTDIR)/sbin/init.d/alsasound; \
--	elif [ -d $(DESTDIR)/etc/rc.d/init.d ]; then \
--	  install -m 755 -g $(IGROUP) -o $(IUSER) utils/alsasound $(DESTDIR)/etc/rc.d/init.d/alsasound; \
--	elif [ -d $(DESTDIR)/etc/init.d ]; then \
--	  install -m 755 -g $(IGROUP) -o $(IUSER) utils/alsasound $(DESTDIR)/etc/init.d/alsasound; \
--	fi
--
- .PHONY: check-snd-prefix
- check-snd-prefix:
- 	@ if [ x"$(DESTDIR)" = x ]; then \
diff --git a/media-sound/alsa-firmware/ChangeLog b/media-sound/alsa-firmware/ChangeLog
index e1f55618586e..36acbc1c7795 100644
--- a/media-sound/alsa-firmware/ChangeLog
+++ b/media-sound/alsa-firmware/ChangeLog
@@ -1,6 +1,10 @@
 # ChangeLog for media-sound/alsa-firmware
 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/ChangeLog,v 1.20 2006/01/13 01:49:44 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/ChangeLog,v 1.21 2006/02/02 09:06:45 flameeyes Exp $
+
+  02 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
+  -alsa-firmware-1.0.9.ebuild:
+  Cleanup old verisons.
 
   13 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org>
   alsa-firmware-1.0.10.ebuild:
diff --git a/media-sound/alsa-firmware/alsa-firmware-1.0.9.ebuild b/media-sound/alsa-firmware/alsa-firmware-1.0.9.ebuild
deleted file mode 100644
index 4995dc8090c2..000000000000
--- a/media-sound/alsa-firmware/alsa-firmware-1.0.9.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/alsa-firmware-1.0.9.ebuild,v 1.1 2005/05/27 20:38:42 luckyduck Exp $
-
-DESCRIPTION="Advanced Linux Sound Architecture firmware"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/firmware/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE=""
-
-DEPEND=""
-
-src_compile() {
-	econf \
-		--with-hotplug-dir=/lib/firmware \
-		|| die "configure failed"
-
-	emake || die "make failed"
-}
-
-src_install () {
-	make DESTDIR="${D}" install || die "make install failed"
-	dodoc README
-}
diff --git a/media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.9 b/media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.9
deleted file mode 100644
index cb5821643872..000000000000
--- a/media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.9
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f7ce6a31691d6eb35fc155f306abc77b alsa-firmware-1.0.9.tar.bz2 1564001
diff --git a/media-sound/alsa-headers/ChangeLog b/media-sound/alsa-headers/ChangeLog
index 0df0a3e35f01..1bc573db0061 100644
--- a/media-sound/alsa-headers/ChangeLog
+++ b/media-sound/alsa-headers/ChangeLog
@@ -1,6 +1,10 @@
 # ChangeLog for media-sound/alsa-headers
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.62 2006/01/11 18:42:51 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.63 2006/02/02 09:06:48 flameeyes Exp $
+
+  02 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
+  -alsa-headers-1.0.9b.ebuild, -alsa-headers-1.0.10_rc3.ebuild:
+  Cleanup old verisons.
 
   11 Jan 2006; Jeroen Roovers <jer@gentoo.org>
   alsa-headers-1.0.11_rc2.ebuild:
diff --git a/media-sound/alsa-headers/alsa-headers-1.0.10_rc3.ebuild b/media-sound/alsa-headers/alsa-headers-1.0.10_rc3.ebuild
deleted file mode 100644
index 3daf8d14d705..000000000000
--- a/media-sound/alsa-headers/alsa-headers-1.0.10_rc3.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/alsa-headers-1.0.10_rc3.ebuild,v 1.4 2005/11/19 08:15:04 gmsoft Exp $
-
-inherit eutils
-
-MY_PN=${PN/headers/driver}
-MY_P="${MY_PN}-${PV/_rc/rc}"
-S=${WORKDIR}/${MY_P}
-MY_FILESDIR="${FILESDIR/headers/driver}"
-
-DESCRIPTION="Header files for Advanced Linux Sound Architecture kernel modules"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86"
-IUSE=""
-
-DEPEND=""
-
-# Remove the sound symlink workaround...
-pkg_setup() {
-	if [[ -L ${ROOT}/usr/include/sound ]]; then
-		rm  ${ROOT}/usr/include/sound
-	fi
-}
-
-src_unpack() {
-	unpack ${A}
-
-	cd ${S}
-	epatch ${FILESDIR}/${PN}-1.0.6a-user.patch
-}
-
-src_compile() {
-	einfo "No compilation neccessary"
-}
-
-src_install() {
-	cd ${S}/alsa-kernel/include
-	insinto /usr/include/sound
-	doins *.h || die "include failed"
-}
diff --git a/media-sound/alsa-headers/alsa-headers-1.0.9b.ebuild b/media-sound/alsa-headers/alsa-headers-1.0.9b.ebuild
deleted file mode 100644
index d3ff49de1e5f..000000000000
--- a/media-sound/alsa-headers/alsa-headers-1.0.9b.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/alsa-headers-1.0.9b.ebuild,v 1.8 2005/08/24 18:17:00 agriffis Exp $
-
-inherit eutils
-
-MY_PN=${PN/headers/driver}
-MY_P="${MY_PN}-${PV}"
-S=${WORKDIR}/${MY_P}
-MY_FILESDIR="${FILESDIR/headers/driver}"
-
-DESCRIPTION="Header files for Advanced Linux Sound Architecture kernel modules"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE=""
-
-DEPEND=""
-
-# Remove the sound symlink workaround...
-pkg_setup() {
-	if [ -L /usr/include/sound ]; then
-		rm  /usr/include/sound
-	fi
-}
-
-src_unpack() {
-	unpack ${A}
-
-	cd ${S}
-	epatch ${FILESDIR}/${PN}-1.0.6a-user.patch
-}
-
-src_compile() {
-	einfo "No compilation neccessary"
-}
-
-src_install() {
-	cd ${S}/alsa-kernel/include
-	insinto /usr/include/sound
-	doins *.h || die "include failed"
-}
diff --git a/media-sound/alsa-headers/files/digest-alsa-headers-1.0.10_rc3 b/media-sound/alsa-headers/files/digest-alsa-headers-1.0.10_rc3
deleted file mode 100644
index b87b0b3a9b6a..000000000000
--- a/media-sound/alsa-headers/files/digest-alsa-headers-1.0.10_rc3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4a5bae151a08cc0d6a6a768bf4a7207e alsa-driver-1.0.10rc3.tar.bz2 2191881
diff --git a/media-sound/alsa-headers/files/digest-alsa-headers-1.0.9b b/media-sound/alsa-headers/files/digest-alsa-headers-1.0.9b
deleted file mode 100644
index 719c2f9128a6..000000000000
--- a/media-sound/alsa-headers/files/digest-alsa-headers-1.0.9b
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8a4e056a22f5c4fa7a9ffc45eaa86cb5 alsa-driver-1.0.9b.tar.bz2 2019617
diff --git a/media-sound/alsa-tools/ChangeLog b/media-sound/alsa-tools/ChangeLog
index 3d072712a278..8ea1b1a30f5e 100644
--- a/media-sound/alsa-tools/ChangeLog
+++ b/media-sound/alsa-tools/ChangeLog
@@ -1,6 +1,10 @@
 # ChangeLog for media-sound/alsa-tools
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.92 2006/01/15 11:26:01 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.93 2006/02/02 09:07:24 flameeyes Exp $
+
+  02 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
+  -files/alsa-tools-1.0.6-gcc34.patch, -alsa-tools-1.0.8-r1.ebuild:
+  Cleanup old verisons.
 
   15 Jan 2006; Michael Hanselmann <hansmi@gentoo.org>
   alsa-tools-1.0.10.ebuild:
diff --git a/media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild
deleted file mode 100644
index 42ae5b72429a..000000000000
--- a/media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild,v 1.5 2005/04/12 07:55:43 eradicator Exp $
-
-IUSE="X"
-
-inherit gnuconfig eutils
-
-MY_P=${P/_rc/rc}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Advanced Linux Sound Architecture tools"
-HOMEPAGE="http://www.alsa-project.org"
-SRC_URI="mirror://alsaproject/tools/${P}.tar.bz2"
-
-SLOT="0.9"
-KEYWORDS="amd64 ~mips ppc ppc64 sparc x86"
-LICENSE="GPL-2"
-
-DEPEND=">=media-libs/alsa-lib-1.0.0
-	virtual/alsa
-	X? ( =x11-libs/fltk-1.1*
-	     =x11-libs/gtk+-1.2* )"
-
-# This is a list of the tools in the package.
-# Some of the tools don't make proper use of CFLAGS, even though
-# all of them seem to use autoconf.  This needs to be fixed.
-#
-# By default, all the supported tools will be compiled.
-# If you want to only compile for specific tool(s), set ALSA_TOOLS
-# environment to a space-separated list of tools that you want to build.
-# For example:
-#
-#   env ALSA_TOOLS='as10k1 ac3dec' emerge alsa-tools
-#
-if [ -z "${ALSA_TOOLS}" ]; then
-	if use X; then
-		ALSA_TOOLS="ac3dec as10k1 envy24control hdspconf hdsploader hdspmixer \
-		            mixartloader rmedigicontrol seq/sbiload sscape_ctl \
-		            us428control usx2yloader vxloader"
-	else
-		ALSA_TOOLS="ac3dec as10k1 hdsploader mixartloader seq/sbiload \
-					sscape_ctl us428control usx2yloader vxloader"
-	fi
-
-	# sb16_csp won't build on ppc64 _AND_ ppc (and is not needed)
-	if  use !ppc64 && use !ppc; then
-		ALSA_TOOLS="${ALSA_TOOLS} sb16_csp"
-	fi
-
-fi
-
-src_unpack() {
-	unpack ${A}
-	cd ${S}
-	epatch ${FILESDIR}/${PN}-1.0.6-gcc34.patch
-	gnuconfig_update
-}
-
-src_compile() {
-	# hdspmixer requires fltk
-	export LDFLAGS="-L/usr/$(get_libdir)/fltk-1.1"
-	export CPPFLAGS="-I/usr/include/fltk-1.1"
-
-	# hdspmixer is missing depconf - copy from the hdsploader directory
-	cp ${S}/hdsploader/depcomp ${S}/hdspmixer/
-
-	local f
-	for f in ${ALSA_TOOLS}
-	do
-		cd "${S}/${f}"
-		econf --with-kernel="${KV}" || die "configure failed"
-		make || die "make failed"
-	done
-}
-
-src_install() {
-	local f
-	for f in ${ALSA_TOOLS}
-	do
-		# Install the main stuff
-		cd "${S}/${f}"
-		make DESTDIR="${D}" install || die
-
-		# Install the text documentation
-		local doc
-		for doc in README TODO ChangeLog AUTHORS
-		do
-			if [ -f "${doc}" ]
-			then
-			mv "${doc}" "${doc}.`basename ${f}`"
-			dodoc "${doc}.`basename ${f}`"
-			fi
-		done
-	done
-}
diff --git a/media-sound/alsa-tools/files/alsa-tools-1.0.6-gcc34.patch b/media-sound/alsa-tools/files/alsa-tools-1.0.6-gcc34.patch
deleted file mode 100644
index f01687e7cf90..000000000000
--- a/media-sound/alsa-tools/files/alsa-tools-1.0.6-gcc34.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN alsa-tools-1.0.6~/as10k1/as10k1.c alsa-tools-1.0.6/as10k1/as10k1.c
---- alsa-tools-1.0.6~/as10k1/as10k1.c	2003-07-15 20:33:59.000000000 +0200
-+++ alsa-tools-1.0.6/as10k1/as10k1.c	2004-08-23 23:01:02.489972288 +0200
-@@ -159,6 +159,7 @@
- 
- 		}
- next_cli_arg:
-+		;
- 
- 	}
- }
diff --git a/media-sound/alsa-tools/files/digest-alsa-tools-1.0.8-r1 b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.8-r1
deleted file mode 100644
index 2c281da05b12..000000000000
--- a/media-sound/alsa-tools/files/digest-alsa-tools-1.0.8-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 cf51eccd14e818a9f0be455cedcd52ff alsa-tools-1.0.8.tar.bz2 821235
-- 
cgit v1.2.3-65-gdbad