Re: portsnap and cvsup for rebuilding world - Which one?
On Sunday 04 March 2007 06:02, Joe Holden wrote: 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: Create file: fastest_source.sh --- #/bin/sh csup -h $(fastest_cvsup -q -c us,de,uk,se,no,et,ru ) /usr/share/examples/cvsup/ports-supfile --- Now run it: # sh fastest_source.sh -=(oo)=(cvsup7.ru.freebsd.org)=- Connected to 195.14.50.21 Updating collection ports-all/cvs .. Change ports-supfile to standard-supfile if you want to update system source from fastest cvs server. You can run this script from cron if you want. Andrei ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
Brandon S. Allbery KF8NH wrote: 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? There's more than one way to do it. Which alternative you choose is largely a matter of personal taste, convenience and if it supports the particular features you need. portsnap and csup are only the latest additions to the whole shebang. Before that there was sup -- but support for that has entirely gone now I believe; ctm which was (still is?) a means of receiving CVS deltas via e-mail, as well as such things as anon-cvs and rsync, bittorrent and plain old HTTP or FTP. 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). Uh, no. csup will let you grab ports, docs, www or whatever else is available through any of the cvsup collections. Or any other cvsup collections you might choose to create yourself. So long as the output is a checked out tree of stuff, csup operates practically identically to cvsup. The difference comes if you want to replicate an entire cvs repository, for which you still need the original modula-3 based cvsup. Or if you want to serve any sort of cvsup collection -- csup is client side only. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: portsnap and cvsup for rebuilding world - Which one?
On Sun, 04 Mar 2007 04:23:55 +0100, frzburn [EMAIL PROTECTED] 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
Well, again, thanks for all your replies! =) After all you told me, I guess this guides describes the right tools to use and the right way for rebuilding world. http://www.bsdguides.org/guides/freebsd/beginners/update_freebsd.php Thanks! frzburn On 3/4/07, Ronald Klop [EMAIL PROTECTED] wrote: On Sun, 04 Mar 2007 04:23:55 +0100, frzburn [EMAIL PROTECTED] 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
frzburn wrote: Well, again, thanks for all your replies! =) After all you told me, I guess this guides describes the right tools to use and the right way for rebuilding world. http://www.bsdguides.org/guides/freebsd/beginners/update_freebsd.php Thanks! frzburn On 3/4/07, Ronald Klop [EMAIL PROTECTED] wrote: On Sun, 04 Mar 2007 04:23:55 +0100, frzburn [EMAIL PROTECTED] 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] It might be worth noting you can set KERNCONF in your make.conf and you can just do make kernel instead of make buildkernel make installkernel. it just runs both for you. There's no difference it is just a shorter path (not much though). ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
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!! =) frzburn Portsnap 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
frzburn wrote: On 3/3/07, *Joe Holden* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 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] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon universityKF8NH ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
On 3/3/07, Michael W. Belz [EMAIL PROTECTED] wrote: Exactly there is a source and ports example files in usr/share/examples/cvsup dir perform each individually ggood reply sir! On Sat, 3 Mar 2007 8:21 pm, Joe Holden wrote: frzburn wrote: On 3/3/07, *Joe Holden* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] Michael Belz System Administrator Sky River Management 702.336.9418 Sent from Sidekick 2 Good! Thanks you all of you! =D frzburn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
Stick with what has been posted, documented and tried and tested more importantly your having issues finding solid docs to support your task...using cvsup you have handbook docs and freebsd diary to use don't reinvent the wheel On Sat, 3 Mar 2007 8:30 pm, Brandon S. Allbery KF8NH wrote: 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] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon university KF8NH ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] Michael Belz System Administrator Sky River Management 702.336.9418 Sent from Sidekick 2 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
On Mar 3, 2007, at 23:37 , Michael W. Belz wrote: Stick with what has been posted, documented and tried and tested more importantly your having issues finding solid docs to support your task...using cvsup you have handbook docs and freebsd diary to use don't reinvent the wheel Probably a good idea; I'm not planning to switch my installed systems from cvsup any time soon. I hope portsnap and csup will be better documented in the future, though; that whole cvsup wants modula-3 thing is just a little annoying :) -- brandon s. allbery[linux,solaris,freebsd,perl] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon universityKF8NH ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
Brandon S. Allbery KF8NH wrote: On Mar 3, 2007, at 23:37 , Michael W. Belz wrote: Stick with what has been posted, documented and tried and tested more importantly your having issues finding solid docs to support your task...using cvsup you have handbook docs and freebsd diary to use don't reinvent the wheel Probably a good idea; I'm not planning to switch my installed systems from cvsup any time soon. I hope portsnap and csup will be better documented in the future, though; that whole cvsup wants modula-3 thing is just a little annoying :) --brandon s. allbery[linux,solaris,freebsd,perl] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon universityKF8NH Which is where csup comes in ;) Ta, J ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
Exactly there is a source and ports example files in usr/share/examples/cvsup dir perform each individually ggood reply sir! On Sat, 3 Mar 2007 8:21 pm, Joe Holden wrote: frzburn wrote: On 3/3/07, *Joe Holden* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] Michael Belz System Administrator Sky River Management 702.336.9418 Sent from Sidekick 2 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap and cvsup for rebuilding world - Which one?
Brandon S. Allbery KF8NH wrote: 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). That last bit is not actually correct. csup will update anything cvsup can in checkout mode, so you can check out a src tree, a ports tree, a doc tree, etc. with csup. The only thing you can't do is mirror a repository in cvs mode. So far only cvsup can do that. hth, Doug -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]