From owner-dev-commits-ports-main@freebsd.org Wed Jul 21 14:53:47 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 85B46664D69; Wed, 21 Jul 2021 14:53:47 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GVJVz3KYbz4rvd; Wed, 21 Jul 2021 14:53:47 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4236E294A7; Wed, 21 Jul 2021 14:53:47 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 563BA7A67C; Wed, 21 Jul 2021 16:53:46 +0200 (CEST) Date: Wed, 21 Jul 2021 16:53:46 +0200 From: Baptiste Daroussin To: Alexey Dokuchaev 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: <20210721145346.ca3iwlkfwf7qmza7@aniel.nours.eu> References: <202107211223.16LCNDjf070492@gitrepo.freebsd.org> <20210721145201.5jcynsooy4hva7ir@aniel.nours.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210721145201.5jcynsooy4hva7ir@aniel.nours.eu> X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2021 14:53:47 -0000 On Wed, Jul 21, 2021 at 04:52:01PM +0200, Baptiste Daroussin wrote: > 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 And because I have answered entirely your initial questions, you will still be able to set your own compression format as easily as you could before, don't worry about it. Best regards, Bapt