From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 22:47:07 2007 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 BE46316A417 for ; Thu, 18 Oct 2007 22:47:07 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 6636013C455 for ; Thu, 18 Oct 2007 22:46:58 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 18 Oct 2007 18:46:57 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.8.3-GA) with ESMTP id JFN03584; Thu, 18 Oct 2007 18:46:57 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 18 Oct 2007 18:49:20 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18199.57951.791968.841899@jerusalem.litteratus.org> Date: Thu, 18 Oct 2007 18:46:55 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <471786EC.3040803@mtmary.edu> References: <471773D8.80503@mtmary.edu> <18199.32078.807531.40747@jerusalem.litteratus.org> <471786EC.3040803@mtmary.edu> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Subject: Re: Updating Ports 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: Thu, 18 Oct 2007 22:47:07 -0000 Peter Clark writes: > If you installed a port with some additional config args can you > either supply them the upgrade program or can it be reread from > the previous install somehow? I really am just trying to find a > relatively simple way to make sure that a port gets upgraded and > that I do not lose any of it dependencies in the process. 1) Many ports accept and store port-specific settings through a generic mechanism; "make config", "make showconfig", and "make rmconfig" are the keys here. 2) If you're using portupgrade, /usr/local/etc/pkgtools.cfg will allow you to control various settings, for a single port or a range of ports. 3) It is possible to put port-related settings in /etc/make.conf. I discourage this, as that file gets used for /every/ make session and I consider it asking for trouble to clutter it with items that may accidentally overlap with another port. (The risk is very small ... but it's still not the right tool for the job.) Robert Huff