From owner-freebsd-questions@FreeBSD.ORG Mon Oct 17 21:35:24 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9BF7416A41F for ; Mon, 17 Oct 2005 21:35:24 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from smtp3.suscom.net (smtp3.suscom.net [64.78.119.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16FAE43D46 for ; Mon, 17 Oct 2005 21:35:23 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from localhost (unknown [127.0.0.1]) by smtp3.suscom.net (Postfix) with ESMTP id 12EE3210169 for ; Mon, 17 Oct 2005 17:35:22 -0400 (EDT) Received: from smtp3.suscom.net ([127.0.0.1]) by localhost (smtp3.suscom.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07092-01-5 for ; Mon, 17 Oct 2005 17:35:15 -0400 (EDT) Received: from seibercom.net (ip148.217.susc.suscom.net [216.45.217.148]) by smtp3.suscom.net (Postfix) with SMTP id 6BC5521017E for ; Mon, 17 Oct 2005 17:35:14 -0400 (EDT) Received: from [192.168.0.2] (//gerard [192.168.0.2]) by seibercom.net (8.13.4/8.13.4) with ESMTP id j9HLZF2g061420 for ; Mon, 17 Oct 2005 17:35:15 -0400 (EDT) (envelope-from gerard@seibercom.net) Date: Mon, 17 Oct 2005 17:35:19 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: gerard@seibercom.net Organization: Seibercom.net In-Reply-To: <435413F8.4040805@childeric.freeserve.co.uk> References: <435413F8.4040805@childeric.freeserve.co.uk> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20051017172403.DE02.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.22.02 [en] X-Virus-Scanned: amavisd-new at suscom.net Subject: Re: port config questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 21:35:24 -0000 On Monday, October 17, 2005 5:13:28 PM, Chris Subject: port config questions Wrote these words of wisdom: > Hi > > Q1 To celebrate upgrading my desktop box to 6.0RC1 I am also upgrading > all my ports with portmanager. Before I ran portmanager I deleted all my > distfiles and ran portupgrade -arRfF to fetch a brand new set (I had far > too many stale ones). I notice that for example all the mplayer skins > distfiles have been downloaded despite /var/db/ports/mplayer/options > saying WITHOUT_SKIN_...=true for most of them. Is there some way to make > portupgrade respect config files in /var/db/ports/? > > Q2 Can I tell portupgrade to go through the configs of all the ports it > is going to upgrade so that I can set them all in one go and then let > portupgrade (or portmanager) get on with things unattended? If not would > this be a useful addition to portupgrade functionality? I would like to > include options that are in Makefiles as well as 'make config' menus. > > Thanks > > btw thank you to the author of portmanager, it's wonderful (and I love > the way it works by making excuses not to do things. :-D) > > Chris ***** REPLY SEPARATOR ***** On 10/11/2005 5:29:42 PM, Gerard Replied: Portmanager has a configuration file located at: /usr/local/etc/portmanager/pm-020.conf You could set that file up with pretty much what you want. I believe the latest version of portmanager has been released. You might want to check on that. I use portmanager as opposed to portupgrade myself. I find it does a better job without using all sorts of switches on the command line. Personally, I would run: portsclean -C -D -L -PP Then, if anything is still in the /usr/ports/distfiles directory, you could just remove them manually. Then run 'portmanager -u' to finish the job. Obviously, run cvsup tp update your ports immediately prior to running either portmanager or portsupdate. The advantage with portmanager is that it does not need an index file. You do not have to either build a new one; i.e., portsdb -Uu or fetch one. Just my 2ยข -- Gerard Seibert gerard@seibercom.net