Syncing ports to another machine

Joshua Root jmr at macports.org
Sat Jul 23 19:09:31 PDT 2011


On 2011-7-24 11:47 , Arno Hautala wrote:
> On Sat, Jul 23, 2011 at 15:14, Joshua Root <jmr at macports.org> wrote:
>>
>> You can set up macports.conf with something like:
>>
>> archive_site_local      http://mymac.local/path/to/archives
>>
>> and it will download the archives from there, if present. (It will fall
>> back to building from source if they're not.) The URL can be any type
>> supported by curl.
> 
> OK, I can get that going. Is there a way to pass additional options to
> curl? One way that I could get this running (without starting a web
> server) is via scp, but that would require passing additional
> arguments in order to specify the location of keys and certificates.
> Is that possible?

Probably not. There are some options that the common fetch code looks
at, but they're not configurable globally and I don't think the right
ones for scp are there. Relevant code if you're interested:

<https://trac.macports.org/browser/trunk/base/src/package1.0/portarchivefetch.tcl#L159>
<https://trac.macports.org/browser/trunk/base/src/pextlib1.0/curl.c#L114>

- Josh


More information about the macports-users mailing list