Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2007 23:40:37 +1100
From:      John Marshall <John.Marshall@riverwillow.com.au>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: New portmaster with -o and other fixes
Message-ID:  <45E57845.9090203@riverwillow.com.au>
In-Reply-To: <45DDEAFC.8060406@FreeBSD.org>
References:  <45DDEAFC.8060406@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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]
Delete /kits/distfiles/firefox-2.0.0.1-source.tar.bz2
Delete /kits/distfiles/gd-2.0.33.tar.gz
Delete /kits/distfiles/gnome/intltool-0.35.4.tar.bz2
Delete /kits/distfiles/gnome2/GConf-2.16.0.tar.bz2
Delete /kits/distfiles/gnome2/libIDL-0.8.7.tar.bz2
Delete /kits/distfiles/nspr-4.6.4.tar.gz
Delete /kits/distfiles/pciids-20070123.tar.bz2
Delete /kits/distfiles/xterm-223.tgz

rwsrv05# grep distfiles /etc/make.conf
DISTDIR=        /kits/distfiles

Thanks again.

John Marshall.



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