Hi everyone, I'm a new FreeBSD user, but a veteran Linux user ;) I'm using FreeBSD 6, and I was wondering while I gave a try to rebuilding ``world'' how to properly synchronize my source. Here's what I mean: After my successful installation of FreeBSD, I looked on www.bsdguides.orgfor some tips and... guides. So I learned how to properly keep my port tree updated with portsnap, with the help of this guide: http://www.bsdguides.org/guides/freebsd/beginners/portsnap.php. It says that portsnap is the ``new'' method to keep your ports tree up to date. After that, I looked for how to update FreeBSD with the latest packages from the STABLE branch. So I looked at the handbook, in the section 21. The section 21.3 ( http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html) tells us how to ``synchronize my source''. But it only talks about cvsup (and others), not about portsnap. But cvsup is considered obsolete by BSDGuides.org... So here come my questions: Is portsnap syncing the sources correctly for rebuilding world, or must I use cvsup? If so, of what use is portsnap if I must use cvsup for synchronizing my source? In fact, I'm just looking at the most up-to-date/approved/correct technique/tool to synchronize my source for ``rebuilding world'' with the latest sources from FreeBSD-6-STABLE. Thanks a lot!! =) frzburn
frzburn wrote:> Hi everyone, > I'm a new FreeBSD user, but a veteran Linux user ;) > I'm using FreeBSD 6, and I was wondering while I gave a try to rebuilding > ``world'' how to properly synchronize my source. Here's what I mean: > > After my successful installation of FreeBSD, I looked on > www.bsdguides.orgfor some tips and... guides. So I learned how to > properly keep my port tree > updated with portsnap, with the help of this guide: > http://www.bsdguides.org/guides/freebsd/beginners/portsnap.php. It says > that > portsnap is the ``new'' method to keep your ports tree up to date. > > After that, I looked for how to update FreeBSD with the latest packages > from > the STABLE branch. So I looked at the handbook, in the section 21. The > section 21.3 ( > http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html) > tells us how to ``synchronize my source''. But it only talks about cvsup > (and others), not about portsnap. But cvsup is considered obsolete by > BSDGuides.org... > > So here come my questions: > Is portsnap syncing the sources correctly for rebuilding world, or must I > use cvsup? > If so, of what use is portsnap if I must use cvsup for synchronizing my > source? > > > In fact, I'm just looking at the most up-to-date/approved/correct > technique/tool to synchronize my source for ``rebuilding world'' with the > latest sources from FreeBSD-6-STABLE. > > Thanks a lot!! =) > > frzburnPortsnap is only for ports, and as far as I am aware, there are no plans to add source functionality. Either method does the job, what you choose is up to you. Thanks, J
frzburn wrote: > > > On 3/3/07, *Joe Holden* <joe@joeholden.co.uk > <mailto:joe@joeholden.co.uk>> wrote: <snip> > > Thanks for the reply! > So if I understand well, i must use CVSup (or csup) to ``synchronize my > source''. > > But if I use CVSup, will it update my ports tree also? Then portsnap > really becomes useless, unless I only want to update my ports tree, right? > > Thanks! =) > > frzburn > You can update both using cvsup, once you've installed the cvsup client, and decided what to checkout(sync), you can use the examples in /usr/share/examples/cvsup to sync exactly what you want. ie; for just syncing your source, you might want to use: *default host=cvsup.uk.freebsd.org (or a closer mirror) *default base=/var/db *default prefix=/usr *default release=cvs tag=$TAG (where $tag is RELENG_6 for 6.x -STABLE/RELENG_6_2 for 6.2+Security/. for -CURRENT) *default delete use-rel-suffix *default compress src-all Thanks, J P.S: please use "Reply all" so that your responses also get sent to the mailing list
Brandon S. Allbery KF8NH
2007-Mar-04 04:29 UTC
portsnap and cvsup for rebuilding world - Which one?
On Mar 3, 2007, at 22:23 , frzburn wrote:> So here come my questions: > Is portsnap syncing the sources correctly for rebuilding world, or > must I > use cvsup? > If so, of what use is portsnap if I must use cvsup for > synchronizing my > source?It's a little out of date; instead of cvsup, you use csup which is in the base system (and only supports updating the base system, hence portsnap). -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
On Sun, 04 Mar 2007 04:23:55 +0100, frzburn <frzburn@gmail.com> wrote:> Hi everyone,[cut some text]> So here come my questions: > Is portsnap syncing the sources correctly for rebuilding world, or must I > use cvsup? > If so, of what use is portsnap if I must use cvsup for synchronizing my > source? > > In fact, I'm just looking at the most up-to-date/approved/correct > technique/tool to synchronize my source for ``rebuilding world'' with the > latest sources from FreeBSD-6-STABLE.Read this. It tells you why portsnap is invented. And why cvsup/csup is still better for other things then ports. http://www.daemonology.net/portsnap/ Ronald. -- Ronald Klop Amsterdam, The Netherlands