Update ports colletion using cvsup
UPDATE :
For those reasons by February 28th 2013 the FreeBSD ports tree will no longer be exported to CVS. Therefore ports tree updates via CVS or CVSup will no longer available after that date. All users who use CVS or CVSup to update the ports tree are encouraged to switch to portsnap(8) [1] or for users which need more control over their ports collection checkout use Subversion directly: % svn co https://svn0.us-west.FreeBSD.org/ports/head /usr/ports and update a checked out repository using: % cd /usr/ports && svn update
Beat, on behalf of portmgr@
[1] http://www.FreeBSD.org/doc/handbook/updating-upgrading-portsnap.html
[2] http://www.FreeBSD.org/doc/handbook/mirrors-svn.html [3] http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/committers-guide/subversion-primer.html
Salah satu keunggulan freebsd adalah fasilitas ports, dimana user akan dimudahkan dalam install paket-paket software yang dibutuhkan.
Untuk menjamin ke update-an suatu paket software pada freeBSD perlu dilakukan update ports colletion, salah satu carnya dengan menggunakan cvsup-without-gui :
- install cvsup-without-gui
lewat port saja 🙂
# cd /usr/ports/net/cvsup-without-gui
# make install clean
- copy dan edit contoh file port-supfile
# cp /usr/share/examples/cvsup/ports-supfile .
# vi ports-supfile
ubah default host=CHANGE_THIS.FreeBSD.org menjadi default host=cvsup.1.FreeBSD.org
atau dengan mirror cvsup yg lain jika miroor indonesia tidak bisa diakses atau sibuk
daftar mirror dapat dilihat disini
- restart dan mulai update port
#shutdown -r now
.............
#cd /usr/share/examples/cvsup/
#cvsup -g -L 2 ports-supfile
Shutting down connection to server
Finished successfully
Selesai Ports telah terupdate.