What replaces csup?

Warren Block wblock at wonkity.com
Tue Sep 18 03:26:46 UTC 2012

On Mon, 17 Sep 2012, Paul Schmehl wrote:

> --On September 17, 2012 8:42:33 PM -0400 Robert Huff <roberthuff at rcn.com> 
> wrote:
>> Paul Schmehl writes:
>>>  Does csup use subversion now?  Or do we need to use something
>>>  else to fetch source?
>> 	As I understand it, for the average user c(vs)up and subversion
>> serve the same function using different methods (both in terms of
>> identifying what files need to be fetched and actually fetching
>> them).  At this level of discussion they are mutually exclusive.
>> 	I have switched from csup to subversion for ports and docs.
>> After modest preparation it was essentially painless.
> Are these modest preparations documented somewhere?

For source, save any local diffs somewhere, delete /usr/src, install svn 
from ports, svn checkout the version you want, patch from the diffs. 
Same for docs.  Example checkout of 9-STABLE:
   svn checkout svn://svn0.us-west.FreeBSD.org/base/stable/9 /usr/src

For ports, it's probably worth saving the distfile directory along with 
local diffs.  Move it back into place after the svn checkout of the 
ports tree.

After that, it's just "svn up" to update the appropriate directory.  If 
something changes in the archive that conflicts with local patches, svn 
will let you know and try to help merge the remote and local changes.
Example update of source checked out as above:
   svn up /usr/src

More information about the freebsd-questions mailing list