tech-pkg archive

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

Re: CVS commit: pkgsrc/pkgtools/cdpack



On Fri, Feb 20, 2009 at 02:49:41PM +0100, Roland Illig wrote:
> Joerg Sonnenberger schrieb:
> > IMO we should drop the special casing of using .tbz. I want to add a new
> > option to pkg_create to specify the compression type to use and just
> > always use .tgz. That's a bit of cheating, but pkg_install is smart
> > enough to handle the compression (or not) without knowing the extension.
> > 
> > E.g. in mk.conf there is PACKAGE_COMPRESSION which is one of none, gzip
> > and bzip2 ATM.
> 
> I don't think we should. The extension .tgz suggests that the file
> contains a gzip-compressed tar stream. It should neither be
> bzip-compressed nor uncompressed at all. If you want to have a single
> extension, you should use .pkg instead. That doesn't imply any special
> compression method.

That is fine with me as well. Basically, use a single extension and
don't try to guess the compression type by the extension.

Joerg


Home | Main Index | Thread Index | Old Index