FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 05-20-2010, 09:24 PM
Petric Frank
 
Default Layman, Git, ... and Http-Proxies

Hello,

i tried to use layman (current stable version). The problem ist that i sit
behind a proxy server which covers the http(s) protocol only. All other ports
are closed.

In the config file of layman (/etc/layman/...) i entered the proxy server and
the listening port. Then layman was able to get the list of overlays.

But if i want to get an overlay (here: x11 overlay) it starts git to get it.
After a while git aborts with a timeout. It seems that git does not take the
proxy info layman has into account.

Tried also to export the proxy:
export http_proxy="<proxy-server>:<proxy-port>"
or
export http_proxy="http://<proxy-server>:<proxy-port>"

before executing
layman -a x11

but this didn't help.

How to overcome the problem ?

Does layman pass the proxy info to the executed sub-programs (i.e. cvs,
subversion, git, ...) ?
(it not that may be an enchancement)

regards
Petric
 
Old 05-21-2010, 08:17 AM
"J. Roeleveld"
 
Default Layman, Git, ... and Http-Proxies

On Thursday 20 May 2010 23:24:24 Petric Frank wrote:
> Hello,
>
> i tried to use layman (current stable version). The problem ist that i sit
> behind a proxy server which covers the http(s) protocol only. All other
> ports are closed.
>
> In the config file of layman (/etc/layman/...) i entered the proxy server
> and the listening port. Then layman was able to get the list of overlays.
>
> But if i want to get an overlay (here: x11 overlay) it starts git to get
> it. After a while git aborts with a timeout. It seems that git does not
> take the proxy info layman has into account.
>
> Tried also to export the proxy:
> export http_proxy="<proxy-server>:<proxy-port>"
> or
> export http_proxy="http://<proxy-server>:<proxy-port>"
>
> before executing
> layman -a x11
>
> but this didn't help.
>
> How to overcome the problem ?
>
> Does layman pass the proxy info to the executed sub-programs (i.e. cvs,
> subversion, git, ...) ?
> (it not that may be an enchancement)
>
> regards
> Petric
>

Hi Petric,

I am not certain about git, but for subversion I had to set it in the
subversion config.
On my system:
*****
host ~ # cat ~/.subversion/servers | grep proxy
http-proxy-host = proxy.mydomain.com
http-proxy-port = 8080
*****

I am guessing that a similar setting is required for git and others.

--
Joost
 

Thread Tools




All times are GMT. The time now is 10:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org