From owner-freebsd-stable@FreeBSD.ORG Thu Mar 2 04:16:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D303716A420 for ; Thu, 2 Mar 2006 04:16:42 +0000 (GMT) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [65.75.192.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4ED743D5A for ; Thu, 2 Mar 2006 04:16:41 +0000 (GMT) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.13.4/8.13.4) with ESMTP id k224GWK2027523 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 1 Mar 2006 20:16:32 -0800 (PST) (envelope-from james@umpquanet.com) Received: (from james@localhost) by ns.museum.rain.com (8.13.4/8.13.4/Submit) id k224GV5M027522; Wed, 1 Mar 2006 20:16:31 -0800 (PST) (envelope-from james) Date: Wed, 1 Mar 2006 20:16:31 -0800 From: James Long To: freebsd-stable@freebsd.org, Pete French Message-ID: <20060302041631.GA27435@ns.museum.rain.com> References: <20060301120110.E8E2B16A425@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060301120110.E8E2B16A425@hub.freebsd.org> User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-101.4 required=5.0 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ns.museum.rain.com Cc: Subject: Re: New ports on older stable (4.11) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 04:16:42 -0000 > Date: Wed, 01 Mar 2006 11:05:13 +0000 > From: Pete French > Subject: New ports on older stable (4.11) > To: freebsd-stable@freebsd.org > Message-ID: > > I dont know how backward compatible ports are ggenerally, but I > have a 4.11 machine that I really want to upgrade the ports on. > But I dont know if they will alla ctually compile, and I dont wnat to > start doing the process only to find that I cant build one of them > possibly. Does anybody know if this is likely to work, or is it > simply unsupported ? > > I;d love to upgrade the machine to 6.1 - but I have no physical access to > it, nor am I likely to get any for the forseeable future, and upgrading > across the 4/5 boundary isn't something I would be happy doing remotiley > in multi-user mode (if it's even possible!) > > -pcf. This is rather a case of the extremely near-sighted leading the blind, but I recently inherited the care of some older boxen, and in fact, recently deployed a new 4.11 installation, and proceeded to build up-to-date ports on it. I still share a part of your trepidation about getting oneself into a bind with uncooperative dependencies, etc. However, I have had more success than I would have imagined. Here are some suggestions, and I certainly welcome corrections to my advice from more expert sources. Start by backing up your /usr/ports and your /var/db/pkg and /var/db/ports and anything else you can think of. Heck, back up the whole samn dystem if you can. To paraphrase Douglas Adams, the universe is a lot safer if you have a backup. I should think portaudit would be the first thing you'd want to install, so that you can find out if other ports have security problems. Go slow, read Makefiles first, that sort of thing. You can probably install portupgrade without too much trouble, as it doesn't have a lot of dependencies. Then a lot of use of portupgrade -nR (portname) will tell you which ports have the fewest dependencies, and -nr (portname) will tell you which ports depend on any given port you may be thinking about upgrading. Just for prurient interest, would you care to post your pkg_info? If you have portupgrade installed, or can install it, how about the output from "portupgrade -na" also. Jim