Created attachment 304019 [details] emerge --info vlc-9999 output I am behind a SOCKS proxy. I can connect to this either using 10.1.2.13:1080 as socks proxy address or, by doing ssh -D 9999 bha1@10.1.2.13 . Subsequently I set my SOCKS proxy to 127.0.0.1:9999. After this is done, I am able to access net through firefox entering the above mentioned ips. I set that SOCKS proxy in gnome environment settings, however, emerge was uanable to pick it up. Also, i used a polipo http proxy on my localhost, where I set socksParentProxy as 10.1.2.13:1080. This created a http proxy on my localhost:8123. Now after doing this, I am able to do emerge --sync. and also emerge -av git-sources (which pull kernel through regular git) However, the problem is this: I am unable to emerge the 9999 packages which pull code through egit. egit doesnt listen to regular proxy settings. While i am able to do regular git clone request, egit on the same envirronment fails. Do let me know if i can post any files pertaining to my environment configuration.
Not really sure whether the ebuild or portage should arrange for this.
This could be an "egit" bug i guess. Since all ebuild use egit, it might nt be possible to accomodate change in individual ebuilds.
(In reply to comment #0) > However, the problem is this: > I am unable to emerge the 9999 packages which pull code through egit. > egit doesnt listen to regular proxy settings. I guess emerge calls git-2.eclass for this, so assigning to relevant maintainers.
AFAICS git doesn't support SOCKS. You can either: 1) use http proxy forwarding requests over SOCKS, 2) use GIT_PROXY_COMMAND and an external tool (I guess socat may have such a capability) to forward requests over SOCKS [1], 3) request including SOCKS support in git upstream. [1]:http://www.patthoyts.tk/blog/using-git-with-socks-proxy.html