Bug#314552: marked as done (zaptel: bashism in postinst)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 19 Jun 2005 07:48:57 -0700


Your message dated Sun, 19 Jun 2005 10:32:09 -0400
with message-id <E1Dk0qH-0005Ga-00@newraff.debian.org>
and subject line Bug#314552: fixed in zaptel 1:1.0.7-5
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; 17 Jun 2005 01:22:02 +0000
>From angus.lees@urnet.com.au Thu Jun 16 18:22:02 2005
Return-path: <angus.lees@urnet.com.au>
Received: from emu.urnet.com.au [203.7.149.10] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Dj5YY-0004FF-00; Thu, 16 Jun 2005 18:22:02 -0700
Received: from lambast.inside.urnet.com.au ([10.0.6.19])
	by emu.urnet.com.au with esmtp (Exim 3.35 #1 (Debian))
	id 1Dj5Xw-0004GP-00
	for <submit@bugs.debian.org>; Fri, 17 Jun 2005 11:21:24 +1000
Date: Fri, 17 Jun 2005 11:21:20 +1000
Message-ID: <87oea5vkvj.wl%angus.lees@urnet.com.au>
From: Angus Lees <gus@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: zaptel: bashism in postinst
X-Debbugs-CC: gus@debian.org
User-Agent: Wanderlust/2.14.0 (Africa) XEmacs/21.4 (Jumbo Shrimp)
X-Zippy-Says: 
   Wait..  is this a FUN THING or the END of LIFE in Petticoat Junction??
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
X-MailScanner: Found to be clean
X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.599, required 5,
	autolearn=not spam, BAYES_00 -2.60)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: zaptel
Version: 1:1.0.7-4.1
Severity: important

zaptel.postinst contains this piece of code:

                N=1; 
                while (( $N < 250 )) ; do 
                        rm -f /dev/zap/$N; 
                        mknod /dev/zap/$N c 196 $N; 
                        N=`expr $N + 1` 
                done

The (( ... )) construct is bash-specific.  A simple posix-compatible
replacement is:

		...
		while [ $N -lt 250 ]; do
			...

 - Gus

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (890, 'testing'), (89, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages zaptel depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libnewt0.51                 0.51.6-23    Not Erik's Windowing Toolkit - tex

-- no debconf information

---------------------------------------
Received: (at 314552-close) by bugs.debian.org; 19 Jun 2005 14:38:02 +0000
>From katie@ftp-master.debian.org Sun Jun 19 07:38:02 2005
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 1Dk0vy-00008R-00; Sun, 19 Jun 2005 07:38:02 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Dk0qH-0005Ga-00; Sun, 19 Jun 2005 10:32:09 -0400
From: Kilian Krause <kk@verfaction.de>
To: 314552-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#314552: fixed in zaptel 1:1.0.7-5
Message-Id: <E1Dk0qH-0005Ga-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 19 Jun 2005 10:32:09 -0400
Delivered-To: 314552-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 8

Source: zaptel
Source-Version: 1:1.0.7-5

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

libtonezone-dev_1.0.7-5_i386.deb
  to pool/main/z/zaptel/libtonezone-dev_1.0.7-5_i386.deb
libtonezone1_1.0.7-5_i386.deb
  to pool/main/z/zaptel/libtonezone1_1.0.7-5_i386.deb
zaptel-source_1.0.7-5_all.deb
  to pool/main/z/zaptel/zaptel-source_1.0.7-5_all.deb
zaptel_1.0.7-5.diff.gz
  to pool/main/z/zaptel/zaptel_1.0.7-5.diff.gz
zaptel_1.0.7-5.dsc
  to pool/main/z/zaptel/zaptel_1.0.7-5.dsc
zaptel_1.0.7-5_i386.deb
  to pool/main/z/zaptel/zaptel_1.0.7-5_i386.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 314552@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kilian Krause <kk@verfaction.de> (supplier of updated zaptel 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, 19 Jun 2005 15:38:25 +0200
Source: zaptel
Binary: libtonezone1 zaptel-source zaptel libtonezone-dev
Architecture: source all i386
Version: 1:1.0.7-5
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Changed-By: Kilian Krause <kk@verfaction.de>
Description: 
 libtonezone-dev - tonezone library (development)
 libtonezone1 - tonezone library (runtime)
 zaptel     - zapata telephony utilities
 zaptel-source - Zapata telephony interface (source code for kernel driver)
Closes: 304648 305193 305731 309258 310150 310788 314549 314552
Changes: 
 zaptel (1:1.0.7-5) unstable; urgency=low
 .
   * ACK NMUs. Thanks for helping with this. (Closes: #305731, #310150)
   * Actually doesn't fail if dpatch is not installed when building modules.
   * zaptel-modules.postinst: New. Run depmod -a on modules install
   * zaptel: should build-dep on debhelper (>= 4.0.4). (Closes: #310788)
   * zaptel: should build-dep on dpatch >= 2.0.9 (Closes: #314549)
   * zaptel: bashism in postinst (Closes: #314552)
   * zaptel-source: compilation error in zaphfc.c (Closes: #305193)
   * zaptel-source Build-Depends on dpatch, should Depend on
     it though. (Closes: #309258)
   * zaptel-source: Fails to enable RTAI support (Closes: #304648)
Files: 
 ad2311d8352d2fde70ab5a2fd368dda0 891 sound optional zaptel_1.0.7-5.dsc
 0d9004e69b05c7a73ad46777b5a7e179 51974 sound optional zaptel_1.0.7-5.diff.gz
 cf6bd648d65b63860efdd1b02667b857 262826 devel optional zaptel-source_1.0.7-5_all.deb
 43ee59c2f30714b139d35d139a0d28d0 39884 sound optional zaptel_1.0.7-5_i386.deb
 4bf10bea405bb1d8b24c1ca1247ed525 11910 libs optional libtonezone1_1.0.7-5_i386.deb
 7b4a2530254d6a486052cde40a472c56 12784 libdevel optional libtonezone-dev_1.0.7-5_i386.deb

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

iD8DBQFCtX6QS+BYJZB4jhERAoRUAJ0TE3COrS22aT0UKmA74qkMpL2crwCeON15
gTQSWDy0cCFjUwDhpWz+ZAc=
=SvKj
-----END PGP SIGNATURE-----