commit:     2410f8d7dde2ac12de4ec040696bcbb51e09ce9f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 19 13:54:08 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 14:49:34 2023 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=2410f8d7

save-ebuild-env.sh, special_env_vars.py: add https_proxy

For parity with http_proxy.

Bug: https://bugs.gentoo.org/691434
Bug: https://bugs.gentoo.org/835927
Bug: https://bugs.gentoo.org/911629
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/save-ebuild-env.sh                                 | 2 +-
 lib/portage/package/ebuild/_config/special_env_vars.py | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh
index 20cd868665..3a2560aabf 100644
--- a/bin/save-ebuild-env.sh
+++ b/bin/save-ebuild-env.sh
@@ -28,7 +28,7 @@ __save_ebuild_env() {
 
        # misc variables inherited from the calling environment
        unset COLORTERM DISPLAY EDITOR LESS LESSOPEN LOGNAME LS_COLORS PAGER \
-               TERM TERMCAP USER ftp_proxy http_proxy no_proxy
+               TERM TERMCAP USER ftp_proxy http_proxy https_proxy no_proxy
 
        # other variables inherited from the calling environment
        unset CVS_RSH ECHANGELOG_USER GPG_AGENT_INFO \

diff --git a/lib/portage/package/ebuild/_config/special_env_vars.py 
b/lib/portage/package/ebuild/_config/special_env_vars.py
index beb411188c..ef8f06abe3 100644
--- a/lib/portage/package/ebuild/_config/special_env_vars.py
+++ b/lib/portage/package/ebuild/_config/special_env_vars.py
@@ -215,6 +215,7 @@ environ_whitelist = frozenset(
         "USER",
         "ftp_proxy",
         "http_proxy",
+        "https_proxy",
         "no_proxy",
         # tempdir settings
         "TMPDIR",

Reply via email to