Tuesday, June 22, 2010

MacPorts selfupdate not working behind firewall?

Here is the solution:
Modify the last part of /opt/local/etc/macports/sources.conf as follows

# To get the ports tree from the master MacPorts server in California, USA use:
# rsync://rsync.macports.org/release/ports/
# To get it from the mirror in Trondheim, Norway use:
# rsync://trd.no.rsync.macports.org/release/ports/
# A current list of mirrors is available at http://trac.macports.org/wiki/Mirrors
http://www.macports.org/files/ports.tar.gz [default]