Portfile Sync via Daily Tarball
- Audience: Users who can't use rsync or svn
- Requires: MacPorts 1.7.0 or later
Some networks and proxies prevent or break the use of rsync or svn via http. For people on these networks, getting an updated port tree can be difficult. The rsync server makes a tarball daily and stores it on the web server. This document explains how to configure MacPorts to use this tarball to update your local ports tree.
Edit $prefix/etc/macports/sources.conf, comment out the rsync entry, and add a new entry as follows:
#rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default] https://distfiles.macports.org/ports.tar.gz [default]
Run sync in debug mode and watch for the tarball being used instead of rsync:
sudo port -d sync