Your message dated Thu, 29 Oct 2009 20:59:31 +0000
with message-id <[email protected]>
and subject line Bug#545204: fixed in nslu2-utils 20080403-4
has caused the Debian Bug report #545204,
regarding Patch used in NMU version 20080403-3.1
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
545204: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545204
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nslu2-utils
Version: 20080403-3.1
Severity: wishlist
Tags: patch

Here is the patch used in the NMU I just uplodaed.

diff -urN nslu2-utils-20080403/debian/changelog 
nslu2-utils-20080403-pere/debian/changelog
--- nslu2-utils-20080403/debian/changelog       2008-09-29 15:36:47.000000000 
+0000
+++ nslu2-utils-20080403-pere/debian/changelog  2009-09-05 17:41:18.000000000 
+0000
@@ -1,3 +1,12 @@
+nslu2-utils (20080403-3.1) unstable; urgency=low
+
+  * Non-maintainer upload to solve release goal bug.
+  * Add missing LSB headers to init.d scripts, and rewrite the init.d script
+    handling to only start or stop in a given runlevel (Closes: #507545).
+  * Fix misspelled ${shlibs:Depends} in debian/control (Closes: #511763).
+
+ -- Petter Reinholdtsen <[email protected]>  Sat, 05 Sep 2009 17:32:38 +0000
+
 nslu2-utils (20080403-3) unstable; urgency=low
 
   [ Martin Michlmayr ]
diff -urN nslu2-utils-20080403/debian/control 
nslu2-utils-20080403-pere/debian/control
--- nslu2-utils-20080403/debian/control 2008-06-22 10:37:55.000000000 +0000
+++ nslu2-utils-20080403-pere/debian/control    2009-09-05 17:34:37.000000000 
+0000
@@ -9,7 +9,7 @@
 
 Package: nslu2-utils
 Architecture: arm armel armeb
-Depends: ${misc:Depends}, ${shlib:Depends}, slugimage, devio, flash-kernel (>= 
1.8)
+Depends: ${misc:Depends}, ${shlibs:Depends}, slugimage, devio, flash-kernel 
(>= 1.8)
 Suggests: beep
 Conflicts: initramfs-tools (<< 0.60)
 Description: utilities and init scripts for the Linksys NSLU2
diff -urN nslu2-utils-20080403/debian/nslu2-rtc.init 
nslu2-utils-20080403-pere/debian/nslu2-rtc.init
--- nslu2-utils-20080403/debian/nslu2-rtc.init  2008-06-22 10:37:55.000000000 
+0000
+++ nslu2-utils-20080403-pere/debian/nslu2-rtc.init     2009-09-05 
17:32:08.000000000 +0000
@@ -1,2 +1,20 @@
 #!/bin/sh
-modprobe rtc-dev
+### BEGIN INIT INFO
+# Provides:          nslu2-rtc
+# Required-Start:
+# Required-Stop:
+# Should-Start:      udev
+# X-Start-Before:    hwclock
+# Default-Start:     S
+# Default-Stop:
+# Short-Description: Load kernel module for the RTC device interface.
+# Description:       Load kernel module for the RTC device interface.
+### END INIT INFO
+
+case "$1" in
+    start)
+       modprobe rtc-dev
+       ;;
+    stop|restart|force-reload|*)
+       ;;
+esac
diff -urN nslu2-utils-20080403/debian/preinst 
nslu2-utils-20080403-pere/debian/preinst
--- nslu2-utils-20080403/debian/preinst 1970-01-01 00:00:00.000000000 +0000
+++ nslu2-utils-20080403-pere/debian/preinst    2009-09-05 17:32:08.000000000 
+0000
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+# Remove a no-longer used conffile.  From
+# http://wiki.debian.org/DpkgConffileHandling
+rm_conffile() {
+    local PKGNAME="$1"
+    local CONFFILE="$2"
+
+    [ -e "$CONFFILE" ] || return 0
+
+    local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
+    local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
+            sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
+    if [ "$md5sum" != "$old_md5sum" ]; then
+        echo "Obsolete conffile $CONFFILE has been modified by you."
+        echo "Saving as $CONFFILE.dpkg-bak ..."
+        mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
+    else
+        echo "Removing obsolete conffile $CONFFILE ..."
+        rm -f "$CONFFILE"
+    fi
+}
+
+case "$1" in
+install|upgrade)
+    if dpkg --compare-versions "$2" le "20080403-3" ; then
+        rm_conffile nslu2-utils "/etc/init.d/zleds"
+        rm_conffile nslu2-utils "/etc/init.d/leds_startup"
+    fi
+esac
+
+#DEBHELPER#
diff -urN nslu2-utils-20080403/debian/rules 
nslu2-utils-20080403-pere/debian/rules
--- nslu2-utils-20080403/debian/rules   2008-06-22 10:37:55.000000000 +0000
+++ nslu2-utils-20080403-pere/debian/rules      2009-09-05 17:32:08.000000000 
+0000
@@ -17,16 +17,25 @@
        dh_install initramfs-tools usr/share
        dh_install files/leds usr/bin
        dh_install nslu2-flashkernel usr/sbin
-       dh_install files/initscripts/zleds files/initscripts/rmrecovery \
-               files/initscripts/leds_startup etc/init.d
+       dh_install files/initscripts/rmrecovery etc/init.d
+       set -e ; tmpdir=debian/nslu2-utils; for runlvl in S 1 2 3 4 5 ; do \
+               startscript="etc/init.d/leds-lvl$$runlvl" ; \
+               stopscript="etc/init.d/zleds-stop-lvl$$runlvl" ; \
+               cp files/initscripts/leds $$tmpdir/$$startscript ; \
+               cp files/initscripts/zleds-stop $$tmpdir/$$stopscript ; \
+               for file in $$startscript $$stopscript ; do \
+                       sed s/@LVL@/$$runlvl/ < $$tmpdir/$$file > foo \
+                               && mv foo $$tmpdir/$$file ; \
+               done ; \
+               dh_installinit --no-start --onlyscripts \
+                       --name=leds-lvl$$runlvl -- start 1 $$runlvl . ; \
+               dh_installinit --no-start --onlyscripts \
+                       --name=zleds-stop-lvl$$runlvl -- start 99 $$runlvl . ; \
+       done
        dh_installdirs etc/default
        cp files/initscripts/rmrecovery.default 
debian/nslu2-utils/etc/default/rmrecovery
-       dh_installinit --no-start --onlyscripts --name=zleds \
-               -- start 99 S 1 2 3 4 5 . stop 5 0 1 2 3 4 5 6 .
        dh_installinit --no-start --onlyscripts --name=rmrecovery \
                -- start 99 1 2 3 4 5 .
-       dh_installinit --no-start --onlyscripts --name=leds_startup \
-               -- start 1 1 2 3 4 5 .
        dh_installinit --no-start --name=nslu2-rtc \
                -- start 10 S .
        dh_installudev --name=nslu2-rtc
diff -urN nslu2-utils-20080403/files/initscripts/leds 
nslu2-utils-20080403-pere/files/initscripts/leds
--- nslu2-utils-20080403/files/initscripts/leds 1970-01-01 00:00:00.000000000 
+0000
+++ nslu2-utils-20080403-pere/files/initscripts/leds    2009-09-05 
17:32:08.000000000 +0000
@@ -0,0 +1,53 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          le...@lvl@
+# Required-Start:    $local_fs
+# Required-Stop:
+# Default-Start:     S 1 2 3 4 5
+# Default-Stop:
+# Short-Description: Start led blinking
+# Description:       This script is executed at the start of
+#                    each run-level transition.  It should be
+#                    the first 'start' script.
+### END INIT INFO
+#
+# 'start'  indicates the start of a runlevel change
+# 'stop' at the end of the runlevel change - we are in the new
+#         runlevel.
+#
+# state outputs 'system', 'user' etc according the the nature of
+# the runlevel it is passed (the *new* runlevel is used).
+state(){
+       case "$1" in
+       S|N)     echo system;;
+       0|6)     echo shutdown;;
+       1)       echo singleuser;;
+       2|3|4|5) echo user;;
+       *)       echo "led change: $runlevel: runlevel unknown" >&2
+                echo system;;
+       esac
+}
+
+# trumpet "beeps" an announcement on systems with such support.
+l=120   # Long beep time
+s=40    # Try to keep a 3:1 ratio
+trumpet(){
+       case "$1" in
+       k)    leds beep -l $l; leds beep -l $s; leds beep -l $l;;
+       n)    leds beep -l $l; leds beep -l $s;;
+       *)    leds beep;;
+       esac
+}
+
+case "$1" in
+stop)  leds "$(state "$runlevel")"
+       if [ "$(state "$runlevel")" = "user" ]; then
+               trumpet "k"
+       fi
+       ;;
+start) leds boot "$(state "$runlevel")"
+       ;;
+restart|force-reload|*)
+       echo "led change: $1: command ignored" >&2
+       ;;
+esac
diff -urN nslu2-utils-20080403/files/initscripts/leds_startup 
nslu2-utils-20080403-pere/files/initscripts/leds_startup
--- nslu2-utils-20080403/files/initscripts/leds_startup 2008-06-22 
10:37:56.000000000 +0000
+++ nslu2-utils-20080403-pere/files/initscripts/leds_startup    1970-01-01 
00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
-#!/bin/sh
-# Bug fix: during the initial boot sysvinit sets PREVLEVEL to
-# nothing in rcS and to 'N' in the transition from rcS to the
-# user state.  This script runs on that transition and, if
-# the PREVLEVEL is 'N', sets 'previous' (as in /etc/init.d/rc)
-# to 'S'
-if test "$PREVLEVEL" = N
-then
-       previous=S exec /etc/init.d/zleds stop
-fi
-exit 0
diff -urN nslu2-utils-20080403/files/initscripts/rmrecovery 
nslu2-utils-20080403-pere/files/initscripts/rmrecovery
--- nslu2-utils-20080403/files/initscripts/rmrecovery   2008-06-22 
10:37:56.000000000 +0000
+++ nslu2-utils-20080403-pere/files/initscripts/rmrecovery      2009-09-05 
17:32:08.000000000 +0000
@@ -1,7 +1,29 @@
 #!/bin/sh
-# Run to remove /.recovery if the boot seems to have succeeded
-RMRECOVERY=yes
-. /etc/default/rmrecovery || true
-if [ "$RMRECOVERY" != no ]; then
-       rm -f /.recovery
-fi
+### BEGIN INIT INFO
+# Provides:          rmrecovery
+# Required-Start:    $remote_fs $all
+# Required-Stop:
+# Default-Start:     1 2 3 4 5
+# Default-Stop:
+# Short-Description: Remove OpenSlug recovery file on successfull boot
+# Description:       If instead of booting using the Debian initrd, you are
+#                    using the OpenSlug firmware to boot Debian from a
+#                    USB drive on your slug, then it creates a
+#                    /.recovery file during boot, and unless this file
+#                    is removed, the next boot will be back into the
+#                    openslug system. This script removes this file on
+#                    each boot, so that Debian will boot each time.
+### END INIT INFO
+
+case "$1" in
+    start)
+       # Run to remove /.recovery if the boot seems to have succeeded
+       RMRECOVERY=yes
+       . /etc/default/rmrecovery || true
+       if [ "$RMRECOVERY" != no ]; then
+           rm -f /.recovery
+       fi
+       ;;
+    stop|restart|force-reload|*)
+       ;;
+esac
diff -urN nslu2-utils-20080403/files/initscripts/zleds 
nslu2-utils-20080403-pere/files/initscripts/zleds
--- nslu2-utils-20080403/files/initscripts/zleds        2008-06-22 
10:37:56.000000000 +0000
+++ nslu2-utils-20080403-pere/files/initscripts/zleds   1970-01-01 
00:00:00.000000000 +0000
@@ -1,45 +0,0 @@
-#!/bin/sh
-#
-# This script is executed at the start and end of each run-level
-# transition.  It is the first 'stop' script and the last 'start'
-# script.
-#
-# 'stop'  indicates the start of a runlevel change
-# 'start' at the end of the runlevel change - we are in the new
-#         runlevel.
-#
-# state outputs 'system', 'user' etc according the the nature of
-# the runlevel it is passed (the *new* runlevel is used).
-state(){
-       case "$1" in
-       S|N)     echo system;;
-       0|6)     echo shutdown;;
-       1)       echo singleuser;;
-       2|3|4|5) echo user;;
-       *)       echo "led change: $runlevel: runlevel unknown" >&2
-                echo system;;
-       esac
-}
-
-# trumpet "beeps" an announcement on systems with such support.
-l=120   # Long beep time
-s=40    # Try to keep a 3:1 ratio
-trumpet(){
-       case "$1" in
-       k)    leds beep -l $l; leds beep -l $s; leds beep -l $l;;
-       n)    leds beep -l $l; leds beep -l $s;;
-       *)    leds beep;;
-       esac
-}
-
-case "$1" in
-start) leds "$(state "$runlevel")"
-       if [ "$(state "$runlevel")" = "user" ]; then
-               trumpet "k"
-       fi
-       ;;
-stop)  leds boot "$(state "$runlevel")"
-       ;;
-*)     echo "led change: $1: command ignored" >&2
-       ;;
-esac
diff -urN nslu2-utils-20080403/files/initscripts/zleds-stop 
nslu2-utils-20080403-pere/files/initscripts/zleds-stop
--- nslu2-utils-20080403/files/initscripts/zleds-stop   1970-01-01 
00:00:00.000000000 +0000
+++ nslu2-utils-20080403-pere/files/initscripts/zleds-stop      2009-09-05 
17:32:08.000000000 +0000
@@ -0,0 +1,20 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          leds-st...@lvl@
+# Required-Start:    $local_fs $all
+# Required-Stop:
+# Default-Start:     S 1 2 3 4 5
+# Default-Stop:
+# Short-Description: Stop led blinking
+# Description:       This script is executed at the end of
+#                    each run-level transition.  It should be
+#                    the last 'start' script.
+### END INIT INFO
+
+case "$1" in
+start) /etc/init.d/leds stop
+       ;;
+restart|force-reload|*)
+       echo "led change: $1: command ignored" >&2
+       ;;
+esac



--- End Message ---
--- Begin Message ---
Source: nslu2-utils
Source-Version: 20080403-4

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

nslu2-utils_20080403-4.dsc
  to main/n/nslu2-utils/nslu2-utils_20080403-4.dsc
nslu2-utils_20080403-4.tar.gz
  to main/n/nslu2-utils/nslu2-utils_20080403-4.tar.gz
nslu2-utils_20080403-4_armel.deb
  to main/n/nslu2-utils/nslu2-utils_20080403-4_armel.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.
Joey Hess <[email protected]> (supplier of updated nslu2-utils 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.8
Date: Thu, 29 Oct 2009 09:49:53 -0400
Source: nslu2-utils
Binary: nslu2-utils
Architecture: source armel
Version: 20080403-4
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description: 
 nslu2-utils - utilities and init scripts for the Linksys NSLU2
Closes: 509719 545204 547672
Changes: 
 nslu2-utils (20080403-4) unstable; urgency=low
 .
   * ACK NMU. Closes: #545204
   * Fix name of start script called by stop scripts (broken by NMU).
     Closes: #547672
   * Drop the nslu2-rtc init script, since rtc_dev has been built into
     the kernel since before the release of stable. Closes: #509719
   * Fix preinst to be set -e.
Checksums-Sha1: 
 00ff16bafa602bcd8bfc85b0c5e2ec1710ea785a 886 nslu2-utils_20080403-4.dsc
 0d84fae5c3e1968652f4a765b1d0a8649b849ffc 47206 nslu2-utils_20080403-4.tar.gz
 ef6cdc417d522995ab1ac87810b7b6bf4d7c0acd 17044 nslu2-utils_20080403-4_armel.deb
Checksums-Sha256: 
 7f0195ab5e2bfa8f03395f5a518af4af478a671402656634a7a8ee89e8104154 886 
nslu2-utils_20080403-4.dsc
 7806972755fe381d39a13c39f0bef70163692f9d594f49d04f842778275984bd 47206 
nslu2-utils_20080403-4.tar.gz
 8ea3ffb96fd837181d427424ddc30a78594922dda95c30bc9798148a0db699d7 17044 
nslu2-utils_20080403-4_armel.deb
Files: 
 aae7550360ccfd791105687572c55dea 886 admin extra nslu2-utils_20080403-4.dsc
 f941147cba186ed8be4f37131675dfd5 47206 admin extra 
nslu2-utils_20080403-4.tar.gz
 01f9c333a2f2304fa49857f1bbb26c8b 17044 admin extra 
nslu2-utils_20080403-4_armel.deb

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

iD8DBQFK6al12tp5zXiKP0wRAgVJAJ92WPbbHaFP1Nk3jxJ4y5P3nZ/37gCgnaOT
yyYf7ljaKNswi+S22ofTEcM=
=4CuJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to