Skip to content

Proxy (cntlm)

vayerx edited this page Feb 4, 2013 · 2 revisions

/etc/env.d/99proxy:

ALL_PROXY="http://localhost:3128"
http_proxy="http://localhost:3128"
https_proxy="http://localhost:3128"
ftp_proxy="http://localhost:3128"
no_proxy="localhost"

Sometimes you may get error like following:

svn: E175002: Unable to connect to a repository at URL 'http://some.address/svn/trunk'`
svn: E175002: OPTIONS of 'http://some.address/svn/trunk': could not connect to server (http://some.address)

Add following lines to ~/.subversion/servers:

[global]
http-proxy-host = localhost
http-proxy-port = 3128

Installation under root has another small trouble: ebuild uses config from /usr/portage/distfiles/svn-src/.subversion, so you should edit not only /root/.subversion/servers but also /usr/portage/distfiles/svn-src/.subversion/servers.

Clone this wiki locally