Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2021 16:52:01 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: ec2764d5ec49 - main - Mk/bsd.port.mk: prepare the land for pkg 1.17
Message-ID:  <20210721145201.5jcynsooy4hva7ir@aniel.nours.eu>
In-Reply-To: <YPgxkAglZ2GRunni@FreeBSD.org>
References:  <202107211223.16LCNDjf070492@gitrepo.freebsd.org> <YPgxkAglZ2GRunni@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 21, 2021 at 02:39:12PM +0000, Alexey Dokuchaev wrote:
> On Wed, Jul 21, 2021 at 12:23:13PM +0000, Baptiste Daroussin wrote:
> > commit ec2764d5ec4933f52cb0718663f60f1e1b1eed7f
> > 
> >     Mk/bsd.port.mk: prepare the land for pkg 1.17
> >     
> >     in next version of pkg, we now use a uniq extension: '.pkg'
> >     whatever the compression is
> 
> What's the rationale behind this decision, if I may ask?  Particularly,
> what problem does it solve?  Those of us who use custom PKGSUFFIX=.tbz,
> for example, -- how hard would it be to keep existing setup or adjust?
> 
> ./danfe

TL;DR be able to switch compression format seamlessly for end users.

Each time we had to change compression format, we have to modify plenty of tools
which either hardcode. We have added a new compression format recently zstd and
we want to be able to allow people to seamlessly switch to it.

I plan to switch the default compression format for FreeBSD 14 and probably
FreeBSD 13 to zstd.

Basically we want to have the compression format (gzip, bzip2, etc.) et archive format
(tar archive) an implementation detail (no changes are planned as of today about
the archive format don't worry about it :D).

On the other end I would really want to know what is the rationale for using
.tbz in 2021 :D

Best regards,
Bapt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210721145201.5jcynsooy4hva7ir>