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 Fri, Apr 10, 2020 at 12:35:09PM +0200, Aleksej Lebedev wrote:
> Good question. pkg_add does work, but I didn't check everything.
> 
> Still, do I understand it right, that it should be fixed anyway, it's just before it can be committed we need to fix all the other tools?

I don't think that renaming them just to match a convention is good
enough reason to break stuff. So if you want to rename them, please
check (and fix) at least pkg_install, pkgin, and pkg_rolling-replace
first.

Thanks,
 Thomas

> Side note: pkg_install supports xz as well. This should probably be added too.
> 
> --
> Aleksej Lebedev
> 
> On Fri, Apr 10, 2020, at 12:14, 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?
> >  Thomas
> >
> 


Home | Main Index | Thread Index | Old Index