deb-support-without-dpkg.patch was Re: AMC patches ported to mc-2006-02-03-13.tar.gz
- From: Pavel Tsekov <ptsekov gmx net>
- To: Arpi <arpi mplayerhq hu>
- Cc: mc-devel gnome org
- Subject: deb-support-without-dpkg.patch was Re: AMC patches ported to mc-2006-02-03-13.tar.gz
- Date: Wed, 8 Mar 2006 17:50:32 +0200
On Mon, 6 Feb 2006, Pavel Tsekov wrote:
> > deb-support-without-dpkg.patch
> > For systems withoput dpkg (almost any non-debian OS).
> > It handles .deb files as regular .ar archives, as they are in reality.
>
> This would be nice addition. Only if we could avoid the 'O' option of gnu
> tar... Does anyone know of a way to avoid it ? In any case I think this
> patch is worth adding.
I've played with this patch again and I found a problem. In fact it is a
problem in uar...
When I press enter on either a .deb file or .a file I get directory
listing containing file names like this:
[excerpt from libc.a]
2005 C-address.o
2005 C-collate.o
2005 C-ctype.o
[excerpt from mc_4.6.1-1_i386.deb]
2005 control.tar.gz
2005 data.tar.gz
2005 debian-binary
See bellow the output of `ar tv' on the files above:
[libc.a]
rw-r--r-- 250/250 50188 Nov 4 04:56 2005 C-ctype.o
rw-r--r-- 250/250 932 Nov 4 04:56 2005 C-messages.o
rw-r--r-- 250/250 1372 Nov 4 04:56 2005 C-monetary.o
rw-r--r-- 250/250 896 Nov 4 04:56 2005 C-numeric.o
rw-r--r-- 250/250 3728 Nov 4 04:56 2005 C-time.o
rw-r--r-- 250/250 788 Nov 4 04:56 2005 C-paper.o
rw-r--r-- 250/250 952 Nov 4 04:56 2005 C-name.o
rw-r--r-- 250/250 1132 Nov 4 04:56 2005 C-address.o
rw-r--r-- 250/250 904 Nov 4 04:56 2005 C-telephone.o
rw-r--r-- 250/250 868 Nov 4 04:56 2005 C-measurement.o
rw-r--r-- 250/250 1528 Nov 4 04:56 2005 C-identification.o
rw-r--r-- 250/250 2248 Nov 4 04:56 2005 C-collate.o
[mc_4.6.1-1_i386.deb]
rw-r--r-- 0/0 4 Oct 16 18:30 2005 debian-binary
rw-r--r-- 0/0 5798 Oct 16 18:30 2005 control.tar.gz
rw-r--r-- 0/0 2135380 Oct 16 18:30 2005 data.tar.gz
It is obvious that the list command of uar doesn't process
the output properly and produces bad filenames.
The test was done on Fedora Core 3 (i386)
ar is from binutils-2.15.92.0.2-5.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]