From: "Rick \"Zero_Chaos\" Farina" <zerochaos@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] unpacker.eclass extensions
Date: Mon, 17 Jun 2013 16:37:06 -0400 [thread overview]
Message-ID: <51BF7372.8040608@gentoo.org> (raw)
In-Reply-To: <51BF6F6A.60300@flameeyes.eu>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/17/2013 04:19 PM, Diego Elio Pettenò wrote:
> On 17/06/2013 17:54, Rick "Zero_Chaos" Farina wrote:
>> I make all my files with "tar cJf"
>>
>> zero@ozzie ~ % file /usr/portage/distfiles/gr-osmosdr-0.0.2.tar.xz
>> /usr/portage/distfiles/gr-osmosdr-0.0.2.tar.xz: XZ compressed data
>
> cJ with _current_ tar will generate XZ
> cJ with _past_ tar could generate lzma
> xJ with _current_ tar will extract both XZ and lzma
> zJ with _past_ tar will only extract lzma
>
>
tar for the last several years properly and automatically detects the
format of the input using just 'x'. This is true for gnu and bsd tar
which should cover all of gentoo. We should be passing "tar xf" to
extract things unless we want to hijack the decompression command like
is possible in portage with BZIP2_COMMAND=lbzip2 in which case we want
to pass "tar -I $BZIP2_COMMAND -xf" or (not yet in portage) "tar -I pixz
- -xf". Some good examples of how this are handled are in catalyst but
I'll let dolson talk about his own work as he is much more qualified
than I am.
- -Zero
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJRv3NyAAoJEKXdFCfdEflKTYIP/ifbrOuhtEW2W3NRnUNImOmn
YfRuRt+50OpEeHbniAp32zOhg0l6nYCgZ4CqzoUDTUm106EyAbyQSNheBC1d6DL6
eRFbuV41+B1cPDFB5FJMHrhapvKQmciGxyfgpPLrVnIHXQhNUvM+3h7qPq2SOnog
tF8gQ3J3umfcJa3NMEqRRrWNkiytTniKZ537fLT0vxVvtOXSXswe3o3TJPNLpNVO
BAyHNvZz3TKPy3gsHtvedo1iz37yUxUxAPnI0R0ccLRnPEGlnnNcseaQvCLGBvZP
a7xqPMnM1gRv4xH9deWvh//mCSvIBjGoaeQLEP5ztjinrWalkFDikUk8xx8YZRev
YYlQbj1n3NgKk7Io/fyXjaNmZGXHkdT0kYosT2w+uzwHMQVSbwIsdR24dUIxXrcp
SG37KNB/wtPzOWpUYkV13wJgkLc1mVmEj92F47dSgGt4EKtSUng3sudDs2bPz4ds
7Z0lV4xLiG36ITZidBIIpjIWAKIQbQWIW+mIC25g40WGJ+qJtSz5bivwJa2a9PAx
Zqhja3pQFbYz+YhIUidM/rkcy1XINicaL1lUbpaHZqzy8z/ivWAh6iXMLmulqdfa
BjfPHVj0JcJs+ySbHMP/W3DN823BCzxOdc8cvHhLOG/Vhdysr+t5ga0yAQOawJsz
fWqUGz1tNiKLU3uBs+20
=2YDM
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2013-06-17 20:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-15 8:39 [gentoo-dev] [RFC] unpacker.eclass extensions Vadim A. Misbakh-Soloviov
2013-06-15 14:33 ` Markos Chandras
2013-06-15 14:37 ` Markos Chandras
2013-06-17 5:55 ` Mike Frysinger
2013-06-17 7:15 ` Diego Elio Pettenò
2013-06-17 16:08 ` Mike Frysinger
2013-06-17 16:54 ` Rick "Zero_Chaos" Farina
2013-06-17 20:19 ` Diego Elio Pettenò
2013-06-17 20:37 ` Rick "Zero_Chaos" Farina [this message]
2013-06-17 21:41 ` Brian Dolbec
2013-06-19 21:15 ` Mike Frysinger
2013-06-22 17:55 ` [gentoo-dev] unpacker.eclass: add decompress probe helper Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51BF7372.8040608@gentoo.org \
--to=zerochaos@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox