public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] unpacker.eclass extensions
Date: Wed, 19 Jun 2013 17:15:11 -0400	[thread overview]
Message-ID: <201306191715.12035.vapier@gentoo.org> (raw)
In-Reply-To: <51BF7372.8040608@gentoo.org>

[-- Attachment #1: Type: Text/Plain, Size: 1032 bytes --]

On Monday 17 June 2013 16:37:06 Rick "Zero_Chaos" Farina wrote:
> 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.

and that relies on the magic being in the output format which, as we pointed 
out, wasn't the case.  it's one of the reasons why the XZ format came to be.

build lzma-utils and compress some files and see how well tar & file handle it:
	http://tukaani.org/lzma/
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2013-06-19 21:15 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
2013-06-17 21:41             ` Brian Dolbec
2013-06-19 21:15             ` Mike Frysinger [this message]
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=201306191715.12035.vapier@gentoo.org \
    --to=vapier@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