From owner-freebsd-questions@FreeBSD.ORG Mon Dec 6 19:25:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FFA516A4CE for ; Mon, 6 Dec 2004 19:25:10 +0000 (GMT) Received: from av11-1-sn4.m-sp.skanova.net (av11-1-sn4.m-sp.skanova.net [81.228.10.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id B45C743D1D for ; Mon, 6 Dec 2004 19:25:08 +0000 (GMT) (envelope-from ertr1013@student.uu.se) Received: by av11-1-sn4.m-sp.skanova.net (Postfix, from userid 502) id 8D00037E4B; Mon, 6 Dec 2004 20:25:07 +0100 (CET) Received: from smtp4-2-sn4.m-sp.skanova.net (smtp4-2-sn4.m-sp.skanova.net [81.228.10.180]) by av11-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 75A6337E42 for ; Mon, 6 Dec 2004 20:25:07 +0100 (CET) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by smtp4-2-sn4.m-sp.skanova.net (Postfix) with SMTP id 3A05237E49 for ; Mon, 6 Dec 2004 20:25:07 +0100 (CET) Received: (qmail 51349 invoked by uid 1001); 6 Dec 2004 19:25:06 -0000 Date: Mon, 6 Dec 2004 20:25:06 +0100 From: Erik Trulsson To: rain cip Message-ID: <20041206192506.GA51329@falcon.midgard.homeip.net> Mail-Followup-To: rain cip , freebsd-questions@freebsd.org References: <20041206190904.87716.qmail@web51104.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041206190904.87716.qmail@web51104.mail.yahoo.com> User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: question on portupgrade and FreeBSD branches X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 19:25:10 -0000 On Mon, Dec 06, 2004 at 11:09:04AM -0800, rain cip wrote: > Hello, > > I am new to the FreeBSD ports collection system and am having some > difficulty understanding how the ports collection works with the > FreeBSD branches. After having perused the ports collection doc on > the FreeBSD website, I got the impression that it is the FreeBSD > branch tag that determines which versions of the packages or ports > will be installed/upgraded. But this is somehow confusing to me when > I need to upgrade a port. Here is an example. I have FreeBSD 5.3 > installed via CD so it appears to me that the "branch tag" used by my > installation is 5.3-RELEASE. I installed a bunch of packages from > the CD, then updated the ports collection using the CVSup. Now, if I > use portupgrade to upgrade a package, on which branch will it look > for the new ports? > > One example is KDE. I had version 3.3.0 installed via the ports > collection but now there is a new 3.3.1 version out there, which > appears to be on the 5.3 STABLE branch. But can I simply use the > portupgrade on my 5.3-RELEASE to upgrade KDE to the 3.3.1 port? The ports tree is not branched, so the same ports are used for all FreeBSD versions. Packages are slightly different, since the resulting binaries will be different when compiled on FreeBSD 5.x vs 4.x (new compiler, updated libraries, etc.) I don't use packages myself, and I don't use portupgrade at all, so I don't know exactly what it will do in your case, but I suspect it will do the "right thing" and work fine. -- Erik Trulsson ertr1013@student.uu.se