On Thu, Jan 09, 2003, Bill Campbell wrote:

> Would it be reasonable to default to gzip/gunzip instead of
> compress/uncompress for the bootstap procedures?  Ten years ago
> compress was ubiquitous and gzip rare, but today I think that's
> changing, probably because of patent issues on compress.
> [...]

Hmmm... the general problem is that a compressed file both uncompress
and gzip can decompress. This way our openpkg*src.sh can be uncompressed
really on every platform because we already try "gunzip", "gzip -d" and
"uncompress" for decompression. This is important because the bootstrap
should require as less special things as possible.

But if we would gzip the source in openpkg*src.sh, this would _require_
gunzip or "gzip -d" on the target platform. And there are still more
Unix platforms without "gunzip" but with still "uncompress". Linux is
AFAIK the only strange platform which does no longer provide uncompress
(one have to install the "ncompress" package for this). So I'm not very
happy to make life harder on the remaining platforms just because Linux
is such strange. OTOH we cannot do any Linux specials here, because
the openpkg*src.sh is platform independent. Hmmm...

So, IMHO if we really switch to gzip'ed sources we usually will have
to also add (separately) a gzip.tar which we can unpack and build
on-the-fly in case the platform lacks "gzip".

> [...]
> Now if I can figure out how to build the bootstrap src.sh file, I
> can test this thing :-).

"./openpkg.boot -s" is your friend here.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to