--On November 21, 2012 5:49:07 PM -0500 Fbsd8 <[email protected]> wrote:

Paul Schmehl wrote:
--On November 21, 2012 6:04:00 PM +0000 Steve O'Hara-Smith
<[email protected]> wrote:

On Wed, 21 Nov 2012 12:52:14 -0500
Fbsd8 <[email protected]> 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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to