How to update sources and ports via cvsup in FreeBSD
1.Install cvsup-without-gui from ports:
cd /usr/ports/net/cvsup-without-gui
make install
2. Copy the cvsup recipes to /usr/local/etc:
cp /usr/share/examples/cvsup/stable-supfile /usr/local/etc/stable-supfile
cp /usr/share/examples/cvsup/ports-supfile /usr/local/etc/ports-supfile
3. Edit the cvsup recipes for both stable and ports -- you just need to specify the server to use (for example cvsup4.us.FreeBSD.org)
ee /usr/local/etc/stable-supfile
ee /usr/local/etc/ports-supfile
4. Update your sources
/usr/local/bin/cvsup -g /usr/local/etc/stable-supfile
/usr/local/bin/cvsup -g /usr/local/etc/ports-supfile
5. install portupgrade and update all previously installed ports
cd /usr/ports/sysutils/portupgrade
make install
/usr/local/sbin/portsdb -Uu
portupgrade -aiRr
|