Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Layman, Git, ... and Http-Proxies
Date: Fri, 21 May 2010 03:17:55
Message-Id: 201005211017.24327.joost@antarean.org
In Reply to: [gentoo-user] Layman, Git, ... and Http-Proxies by Petric Frank
1 On Thursday 20 May 2010 23:24:24 Petric Frank wrote:
2 > Hello,
3 >
4 > i tried to use layman (current stable version). The problem ist that i sit
5 > behind a proxy server which covers the http(s) protocol only. All other
6 > ports are closed.
7 >
8 > In the config file of layman (/etc/layman/...) i entered the proxy server
9 > and the listening port. Then layman was able to get the list of overlays.
10 >
11 > But if i want to get an overlay (here: x11 overlay) it starts git to get
12 > it. After a while git aborts with a timeout. It seems that git does not
13 > take the proxy info layman has into account.
14 >
15 > Tried also to export the proxy:
16 > export http_proxy="<proxy-server>:<proxy-port>"
17 > or
18 > export http_proxy="http://<proxy-server>:<proxy-port>"
19 >
20 > before executing
21 > layman -a x11
22 >
23 > but this didn't help.
24 >
25 > How to overcome the problem ?
26 >
27 > Does layman pass the proxy info to the executed sub-programs (i.e. cvs,
28 > subversion, git, ...) ?
29 > (it not that may be an enchancement)
30 >
31 > regards
32 > Petric
33 >
34
35 Hi Petric,
36
37 I am not certain about git, but for subversion I had to set it in the
38 subversion config.
39 On my system:
40 *****
41 host ~ # cat ~/.subversion/servers | grep proxy
42 http-proxy-host = proxy.mydomain.com
43 http-proxy-port = 8080
44 *****
45
46 I am guessing that a similar setting is required for git and others.
47
48 --
49 Joost