tech-pkg archive

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

Re: CVS commit: pkgsrc/pkgtools/cdpack

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.


Home | Main Index | Thread Index | Old Index