portmaster versus portsclean
Warren Block
wblock at wonkity.com
Wed Mar 16 01:06:01 UTC 2011
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?
More information about the freebsd-ports
mailing list