From owner-freebsd-ports@FreeBSD.ORG Sun Feb 25 07:09:18 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 E2BF216A401 for ; Sun, 25 Feb 2007 07:09:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 7F7B813C428 for ; Sun, 25 Feb 2007 07:09:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 9437 invoked by uid 399); 25 Feb 2007 07:09:17 -0000 Received: from pool-71-160-100-253.lsanca.dsl-w.verizon.net (HELO lap.dougb.net) (dougb@dougbarton.us@71.160.100.253) by mail2.fluidhosting.com with SMTP; 25 Feb 2007 07:09:17 -0000 X-Originating-IP: 71.160.100.253 Message-ID: <45E1361C.7030305@FreeBSD.org> Date: Sat, 24 Feb 2007 23:09:16 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (X11/20070116) MIME-Version: 1.0 To: Craig Boston , freebsd-ports@freebsd.org References: <45DDEAFC.8060406@FreeBSD.org> <20070224022005.GB34523@nowhere> In-Reply-To: <20070224022005.GB34523@nowhere> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: New portmaster with -o and other fixes 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: Sun, 25 Feb 2007 07:09:19 -0000 Craig Boston wrote: >> Log: >> >> New Feature >> =========== >> --clean-distfiles[-all] options to check /usr/ports/distfiles for >> stale stuff, and either offer to delete them or delete them all >> without prompting. > > That's excellent news! Now I can use -D during upgrades to avoid > pausing between port builds, and run this later to manually clean up the > distfiles. *nod* I don't want to change the default, but I think that portmaster -aD will become a lot more popular. :) > I'm a bit paranoid about automatically deleting them -- had one too many > times when port[master|upgrade|foo] got confused by slave ports or weird > file names and deleted hard to replace* distfiles. I think that you'll find the method I'm using for the --clean-distfiles option a lot safer, since it relies on the distinfo files. I'm torn about what to do with the distfile purging routines that are already in there for individual upgrades. On the one hand, the fact that they are aggressive pretty much guarantees that they will find any old distfiles related to a given port. On the other hand, that aggressiveness can be annoying, and/or dangerous. > Thanks again for your work on portmaster! Thanks for the kind words. :) Doug -- This .signature sanitized for your protection