[Pkg-alsa-devel] Bug#254359: Please use 'alsa' consistent rather than 'alsa-base'

Thomas Hood Thomas Hood <jdthood@yahoo.co.uk>, 254359@bugs.debian.org
Mon, 14 Jun 2004 14:38:23 +0200


Package: alsa-base
Version: 1.0.5a-1
Severity: minor

Insofar as a file relates to alsa packaging it's reasonable to call
it after a particular package but insofar as it configures the ALSA
system (and happens to be in the alsa-base package) it should be
called 'alsa'.

The files in /etc/modutils and /etc/modprobe.d that configure the
module loaders for ALSA should have the name 'alsa', just like the
initscript and several other files related to the ALSA system.
Likewise /etc/hotplug/blacklist.d/alsa-base should be
/etc/hotplug/blacklist.d/alsa.

There is a file /usr/share/alsa-base/alsa-base.conf which seems to
be used as a template for creating /etc/default/alsa.  Presumably
it should be called something like '/usr/share/alsa-base/default/alsa'
or something along those lines.

Configuration files (including conffiles) can be renamed in the preinst
using the following procedure:

    if [ -f file-under-old-name ] ; then
        if [ -f file-under-new-name ] ; then
	    mv file-under-old-name file-under-old-name.dpkg-old
	else
	    mv file-under-old-name file-under-new-name
	fi
    fi

The alsa-base package also includes a /var/lib/alsa-base directory
which should be removed.  The alsa-utils package includes an 
(appropriately named) /var/lib/alsa directory.  If alsa-base needs
to keep records somewhere then it should also use /var/lib/alsa/.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro

Versions of packages alsa-base depends on:
ii  alsa-utils                   1.0.5-1     Advanced Linux Sound Architecture 
ii  debconf                      1.4.28      Debian configuration management sy
ii  debianutils                  2.8.2       Miscellaneous utilities specific t
ii  module-init-tools            3.0-pre10-4 tools for managing Linux kernel mo
ii  modutils                     2.4.26-1    Linux module utilities
ii  psmisc                       21.5-1      Utilities that use the proc filesy

-- debconf information:
* alsa-base/alsactl_store_on_shutdown: autosave always