Below you will find pages that utilize the taxonomy term “ports”
April 18, 2009
用wget加快ports下载
"1.安装wget\n#cd /usr/ports/ftp/wget/\n#make install clean\n2.修改/etc/make.conf\nFETCH_CMD=wget -c -t 1\nDISABLE_SIZE=yes #这行是必要的,否则…\n如果你要wget穿透代理服务器,请加上下面两行\nFETCH_ENV=http_proxy=http://proxy2.zsu.edu.cn:3128\nFETCH_ENV=ftp_proxy=http://proxy2.zsu.edu.cn:3128\n或者使用其他的穿越代理工具例如proxychains 或者socks5(runsocks)\n则FETCH_CMD=proxychains wget或者runsocks wget"
February 4, 2009
ports中的make命令的可用参数
"我们经常使用ports来安装程序,ports中的make命令还可以有很多的功能:\n引用\nfetch – Retrieves ${DISTFILES} (and ${PATCHFILES} if defined) into ${DISTDIR} as necessary.\nfetch-list – Show list of files that would be retrieved by fetch.\nfetch-recursive – Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and dependencies into ${DISTDIR} as necessary.\nfetch-recursive-list – Show list of files that would be retrieved by fetch-recursive.\nfetch-required– Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and …"
January 1, 2009
升级FreeBSD的ports
"Xinsoft-BSD# cp /usr/share/examples/cvsup/ports-supfile /root\nXinsoft-BSD# vi /etc/make.conf\nadded by root [Xinoft] 2006-02-05 03:52:11 for cvsup Block_CVSUP :: beginSUP_UPDATE= yes SUP= /usr/local/bin/cvsup\nSUPFLAGS= -g -L 2# cvsup[1-9].tw.FreeBSD.org\nSUPHOST= ftp.freebsdchina.org\nSUPFILE= /usr/share/examples/cvsup/stable-supfile\nPORTSSUPFILE= /root/ports-supfile\nDOCSUPFILE= /usr/share/examples/cvsup/doc-supfileMASTER_SITE_BACKUP?= …"