-----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-----

Reply via email to