Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 16:57:44 -0600
From:      Paul Schmehl <pschmehl_lists@tx.rr.com>
To:        Fbsd8 <fbsd8@a1poweruser.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: csup to svn
Message-ID:  <7EBAE272FBCACAF2B70CF68B@utd71538.campus.ad.utdallas.edu>
In-Reply-To: <50AD5A63.7030603@a1poweruser.com>
References:  <201211211618.qALGInRp081114@mech-cluster241.men.bris.ac.uk> <50AD14CE.2010509@a1poweruser.com> <20121121180400.950f6b1dcabbe2440288e388@sohara.org> <3B50A6720621F0F754D795F3@utd71538.campus.ad.utdallas.edu> <50AD5A63.7030603@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On November 21, 2012 5:49:07 PM -0500 Fbsd8 <fbsd8@a1poweruser.com> wrote:

> Paul Schmehl wrote:
>> --On November 21, 2012 6:04:00 PM +0000 Steve O'Hara-Smith
>> <ateve@sohara.org> wrote:
>>
>>> On Wed, 21 Nov 2012 12:52:14 -0500
>>> Fbsd8 <fbsd8@a1poweruser.com> wrote:
>>>
>>>> You missed to whole point of my question.
>>>> I don't want to maintain the WHOLE ports tree.
>>>> I only want to download selected single port.
>>>> My current ports tree only has 2 ports, apache22 and php5.
>>>> So your reply did not answer my question.
>>>> Thanks any how.
>>>
>>>     This works
>>>
>>> svn co svn://svn0.us-east.freebsd.org/ports/head/www/apache22 .
>>>
>>>     If you do it in /usr/ports/www/apache22 then the port winds up in a
>>> sane place.
>>
>> No!  This will create an apache22 port in
>> /usr/ports/www/apache22/apache22!
>>
>> You want to checkout the port while you're in the category directory.
>>
>> IOW, cd /usr/ports/www && svn co blah blah blah
>>
>> If you want to do a category, cd /usr/ports/ && svn co
>> svn://svn.freebsd.org/ports/head/www
>>
>>
>> Once you have it you can do svn up in /usr/ports/www/apache22
>>> to update it.
>>>
>>>     This will probably become intolerably clumsy for more than a
>>> handful of ports.
>>
>>
>>
>
> Yeap thats the ticket. I tested this and it works also
>
> svn co svn://svn.freebsd.org/ports/head/misc/ytree /usr/ports/misc/ytree
>
> Don't have to change into target directory.
>
>
> Another question
>
> csup has category called "base" that checkouts all the pieces parts
> making up the ports "make" environment.
>
> svn has no category called "base"
>
> What is base called in svn category?
>
>

svn co svn://svn.freebsd.org/base/release/8.3.0 /usr/src

for example.

To see the various branches, go to the svnweb site. 
<http://svnweb.freebsd.org/>;

In general, the checkout command will pull whatever you ask for and put it 
where you tell it to and save date in a .svn directory which then allows 
you to run svn up from then on (unless you delete the .svn directory 
structure) to upgrade your sources.




>
>
>



-- 
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell




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