Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2012 21:26:45 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Cc:        questions@freebsd.org
Subject:   Re: What replaces csup?
Message-ID:  <alpine.BSF.2.00.1209172115020.26215@wonkity.com>
In-Reply-To: <39B0E74E2DF04033DE7D0080@Pauls-MacBook-Pro.local>
References:  <D97788AE24B7FFB0C79AA6FB@localhost> <k38bct$ang$1@ger.gmane.org> <780066C6E2FAB67A997876B7@Pauls-MacBook-Pro.local> <20567.50041.903201.979498@jerusalem.litteratus.org> <39B0E74E2DF04033DE7D0080@Pauls-MacBook-Pro.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Sep 2012, Paul Schmehl wrote:

> --On September 17, 2012 8:42:33 PM -0400 Robert Huff <roberthuff@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1209172115020.26215>