Date: Tue, 15 Mar 2011 19:06:00 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: ports@freebsd.org Subject: portmaster versus portsclean Message-ID: <alpine.BSF.2.00.1103151630250.18248@wonkity.com>
next in thread | raw e-mail | index | archive | help
After switching to portmaster, portsclean is the last part of portupgrade I'm using. portsclean -C can be replaced with 'rm /usr/ports/*/*/work', or better with 'find -X /usr/ports/ -name work -depth 3 -exec rm -rf {} \;'. I don't see a way to do this with portmaster, but it's trivial. portsclean -D can be replaced with 'portmaster -t --clean-distfiles'. portsclean -DD can be replaced with 'portmaster --clean-distfiles'. (Those might be backwards, the wording in the portmaster man page is a little ambiguous.) Is there an equivalent for portsclean -L, to delete "old, duplicated, or orphaned shared libraries" in a batch?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1103151630250.18248>