summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-01-02 16:15:45 -0800
committerZac Medico <zmedico@gentoo.org>2011-01-02 16:18:41 -0800
commiteb29694f22c26730a3522f9bc98b54dffda257a3 (patch)
tree21bb14fc2d65ae0ee74ced523f3204fbe7e389c7
parentd2bb9b3e38d1729d54434ebbe0ac8630fd119cbf (diff)
downloadportage-eb29694f22c26730a3522f9bc98b54dffda257a3.tar.gz
portage-eb29694f22c26730a3522f9bc98b54dffda257a3.tar.bz2
portage-eb29694f22c26730a3522f9bc98b54dffda257a3.zip
create_trees: whitelist SSH_AGENT_PID/AUTH_SOCKv2.1.9.28
This variables can be used for fetching from binhost.
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 4731db506..374d077f1 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -517,7 +517,8 @@ def create_trees(config_root=None, target_root=None, trees=None):
# environment to apply to the config that's associated
# with ROOT != "/", so pass a nearly empty dict for the env parameter.
clean_env = {}
- for k in ('PATH', 'PORTAGE_GRPNAME', 'PORTAGE_USERNAME', 'TERM',
+ for k in ('PATH', 'PORTAGE_GRPNAME', 'PORTAGE_USERNAME',
+ 'SSH_AGENT_PID', 'SSH_AUTH_SOCK', 'TERM',
'ftp_proxy', 'http_proxy', 'no_proxy'):
v = settings.get(k)
if v is not None: