Re: cvsup newbie questions

From: Joshua Tinnin (krinklyfig_at_spymac.com)
Date: 12/17/04

  • Next message: Mário Gamito: "Re: No pear"
    To: freebsd-questions@freebsd.org
    Date: Fri, 17 Dec 2004 14:58:48 -0800
    
    

    On Friday 17 December 2004 01:11 pm, Kevin Smith <smithcam@adelphia.net>
    wrote:
    > I'm interested in upgrading to gnome 2.8 (and possibly the newer
    > releases of other applications)...I'm running the following version
    > of freebsd:
    >
    > 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004
    > root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
    >
    > In starting to learn cvsup, I'm trying to figure out what I need.
    >
    > The "src-all" collection seems like it is more than I want to update.
    > Freebsd seems to be working fine on my system and I don't think that
    > I want to upgrade any kernel or OS-related programs unless any
    > applications that I would want depend on it.

    Most of your questions have already been answered, but I thought it
    might be worth emphasizing a couple of things. First, unless you know
    exactly why you want to update only part of your sources, and you know
    exactly what those sources contain, then it's probably best to update
    all your sources. This is because a buildworld or build kernel could
    fail if you only update part of your sources and there are old versions
    of other files hanging around, or it could cause other issues even if
    it builds and installs.

    > So, if I am just interested in the latest fixes/version for
    > applications running on 5.3-Release, should I just upgrade the ports
    > collection ?

    No, the ports collection is the collection of 3rd-party apps' Makefiles
    and patches - it just simplifies installing applications. To accomplish
    what you want, you should cvsup src-all with RELENG_5_3:
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html ,
    which, after a complete build, installworld and kernel:
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html ,
    should bring you up to patchlevel 2. This would be a good idea in
    general, as vulnerabilities in fetch and procfs have been fixed (you
    can subscribe to security alerts here:
    http://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications ).
    You can also customize your kernel config file before you do this:
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

    > There is an example supfile in
    > /usr/share/examples/cvsup/ports-supfile. Would this be the best
    > configuration to use ?

    You should use that for updating your ports tree, which you can or
    should do before upgrading and/or installing apps.

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

    http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html?page=1

    http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html

    You can also install apps the "traditional" way, but the ports system is
    fairly reliable, although it has its quirks (which is to be expected
    with 12,000+ port entries).

    > Also, when I do upgrade the ports tree, I'm assuming it will just
    > upgrade the skeleton tree, correct ?

    Right, and the Makefiles and patches, but not the sources. Those can be
    fetched by themselves with various installation switches, and that's
    also done automatically when compiling and installing apps through
    ports.

    > Even if I do upgrade "src-all",
    > its not going to down load the .tar files for all the source code ?

    It will download all the source code for FreeBSD, which you should do if
    you're going to rebuild for an update. You can keep it there afterwards
    for future upgrades or refinements (in /usr/src) unless space is a
    serious consideration.

    - jt
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Mário Gamito: "Re: No pear"

    Relevant Pages

    • Re: upgrade by hand
      ... > the info seems to center on using cvsup and port upgrade, ... > upgrading from 'most any prior freebsd' to latest production release? ... Are you installing 6.0-RELEASE from scratch or building from source? ... then it's still a good idea to start with a full backup. ...
      (freebsd-questions)
    • Re: Make Question
      ... I have inherited an old FreeBSD 5.1 machine. ... I needed to upgrade the perl/openssh/openssl implementation on ... So then I thought to csup the ports tree ... and try with a new version, that fails as well. ...
      (freebsd-questions)
    • Re: Hosed up ports systems
      ... > want to upgrade their ports. ... On the other hand you may recognize that the FreeBSD ports people ... Such enhancements are precisely contemplated by the ...
      (comp.unix.bsd.freebsd.misc)
    • Re: portupgrade -af on FreeBSD 5.3 and I get two conftest signal 12 core dumps ?!!
      ... > I've recently migrated to FreeBSD 5.3. ... > ports anyway. ... > .core file, I can't find any on my hard drive anywhere! ... work directory which gets cleaned up automatically during the upgrade. ...
      (freebsd-current)
    • Re: mentor
      ... > freebsd disks as a gift from a gentleman i met through ... > dependencies upon dependencies or packages in the ... Pay particular attention to the sections on 'Installing FreeBSD', ... 'Installing Packages and Ports' and Appendix A: ...
      (freebsd-questions)