freebsd 国内相当快的ports源地址

在/etc/make.conf里添加:

FETCH_CMD=/usr/local/bin/wget -c -t 1
DISABLE_SIZE=yes
MASTER_SITE_OVERRIDE= \
http://ports.hshh.org/${DIST_SUBDIR}/ \
ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ \
ftp://ftp2.tsinghua.edu.cn/mirror/FreeBSD/ports/distfiles/ \
ftp://freebsd.csie.nctu.edu.tw/pub/FreeBSD/ports/distfiles/ \
ftp://ftp.hk.freebsd.org/pub/FreeBSD/ports/distfiles/ \

分享到QQ空间

Comments are closed.