Date: Tue, 3 May 2022 12:12:56 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: dfae67d10c3f - main - bsd.port.mk: Use zstandard as default compression for FreeBSD 14+ Message-ID: <202205031212.243CCusl028589@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=dfae67d10c3f2b6dbde7d6e3280455cd87f9f15c commit dfae67d10c3f2b6dbde7d6e3280455cd87f9f15c Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2022-04-29 14:03:13 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2022-05-03 12:04:26 +0000 bsd.port.mk: Use zstandard as default compression for FreeBSD 14+ The packages are switched from XZ to ZSTD compression, the compression level is set at the maximum possible because it creates packages which are closed in size between XZ and ZSTD, the compression time is close as well, but decompression time is way bigger. Exp-run: antoine Differential revision: https://reviews.freebsd.org/D35095 --- Mk/bsd.port.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index be720a035d87..c2760881ac04 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -2214,11 +2214,11 @@ PKG_SUFX= .pkg . if defined(PKG_NOCOMPRESS) PKG_COMPRESSION_FORMAT?= tar . else -#.if ${OSVERSION} > 1400000 -#PKG_COMPRESSION_FORMAT?= tzst -#.else +.if ${OSVERSION} > 1400000 +PKG_COMPRESSION_FORMAT?= tzst +.else PKG_COMPRESSION_FORMAT?= txz -#.endif +.endif . endif # where pkg(8) stores its data
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205031212.243CCusl028589>