pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/time/cardboard-schedule



On Tue, Dec 13, 2011 at 04:08:36PM +0100, Joerg Sonnenberger wrote:
 > On Tue, Dec 13, 2011 at 06:14:47AM +0000, David A. Holland wrote:
 > > 2. Because there's a self-extracting archive, NetBSD's builtin unzip
 > > doesn't work. When ${OPSYS} is NetBSD, explicitly depend on
 > > archivers/unzip instead of adding unzip to USE_TOOLS. (I'm not sure
 > > this is the right way to go about this. It at least works though.)
 > 
 > Slightly wrong reasoning. The problem is not that it is a
 > self-extracting archive, but that it is an extremely long executable
 > module in front of the ZIP archive. Libarchive scans for the ZIP header
 > in the first 124k of the binary, but this file has over 160KB of garbage
 > in front.

So maybe a more general method would be to slash 128k or so from the
beginning of the file; can (both standard and our) unzip work from
stdin?

-- 
David A. Holland
dholland%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index