From owner-freebsd-questions@FreeBSD.ORG Thu May 28 01:13:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA51E106564A for ; Thu, 28 May 2009 01:13:50 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-fx0-f159.google.com (mail-fx0-f159.google.com [209.85.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 3606C8FC14 for ; Thu, 28 May 2009 01:13:49 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by fxm3 with SMTP id 3so443679fxm.43 for ; Wed, 27 May 2009 18:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=SZNvzVbcHjkU+mhJ9199QIQjApIRHxqKyVePDQR00QM=; b=OX/oNiq4N0iDtcBH9vdGyeOCWHsDoK++VCSMGQfDASroOPo7jXDuuqM83vi6obNhvX KKM6RLmVM2xJTt8/d0/lbF0CyxlX6Zy912FWDBnDvGIEzq29S/wWMfVEjmyTmt518I59 RM4w910vSRQHW0gLCOzioidHf93Mu71supMTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=ts1qJwBjeY+V/uJr8W50Uglo1pF+qzuAMIQWrt7zc76zLDCFcsKkOgDbVouuUQWb6K oK4m83dFWAnLyO2C7lgLlwd4Z8vXeao14ZYdzk+IzPwzFpRlb5eQCFw2zXcdjtr4N0k0 BkoSKiABWoASaNYGlRkMgb2TYTV9Ua8POgTmA= Received: by 10.204.50.195 with SMTP id a3mr595132bkg.94.1243473228925; Wed, 27 May 2009 18:13:48 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id y15sm4826861fkd.53.2009.05.27.18.13.47 (version=SSLv3 cipher=RC4-MD5); Wed, 27 May 2009 18:13:48 -0700 (PDT) Date: Thu, 28 May 2009 02:13:46 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090528021346.54c91917@gumby.homeunix.com> In-Reply-To: <20090527205610.GA22384@slackbox.xs4all.nl> References: <20090527224351.1e94029b@bobcat.edu> <20090527205610.GA22384@slackbox.xs4all.nl> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: removing distfiles? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 01:13:50 -0000 On Wed, 27 May 2009 22:56:10 +0200 Roland Smith wrote: > Using e.g. 'portmaster --clean-distfiles-all' only removes those > distfiles that do not belong to installed ports. I've not used it myself, but there is also a shell script called distviper in bsdadminscripts which supports both of distclean's modes without the ruby dependence. Personally I much prefer the less aggressive mode (distclean -D) which deletes files unreferenced by the ports tree, rather than unreferenced by installed ports.