Option for a "local mirror"?

Marko Käning MK-MacPorts at techno.ms
Wed Dec 22 17:29:26 PST 2010

> There's no specific option for this, but I do have my MacPorts installations set up in this way. I set up each machine as a web server and configure it to serve the MacPorts distfiles.
In my case these MacPorts installations live on one iMac. It's just different ${prefix}es...

> Then I edit the mirror_sites.tcl file (in dports/_resources/port1.0/fetch) and add my machines' URLs to the macports_distfiles section. If you're using the default rsync method of fetching portfiles, your changes will be wiped out next time you sync, so you'd want to switch to using Subversion to fetch them.
Well, I guess I am using rsync, the standard.

How to tell MacPorts to use SVN?

More information about the macports-dev mailing list