From owner-freebsd-ports@FreeBSD.ORG Fri May 27 11:33:45 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 93F1D16A41F for ; Fri, 27 May 2005 11:33:45 +0000 (GMT) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AA2943D53 for ; Fri, 27 May 2005 11:33:45 +0000 (GMT) (envelope-from krion@voodoo.oberon.net) Received: from krion by voodoo.oberon.net with local (Exim 4.51 (FreeBSD)) id 1Dbd65-000OLA-Ol; Fri, 27 May 2005 13:33:49 +0200 Date: Fri, 27 May 2005 13:33:49 +0200 From: Kirill Ponomarew To: Matt Mills Message-ID: <20050527113349.GK57982@voodoo.oberon.net> References: <42970476.6050105@btopenworld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42970476.6050105@btopenworld.com> X-NCC-Regid: de.oberon X-NIC-HDL: KP869-RIPE Keywords: 579279786 Cc: ports@freebsd.org 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 11:33:45 -0000 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. > > Obviously over time, you get many different versions of the same > software. These all take up space on your hard disk and eventually > require some kind of cleanup and/or maintenance. > > Basically, my question is: is there some piece of software or automated > way of keeping the directory clean of stale sources? I can imagine > obvious problems with automating the process due to different versions > of the same software in separate ports (eg. autoconf, automake, libtool, > etc.) > > So, what do you all think? Use "portsclean -DD" if portupgrade is installed on your system. -Kirill