[Pkg-alsa-devel] Bug#254622: marked as done (XSIisms in /etc/init.d/alsa; 10.4)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 14 Aug 2004 19:48:13 -0700


Your message dated Sat, 14 Aug 2004 22:32:07 -0400
with message-id <E1BwAoZ-0006vY-00@newraff.debian.org>
and subject line Bug#254622: fixed in alsa-driver 1.0.5a-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Jun 2004 22:35:17 +0000
>From schizo@debian.org Tue Jun 15 15:35:17 2004
Return-path: <schizo@debian.org>
Received: from acolyte.scowler.net [216.254.112.45] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BaMWT-0007qP-00; Tue, 15 Jun 2004 15:35:17 -0700
Received: from localhost (localhost [127.0.0.1])
	by acolyte.scowler.net (Postfix) with ESMTP id 9D9AD70053;
	Tue, 15 Jun 2004 18:35:16 -0400 (EDT)
Received: from acolyte.scowler.net ([127.0.0.1])
	by localhost (acolyte [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 16313-01-2; Tue, 15 Jun 2004 18:35:16 -0400 (EDT)
Received: by acolyte.scowler.net (Postfix, from userid 1000)
	id 5180B70050; Tue, 15 Jun 2004 18:35:16 -0400 (EDT)
Date: Tue, 15 Jun 2004 18:35:16 -0400
From: Clint Adams <schizo@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: XSIisms in /etc/init.d/alsa; 10.4
Message-ID: <20040615223516.GA16341@scowler.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 2.61
User-Agent: Mutt/1.5.5.1+cvs20040105i
X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at scowler.net
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: alsa-base
Version: 1.0.5a-1

The use of -a as a binary operator to [ violates Policy 10.4.

This fixes it.


--- /etc/init.d/alsa	2004-05-02 06:49:37.000000000 -0400
+++ /tmp/alsa	2004-06-15 18:33:18.000000000 -0400
@@ -4,7 +4,8 @@
 
 PATH=/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin
 
-if [ "$(id -u)" != "0" -a "$1" != "--help" -a "$1" != "help" -a ! -z "$1" ]; then
+if [ "$(id -u)" != "0" ] && [ "$1" != "--help" ] &&
+   [ "$1" != "help" ] && [ ! -z "$1" ]; then
     echo "$0: To $1 ALSA, you must be root."
     exit 1
 fi

---------------------------------------
Received: (at 254622-close) by bugs.debian.org; 15 Aug 2004 02:38:51 +0000
>From katie@ftp-master.debian.org Sat Aug 14 19:38:51 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BwAv4-0004lJ-00; Sat, 14 Aug 2004 19:38:50 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BwAoZ-0006vY-00; Sat, 14 Aug 2004 22:32:07 -0400
From: Steve Kowalik <stevenk@debian.org>
To: 254622-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#254622: fixed in alsa-driver 1.0.5a-2
Message-Id: <E1BwAoZ-0006vY-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 14 Aug 2004 22:32:07 -0400
Delivered-To: 254622-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 9

Source: alsa-driver
Source-Version: 1.0.5a-2

We believe that the bug you reported is fixed in the latest version of
alsa-driver, which is due to be installed in the Debian FTP archive:

alsa-base_1.0.5a-2_all.deb
  to pool/main/a/alsa-driver/alsa-base_1.0.5a-2_all.deb
alsa-driver_1.0.5a-2.diff.gz
  to pool/main/a/alsa-driver/alsa-driver_1.0.5a-2.diff.gz
alsa-driver_1.0.5a-2.dsc
  to pool/main/a/alsa-driver/alsa-driver_1.0.5a-2.dsc
alsa-headers_1.0.5a-2_all.deb
  to pool/main/a/alsa-driver/alsa-headers_1.0.5a-2_all.deb
alsa-source_1.0.5a-2_all.deb
  to pool/main/a/alsa-driver/alsa-source_1.0.5a-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 254622@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve Kowalik <stevenk@debian.org> (supplier of updated alsa-driver package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 15 Aug 2004 12:10:09 +1000
Source: alsa-driver
Binary: alsa-source alsa-headers alsa-base
Architecture: source all
Version: 1.0.5a-2
Distribution: unstable
Urgency: medium
Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
Changed-By: Steve Kowalik <stevenk@debian.org>
Description: 
 alsa-base  - ALSA sound driver common files
 alsa-headers - ALSA sound driver header files
 alsa-source - ALSA sound driver source
Closes: 246570 248881 249505 249541 253980 254622 257635 258543 260293 261853 262601 264226
Changes: 
 alsa-driver (1.0.5a-2) unstable; urgency=medium
 .
   * Steve Kowalik:
     - Remove XSIims in alsa-base's init script. (Closes: #254622)
       (thanks, Clint Adams)
     - Heaven forbid that we actually remove features from the package, so
       reimplement force-stop in the init script, and tell the apm script
       to run force-stop on suspend. Getting modules to load on resume is
       left as an exercise for the user. (Closes: #249541, #253980)
     - Alias force-reload to force-stop. (Closes: #264226)
     - Add audio module to our hotplug blacklist. (Closes: #257635)
     - Automatically load OSS compat modules for sequencers and mixers.
       (Closes: #246570, #258543)
     - 1.0.5a sets CONFIG_SND_CS46XX_NEW_DSP=y. (Closes: #249505)
     - update-modules may spit out warning messages that confuse debconf.
       Redirect stdout to /dev/null when calling update-modules in alsa-base's
       postrm. (Closes: #261853)
     - Fix up now erroneous points from alsa-base's README.Debian.
       (Closes: #248881)
     - Update Dutch Debconf translation. (Closes: #260293) (thanks, cobaco)
     - Update Brazilian Portuguese translation. (Closes: #262601)
       (thanks, Andre Luis Lopes)
   * Unreleased, and stuff.
Files: 
 67842405557e6d86f6860b0f423b11ef 808 sound optional alsa-driver_1.0.5a-2.dsc
 5f41c8d5f004d717736ea2a281342fe7 134597 sound optional alsa-driver_1.0.5a-2.diff.gz
 3343cefccbb09176cdc55349325a63ea 47284 sound optional alsa-base_1.0.5a-2_all.deb
 bac4a84699f216c96b036dca9cc3359b 1834380 sound optional alsa-source_1.0.5a-2_all.deb
 f545fbd830407e71e62ee50239d8c93b 56710 sound optional alsa-headers_1.0.5a-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBHsklCfB0CMh//C8RAn3MAKCFcCHvR/IFinBD6XBNeChj7PAsLgCgxHdm
37cPcaRTsTJPJHQcbNsoN7Y=
=qMDC
-----END PGP SIGNATURE-----