Monday, April 17, 2017

使用wget axelåŠ é€Ÿä½ çš„FreeBSD port下载

使用wget axelåŠ é€Ÿä½ çš„FreeBSD port下载


???????????make.conf??

??wget
========
FETCH_CMD= wget
FETCH_BEFORE_ARGS= -c -t 1
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes  #?????????...

??3??????
FETCH_CMD=wget -c -t 1

????wget???????????????
FETCH_ENV=http_proxy=http://proxy2.zsu.edu.cn:3128
FETCH_ENV=ftp_proxy=http://proxy2.zsu.edu.cn:3128

???????????????proxychains ??socks5(runsocks)
?FETCH_CMD=proxychains wget??runsocks wget

??????wget???????

cd /usr/ports/ftp/wget/
make install clean

??axel
========
????????axel???fetch????????
FETCH_CMD=axel
FETCH_BEFORE_ARGS= -a
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes
??????
FETCH_CMD=axel -a

axel ???????????wget??

axel?/usr/ports/ftp/axel??

?????port????
====================
?????????????make?????????port

MASTER_SITE_OVERRIDE=
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/ 
ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/distfiles/

?????????????????????

Available link for download