The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Article Feedback - Private DNS
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 A safer approach?
Author: Sorry, I am tired of SPAM 
Date:   02-11-01 15:07

CAVEAT
Always check the handbook before you proceed. Things can change by the time you read this. An easy way to see the latest version is to access it via the search interface at the web:
http://www.freebsd.org/search/index.html
Keywords you may want to try in your search: cvsup, supfile, and portcheckout come to mind.

That being said, a safer procedure than the one described in your article is (IMHO) :

a) pkg_add -r cvsup-16.1.e
pkg_add -r portcheckout-2.0

b) create this file
--- begin of file /usr/local/etc/cvsup/supfile.minimal
*default tag=.
*default host=cvsup.YOURCOUNTRYCODE.FreeBSD.org
*default prefix=/usr
*default base=/usr/local/etc/cvsup
*default release=cvs delete use-rel-suffix compress
ports-base
--- end of /usr/local/etc/cvsup/supfile.minimal
Note: YOURCOUNTRYCODE to be replaced by that if a cvsup mirror
is in your country. (For a list of them search the handbook.)

c) cvsup -g -L 2 /usr/local/etc/cvsup/supfile.minimal

d) man portcheckout
Will explain you what to do next.

Essentially portcheckout will fetch the ports tree skeleton
of your favorite port and all its dependencies. No less no more.

Hope this helps.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org