Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-19 Thread Mike Frysinger
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 > >> /us

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-17 Thread Brian Dolbec
On Mon, 2013-06-17 at 16:37 -0400, 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 > >> /

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-17 Thread Rick "Zero_Chaos" Farina
-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

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-17 Thread Diego Elio Pettenò
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 gen

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-17 Thread Rick "Zero_Chaos" Farina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2013 12:08 PM, Mike Frysinger wrote: > On Monday 17 June 2013 03:15:53 Diego Elio Pettenò wrote: >> On 17/06/2013 06:55, Mike Frysinger wrote: > tar -xJf "./$i" >>> >>> why doesn't the bzip2 detect a

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-17 Thread Mike Frysinger
On Monday 17 June 2013 03:15:53 Diego Elio Pettenò wrote: > On 17/06/2013 06:55, Mike Frysinger wrote: > >> > tar -xJf "./$i" > > > > why doesn't the bzip2 detect as bzip2 ? > > Capital J is XZ not bzip2.. still, it makes me think it needs a newer > version

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-17 Thread Diego Elio Pettenò
On 17/06/2013 06:55, Mike Frysinger wrote: >> > tar -xJf "./$i" > why doesn't the bzip2 detect as bzip2 ? > Capital J is XZ not bzip2.. still, it makes me think it needs a newer version of file to recognize it. -- Diego Elio Pettenò — Flameeyes flamee...@

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-16 Thread Mike Frysinger
On Saturday 15 June 2013 04:39:10 Vadim A. Misbakh-Soloviov wrote: > # @DESCRIPTION: > # Unpack nixstaller generated files needs a period at the end. content in @DESCRIPTION is normalized. > # They're shell scripts with the blob package tagged onto > # the end of the archive. In the blob placed

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-15 Thread Markos Chandras
On 15 June 2013 15:33, Markos Chandras wrote: >Also || die does not work in subshells. > > http://devmanual.gentoo.org/ebuild-writing/error-handling/index.html > Sorry scratch that. I just realized || die is not inside the subshell -- Regards, Markos Chandras - Gentoo Linux Developer http://dev.

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-15 Thread Markos Chandras
Hi Vadim, On 15 June 2013 09:39, Vadim A. Misbakh-Soloviov wrote: > # Make sure that file exists > [[ -f "./$i" ]] && ( > local type=$(file -b ${i}) > case ${type} in > data) >

[gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-15 Thread Vadim A. Misbakh-Soloviov
As gamerlay maintainer, I'd be glad to introduce some changes to unpacker.eclass: 1) merging unpacker-nixstaller (Makeself subspecies) from gamerlay: # @FUNCTION: unpack_nixstaller # @USAGE: # @DESCRIPTION: # Unpack nixstaller generated files # They're shell scripts with the blob package tagged