Tuesday, June 13, 2006

banging on freebsd ports

Got a local ports/distfiles repository you've been filling up?

Do the following:

/etc/make.conf
MASTER_SITE_BACKUP=ftp://noc.presanog.org.bt/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_FREEBSD=yes

http://ws.edu.isoc.org/workshops/2005/pre-SANOG-VI/ha/intro-freebsd/intro-freebsd-exercises.html#ports

doing a similar thing with packages you can do by setting the enviornment variable:

# export PACKAGEROOT=ftp://ftp3.FreeBSD.org

No comments: