From owner-freebsd-ports@FreeBSD.ORG Wed Mar 16 01:06:01 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9D63106564A for ; Wed, 16 Mar 2011 01:06:01 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 905E58FC17 for ; Wed, 16 Mar 2011 01:06:01 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p2G160lw018710 for ; Tue, 15 Mar 2011 19:06:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p2G160GS018707 for ; Tue, 15 Mar 2011 19:06:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 15 Mar 2011 19:06:00 -0600 (MDT) From: Warren Block To: ports@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Tue, 15 Mar 2011 19:06:00 -0600 (MDT) Cc: Subject: portmaster versus portsclean 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, 16 Mar 2011 01:06:01 -0000 After switching to portmaster, portsclean is the last part of portupgrade I'm using. portsclean -C can be replaced with 'rm /usr/ports/*/*/work', or better with 'find -X /usr/ports/ -name work -depth 3 -exec rm -rf {} \;'. I don't see a way to do this with portmaster, but it's trivial. portsclean -D can be replaced with 'portmaster -t --clean-distfiles'. portsclean -DD can be replaced with 'portmaster --clean-distfiles'. (Those might be backwards, the wording in the portmaster man page is a little ambiguous.) Is there an equivalent for portsclean -L, to delete "old, duplicated, or orphaned shared libraries" in a batch?