View Single Post
  #5   (View Single Post)  
Old 26th June 2008
ohauer ohauer is offline
Port Guard
 
Join Date: May 2008
Location: germany
Posts: 32
Default

I do this the following way since 5.1 with no hassle

file:/etc/fstab
Code:
/space2/ports   /usr/ports    nullfs  rw,noatime   0 0
file:/etc/portsnap.conf
Code:
PORTSDIR=/space2/ports
file:/etc/make.conf
Code:
PACKAGES?= /space1/packages
WRKDIR?=   /build_space/PORTBUILD/${PORTNAME}_${PORTVERSION}
DISTDIR?=  /big_space/distfiles

.if ${HOSTNAME} != "MachineWithAllTheDistfiles"
MASTER_SITE_BACKUP=ftp://MachineWithAllTheDistfiles/pub/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=${MASTER_SITE_BACKUP}
.endif
With WRKDIR set in make.conf php ports cannot be builded if build-recursive contains more then one php port

So i have one central machine that updates every subscribed machine with rsync and portsnap gets all installed ports with the command
# pkg_info -qoa
and fetch new distfiles from all collected ports
Reply With Quote