How to change the macports mirror

I am new to OS X and totally confused about how macports works.

My question is how to change the mirror or sites where macports uploads port files and distfiles.

The mirror I'm trying to use: http://mirrors.ustc.edu.cn/macports/

Should I change source.conf? But this mirror does not have the rsync protocol (I don’t quite understand what rsync> _ <is).

Or do I need to configure macports.conf?

I know about the offshore leadership of macports, but I'm not smart enough to figure it out.

Can someone help me?

Thanks.

+6
source share
2 answers

According to the documentation: https://trac.macports.org/wiki/Mirrors

The URL used to get Portfiles is set to $ {prefix} /etc/macports/sources.conf

If you are new to OS X and / or MacPorts, please check out the introductory guide: http://guide.macports.org/

+1
source

The URL used to get Portfiles is set to ${prefix}/etc/macports/sources.conf

https://trac.macports.org/wiki/Mirrors

0
source

Source: https://habr.com/ru/post/904844/


All Articles