Version 4 (modified by wsiegrist@…, 17 years ago) (diff) |
---|
Portfile Sync via Daily Tarball
- Audience: Users who can't use rsync or svn
- Requires: MacPorts
Introduction
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 www.macports.org.
Installation
Step 1: Go to the port tree directory
cd ${prefix}/var/macports/sources/rsync.macports.org/release/
Step 2: Download Tarball
Download the tarball from ports.tar.gz:
curl -LO http://www.macports.org/files/ports.tar.gz
Step 3: Unpack the tarball
tar zxvf ports.tar.gz
Configuration
As long as you use the default rsync location, there should be no need to change any configuration.
TODO
Automatic Install Script
It would be nice to have a shell script or installer for this that automates the process.