Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2005 21:47:18 -0700
From:      Pascal Hofstee <caelian@gmail.com>
To:        Peter Jeremy <PeterJeremy@optushome.com.au>
Cc:        hackers@freebsd.org
Subject:   Re: Locating obsolete ports distfiles
Message-ID:  <1124686038.834.0.camel@synergy.charterpipeline.net.lan>
In-Reply-To: <20050822043647.GB37107@cirb503493.alcatel.com.au>
References:  <20050822043647.GB37107@cirb503493.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2005-08-22 at 14:36 +1000, Peter Jeremy wrote:
> I currently have just over 8GB is /usr/ports/distfiles.  Some of these
> files are more than 10 years old and long obsolete.  Does anyone have
> any suggestions on how to identify which files are no longer referenced
> by current ports?
> 
> Doing a 'make checksum' on every installed port and then looking at
> the atimes is one approach but this doesn't handle:
> - ports that I don't currently have installed but might need
> - ports installed on systems that mount /usr/ports readonly

sysutils/portupgrade (specifically .. portsclean -D)

-- 
Pascal Hofstee <caelian@gmail.com>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1124686038.834.0.camel>