Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Dec 2003 20:33:21 +0000
From:      "rotten rottie" <r0tt13@hotmail.com>
To:        wegster@mindcore.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Questions about updating...
Message-ID:  <BAY9-F32AStRc0JFaTi00014458@hotmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY9-F32AStRc0JFaTi00014458>