From owner-freebsd-ports@FreeBSD.ORG Wed Feb 28 18:59:50 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 8BD2216A402 for ; Wed, 28 Feb 2007 18:59:50 +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 05A1413C467 for ; Wed, 28 Feb 2007 18:59:49 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 8930 invoked by uid 399); 28 Feb 2007 18:59:47 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 28 Feb 2007 18:59:47 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45E5D11B.7060303@FreeBSD.org> Date: Wed, 28 Feb 2007 10:59:39 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: John Marshall References: <45DDEAFC.8060406@FreeBSD.org> <45E57845.9090203@riverwillow.com.au> In-Reply-To: <45E57845.9090203@riverwillow.com.au> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org 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: Wed, 28 Feb 2007 18:59:50 -0000 John Marshall wrote: > Doug Barton wrote: >> 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. > > Thanks for this New Feature Doug! It's almost exactly what I have been > meaning to ask for. A couple of enhancement requests... > > 1. Could it please use DISTDIR if defined in /etc/make.conf Yeah, that's easily done. I have it in the other distfile cleaning routine, I just forgot to add it here. Thanks for pointing it out. > 2. Could it please have an option to clean distfiles for ALL (rather > than just installed) ports (cf. 'portsclean -D' and 'portsclean -DD') It's already doing what -DD does. I'll give some thought to doing what -D does. The method I'm using to make the cleaning fast and efficient scales ok up to a couple thousand ports (more than I think most users would have installed) but I doubt it would scale well up to 16k or more. :) Doug -- This .signature sanitized for your protection