using an http proxy?

William Siegrist wsiegrist at apple.com
Tue Mar 25 13:40:34 PDT 2008


The svn method of syncing uses port 80.

-Bill



On Mar 25, 2008, at 1:16 PM, Noah Leaman wrote:
> Is it possible to have an officially supported rsync service that
> listens on port 80 for people like us who cannot get standard rsync
> ports opened up on the firewall? Is there a technical reason why I
> can't be done or is it a resource issue?
>
> --  
> Noah
>
> On Mar 24, 2008, at 2:48 PM, Rainer Müller wrote:
>
>> Bryan Blackburn wrote:
>>> If you set the standard curl proxy environment variables  
>>> (http_proxy,
>>> FTP_PROXY, etc; see 'man curl'), this should get fetching of sources
>>> to work through the proxy.
>>
>> According to ticket #13158 [1], you have to specify your proxy on the
>> command line if using sudo, as it normally unsets environment
>> variables:
>>
>> $ sudo env http_proxy='foobar' port fetch $portname
>>
>> This is still missing from the HOWTO section in the wiki [2], but
>> requested. Any volunteers? :-)
>>
>>> However, for selfupdate, which uses rsync, there isn't a way to use
>>> the proxy.  I think in this case you have to use a subversion-based
>>> repository instead.  For this you need to checkout MacPorts[1], then
>>> updated your ${prefix}/etc/macports/sources.conf to point to the
>>> location of the dports directory instead of the rsync:// line.
>>
>> Unfortunately if rsync is unavailable, there is no other way of
>> updating
>> base than downloading sources and compiling manually. But the ports
>> tree
>> can be synced with svn over HTTP/HTTPS.
>>
>> Rainer
>>
>> [1] http://trac.macosforge.org/projects/macports/ticket/13158
>> [2] http://trac.macosforge.org/projects/macports/wiki/howto/
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users




----
William Siegrist
Software Support Engineer
Mac OS Forge
http://macosforge.org/
wsiegrist at apple.com
408 862 7337





-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080325/4fc16f69/attachment-0001.bin 


More information about the macports-users mailing list