[Pkg-alsa-devel] [Debian ALSA CVS] debian/alsa-utils/debian (13 files)
David B Harris
dbharris-guest@quantz.debian.org
Mon, 09 Feb 2004 00:14:34 +0100
Date: Monday, February 9, 2004 @ 00:14:34
Author: dbharris-guest
Path: /cvsroot/pkg-alsa/debian/alsa-utils/debian
Added: changelog compat control copyright dirs docs links menu
patches/00list patches/90_debian_alsaconf.dpatch postrm rules
watch
Added debian changes for version 1.0.1-1.
-----------------------------------+
changelog | 414 ++++++++++++++++++++++++++++++++++++
compat | 1
control | 21 +
copyright | 15 +
dirs | 3
docs | 5
links | 2
menu | 5
patches/00list | 1
patches/90_debian_alsaconf.dpatch | 92 ++++++++
postrm | 7
rules | 85 +++++++
watch | 1
13 files changed, 652 insertions(+)
Index: debian/alsa-utils/debian/changelog
diff -u /dev/null debian/alsa-utils/debian/changelog:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/changelog Mon Feb 9 00:14:34 2004
@@ -0,0 +1,414 @@
+alsa-utils (1.0.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Steve Kowalik:
+ + dpatch-ify this package.
+ * David B Harris:
+ + Migrate alsaconf binary package (from source package alsa-driver) to
+ this binary package, alsa-utils. Upstream folks have moved it. This was
+ the sane place for it anyways.
+ debian/control:
+ - Add alsa-utils Conflicts/Replaces/Provides alsaconf
+ - Add alsa-utils Conflicts with alsaconf-0.4, alsa-base-0.4
+ - Add alsa-utils Depends: dialog | whiptail, modutils (>= 2.3.5-1)
+ - Add debian/patches/90_debian_alsaconf.dpatch, based on the one from
+ alsa-driver
+ - Add debian/menu for alsaconf, copied directly from alsa-driver
+ + debian/rules (binary-arch): Depend on patch-stamp instead of patch
+
+ -- Jordi Mallach <jordi@sindominio.net> Mon, 26 Jan 2004 14:55:08 +0100
+
+alsa-utils (0.9.8-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Jordi Mallach <jordi@debian.org> Fri, 14 Nov 2003 13:16:02 +0100
+
+alsa-utils (0.9.6-1) unstable; urgency=low
+
+ * New upstream release.
+ * David B. Harris:
+ + Import new upstream version to our CVS tree.
+
+ -- David B Harris <david@eelf.ddts.net> Tue, 26 Aug 2003 14:39:49 +0200
+
+alsa-utils (0.9.4-1) unstable; urgency=low
+
+ * David B. Harris:
+ + imported new upstream release.
+
+ -- Jordi Mallach <jordi@debian.org> Fri, 13 Jun 2003 13:21:14 +0200
+
+alsa-utils (0.9.3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Jordi Mallach <jordi@debian.org> Sat, 10 May 2003 19:21:56 +0200
+
+alsa-utils (0.9.2-2) unstable; urgency=low
+
+ * Steve Kowalik
+ - Rebuilt on a known-good installation.
+
+ -- Steve Kowalik <stevenk@debian.org> Mon, 31 Mar 2003 00:22:07 +1000
+
+alsa-utils (0.9.2-1) unstable; urgency=low
+
+ * David B Harris:
+ - New upstream release.
+ * Jordi Mallach:
+ - bump dependencies to 0.9.2.
+
+ -- Jordi Mallach <jordi@debian.org> Fri, 28 Mar 2003 23:45:06 +0100
+
+alsa-utils (0.9.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Jordi Mallach:
+ - debian/control:
+ + bump dependencies to 0.9.1.
+ + Standards-Version: 3.5.9.0 (no changes).
+
+ -- Jordi Mallach <jordi@debian.org> Fri, 14 Mar 2003 17:00:00 +0100
+
+alsa-utils (0.9.0rc8a-1) unstable; urgency=low
+
+ * New upstream release.
+ + aplay segfaults should be fixed in this version, according to upstream
+ (closes: #177522).
+ + alsamixer should not fail anymore with ALI5451 South Bridge
+ (closes: #174690).
+ * debian/control: bump dependencies to 0.9.0rc8.
+
+ -- Jordi Mallach <jordi@debian.org> Tue, 11 Mar 2003 12:53:33 +0100
+
+alsa-utils (0.9.0rc7-2) unstable; urgency=low
+
+ * debian/control:
+ + add David B. Harris <david@eelf.ddts.net> to Uploaders,
+ remove Martin Loschwitz.
+ + Sync maintainer name with alsa-driver and alsa-lib.
+ + Standards-Version: 3.5.8.0 (no changes).
+ * debian/copyright: update maintainer names.
+ * debian/docs: add more documentation.
+ * debian/rules: build cleanups.
+ * debian/compat: use debhelper compatibility 4.
+ * The following are patches from David B. Harris:
+ * alsamixer/alsamixer.c:
+ + hide terminal cursor (closes: #81169).
+ + add "Press Escape to quit" message to titlebar (closes: #178393).
+ * aplay/aplay.c: Ensure that if both -l and -L are processed if
+ both are provided (closes: #177521).
+ * amixer/amixer.c: remove trailing white spaces from program output
+ (closes: #177518).
+
+ -- Jordi Mallach <jordi@debian.org> Sun, 23 Feb 2003 03:43:16 -0500
+
+alsa-utils (0.9.0rc7-1) unstable; urgency=low
+
+ * New upstream release.
+ * Daniel Kobras' aplay patch has been accepted upstream; removed.
+ * debian/control:
+ + change maintainer to "Debian Alsa Psychos
+ <debian-alsa@lists.wedontsleep.org>", add Martin to Uploaders:.
+ + bump Build-Depend on libasound-dev to (>= 0.9.0rc7-1).
+ + bump alsa-base Dependency to (>= 0.9.0rc7-1).
+
+ -- Jordi Mallach <jordi@debian.org> Mon, 3 Feb 2003 03:57:44 +0100
+
+alsa-utils (0.9.0rc6-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control:
+ + new Maintainers, Martin Loschwitz <madkiss@madkiss.org>,
+ Jordi Mallach <jordi@debian.org> and Steve Kowalik <stevenk@debian.org>.
+ + Build-Depend on autotools-dev and bump libasound2-dev to (>= 0.9.0rc6).
+ + bump alsa-base dependency to 0.9.0rc6.
+ * debian/copyright: add more packaging history and reword copyright terms.
+ * debian/rules: replace config.{guess,sub} with symlinks to those provided
+ by autotools and remove them on clean.
+ * Maintainer upload, ack NMU's (closes: #100519, #124127, #70198, #98718,
+ closes: #119986, #125802, #131165, #131875, #139318, #148323, #159822).
+
+ -- Jordi Mallach <jordi@debian.org> Tue, 10 Dec 2002 17:13:01 +0100
+
+alsa-utils (0.9.0rc5-0.2) unstable; urgency=low
+
+ * Non-Maintainer Upload.
+ * debian/control: bump Build-Depends to libasound2-dev (>= 0.9.0rc5-0.2).
+
+ -- Jordi Mallach <jordi@debian.org> Wed, 30 Oct 2002 22:58:13 +0100
+
+alsa-utils (0.9.0rc5-0.1) unstable; urgency=low
+
+ * Non-Maintainer Upload.
+ * New upstream release.
+ * debian/changelog: removed local emacs variables.
+ * debian/control: bump alsa-base dependency to 0.9.0rc5.
+ * debian/rules:
+ + run "make distclean" instead of "make clean" when cleaning.
+ + remove "version" on clean.
+ + disable config.{guess,sub} autoupdate code. These aren't used in the
+ original sources.
+
+ -- Jordi Mallach <jordi@debian.org> Wed, 30 Oct 2002 19:03:06 +0100
+
+alsa-utils (0.9.0rc3-0.3) unstable; urgency=low
+
+ * Rebuild against the latest libasound2-dev.
+ * debian/control: build-dep on libasound2-dev (>= 0.9.0rc3-0.3).
+
+ -- Jordi Mallach <jordi@debian.org> Tue, 15 Oct 2002 19:43:16 +0200
+
+alsa-utils (0.9.0rc3-0.2) unstable; urgency=low
+
+ * Non-Maintainer Upload.
+ * debian/control: Build-Depend on versioned debhelper (>= 4.0.0).
+ * debian/rules:
+ + support DEB_BUILD_OPTIONS "noopt", drop "debug".
+ + use DH_COMPAT=4.
+ * Bas Zoetekouw reports that rc1 works for his EMU10K1 card
+ (closes: #100519).
+ * aplay.1/arecord.1 manpages seem to be up to date (closes: #98718).
+ * Build-Depends were added long ago (closes: #70198).
+ * alsa-utils and alsa-base versions are synced in both stable and unstable.
+ alsa-utils also now depends on the same version of alsa-base, so hopefully
+ this won't happen again (closes: #119986).
+ * aplay/aplay.c: patch from Daniel Kobras which fixes generation of buggy
+ wav files (closes: #131875).
+
+ -- Jordi Mallach <jordi@debian.org> Sun, 22 Sep 2002 18:24:19 +0200
+
+alsa-utils (0.9.0rc3-0.1) unstable; urgency=low
+
+ * Non-Maintainer Upload. Most of the work was done by
+ Bastian Kleineidam <calvin@debian.org>.
+ * New upstream release (closes: #139318).
+ * Standards-Version: 3.5.6.1.
+ * Use absolute filenames in dh_link (closes: #148323).
+ * Testing/stable versions are consistent (closes: #124127).
+ * Update dependencies version of alsa-base to rc3.
+ * Add arecord symlinks in debian/links.
+ * Conflict with alsa-utils-0.5.
+
+ -- Jordi Mallach <jordi@debian.org> Sun, 08 Sep 2002 17:48:12 +0200
+
+alsa-utils (0.9.0rc1-1) unstable; urgency=low
+
+ * New upstream release
+ * Standards-Version: 3.5.6.0
+
+ -- Masato Taruishi <taru@debian.org> Mon, 13 May 2002 00:51:01 +0900
+
+alsa-utils (0.9.0beta12-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Masato Taruishi <taru@debian.org> Wed, 3 Apr 2002 14:58:38 +0900
+
+alsa-utils (0.9.0beta10a-2) unstable; urgency=low
+
+ * Added alsactl symlink (closes: #124321).
+
+ -- Masato Taruishi <taru@debian.org> Mon, 17 Dec 2001 19:55:38 +0900
+
+alsa-utils (0.9.0beta10a-1) unstable; urgency=low
+
+ * New upstream release
+ * Used new alsa-base's version select framework.
+
+ -- Masato Taruishi <taru@debian.org> Sat, 15 Dec 2001 13:03:17 +0900
+
+alsa-utils (0.9.0beta9-1) unstable; urgency=low
+
+ * New upstream release
+ * Removed invocation of automake and autoconf (closes: #115166).
+
+ -- Masato Taruishi <taru@debian.org> Tue, 27 Nov 2001 04:23:06 +0900
+
+alsa-utils (0.9.0beta7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Masato Taruishi <taru@debian.org> Thu, 6 Sep 2001 16:34:26 +0900
+
+alsa-utils (0.9.0beta4-1) unstable; urgency=low
+
+ * New upstream release (closes: #97753, #97761)
+
+ -- Masato Taruishi <taru@debian.org> Thu, 17 May 2001 19:06:01 +0900
+
+alsa-utils (0.9.0beta3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Masato Taruishi <taru@debian.org> Sun, 13 May 2001 14:17:24 +0900
+
+alsa-utils (0.5.9b-2) unstable; urgency=low
+
+ * Priority now optional.
+
+ -- Masato Taruishi <taru@debian.org> Mon, 4 Dec 2000 21:23:10 +0900
+
+alsa-utils (0.5.9b-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Masato Taruishi <taru@debian.org> Fri, 6 Oct 2000 00:37:40 +0900
+
+alsa-utils (0.5.9-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Masato Taruishi <taru@debian.org> Thu, 17 Aug 2000 12:20:29 +0900
+
+alsa-utils (0.5.8-1) unstable; urgency=low
+
+ * new upstream release.
+
+ -- Masato Taruishi <taru@debian.org> Tue, 6 Jun 2000 22:22:32 +0900
+
+alsa-utils (0.5.7-3) unstable; urgency=low
+
+ * Added Build-Depends: libasound1-dev and more. (closes: #63570)
+
+ -- Masato Taruishi <taru@debian.org> Sat, 6 May 2000 01:31:30 +0900
+
+alsa-utils (0.5.7-2) unstable; urgency=low
+
+ * Added alsautils to install alsa-utils automatically if
+ an old alsautils installed.
+
+ -- Masato Taruishi <taru@debian.org> Mon, 10 Apr 2000 01:37:57 +0900
+
+alsa-utils (0.5.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Masato Taruishi <taru@debian.org> Fri, 7 Apr 2000 17:28:40 +0900
+
+alsa-utils (0.5.6-2) unstable; urgency=low
+
+ * Fixed debian/copyright.
+
+ -- Masato Taruishi <taru@debian.org> Wed, 15 Mar 2000 01:00:56 +0900
+
+alsa-utils (0.5.6-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Masato Taruishi <taru@debian.org> Sun, 12 Mar 2000 01:42:26 +0900
+
+alsa-utils (0.5.5-2) unstable; urgency=low
+
+ * Removed version name from this source name.
+
+ -- Masato Taruishi <taru@debian.org> Sat, 11 Mar 2000 04:50:41 +0900
+
+alsa-utils-0.5 (0.5.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Masato Taruishi <taru@debian.org> Sat, 4 Mar 2000 06:49:25 +0900
+
+alsa-utils-0.5 (0.5.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Masato Taruishi <taru@debian.org> Tue, 29 Feb 2000 18:56:42 +0900
+
+alsa-utils-0.5 (0.5.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Changed source name.
+
+ -- Masato Taruishi <taru@debian.org> Fri, 18 Feb 2000 00:26:34 +0900
+
+alsautils (0.4.1-5) unstable; urgency=low
+
+ * Fixed wrong command name. (Closes: #49577)
+
+ -- Masato Taruishi <taru@debian.org> Tue, 9 Nov 1999 02:25:02 +0900
+
+alsautils (0.4.1-4) unstable; urgency=low
+
+ * Changed the hard coding config_read dir. Note that this is a
+ temporary solution. (Closes: #49116)
+
+ -- Masato Taruishi <taru@debian.org> Fri, 5 Nov 1999 00:29:54 +0900
+
+alsautils (0.4.1-3) unstable; urgency=low
+
+ * Rebuild with new libasound0.4 with new shlibs info. (Closes: #48158, #48226, #48227)
+
+ -- Masato Taruishi <taru@debian.org> Mon, 25 Oct 1999 21:42:01 +0900
+
+alsautils (0.4.1-2) unstable; urgency=low
+
+ * New upstream release.
+ * Changed the maintainer.
+ * Comment out xpm file entries in /etc/xamixer.conf. (Closes #45368)
+
+ -- Masato Taruishi <taru@debian.org> Sun, 17 Oct 1999 05:16:38 +0900
+
+alsautils (0.3.2-1) unstable; urgency=low
+
+ * New upstream version. Compiled with new alsalib (0.3.2)
+
+ -- David Huggins-Daines <dhd@debian.org> Fri, 18 Jun 1999 15:09:10 -0400
+
+alsautils (0.3.0-pre3-1) unstable; urgency=low
+
+ * New upstream version
+ * Compiled with alsalib 0.3.0-pre3a
+ * Cleanup debian/rules
+ * Change priority to extra
+
+ -- Wichert Akkerman <wakkerma@debian.org> Wed, 3 Feb 1999 00:45:43 +0100
+
+alsautils (0.0.7-2) unstable; urgency=low
+
+ * Recompiled with new alsalib (0.3.0)
+
+ -- Wichert Akkerman <wakkerma@debian.org> Sat, 23 Jan 1999 21:15:53 +0100
+
+alsautils (0.0.7-1) unstable; urgency=low
+
+ * New upstream version
+ * Fix a couple of lintian errors & warnings
+
+ -- Wichert Akkerman <wakkerma@debian.org> Sun, 15 Nov 1998 02:32:50 +0100
+
+alsautils (0.0.6-2) frozen unstable; urgency=low
+
+ * Recompiled with ncurses4
+
+ -- Wichert Akkerman <wakkerma@debian.org> Mon, 2 Nov 1998 15:47:37 +0100
+
+alsautils (0.0.6-1) unstable; urgency=low
+
+ * New upstream version
+ * Suggest alsadriver
+
+ -- Wichert Akkerman <wakkerma@debian.org> Wed, 16 Sep 1998 03:01:48 +0200
+
+alsautils (0.0.4-1) unstable; urgency=low
+
+ * New upstream version
+ * Don't include init-file, that's for alsadriver
+ * Call dh_undocumented for all binaries
+ * Fix clean-target of aplay-makefile
+
+ -- Wichert Akkerman <wakkerma@debian.org> Fri, 3 Jul 1998 00:13:03 +0200
+
+alsautils (0.0.3-2) unstable; urgency=low
+
+ * Forgot to include original source.
+
+ -- Wichert Akkerman <wakkerma@debian.org> Tue, 9 Jun 1998 21:34:31 +0200
+
+alsautils (0.0.3-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Wichert Akkerman <wakkerma@debian.org> Sun, 7 Jun 1998 16:53:01 +0200
Index: debian/alsa-utils/debian/compat
diff -u /dev/null debian/alsa-utils/debian/compat:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/compat Mon Feb 9 00:14:34 2004
@@ -0,0 +1 @@
+4
Index: debian/alsa-utils/debian/control
diff -u /dev/null debian/alsa-utils/debian/control:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/control Mon Feb 9 00:14:34 2004
@@ -0,0 +1,21 @@
+Source: alsa-utils
+Section: sound
+Priority: optional
+Maintainer: Debian-Alsa Psychos <pkg-alsa-devel@lists.alioth.debian.org>
+Uploaders: Jordi Mallach <jordi@debian.org>, Steve Kowalik <stevenk@debian.org>, David B. Harris <david@eelf.ddts.net>
+Build-Depends: debhelper (>= 4.0.0), libasound2-dev (>= 0.9.8-1.0.0rc2-1), libncurses5-dev, autotools-dev, dpatch
+Standards-Version: 3.5.9.0
+
+Package: alsa-utils
+Architecture: any
+Suggests: alsadriver
+Depends: ${shlibs:Depends}, dialog | whiptail, modutils (>= 2.3.5-1), alsa-base (>= 0.9.2-1)
+Provides: alsautils, alsaconf
+Conflicts: alsautils (<< 0.5), alsa-utils-0.5, alsaconf, alsa-base-0.4, alsaconf-0.4
+Replaces: alsautils, alsaconf
+Description: Advanced Linux Sound Architecture (utils)
+ ALSA is an effort to create a modules sound system for Linux,
+ while maintaining full compatibility with OSS/Lite.
+ .
+ This package contains the utilities needed to configure and use the
+ ALSA system.
Index: debian/alsa-utils/debian/copyright
diff -u /dev/null debian/alsa-utils/debian/copyright:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/copyright Mon Feb 9 00:14:34 2004
@@ -0,0 +1,15 @@
+This package was debianized by Wichert Akkerman <wakkerma@debian.org> on
+Sun, 7 Jun 1998 16:55:07 +0200
+Masato Taruishi took over on Sun, 17 Oct 1999 05:16:38 +0900.
+Since Sun, 08 Sep 2002 17:48:12 +0200, it's maintained by "The ALSA psychos",
+also known as Jordi Mallach <jordi@debian.org>,
+Steve Kowalik <stevenk@debian.org> and David B. Harris <david@eelf.ddts.net>.
+
+It was downloaded from the ALSA homepage at http://www.alsa-project.org/
+
+Upstream author: Jarsolav Kysela <perex@suse.cz> and others.
+
+Copyright:
+Alsa-utils is licensed under the terms of the GNU General Public License.
+On Debian systems, the complete text of the GNU GPL can be found in the
+/usr/share/common-licenses/GPL file.
Index: debian/alsa-utils/debian/dirs
diff -u /dev/null debian/alsa-utils/debian/dirs:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/dirs Mon Feb 9 00:14:34 2004
@@ -0,0 +1,3 @@
+etc/alsa/0.9
+usr/share/alsa-base
+usr/sbin
Index: debian/alsa-utils/debian/docs
diff -u /dev/null debian/alsa-utils/debian/docs:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/docs Mon Feb 9 00:14:34 2004
@@ -0,0 +1,5 @@
+README
+TODO
+patch-stamp
+seq/aconnect/README.aconnect
+seq/aseqnet/README.aseqnet
Index: debian/alsa-utils/debian/links
diff -u /dev/null debian/alsa-utils/debian/links:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/links Mon Feb 9 00:14:34 2004
@@ -0,0 +1,2 @@
+/usr/bin/aplay /usr/bin/arecord
+/usr/share/man/man1/aplay.1.gz /usr/share/man/man1/arecord.1.gz
Index: debian/alsa-utils/debian/menu
diff -u /dev/null debian/alsa-utils/debian/menu:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/menu Mon Feb 9 00:14:34 2004
@@ -0,0 +1,5 @@
+?package(alsaconf):needs="text" section="Apps/System/Admin" \
+ title="alsaconf" \
+ longtitle="ALSA configuration tool" \
+ description="Configure your soundcards for the ALSA system" \
+ command="su-to-root -p root -c /usr/sbin/alsaconf"
Index: debian/alsa-utils/debian/patches/00list
diff -u /dev/null debian/alsa-utils/debian/patches/00list:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/patches/00list Mon Feb 9 00:14:34 2004
@@ -0,0 +1 @@
+90_debian_alsaconf
Index: debian/alsa-utils/debian/patches/90_debian_alsaconf.dpatch
diff -u /dev/null debian/alsa-utils/debian/patches/90_debian_alsaconf.dpatch:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/patches/90_debian_alsaconf.dpatch Mon Feb 9 00:14:34 2004
@@ -0,0 +1,100 @@
+#!/bin/sh -e
+## 80_debian_alsaconf.dpatch by David B Harris <david@eelf.ddts.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Set Debian-specific GID and permissions for ALSA devices.
+## DP: Use hardcoded paths for lspci and lsmod
+
+
+if [ $# -ne 1 ]; then
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+case "$1" in
+ -patch) patch $patch_opts -p1 < $0;;
+ -unpatch) patch $patch_opts -p1 -R < $0;;
+ *)
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+diff -urNad /home/dbharris/source/debian/alsa-utils/alsaconf/alsaconf.in alsa-utils/alsaconf/alsaconf.in
+--- /home/dbharris/source/debian/alsa-utils/alsaconf/alsaconf.in 2003-12-05 08:13:00.000000000 -0500
++++ alsa-utils/alsaconf/alsaconf.in 2003-12-25 12:43:32.000000000 -0500
+@@ -34,13 +34,6 @@
+ distribution="unknown"
+ fi
+
+-for prog in lspci lsmod; do
+- for path in /sbin /usr/sbin /bin /usr/bin;do
+- [[ -x $path/$prog ]] && eval $prog=$path/$prog
+- done
+-done
+-unset prog path
+-
+ usage() {
+ echo "ALSA configurator version $version"
+ echo "usage: alsaconf [options]"
+@@ -68,8 +61,8 @@
+ use_modinfo_db=0
+ do_logging=0
+ alsa_uid=0
+-alsa_gid=0
+-alsa_mode=0666
++alsa_gid=29
++alsa_mode=0660
+ legacy_probe_card=""
+ LOGFILE="/tmp/alsaconf.log"
+ TESTSOUND="@TESTSOUND@"
+@@ -485,7 +478,7 @@
+ /^[<literal space><literal tab>]*PCI: /{
+ gsub(/0x/, "");
+ gsub(/=/, ":");
+- x = sprintf ("'$lspci' -n 2>/dev/null| grep '"'Class 0401'"' | grep %s", $2);
++ x = sprintf ("'/usr/bin/lspci' -n | grep '"'Class 0401'"' | grep %s", $2);
+ if (system (x) == 0)
+ printf "%s %s\n", $2, driver >>"'"$FOUND"'"
+ }
+@@ -516,7 +509,7 @@
+ #
+ find_device_name () {
+ if expr "$1" : '[0-9a-f][0-9a-f][0-9a-f][0-9a-f]:[0-9a-f][0-9a-f][0-9a-f][0-9a-f]' >/dev/null; then
+- $lspci -d $1 2>/dev/null| sed -e 's/^.*:..\.. Multimedia audio controller: //g'
++ /usr/bin/lspci -d $1 2>/dev/null| sed -e 's/^.*:..\.. Multimedia audio controller: //g'
+ return
+ elif expr "$1" : '[A-Z@][A-Z@][A-Z@][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' >/dev/null; then
+ cardname=`grep '^Card [0-9]\+ '\'$1':' $DUMP | head -n 1 | sed -e 's/^Card [0-9]\+ '\''.*:\(.*\)'\'' .*$/\1/'`
+@@ -683,7 +676,7 @@
+ ac_try_load () {
+ test $do_logging = 1 && echo "$1 ${*:2}" >> $LOGFILE
+ /sbin/modprobe snd-$1 ${*:2} >/dev/null 2>&1
+- $lsmod | grep -E '(snd-|snd_)'$1 >/dev/null 2>&1 || return 1
++ /bin/lsmod | grep -E '(snd-|snd_)'$1 >/dev/null 2>&1 || return 1
+
+ # mute mixers
+ amixer set Master 0% mute >/dev/null 2>&1
+@@ -717,7 +710,7 @@
+ ac_try_capture () {
+ test $do_logging = 1 && echo "$1 ${*:2}" >> $LOGFILE
+ /sbin/modprobe snd-$1 ${*:3} >/dev/null 2>&1
+- $lsmod | grep -E '(snd-|snd_)'$1 >/dev/null 2>&1 || return 1
++ /bin/lsmod | grep -E '(snd-|snd_)'$1 >/dev/null 2>&1 || return 1
+
+ # mute mixers
+ amixer set Master 0% mute >/dev/null 2>&1
+@@ -1068,7 +1061,7 @@
+ # check for TP600E
+ #
+ if [ ${devs_found[0]} = cs46xx ]; then
+- if $lspci -nv 2>/dev/null| grep -q "Subsystem: 1014:1010"; then
++ if /usr/bin/lspci -nv 2>/dev/null| grep -q "Subsystem: 1014:1010"; then
+ if $DIALOG --yesno "
+ Looks like you having a Thinkpad 600E or 770 notebook.
+ On this notebook, CS4236 driver should be used
Index: debian/alsa-utils/debian/postrm
diff -u /dev/null debian/alsa-utils/debian/postrm:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/postrm Mon Feb 9 00:14:34 2004
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = "purge" ]; then
+ rm -f /etc/alsa/0.9/asound.conf
+fi
+
+#DEBHELPER#
Index: debian/alsa-utils/debian/rules
diff -u /dev/null debian/alsa-utils/debian/rules:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/rules Mon Feb 9 00:14:34 2004
@@ -0,0 +1,85 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+CFLAGS = -Wall -g
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+
+ -rm -f config.sub config.guess
+ ln -s /usr/share/misc/config.sub config.sub
+ ln -s /usr/share/misc/config.guess config.guess
+
+ ./configure --prefix=/usr \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --sysconfdir=/etc/alsa/0.9/
+
+ touch configure-stamp
+
+build: patch-stamp configure-stamp build-stamp
+build-stamp:
+ $(MAKE) CFLAGS='$(CFLAGS)'
+ touch build-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_clean
+
+ -$(MAKE) distclean
+ -rm -f version
+
+ -rm -f configure-stamp build-stamp
+ -rm -f config.cache config.log config.status Makefile.conf
+ -rm -f config.sub config.guess
+
+ -rm -f aplay/arecord
+
+
+install: DH_OPTIONS=
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/alsa-utils
+
+
+binary-indep:
+binary-arch: patch-stamp build install
+ dh_testdir
+ dh_testroot
+ dh_installdirs
+ dh_link
+ dh_installdocs
+ mv debian/alsa-utils/usr/share/doc/alsa-utils/patch-stamp debian/alsa-utils/usr/share/doc/alsa-utils/PATCHES
+ cp alsamixer/README debian/alsa-utils/usr/share/doc/alsa-utils/README.alsamixer
+ dh_installchangelogs ChangeLog
+ dh_installmenu
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary binary-arch binary-indep install configure
Index: debian/alsa-utils/debian/watch
diff -u /dev/null debian/alsa-utils/debian/watch:1.1
--- /dev/null Mon Feb 9 00:14:35 2004
+++ debian/alsa-utils/debian/watch Mon Feb 9 00:14:34 2004
@@ -0,0 +1 @@
+ftp://ftp.alsa-project.org /pub/utils/ alsa-utils-(.*).tar.bz2 debian uupdate