Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o, prefix@g.o, gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: [gentoo-portage-dev] [PATCH 1/2] bin/phase-helpers.shL Fix unpack() for deb2targz .xz types
Date: Sun, 07 Dec 2014 19:23:44
Message-Id: 20141207192331.GD1222@gentoo.org
In Reply to: [gentoo-alt] Re: [gentoo-portage-dev] [PATCH 1/2] bin/phase-helpers.shL Fix unpack() for deb2targz .xz types by Zac Medico
1 On 07-12-2014 10:49:30 -0800, Zac Medico wrote:
2 > On 12/07/2014 10:47 AM, Ulrich Mueller wrote:
3 > >>>>>> On Sun, 07 Dec 2014, Zac Medico wrote:
4 > >
5 > >> On 12/07/2014 10:37 AM, Ulrich Mueller wrote:
6 > >>> It's sort of trivial, but here is a patch:
7 > >>>
8 > >>> From c53e7057f94728d6e0c7d16c675702ca831b9a5a Mon Sep 17 00:00:00 2001
9 > >>> From: Ulrich Müller <ulm@g.o>
10 > >>> Date: Sun, 7 Dec 2014 19:33:52 +0100
11 > >>> Subject: [PATCH] Prefer GNU ar when unpacking .deb packages.
12 > >>>
13 > >>> [...]
14 > >
15 > >> LGTM.
16 > >
17 > > So shall I push it?
18 >
19 > Yes, please do.
20
21 FYI:
22
23 % portageq envvar CHOST
24 x86_64-apple-darwin13
25 % ar --version
26 ar: illegal option -- -
27 usage: ar -d [-TLsv] archive file ...
28 ar -m [-TLsv] archive file ...
29 ar -m [-abiTLsv] position archive file ...
30 ar -p [-TLsv] archive [file ...]
31 ar -q [-cTLsv] archive file ...
32 ar -r [-cuTLsv] archive file ...
33 ar -r [-abciuTLsv] position archive file ...
34 ar -t [-TLsv] archive [file ...]
35 ar -x [-ouTLsv] archive [file ...]
36 % ar x $EPREFIX/usr/portage/distfiles/realpath_1.16_i386.deb
37 % ls
38 control.tar.gz data.tar.gz debian-binary
39
40 deb2targz should work (but I don't have it installed, so not sure if tested).
41
42 Fabian
43
44 --
45 Fabian Groffen
46 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies