commit:     86056e78c31a338919755156c8e0e7f1815a3888
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 17 11:35:51 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 18 12:23:13 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=86056e78

make.globals: enable FEATURES="compress-index" by default

Since 443d5765431e3d9ada2bd9b940ca5c14040a06e6, Packages.gz is actually
useful as Portage attempts to fetch it first. Enable its generation by
default to make that first fetch succeed and to help with multiple
binhosts producing binpkgs w/ the same PKGDIR (as they may not all
have it enabled and it could become out of sync).

Bug: https://bugs.gentoo.org/248089
Bug: https://bugs.gentoo.org/965753
Signed-off-by: Sam James <sam <AT> gentoo.org>

 cnf/make.globals | 2 +-
 man/make.conf.5  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/cnf/make.globals b/cnf/make.globals
index 738047082f..48c72fe20f 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -76,7 +76,7 @@ FETCHCOMMAND_SFTP="bash -c \"x=\\\${2#sftp://} ; 
host=\\\${x%%/*} ; port=\\\${ho
 # Default user options
 FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
           binpkg-multi-instance buildpkg-live
-          config-protect-if-modified distlocks ebuild-locks
+          compress-index config-protect-if-modified distlocks ebuild-locks
           fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict
           network-sandbox news parallel-fetch pkgdir-index-trusted pid-sandbox
           preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict

diff --git a/man/make.conf.5 b/man/make.conf.5
index 2c8d83a9d1..c47a4eb803 100644
--- a/man/make.conf.5
+++ b/man/make.conf.5
@@ -462,6 +462,7 @@ This feature is intended for Gentoo binhosts using certain 
webservers
 (such as, but not limited to, Nginx with gzip_static module) to avoid
 redundant on\-the\-fly compression.  The resulting file will be called
 \[aq]Packages.gz' and its modification time will match that of 'Packages'.
+Enabled by default.
 .TP
 .B compressdebug
 Compress the debug sections in the split debug files with zlib to save

Reply via email to