Enabling fetch.type svn to work with a proxy

Blair Zajac blair at orcaware.com
Mon Aug 20 16:15:49 PDT 2012


On 08/20/2012 04:10 PM, Ryan Schmidt wrote:
>
> On Aug 20, 2012, at 16:20, Blair Zajac wrote:
>
>> Newer svn versions support the following:
>>
>> $ svn co \
>>   --config-option servers:global:http-proxy-host=PROXY.MYDOMAIN.COM \
>>   --config-option servers:global:http-proxy-port=8080
>
> How new?

My svn 1.6.17 on my Ubuntu system supports it.

> On Aug 20, 2012, at 16:59, Christoph Iserlohn wrote:
>
>> I assume you refer to a enviroment variable 'http_proxy'.
>
> Shouldn't it be looking at the proxy* variables in macports.conf instead of environment variables which would have already been cleared?

Agreed.  I was trying to pull the value it should use from there instead 
of from the env.  Maybe if the fetch is run with the proper env already 
set up, then that's what I should use instead of trying to determine to 
use macports.conf or the env?

Blair



More information about the macports-dev mailing list