Package: unp Version: 1.0.14 Followup-For: Bug #318338
Hi, I updated this patch and a couple of other ones for current version 1.0.14 : http://rzr.online.fr/docs/contribs/patches/unp_1.0.14~0.debdiff BTW, why is this package mixing upstream and debian patch ? Regards -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'hardy'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.23-k7-amiloa (PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash unp depends on no packages. Versions of packages unp recommends: ii bzip2 1.0.4-4 high-quality block-sorting file co -- no debconf information
diff -Nru unp-1.0.14/debian/changelog unp-1.0.14~0/debian/changelog --- unp-1.0.14/debian/changelog 2007-12-25 03:20:42.000000000 +0100 +++ unp-1.0.14~0/debian/changelog 2008-03-23 17:26:47.000000000 +0100 @@ -1,3 +1,17 @@ +unp (1.0.14~0) unstable; urgency=low + + * Non-maintainer upload + + * Added new file formats (7z, jar, war, ear, adf ...) (Closes: #318338) + + [A Costa] + * Fixed typos (Closes: #355832) + + [Edward J. Shornock] + * Fixed typo (Closes: #339695) + + -- Philippe Coval <[EMAIL PROTECTED]> Sun, 23 Mar 2008 16:52:05 +0100 + unp (1.0.14) unstable; urgency=low * Stop using libstring-shellquote-perl, it breaks things (closes: #457134) diff -Nru /tmp/EKzRZgPxmd/unp-1.0.14/debian/control /tmp/TYVFjDMQAx/unp-1.0.14~0/debian/control --- unp-1.0.14/debian/control 2007-12-25 03:17:18.000000000 +0100 +++ unp-1.0.14~0/debian/control 2008-03-23 16:55:23.000000000 +0100 @@ -7,7 +7,7 @@ Package: unp Architecture: all -Recommends: bzip2 +Recommends: bzip2, unrar-free, archmage, unrar, xdms, 7z, unzip, cabextract, orange Description: unpack (almost) everything with one command unp is a small perl script which makes extraction of any archive files a bit easier. It support several compressors and archiver programs, diff -Nru /tmp/EKzRZgPxmd/unp-1.0.14/debian/unp.1 /tmp/TYVFjDMQAx/unp-1.0.14~0/debian/unp.1 --- unp-1.0.14/debian/unp.1 2006-06-15 11:34:46.000000000 +0200 +++ unp-1.0.14~0/debian/unp.1 2008-03-23 17:05:01.000000000 +0100 @@ -35,12 +35,12 @@ .SH USAGE -unp extract one or more files given as arguments on the command line. -Additionaly, it may pass some options to the backend tools (like tar +unp extracts one or more files given as arguments on the command line. +Additionally, it may pass some options to the backend tools (like tar options) when they are appended after `--ยด. .PP There is also a special -option (-u) which is very usefull for extracting of Debian packages. Using +option (-u) which is very useful for extracting Debian packages. Using -u, unp extracts the package (i.e. the ar archive) first, then extracts data.tar.gz in the current directory and then control.tar.gz in control/<filename>/. @@ -50,8 +50,8 @@ existing files. But don't count on this feature, always look for free working space before using unp. .PP -In contrary to gunzip which decompresses the file in the target directory of -the source file, unp will use current directory for output. +Unlike gunzip, which decompresses the file in the target directory of +the source file, unp uses the current directory for output. .SH AUTHOR Development started by Andre Karwath <[EMAIL PROTECTED]> diff -Nru /tmp/EKzRZgPxmd/unp-1.0.14/unp /tmp/TYVFjDMQAx/unp-1.0.14~0/unp --- unp-1.0.14/unp 2007-12-25 00:39:08.000000000 +0100 +++ unp-1.0.14~0/unp 2008-03-23 17:11:18.000000000 +0100 @@ -34,7 +34,8 @@ $unsup=": unsupported format\n"; $formats=" tar[.gz,.bz2], gz, bz2, Z, ar/deb, rpm, shar, rar, arj, zip, LHa, cab, ace, -tnef, uu (mail, news), mime, hqx, sea, zoo, pmd, cpio, afio, lzop +tnef, uu (mail, news), mime, hqx, sea, zoo, pmd, cpio, afio, lzop, +7z, lzx, jar, war, ear, xpi, cbz, cbr, adf, dms, "; $usage=" usage: unp file [file]... @@ -59,7 +60,7 @@ $testlz=" contains lzop-compressed data, determining data type...\n"; $skip=" exists allready, skipping...\n"; $is_dir=" is a directory, skipping...\n"; -$nopack="Warning, the following unarchiv program(s) could not be found: +$nopack="Warning, the following unarchive program(s) could not be found: "; $plzinst="Please install the package(s): "; $or="or"; @@ -270,6 +271,18 @@ if ($UNP_FILE =~ /\.ace$/i) { set_command 'unace e $UNP_ARGS $UNP_FILE'; } if ($UNP_FILE =~ /\.dat$/i) { set_command 'tnef -v $UNP_ARGS $UNP_FILE'; } if ($UNP_FILE =~ /\.pmd$/i) { set_command 'PPMd x $UNP_ARGS $UNP_FILE'; } + if ($UNP_FILE =~ /\.7z$/i) { set_command "7z x $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.lzx$/i) { set_command "unlzx $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.chm$/i) { set_command "archmage $ARGS \"$UNP_FILE\" tmp"; } + if ($UNP_FILE =~ /\.cbz$/i) { set_command "unzip $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.cbr$/i) { set_command "unrar $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.jar$/i) { set_command "unzip $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.war$/i) { set_command "unzip $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.ear$/i) { set_command "unzip $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.xpi$/i) { set_command "unzip $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.adf$/i) { set_command "unadf $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.dms$/i) { set_command "xdms x $ARGS \"$UNP_FILE\""; } + if ($UNP_FILE =~ /\.(sea|sea\.bin)$/i) { set_command 'macutils -v $UNP_ARGS $UNP_FILE'; } if ($UNP_FILE =~ /\.uu$/i) { set_command 'uudecode $UNP_ARGS $UNP_FILE'; }