Re: Questions about updating...

From: rotten rottie (r0tt13_at_hotmail.com)
Date: 12/04/03

  • Next message: Olaf Hoyer: "Re: SCSI Disk not found"
    To: wegster@mindcore.net
    Date: Thu, 04 Dec 2003 20:33:21 +0000
    
    

    Ok lemme get this straight. ( Please bear with me.)

    Here is a list of packages that are on my system:

    vanapps01# pkg_info
    cvsup-without-gui-16.1f General network file distribution
    VS
    expat-1.95.5 XML 1.0 parser written in C
    ezm3-1.0 Easier, more portable Modula-3 distrib
    gettext-0.11.5_1 GNU gettext package
    gmake-3.80 GNU version of 'make' utility
    libiconv-1.8_2 A character set conversion library
    libtool-1.3.4_4 Generic shared library support script

    Since ssh is part of the base install .. if there is a patch/fix for ssh,
    which way is the proper way to update it...

    In other word how would I go about upgrading /usr/src/secure/usr.sbin/sshd
    or named or nfs or anything that is installed in the base install without
    rebooting ?

    >From: Scott W <wegster@mindcore.net>
    >To: rotten rottie <r0tt13@hotmail.com>
    >CC: freebsd-questions@freebsd.org
    >Subject: Re: Questions about updating...
    >Date: Thu, 04 Dec 2003 03:48:05 -0500
    >MIME-Version: 1.0
    >Received: from ms-smtp-03-eri0.southeast.rr.com ([24.25.9.102]) by
    >mc10-f7.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 3 Dec 2003
    >21:52:22 -0800
    >Received: from mindcore.net (rdu163-100-105.nc.rr.com [24.163.100.105])by
    >ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
    >hB45qHCH028916;Thu, 4 Dec 2003 00:52:17 -0500 (EST)
    >X-Message-Info: JGTYoYF78jEoDIcxE/d8MG4E7W9RQsz9
    >Message-ID: <3FCEF4C5.5070506@mindcore.net>
    >User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5)
    >Gecko/20031007
    >X-Accept-Language: en-us, en
    >References: <BAY9-F56n1y7aG8jN2y0000e92f@hotmail.com>
    >In-Reply-To: <BAY9-F56n1y7aG8jN2y0000e92f@hotmail.com>
    >X-Virus-Scanned: Symantec AntiVirus Scan Engine
    >Return-Path: wegster@mindcore.net
    >X-OriginalArrivalTime: 04 Dec 2003 05:52:22.0405 (UTC)
    >FILETIME=[C93BFB50:01C3BA2A]
    >
    >rotten rottie wrote:
    >
    >>I am a linux user that wants to switch to freebsd... I am a bit confused
    >>
    >>about applying updates etc..
    >>
    >>I installed a box for trial it was 5.1, I wanted to see if I could use
    >>ports
    >>to update openssh for a test examp. After the port installed I noticed
    >>that
    >>another version of openssh was installed on the system. I talked with a
    >>friend and he said that it was part of usr/src and I could update it by
    >>compiling the usr.bin version.. which was fine and worked. Here are my
    >>questions:
    >>
    >>1) if there are two trees(lack of better words) why would ssh exist in
    >>both
    >>the system tree and the ports tree ? Wouldnt it be better to have it in
    >>the
    >>ports tree ?
    >
    >Well, it IS in the ports tree, but bear a few things in mind:
    >1. Everything in /usr/src is considered part of the base system, equivalent
    >to 'system' in GenToo (unsurprisingly, as GenToo Portage/emerge is based
    >heavily on bsd ports...but see below)
    >
    >2. The ports tree is optional, but where you can track system source
    >updates to a given CVS label, eg STABLE (recommended for
    >production/stability), the ports tree isn't versioned, it's the equivalent
    >of current. When you build from a port, it essentially builds the package
    >and does a pkg_add, so it's still tracked by the bsd package system.
    >
    >This combination allows you to keep the base system at a stable level, and
    >then either NOT update your ports tree to get the equivalent ports from the
    >particular label you're tracking on a given system, or to selectivly update
    >single ports software, or all of the ports collection.
    >
    >>
    >>2) I have used gentoo in the past and am curious if there is something
    >>simular to emerge -up world/system -- I would like to cvs the ports/sys
    >>and
    >>then be able to see if anything need upgrading .. is this possible ?
    >
    >Yep, install portupgrade and cvsup. If it's on a slower system, highly
    >recommend doing it via pkg_add -r portupgrade or pkg_add -r cvsup
    >to avoid having to compile ruby, perl and possibly other dependencies from
    >scratch. Once you become familiar with the way ports/portupgrade and cvsup
    >work (Note- sections on all 3 in the handbook, should be installed under
    >/usr/share/doc/handbook on your system), you can then if you decide to, use
    >portupgrade and the buildworld target to effectively rebuild your entire
    >system from source.
    >
    >The quickest equivalent to emerge -pUD world is using pkg_version
    >
    >>3) Say there was a update to openssh .. which would be the proper way to
    >>
    >>update .. sync the sys tree and then just update ssh .. or sync the tree
    >>and
    >>recompile the system ? or remove the sys version and install the port
    >>version and update the port ?
    >
    >Set up cvsup properly (handbook + example file in /usr/share/examples) to
    >the label you want to track to, cron it, and have it mail you output, and
    >subscribe to the freebsd security mailing list. Either should be enough to
    >give you some indication by itself..
    >
    >>
    >>I am very happy with freebsd .. Im still in the exploring stage .. The
    >>reasons for my questions is that I am a little weary of using freebsd in
    >>
    >>production if I dont easily know when updates are avail, having to
    >>recompile
    >>the system everytime I need a patch for a service.
    >
    >You don't nescessarily need to recompile the entire base system, let alone
    >the equivalent of 'world,' for an update. portupgrade and pkg_version will
    >help out here...
    >
    >Scott
    >
    >>Thanks for helping me convert,
    >>rottie
    >>
    >>_________________________________________________________________
    >>Don’t worry if your Inbox will max out while you are enjoying the
    >>holidays. Get MSN Extra Storage! http://join.msn.com/?PAGE=features/es
    >>
    >>_______________________________________________
    >>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"
    >>
    >
    >

    _________________________________________________________________
    Tired of slow downloads and busy signals? Get a high-speed Internet
    connection! Comparison-shop your local high-speed providers here.
    https://broadband.msn.com

    _______________________________________________
    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: Olaf Hoyer: "Re: SCSI Disk not found"

    Relevant Pages

    • Re: cant build teTeX port in FreeBSD 8.2 amd64
      ... If TeXlive is "the LaTeX" (obsoleting teTeX), ... g. downloading the ISO and running the install scripts ... Because some other systems lack FreeBSD's excellent ports infrastructure, ... TeXLive comes with its own package manager; ...
      (freebsd-questions)
    • Re: Need to build some systems this week. Snapshots?
      ... wants KDE on it. ... First was that KDE was installed as a binary package... ... Second, the install failed. ... The reason appears to be a conflict between ports and packages. ...
      (freebsd-stable)
    • Re: package managment
      ... > I'm just getting to know my way round BSD now Ive got my box running and ... and then just ask the package management tool to ... You have ports an packages. ... files that tell FreeBSD what needs done to install a particular software (such ...
      (freebsd-questions)
    • Re: Base packaging
      ... > generate the package list, then we could make it a lot easier to do ... Anything you can do with ports I hope ... you can convert any makefile to understand ports just by adding PORTNAME ... basically if you do make install with one of these modified Makefiles ...
      (freebsd-current)
    • Re: upgrading xorg?
      ... kde package are still broken and, or are in an un-buildable stat ... and that's due to hell of a dependency management of the ports and, ... I installed xorg 7.2 following the instructions ... 2...Start the install. ...
      (comp.unix.bsd.freebsd.misc)