From owner-freebsd-ports@FreeBSD.ORG Fri May 27 13:03:23 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C75E16A41C for ; Fri, 27 May 2005 13:03:23 +0000 (GMT) (envelope-from matt_mills@btopenworld.com) Received: from smtp806.mail.ukl.yahoo.com (smtp806.mail.ukl.yahoo.com [217.12.12.196]) by mx1.FreeBSD.org (Postfix) with SMTP id 9044F43D53 for ; Fri, 27 May 2005 13:03:22 +0000 (GMT) (envelope-from matt_mills@btopenworld.com) Received: from unknown (HELO ?192.168.0.1?) (matt?mills@btopenworld.com@81.129.185.50 with plain) by smtp806.mail.ukl.yahoo.com with SMTP; 27 May 2005 13:03:21 -0000 Message-ID: <42971ADC.4080300@btopenworld.com> Date: Fri, 27 May 2005 14:04:28 +0100 From: Matt Mills User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ports@freebsd.org References: <42970476.6050105@btopenworld.com> <20050527113349.GK57982@voodoo.oberon.net> In-Reply-To: <20050527113349.GK57982@voodoo.oberon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: /usr/ports/distfiles maintenance 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: Fri, 27 May 2005 13:03:23 -0000 Kirill Ponomarew wrote: > On Fri, May 27, 2005 at 12:28:54PM +0100, Matt Mills wrote: > >> Hi all, >> >> Something which has recently struck me as an unanswered question. How >> do you all maintain your /usr/ports/distfiles directory? This isn't a >> topic I've *ever* seen discussed or even mentioned in all the years >> I've been using FreeBSD. [...] > Use "portsclean -DD" if portupgrade is installed on your system. > > -Kirill (whoops, forgot to CC the list in my reply to Kirill...) Ah! That certainly looks helpful. Specifically, "portsclean -D", since I often deinstall and reinstall ports on different machines on my LAN (shared ports tree, hence shared distfiles directory). However, it is good to know that the -DD switch is there too. /me tries it out... titan% ls /usr/ports/distfiles | wc -l 312 titan% portsclean -D titan% ls /usr/ports/distfiles | wc -l 218 Somewhat surprising since I thought I had nailed most of the stale ones manually! :) Thanks. -- Matt