Your message dated Sat, 03 Jun 2006 14:49:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#254771: fixed in modutils 2.4.27.0-6
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)

--- Begin Message ---
Package: modutils
Version: 2.4.26-1
Severity: minor
Tags: patch

The various shellscripts in modutils contain several XSI:isms and
bash:isms.  The included patch fixes these.


Regards: David Weinehall

diff -ur modutils-2.4.26-old/debian/postinst modutils-2.4.26/debian/postinst
--- modutils-2.4.26-old/debian/postinst 2004-06-08 01:11:14.000000000 +0300
+++ modutils-2.4.26/debian/postinst     2004-06-15 21:48:52.000000000 +0300
@@ -13,7 +13,7 @@
 
 # Create /var/log/ksymoops if this is an intial install. This allows
 # a user to remove it to disable logging later on
-if [ -z "$2" -a ! -d /var/log/ksymoops ] ; then
+if [ -z "$2" ] && [ ! -d /var/log/ksymoops ] ; then
        mkdir /var/log/ksymoops
        chmod 755 /var/log/ksymoops
 fi
diff -ur modutils-2.4.26-old/debian/prerm modutils-2.4.26/debian/prerm
--- modutils-2.4.26-old/debian/prerm    2004-06-08 01:11:14.000000000 +0300
+++ modutils-2.4.26/debian/prerm        2004-06-15 21:49:23.000000000 +0300
@@ -5,7 +5,7 @@
 
 pkg=modutils
 
-if [ ! \( "$1" = "upgrade" -o "$1" = "remove" \) ]; then
+if [ ! "$1" = "upgrade" ] && [ ! "$1" = "remove" ]; then
        exit 0
 fi
 
diff -ur modutils-2.4.26-old/debian/update-modules 
modutils-2.4.26/debian/update-modules
--- modutils-2.4.26-old/debian/update-modules   2004-06-08 01:11:14.000000000 
+0300
+++ modutils-2.4.26/debian/update-modules       2004-06-15 21:48:25.000000000 
+0300
@@ -36,7 +36,7 @@
 }
 
 arch() {
-       local model=`uname -m`
+       model=`uname -m`
        case $model in
                i[0-9]86) model=i386; ;;
                sun4u) model=sparc64; ;;
@@ -47,8 +47,8 @@
 }
 
 archmodel() {
-       local arch=`arch`
-       local model=""
+       arch=`arch`
+       model=""
        if [ $arch = "m68k" ]; then
                if [ -f /proc/hardware ]; then
                        model=`sed -ne 's/^Model:[[:space:]]*//p' 
/proc/hardware`
@@ -94,7 +94,7 @@
 }
 
 checkoverwrite() {
-       local cfgfile="$1"
+       cfgfile="$1"
 
        if [ -f "$cfgfile" ]; then
                if ! sed -ne 1p "$cfgfile" | grep -q "^$HEADER" ; then
@@ -121,8 +121,8 @@
 }
 
 addfile() {
-       local src="$1"
-       local tgt="$2"
+       src="$1"
+       tgt="$2"
 
        echo "### update-modules: start processing $src" >> "$tgt"
        if [ -x "$src" ]; then
@@ -173,7 +173,7 @@
 fi
 
 [ -e "$MODCONFFILE" ] && cp -f "$MODCONFFILE" "${MODCONFFILE}.old"
-[ "$dochandev" -a -e "$CHANDEVFILE" ] && cp -f "$CHANDEVFILE" 
"${CHANDEVFILE}.old"
+[ "$dochandev" ] && [ -e "$CHANDEVFILE" ] && cp -f "$CHANDEVFILE" 
"${CHANDEVFILE}.old"
 
 createfile "$MODCONFTMPFILE"
 [ "$dochandev" ] && createfile "$CHANDEVTMPFILE"
@@ -194,7 +194,7 @@
 # We also call depmod here to stop insmod from complaining that modules.conf
 # is more recent then modules.dep
 #
-if [ -d "`depdir`" -a -f /proc/modules ]
+if [ -d "`depdir`" ] && [ -f /proc/modules ]
 then
        depmod -a || true
 fi
diff -ur modutils-2.4.26-old/insmod/insmod_ksymoops_clean 
modutils-2.4.26/insmod/insmod_ksymoops_clean
--- modutils-2.4.26-old/insmod/insmod_ksymoops_clean    2004-06-08 
01:11:14.000000000 +0300
+++ modutils-2.4.26/insmod/insmod_ksymoops_clean        2004-06-15 
21:48:40.000000000 +0300
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Delete saved ksyms and modules not accessed in 2 days
-if [ -d /var/log/ksymoops -a -r /proc/ksyms ]
+if [ -d /var/log/ksymoops ] && [ -r /proc/ksyms ]
 then
        set -e
        # Make sure there is always at least one version
diff -ur modutils-2.4.26-old/insmod/kernelversion 
modutils-2.4.26/insmod/kernelversion
--- modutils-2.4.26-old/insmod/kernelversion    2001-01-05 03:45:19.000000000 
+0200
+++ modutils-2.4.26/insmod/kernelversion        2004-06-15 21:47:35.000000000 
+0300
@@ -9,7 +9,7 @@
 }
 pick() {
     OLD_IFS=IFS
-    local delimiter="$1"
+    delimiter="$1"
     shift
     pick_index="$1"
     shift


--- End Message ---
--- Begin Message ---
Source: modutils
Source-Version: 2.4.27.0-6

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

modutils-basic_2.4.27.0-6_i386.udeb
  to pool/main/m/modutils/modutils-basic_2.4.27.0-6_i386.udeb
modutils-full_2.4.27.0-6_i386.udeb
  to pool/main/m/modutils/modutils-full_2.4.27.0-6_i386.udeb
modutils_2.4.27.0-6.diff.gz
  to pool/main/m/modutils/modutils_2.4.27.0-6.diff.gz
modutils_2.4.27.0-6.dsc
  to pool/main/m/modutils/modutils_2.4.27.0-6.dsc
modutils_2.4.27.0-6_i386.deb
  to pool/main/m/modutils/modutils_2.4.27.0-6_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
LaMont Jones <[EMAIL PROTECTED]> (supplier of updated modutils 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Sat,  3 Jun 2006 13:15:59 -0600
Source: modutils
Binary: modutils-full modutils-basic modutils
Architecture: i386 source 
Version: 2.4.27.0-6
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <[EMAIL PROTECTED]>
Changed-By: LaMont Jones <[EMAIL PROTECTED]>
Description: 
 modutils   - Linux module utilities
 modutils-basic - Basic Linux module utilities for debian-installer
 modutils-full - More complete Linux module utilities for debian-installer
Closes: 254771 301424 330236
Changes: 
 modutils (2.4.27.0-6) unstable; urgency=low
 .
   * Don't run depmod -A during boot.  Closes: #301424
   * Remove /etc/modules.conf.old in postrm as well. Closes: #330236
   * remove bash-isms.  Closes: #254771
Files: 
 c22b8af03a7f1d6ab8c3ec4edf53f3b9 636 admin important modutils_2.4.27.0-6.dsc
 71ccdb21b47448844e56dae793d6ce93 84416 debian-installer extra 
modutils-full_2.4.27.0-6_i386.udeb
 7a4bcab299e3bdcc7ab5008676ab5bc8 241796 admin important 
modutils_2.4.27.0-6_i386.deb
 85aae031542c1bccc27275250326ee8e 38604 admin important 
modutils_2.4.27.0-6.diff.gz
 9e496cae78ab9948241b0aba771bca61 51140 debian-installer extra 
modutils-basic_2.4.27.0-6_i386.udeb

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

iD8DBQFEgeOzzN/kmwoKyScRAm89AJ95iguVrJNx+g+ZnruWkMiKbQE5ZQCff1bc
B17qykac/gYJ1fstUGqyRKk=
=IM4P
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to