pkgsrc-Users archive

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

Re: Package suffix isn't set properly when PKG_COMPRESSION is specified



* On 2020-04-10 at 11:14 BST, Thomas Klausner wrote:

> On Fri, Apr 10, 2020 at 12:06:59PM +0200, Aleksej Lebedev wrote:
> > I noticed that setting PKG_COMPRESSION to bzip2 doesn't change the packages suffix.
> > The option "-F bzip2" is correctly passed to pkg_create, but the package filename suffix remains .tgz.
> 
> Perhaps it's by purpose. Do all pkgtools look for .tbz files when they look for .tgz files?

No they don't.  I had some patches a few years ago to make everything
support a compression-agnostic .pkg but never found it compelling
enough to use or integrate.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index