12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System Configuration—Keeping it UpdatedIn the above supfile, we are tracking the src-all tree from the RELENG_7 branch tag.This is the –STABLE for the 7.x line of development, which contains the latest codeof this release, including the critical fixes, security updates, and other new featuresthat are merged from –CURRENT branch. Merged from - Current (MFC) means thatthe code that was committed to –CURRENT for testing is approved to be imported to–STABLE branch.In the above example, the server cvsup7.freebsd.org is used. There are numerousCVSup mirrors available for the end users. So you don't have to spam the mainCVSup server.The updated list of the CVSup mirrors is available in the FreeBSD handbook athttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html.You may choose the geographically nearest mirror for a better performance. You canalso use the fastest_cvsup(7) utility (available under sysutils/fastest_cvsupin ports collection), which helps you to find the fastest CVSup server depending onyour geographical location and network behavior:# fastest_cvsup -Q -r -c allcvsup.uk.freebsd.orgIn the above example, it fetches the list of CVSup mirrors from the handbook andtries to connect to all servers (actually connects to server and does not rely on ping),and makes decisions based on the servers' response time. In the case above, theUK-based mirror of FreeBSD is the best. This could however be different foryour location.The fastest_cvsup would take a few minutes to figure out whichmirror is most suitable. The time depends on your internet connectionspeed. On a typical dsl internet connection, it would take up toten minutes.You can take the supfile samples from /usr/share/examples/cvsup, copy it to /etc, and modify it to match your preferences.After creating your first supfile, you can use CVSup or csup to synchronize yourlocal copy of repository with the latest online version. If you are using a narrow bandinternet link, you can enable the compression, to gain better performance.# csup /etc/cvsupfileConnected to cvsup.uk.freebsd.orgUpdating collection src-all/cvsEdit src/Makefile.inc1[ 32 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!