New portmaster with -o and other fixes
John.Marshall at riverwillow.com.au
Wed Feb 28 12:55:46 UTC 2007
Doug Barton wrote:
> New Feature
> --clean-distfiles[-all] options to check /usr/ports/distfiles for
> stale stuff, and either offer to delete them or delete them all
> without prompting.
Thanks for this New Feature Doug! It's almost exactly what I have been
meaning to ask for. A couple of enhancement requests...
1. Could it please use DISTDIR if defined in /etc/make.conf
2. Could it please have an option to clean distfiles for ALL (rather
than just installed) ports (cf. 'portsclean -D' and 'portsclean -DD')
rwsrv05# portmaster -h
portmaster version 1.14
rwsrv05# portmaster --clean-distfiles-all
===>>> Gathering distinfo list for installed ports
===>>> Checking for stale distfiles
find: /usr/ports/distfiles: No such file or directory
rwsrv05# portsclean -D
Detecting unreferenced distfiles...
[Updating ... done]
rwsrv05# grep distfiles /etc/make.conf
More information about the freebsd-ports