whitelist proxy vars and don't save them
authorZac Medico <zmedico@gentoo.org>
Fri, 26 Nov 2010 22:04:28 +0000 (14:04 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 26 Nov 2010 22:06:10 +0000 (14:06 -0800)
bin/isolated-functions.sh
pym/portage/package/ebuild/_config/special_env_vars.py

index cf258bef3aa889251c663a442c1b7a7d03f68bd7..1403c0aacbcbf3ca1764ff8c8d431107f601ca0a 100644 (file)
@@ -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 \
index 52b8b3a295dbbb8176f1dd79529b68431f44bc04..31b10cd223697b597fb0ecbe6eb043b42c46da39 100644 (file)
@@ -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