升级FreeBSD的ports

    技术2022-05-12  0

    Xinsoft-BSD# cp /usr/share/examples/cvsup/ports-supfile /rootXinsoft-BSD# vi /etc/make.conf

    # added by root [Xinoft] 2006-02-05 03:52:11# for cvsup# Block_CVSUP :: begin

    SUP_UPDATE= yesSUP= /usr/local/bin/cvsupSUPFLAGS= -g -L 2

    # cvsup[1-9].tw.FreeBSD.orgSUPHOST= ftp.freebsdchina.org

    SUPFILE= /usr/share/examples/cvsup/stable-supfilePORTSSUPFILE= /root/ports-supfileDOCSUPFILE= /usr/share/examples/cvsup/doc-supfile

    MASTER_SITE_BACKUP?= /

    ftp://ibm.tju.edu.cn/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}//ftp://ftp.freebsd.org.cn/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}//ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/

    # Block_CVSUP :: end

    Xinsoft-BSD# cd /usr/ports/Xinsoft-BSD# make update

     

    最新回复(0)