Your message dated Wed, 28 Oct 2009 20:57:02 +0000
with message-id <[email protected]>
and subject line Bug#545062: fixed in magicrescue 1.1.7-1
has caused the Debian Bug report #545062,
regarding magicrescue: ignores changes in command-line and functionality of 
'zip' package
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.)


-- 
545062: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545062
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: magicrescue
Version: 1.1.6-1
Severity: important
Tags: patch

Attached bugfix has description of proposed changes.  Consider also at
least 'Suggests:' for 'zip' and 'unzip' packages.  Without them
'magicrescue' is completely unable to recover .zip files (think
openoffice).



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (700, 'stable'), (1, 'testing'), (1, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
--- zip.old     2009-09-04 13:14:50.000000000 +0300
+++ zip 2009-09-04 13:36:30.000000000 +0300
@@ -16,8 +16,28 @@
 # This command takes a 50MB chunk of the file and tries to repair it. If the
 # zip files you are looking for are less than 50MB, you can lower the value of
 # the count= parameter for performance.
-command dd bs=1024k count=50 of="$1" 2>/dev/null; zip -qF "$1" || rm -f "$1"
+# # That's that cumbersome because: (since 3.0?) 'zip' has changed its behviour
+# # regarding recovery
+# # [1] -F option appears to be impractical (it gives up almost always)
+# # [2] -FF option is interactive (hence 'yes')
+# # [3] -FF *creates* recovered contents
+# # [4] 'zip' appears to be too picky about suffixes
+command dd bs=1024k count=50 of="$1" 2>/dev/null; x=`tempfile --suffix=".zip" 
--directory="${1%/*}"` ; mv "$1" "$x" ; { yes | zip -FF "$x" --out "$1" || rm 
-f "$1" ; } >/dev/null 2>&1 ; rm -f "$x"
 
 # Try to guess if it's a JAR archive or an OpenOffice.org file, and rename
 # accordingly
-rename if unzip -l "$1"|grep META-INF/MANIFEST.MF >/dev/null 2>&1; then echo 
"RENAME jar"; elif unzip -p "$1" content.xml >/dev/null 2>&1; then echo "RENAME 
ooo"; fi
+# # That's that cumbersome too because: (since 6.0?) 'unzip' has(?) changed its
+# # behaviour
+# # [1] it's too chatty while listing
+# # [2] it's too chatty while printing(?)
+# # [3] that's violates 'magicrescue' specs regarding chatty commands
+rename if unzip -l "$1" 2>/dev/null |grep META-INF/MANIFEST.MF >/dev/null 
2>&1; then echo "RENAME jar"; elif unzip -p "$1" content.xml >/dev/null 2>&1; 
then echo "RENAME ooo"; fi
+
+# # p.s.  While that works (for me) it's a way fragile.  Once upon
+# # experimenting I've got lots of
+#      Found zip at 0x1E784555F
+#      Output too small, removing
+# # and no results.  I don't know why, but that definetely works (I've
+# # successfully recovered yearly report (in oowriter) from completely broken
+# # partition (/home, e2fsck even didn't considered that to be a partition at
+# # all)).

--- End Message ---
--- Begin Message ---
Source: magicrescue
Source-Version: 1.1.7-1

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

magicrescue_1.1.7-1.diff.gz
  to main/m/magicrescue/magicrescue_1.1.7-1.diff.gz
magicrescue_1.1.7-1.dsc
  to main/m/magicrescue/magicrescue_1.1.7-1.dsc
magicrescue_1.1.7-1_amd64.deb
  to main/m/magicrescue/magicrescue_1.1.7-1_amd64.deb
magicrescue_1.1.7.orig.tar.gz
  to main/m/magicrescue/magicrescue_1.1.7.orig.tar.gz



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.
Varun Hiremath <[email protected]> (supplier of updated magicrescue 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: Tue, 27 Oct 2009 23:12:15 -0400
Source: magicrescue
Binary: magicrescue
Architecture: source amd64
Version: 1.1.7-1
Distribution: unstable
Urgency: low
Maintainer: Varun Hiremath <[email protected]>
Changed-By: Varun Hiremath <[email protected]>
Description: 
 magicrescue - recovers files by looking for magic bytes
Closes: 545062
Changes: 
 magicrescue (1.1.7-1) unstable; urgency=low
 .
   * New upstream release
     + Some fixes in the zip recipe (Closes: #545062)
   * Bump Standards-Version to 3.8.3
   * Remove Torsten from Uploaders, as requested
Checksums-Sha1: 
 3e1ea70ee40678fbe4742f32a08596eb9061bca2 1161 magicrescue_1.1.7-1.dsc
 df3284204d6a1df8bd1909176bc4d4996d5d4263 91194 magicrescue_1.1.7.orig.tar.gz
 4dcc6156933b80013e08d5c0c79f52c6c5f00d33 2898 magicrescue_1.1.7-1.diff.gz
 30062a2ad5e96b4e1bcb8b479bdf731328535176 87438 magicrescue_1.1.7-1_amd64.deb
Checksums-Sha256: 
 2c5a10725447796b395f74eca565442e08264f2982e0299899f8ad1044b5eab2 1161 
magicrescue_1.1.7-1.dsc
 aa99988af921923eac15f67319f0e7eb61eccb963ce59283ef77f5454a438b7f 91194 
magicrescue_1.1.7.orig.tar.gz
 ba028facd15a7685bcafa58084f464637b673e20169807cec0466734c9033586 2898 
magicrescue_1.1.7-1.diff.gz
 7e26e414bee025115301768e761d3e6e9e805733a44ff58fe77a33aee7dacdd0 87438 
magicrescue_1.1.7-1_amd64.deb
Files: 
 9bcd7f8f00aff9b713952eded01e27bb 1161 utils optional magicrescue_1.1.7-1.dsc
 6a954abbaf89582d4fe3b6334d4d8056 91194 utils optional 
magicrescue_1.1.7.orig.tar.gz
 27cee382b0f56989a8ffb4e5efd98cc1 2898 utils optional 
magicrescue_1.1.7-1.diff.gz
 45572a99aac46ce885ea9349052e8fbf 87438 utils optional 
magicrescue_1.1.7-1_amd64.deb

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

iD8DBQFK57+BPEFSUMxFMZcRAkYLAJ0VIB0bvg+O9494RS9YEwM3hg7bNwCeMPEs
ZcI9cl9OW0+uEqFoLhoQFWQ=
=MlP2
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to