Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] make.globals: add default BINPKG_COMPRESS setting (bug 715108)
Date: Sun, 26 Apr 2020 22:02:57
Message-Id: 20200426150253.1adcfc84@storm
In Reply to: [gentoo-portage-dev] [PATCH] make.globals: add default BINPKG_COMPRESS setting (bug 715108) by Zac Medico
1 On Sun, 26 Apr 2020 14:57:32 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > The ebuild will have a default enabled USE=zstd which changes the
5 > default to zstd here.
6 >
7 > Bug: https://bugs.gentoo.org/715108
8 > Bug: https://bugs.gentoo.org/719456
9 > Signed-off-by: Zac Medico <zmedico@g.o>
10 > ---
11 > cnf/make.globals | 5 ++++-
12 > 1 file changed, 4 insertions(+), 1 deletion(-)
13 >
14 > diff --git a/cnf/make.globals b/cnf/make.globals
15 > index 139e1ce97..4a59dbe3c 100644
16 > --- a/cnf/make.globals
17 > +++ b/cnf/make.globals
18 > @@ -1,4 +1,4 @@
19 > -# Copyright 1999-2019 Gentoo Authors
20 > +# Copyright 1999-2020 Gentoo Authors
21 > # Distributed under the terms of the GNU General Public License v2
22 > # System-wide defaults for the Portage system
23 >
24 > @@ -34,6 +34,9 @@ RPMDIR="/var/cache/rpm"
25 > # Temporary build directory
26 > PORTAGE_TMPDIR="/var/tmp"
27 >
28 > +# The compression used for binary packages. Defaults to zstd when
29 > USE=zstd is enabled. +BINPKG_COMPRESS="bzip2"
30 > +
31 > # Fetching command (3 tries, passive ftp for firewall compatibility)
32 > FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O
33 > \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" RESUMECOMMAND="wget -c -t 3 -T
34 > 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
35
36 works for me :)