Package: atool
Version: 0.37.0-2
Severity: normal
Tags: patch

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

Hi,

the attached patch fixes recognition of 7z files by mime description.
It can be tested by renaming a .7z file to an unknown extension, then
trying to unpack it.

Regards,
  Bastian

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31grog2 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages atool depends on:
ii  perl                          5.10.1-8   Larry Wall's Practical Extraction 

Versions of packages atool recommends:
ii  bash-completion               1:1.1-3    programmable completion for the ba
ii  binutils                      2.20-4     The GNU assembler, linker and bina
ii  bzip2                         1.0.5-3    high-quality block-sorting file co
ii  file                          5.03-3     Determines file type using "magic"
ii  pbzip2                        1.0.5-1    parallel bzip2 implementation
ii  unzip                         6.0-1      De-archiver for .zip files
ii  zip                           3.0-1      Archiver for .zip files

Versions of packages atool suggests:
pn  arc               <none>                 (no description available)
pn  arj               <none>                 (no description available)
ii  cpio              2.10-1                 GNU cpio -- a program to manage ar
pn  lzip              <none>                 (no description available)
ii  lzma              4.43-14                Compression method of 7z format in
pn  lzop              <none>                 (no description available)
pn  nomarch           <none>                 (no description available)
pn  p7zip             <none>                 (no description available)
ii  rar               1:3.8.0-2              Archiver for .rar files
pn  rpm               <none>                 (no description available)
pn  unace             <none>                 (no description available)
pn  unalz             <none>                 (no description available)
ii  unrar             1:3.9.6-1              Unarchiver for .rar files (non-fre
ii  xz-utils          4.999.9beta+20091116-1 XZ-format compression utilities

- -- no debconf information

- -- debsums errors found:
debsums: changed file /usr/bin/atool (from atool package)

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

iEYEARECAAYFAksNl38ACgkQeBwlBDLsbz4XQACeM61t1qVFAZu4+Qo+2VeQXiTb
klgAn15gZ9oMvHkFjZ5KMT4pn8Hb5Xqg
=kO+6
-----END PGP SIGNATURE-----
--- atool.orig  2009-11-25 21:40:47.000000000 +0100
+++ atool       2009-11-25 21:42:01.000000000 +0100
@@ -1379,7 +1379,7 @@
     ['lha',            qr/^LHa 2\.x\? archive data /],
     ['lha',            qr/^LHarc 1\.x archive data /],
     ['lha',            qr/^MS-DOS executable .*, LHA's SFX$/],
-    ['7z',             qr/^7z archive data, version .*$/],
+    ['7z',             qr/^7(z|-zip) archive data, version .*$/],
     ['ar',             qr/^current ar archive(\W|$)/],
     ['arj',            qr/^ARJ archive data(\W|$)/],
     ['arc',            qr/^ARC archive data(\W|$)/],

Reply via email to