From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 17:18:32 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCCFA16A403 for ; Thu, 12 Apr 2007 17:18:32 +0000 (UTC) (envelope-from alex@schnarff.com) Received: from outbound.mailhop.org (outbound.mailhop.org [63.208.196.171]) by mx1.freebsd.org (Postfix) with ESMTP id 9135713C457 for ; Thu, 12 Apr 2007 17:18:32 +0000 (UTC) (envelope-from alex@schnarff.com) Received: from c-76-111-69-34.hsd1.va.comcast.net ([76.111.69.34] helo=schnarff.com) by outbound.mailhop.org with esmtpa (Exim 4.63) (envelope-from ) id 1Hc2BH-000ARf-4c for freebsd-ports@freebsd.org; Thu, 12 Apr 2007 12:29:55 -0400 Received: (qmail 28595 invoked by uid 67); 12 Apr 2007 16:29:54 -0000 Received: from sf-nat.sourcefire.com (sf-nat.sourcefire.com [65.202.215.2]) by mail.schnarff.com (Horde) with HTTP for ; Thu, 12 Apr 2007 12:29:54 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 76.111.69.34 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19yVb51yzY4lfUW+l7bnicmyNLVnJ47AGI= Message-ID: <20070412122954.493cajcveoko88ko@mail.schnarff.com> Date: Thu, 12 Apr 2007 12:29:54 -0400 From: alex@schnarff.com To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.4) Subject: Using portsnap after sysinstall X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 17:18:32 -0000 I'm a longtime OpenBSD user admin'ing my first FreeBSD box. During installation of the system (6.2-RELEASE), I saw the option to add the ports tree and did so, figuring it made sense to add at that point since I'd definitely be using it later. Unfortunatley, I've just now discovered -- after installing several ports from my sysinstall'd tree -- that this installed an old version of the ports free, from when this version of FreeBSD was released. This is a problem because I need newer versions of some of the ports than is currently available, and I'm not sure how to proceed. What I'd really like to be able to do is used portsnap, which seems like a great tool, but preserve all of the information about my existing packages. I have no idea if I can just wipe out my old /usr/ports and run "portsnap extract" (I've already run "portsnap fetch"), or if doing so would break my ports DB, dependencies, or something else I'm not familiar with. If this isn't possible, what's the simplest way of updating to the latest version of a given port, or even the latest version of all ports (if that can be done), before installing? I know I can upgrade an already-installed version of a port with portupgrade, but as I understand it, this won't help me if I have an old version of the ports tree, as it appears to determine whether a port is old based on the info in the tree. Thanks, Alex Kirk