portsnap fetch 默认太慢了。 使用:
#portsnap fetch -s portsnap.cn.freebsd.org
#portsnap extract
下载包也是太慢,换成阿里云的:
编辑 /etc/make.conf
MASTER_SITE_BACKUP?=http://mirrors.aliyuncs.com/freebsd/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=${MASTER_SITE_BACKUP}
或者
MASTER_SITE_BACKUP?=http://distcache.freebsd.org/ports-distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=${MASTER_SITE_BACKUP}
DEFAULT_VERSIONS+=ssl=openssl
阿里云内网用:mirrors.aliyuncs.com 外网就用mirror.aliyuncs.com