From owner-freebsd-ports@FreeBSD.ORG Tue Mar 25 20:12:21 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F3821065674 for ; Tue, 25 Mar 2008 20:12:21 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 416988FC21 for ; Tue, 25 Mar 2008 20:12:21 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 1C5BA28473; Tue, 25 Mar 2008 15:54:09 -0400 (EDT) To: Garrett Cooper References: <47E949A3.5030103@gmail.com> <4B48E94D-058A-4F79-93B2-B6E498C0B9CE@gmail.com> From: Lowell Gilbert Date: Tue, 25 Mar 2008 15:54:08 -0400 In-Reply-To: <4B48E94D-058A-4F79-93B2-B6E498C0B9CE@gmail.com> (Garrett Cooper's message of "Tue\, 25 Mar 2008 11\:52\:57 -0700") Message-ID: <44myomo9zz.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-ports@freebsd.org, Lars Stokholm Subject: Re: Cleaning /var/db/ports 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: Tue, 25 Mar 2008 20:12:21 -0000 Garrett Cooper writes: > On Mar 25, 2008, at 11:51 AM, Lars Stokholm wrote: > >> Apart from doing 'rm -r /var/db/ports/*' is there a way of cleaning >> the folder of stale folders and files? >> >> I know it takes up no space and that I might aswell leave it alone, >> but it'd be interesting to know. :) >> >> Thanks, >> Lars > > pkg_cutleaves -- an excellent Perl port that will help you out with > that. I think the question is about port configs, not the ports themselves. I don't know of anything that finds unused port configs. It would not be very difficult to write, but I have to admit I don't think it would be worth the effort...