From bcb098e384dc2d5694d098975161328a2699ed07 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 22 Nov 2021 09:12:07 +0100 Subject: fetchindex: make compression format configurable Add INDEX_COMPRESSION_FORMAT as a variable a user can overwrite via /etc/make.conf to allow the compression format used for INDEX to be changed. Available compression formats are: bz2, xz and zst for now. While here change the default compression format to be .xz (the smallest), for environement where performance of unxz matters it can switched to zst. bz2 format is kept for compatibility with existing tooling. In order to simplify the code, bsdcat(1) is now used for uncompressing instead detecting the compression format manually and switch the decompression tool manually Note the bzip2 compression format is now considered as deprecated --- CHANGES | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 7f86abd2e4a5..8fb6b7d6b0a3 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,15 @@ in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20211122: +AUTHOR: bapt@FreeBSD.org + + The default compression for INDEX file as fetch via make fetchindex has + switched from .bz2 to .xz (.zst is also available). + + The .bz2 format is still available but is considered deprecated and may + be removed in the futur. + 20211010: AUTHOR: bapt@FreeBSD.org -- cgit v1.2.3