From 28a9bddd91a9129cd71db57a34e6048cef1b31e8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 Nov 2010 14:04:28 -0800 Subject: whitelist proxy vars and don't save them --- bin/isolated-functions.sh | 2 +- pym/portage/package/ebuild/_config/special_env_vars.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index cf258bef3..1403c0aac 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -542,7 +542,7 @@ save_ebuild_env() { # misc variables inherited from the calling environment unset COLORTERM DISPLAY EDITOR LESS LESSOPEN LOGNAME LS_COLORS PAGER \ - TERM TERMCAP USER + TERM TERMCAP USER ftp_proxy http_proxy no_proxy # other variables inherited from the calling environment unset CVS_RSH ECHANGELOG_USER GPG_AGENT_INFO \ diff --git a/pym/portage/package/ebuild/_config/special_env_vars.py b/pym/portage/package/ebuild/_config/special_env_vars.py index 52b8b3a29..31b10cd22 100644 --- a/pym/portage/package/ebuild/_config/special_env_vars.py +++ b/pym/portage/package/ebuild/_config/special_env_vars.py @@ -77,6 +77,7 @@ environ_whitelist += [ "COLORTERM", "DISPLAY", "EDITOR", "LESS", "LESSOPEN", "LOGNAME", "LS_COLORS", "PAGER", "TERM", "TERMCAP", "USER", + 'ftp_proxy', 'http_proxy', 'no_proxy', ] # tempdir settings -- cgit v1.2.3-1-g7c22