Your message dated Sat, 25 May 2013 05:19:24 +0000
with message-id <[email protected]>
and subject line Bug#607426: fixed in mtools 4.0.18-1
has caused the Debian Bug report #607426,
regarding mtools: Add support for zip-files to uz/lz
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.)


-- 
607426: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607426
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mtools
Version: 4.0.10-1ubuntu2~ppa2
Severity: wishlist


I created a small patch to mtools that enables support for zip-files for
uz/lz, which I find very handy as I now have one utility to look at and
extract archive files.

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

Kernel: Linux 2.6.32-24-generic-tuxonice (SMP w/2 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mtools depends on:
ii  dpkg               1.15.5.6ubuntu4.4     Debian package management system
ii  install-info       4.13a.dfsg.1-5ubuntu1 Manage installed documentation in 
ii  libc6              2.11.1-0ubuntu7.6     Embedded GNU C Library: Shared lib

mtools recommends no packages.

Versions of packages mtools suggests:
pn  floppyd                       <none>     (no description available)

-- no debconf information
Index: mtools-4.0.10/scripts/uz
===================================================================
--- mtools-4.0.10.orig/scripts/uz	2010-04-13 22:55:33.000000000 +0200
+++ mtools-4.0.10/scripts/uz	2010-04-13 23:02:34.000000000 +0200
@@ -42,10 +42,12 @@
 case $0 in
 *uz)
 	tarparam="-pxvf"
+	zipparam=""
 	action="Extracting from "
 	;;
 *lz)
 	tarparam="-tvf"
+	zipparam="-l"
 	action="Reading directory of "
 	;;
 *)
@@ -64,23 +66,31 @@
 	echo >&2
 	found=
 
-	for suffix in "" .gz .tgz .tar.gz .z .tar.z .taz .tpz .Z .tar.Z .tar.bz2; do
+	for suffix in "" .gz .tgz .tar.gz .z .tar.z .taz .tpz .Z .tar.Z .tar.bz2 .zip .jar .war .ear .aar; do
 		if [ -r "${1}$suffix" ]; then
 			found=$1$suffix
 			break
 		fi
 	done
 
+	unzip=0
 	case $found in
 		*.tar.bz2 | *.tb2)
 			uzcmd='bzip2 -cd'
 			;;
+		*.zip | *.jar | *.war | *.ear | *.aar)
+			unzip=1
+			;;
 	esac
 	if [ -z "$found" ]; then
 		echo "$0: could not read \"$1\"." >&2
 	else
 		echo "$action \"$found\"." >&2
-		$uzcmd -- "$found" | tar "$tarparam" -
+		if [ $unzip = 1 ]; then
+			unzip $zipparam -- "$found"
+		else
+			$uzcmd -- "$found" | tar "$tarparam" -
+		fi
 	fi
 	shift
 done

--- End Message ---
--- Begin Message ---
Source: mtools
Source-Version: 4.0.18-1

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

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.
Anibal Monsalve Salazar <[email protected]> (supplier of updated mtools 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: SHA256

Format: 1.8
Date: Sat, 25 May 2013 14:35:17 +1000
Source: mtools
Binary: floppyd mtools
Architecture: source amd64
Version: 4.0.18-1
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[email protected]>
Changed-By: Anibal Monsalve Salazar <[email protected]>
Description: 
 floppyd    - Daemon for remote access to floppy drives
 mtools     - Tools for manipulating MSDOS files
Closes: 607426
Changes: 
 mtools (4.0.18-1) unstable; urgency=low
 .
   * New upstream version 4.0.18
   * Standards Version is 3.9.4
   * Support zip files in scripts/uz
     Add 01-607426-support-zip-files-in-uz.patch
     Patch by Dominik Stadler
     Closes: #607426
Checksums-Sha1: 
 6033b91171e04d2efabf50c4b3de112bd570cee5 1828 mtools_4.0.18-1.dsc
 cd45031441ac944eacebdc8d4b82b20cd9cc8461 420190 mtools_4.0.18.orig.tar.bz2
 a5d31d30cc3885820d2c61d4e0c558e17ee04577 10051 mtools_4.0.18-1.debian.tar.bz2
 753a2b2de2af340c9db2116016a050d1873cfddc 28156 floppyd_4.0.18-1_amd64.deb
 24dffbe56a9d9a0f9b6198e80824ef23d46efaaa 199520 mtools_4.0.18-1_amd64.deb
Checksums-Sha256: 
 d27fc945bd674fb77fcd368a2eadc262932add94401bee225cc4e89270fd3543 1828 
mtools_4.0.18-1.dsc
 59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85 420190 
mtools_4.0.18.orig.tar.bz2
 29acb77eac39d5e220c76a7b7c63f4149ea6873d8719d4ca31573d2f40fb4f02 10051 
mtools_4.0.18-1.debian.tar.bz2
 1da3483893199ea7b3a8533246beaef004c51cb17d21cace987b5f07ba8ae6c2 28156 
floppyd_4.0.18-1_amd64.deb
 590483ec50c5df72974565710ba09d8553abd4b7b5948a842ea93a83ad4be925 199520 
mtools_4.0.18-1_amd64.deb
Files: 
 784e63faf1151c65c8c35b6bb6eed4e2 1828 otherosfs optional mtools_4.0.18-1.dsc
 a23646617546bf6ad56f061d8b283c85 420190 otherosfs optional 
mtools_4.0.18.orig.tar.bz2
 724ca796988029b03fedfad937a63457 10051 otherosfs optional 
mtools_4.0.18-1.debian.tar.bz2
 14dd4f81ffe8cf12ec124b733c05fdea 28156 otherosfs extra 
floppyd_4.0.18-1_amd64.deb
 64ab2ed3f0c47b3bc38a82db7e4f0672 199520 otherosfs optional 
mtools_4.0.18-1_amd64.deb

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

iQIcBAEBCAAGBQJRoEckAAoJEHxWrP6UeJfY0PwP/Ai/hsbw0tgMEskfYknxe3p9
Ns1ffYSA1+bCfkFFsXy8B1BXUSsGuaHat2tEMROAaBkYTaarVvyqT7ViUWaz9Aa+
bLpRQOWaPQXcuSctW0f+a6SY3219RpODgCLBcwPu6UtikEE8XFW4x4j5X1exspS+
06NC80J4SUIu3/a4oh9D9n8WKrfwuaAr0fbVo/Vn3XQ1nIEMCciVh4NLLsbXx6co
3r++c0UhUg6QEUQ/Jx/G3cFz0E07iqhckUA1rMB9Gl9YkNCPhsxuC2waU4xyK0ZI
XMVotiUwbwlhiS4zU8HtrnhCDtOkDfE4iFdHq1ERx25Nf6dnaDuY4Vg6a+EE1JA1
I/lZ/noojz6Bu12bYYZiBrQ7hTB6WP++2CHdAQJ70e+/8cZmdprMK0Rw034/p4Wl
0zS+1JrT9aGm+8ww3AV4D03GHfNsUgT7TF4JD56a0FmYXz/F/5jN4tlP4rUdn4zM
MxGOppHYrzOL3wzOEwtPxi+w3VX4NX+6woIsXMNeOPtwSG8GSai69o/+iySPkCHz
a+0fP6st1yMruZ/i+N1j0V0PXM5RzX6JHmXV+TB1NWp7eeJlTOh7Mz4WGm/hHsSJ
hagrx+ii+OFntqlRhH4ngzLYxem68RgTMLEJeQm29omjouKnoqLbTZ5EUfQgiYLD
YACD+v38yhHRdLZhLGBN
=uy/N
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to