/usr/ports/distfiles maintenance

Kirill Ponomarew krion at voodoo.oberon.net
Fri May 27 04:33:45 PDT 2005


On Fri, May 27, 2005 at 12:28:54PM +0100, Matt Mills wrote:
> Hi all,
> 
> Something which has recently struck me as an unanswered question. How do 
> you all maintain your /usr/ports/distfiles directory? This isn't a topic 
> I've *ever* seen discussed or even mentioned in all the years I've been 
> using FreeBSD.
> 
> Obviously over time, you get many different versions of the same 
> software. These all take up space on your hard disk and eventually 
> require some kind of cleanup and/or maintenance.
> 
> Basically, my question is: is there some piece of software or automated 
> way of keeping the directory clean of stale sources? I can imagine 
> obvious problems with automating the process due to different versions 
> of the same software in separate ports (eg. autoconf, automake, libtool, 
> etc.)
> 
> So, what do you all think?

Use "portsclean -DD" if portupgrade is installed on your system.

-Kirill


More information about the freebsd-ports mailing list