From owner-freebsd-stable@FreeBSD.ORG Mon Jun 18 23:52:52 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0573116A41F for ; Mon, 18 Jun 2007 23:52:52 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 9811213C483 for ; Mon, 18 Jun 2007 23:52:51 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 32466 invoked by uid 399); 18 Jun 2007 23:52:51 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 18 Jun 2007 23:52:51 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <46771AD0.2050908@FreeBSD.org> Date: Mon, 18 Jun 2007 16:52:48 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: rodrigo@liralink.com References: <47805.6899.qm@web50009.mail.re2.yahoo.com> <54537.195.12.22.194.1182176146.squirrel@mail.helenmarks.co.uk> <007e01c7b23d$46ce41a0$d46ac4e0$@com> In-Reply-To: <007e01c7b23d$46ce41a0$d46ac4e0$@com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, 'Dominic Marks' , 'Vladislav Storojenco' Subject: Re: deinstall ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2007 23:52:52 -0000 ports-mgmt/portmaster has some features that might be interesting here. One is the -e (expunge) feature that will delete a port for you, and offer to delete all its distfiles. The other is the -s (stale) option that will look through /var/db/pkg to find any ports that were installed as a dependency but no longer needed. You might also be interested in the -l feature that classifies your installed ports into those that have dependencies, are depended on, etc. If you find a "leaf" port that is no longer needed, you can use the -e feature which will then call the -s feature to help you keep things clean. hth, Doug -- This .signature sanitized for your protection