How to sync MacPorts without rsync

If port 873 is blocked on your network and you need to sync MacPorts do this:

In /opt/local/etc/macports/sources.conf replace

rsync:// [default]

with [default]

and run

sudo port sync

instead of

sudo port selfupdate

MacPorts is now synching using http over port 80 instead of rsync over port 873.

3 Responses to How to sync MacPorts without rsync

    • If you mean that MacPorts is not upgrading itself, then I believe you’re right.

      For upgrading MacPorts, I guess you would have to run

      sudo selfupdate --nosync

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>