tech-pkg archive

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

Re: Proper selection of compression algorithm



Hallo,
I do not even understand what is the point behind providing
more compression algorithms.
Those provided suffice, and one would suffice too.
1. all platforms support gz bz2
2. all platforms except possibly NetBSD need to install the pkgsrc
   pkg tools, eventually providing missing facilities
No problem with suffix elimination instead, pkgtools are meant to
deal with pkgs and people should not have to mind how they are 
compressed. 
So, yes I like to mess with pkgsrc, please keep it simple.

Fulvio 

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Subject: Proper selection of compression algorithm
Date: Tue, 2 Feb 2010 00:53:07 +0100

> Hi all,
> I'm not sure if the discussion about this was public or just at some
> pkgsrcCon or so. The only mechanism currently in place to choose the
> compression algorithm for binary packages is  by changing PKG_SUFX.
> That is clumsy and doesn't really scale. E.g. some FTP server don't
> allow full glob patterns and there is support for XZ on the horizon too.
> 
> I would like to stop messing with the package name as the tools no longer
> have to care. I don't mind changing the default to .pkg or whatever at
> some point after phasing in the needed pkg_install changes, but that's a
> side issue. The attached patch basically just allows switching between
> gzip/bzip2/none without changing the name of the package. Comments?
> 
> Joerg


Home | Main Index | Thread Index | Old Index