From owner-freebsd-questions@FreeBSD.ORG Wed Nov 21 22:57:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0400CC7 for ; Wed, 21 Nov 2012 22:57:53 +0000 (UTC) (envelope-from prvs=665f6503f=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id C088D8FC14 for ; Wed, 21 Nov 2012 22:57:52 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAMhbrVCBbgogTmdsb2JhbABEwi0DAQEjS4IeAQEEATgCPwULCxguQxQGE4gHBr9AjDQlg11hA4hcjj6SMw X-IronPort-AV: E=Sophos;i="4.83,295,1352095200"; d="scan'208";a="106790267" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Nov 2012 16:57:45 -0600 Date: Wed, 21 Nov 2012 16:57:44 -0600 From: Paul Schmehl To: Fbsd8 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> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=2499 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 22:57:53 -0000 --On November 21, 2012 5:49:07 PM -0500 Fbsd8 wrote: > Paul Schmehl wrote: >> --On November 21, 2012 6:04:00 PM +0000 Steve O'Hara-Smith >> wrote: >> >>> On Wed, 21 Nov 2012 12:52:14 -0500 >>> Fbsd8 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. 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