From e261ba845df7342eb72ee0ffb1ad84dabdd154a9 Mon Sep 17 00:00:00 2001 From: Sheng Yu Date: Sat, 15 Oct 2022 00:09:01 -0400 Subject: Add per format compression flags for binpkg This added new config BINPKG_COMPRESS_FLAGS_[format] to be used for different compression method. General BINPKG_COMPRESS_FLAGS will be ignored if current method had specified BINPKG_COMPRESS_FLAGS_[format] e.g. BINPKG_COMPRESS_FLAGS_ZSTD="-9" Bug: https://bugs.gentoo.org/871573 Signed-off-by: Sheng Yu Closes: https://github.com/gentoo/portage/pull/909 Signed-off-by: Sam James --- man/make.conf.5 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'man') diff --git a/man/make.conf.5 b/man/make.conf.5 index 11bcbe238..7f398c28e 100644 --- a/man/make.conf.5 +++ b/man/make.conf.5 @@ -141,6 +141,18 @@ Defaults to "". BINPKG_COMPRESS_FLAGS="-9" .fi .TP +\fBBINPKG_COMPRESS_FLAGS_[format]\fR = \fI"arguments for [format] compression \ +command"\fR +This variable is used to add additional arguments only for the specified \ +[format] compression command selected by \fBBINPKG_COMPRESS\fR. +\fBBINPKG_COMPRESS_FLAGS\fR will be ignored when using [format] compression. +.br +.I Example: +.nf +# Set only zstd to use compression level 9: +BINPKG_COMPRESS_FLAGS_ZSTD="-9" +.fi +.TP \fBBINPKG_GPG_SIGNING_BASE_COMMAND\fR = \fI"GPG command and arguments \ [PORTAGE_CONFIG]"\fR The base command will be used for all signing operations. -- cgit v1.2.3-65-gdbad