From owner-freebsd-questions@FreeBSD.ORG Sat May 3 15:07:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFD141065675 for ; Sat, 3 May 2008 15:07:13 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id F41BB8FC17 for ; Sat, 3 May 2008 15:07:12 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from joshua.ath.cx (athedsl-4366382.home.otenet.gr [79.130.16.30]) (authenticated bits=0) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id m43F78SW020461; Sat, 3 May 2008 18:07:09 +0300 Message-ID: <481C7F9C.9050405@otenet.gr> Date: Sat, 03 May 2008 18:07:08 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.12 (X11/20080324) MIME-Version: 1.0 To: Gilles References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: [6.3] Keeping host up to date X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 15:07:13 -0000 Gilles wrote: > Hello > > I have some newbie questions: > > 1. Am I right in understanding that running "make ; make install" in > /usr/ports/ turns the port into a package, so that when I run > "pkg_info", it doesn't make any difference whether a package was > downloaded directly from the Net or compiled locally through the Ports > collection? > When you compile a port, a package is created and installed (but you get to select the options. Pre-built packages have the default options and are usually older versions). In fact, you can even use the ports to create packages and install them on other systems. (See man ports) > 2. When I run "pkg_version -v", some of the packages are out of date. > Generally speaking, what is the safe way to update a package? I'm > worried about compiling a new version of a ports that will break the > one I already have up and running. > There are programs to automate and safeguard the upgrade. Look at ports-mgmt/portupgrade > 3. Do I really need to run both "csup standard-supfile ; csup > ports-supfile" to update my ports collection? What's the difference > between the two? > > Thank you. > > No. You just need the ports-supfile. The standard supfile is for the base system. Assuming you are running a -RELEASE version of FreeBSD and you just want to get the latest security fixes and patches for the base system, you only need to use the freebsd-update utility. It is as simple as this: freebsd-update fetch freebsd-update install