Date: Thu, 23 Jul 2009 10:26:51 +1000 From: Andrew Reilly <andrew-freebsd@areilly.bpc-users.org> To: Vladimir Grebenschikov <vova@fbsd.ru>, Steve Kargl <sgk@troutmask.apl.washington.edu>, freebsd-stable <freebsd-stable@FreeBSD.ORG>, "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>, Thomas Backman <serenity@exscape.org>, Olivier SMEDTS <olivier@gid0.org>, FreeBSD current <freebsd-current@FreeBSD.ORG>, Ken Smith <kensmith@cse.buffalo.edu> Subject: Re: HEADS-UP: Shared Library Versions bumped... Message-ID: <20090723002651.GA11945@duncan.reilly.home> In-Reply-To: <20090722193033.GA83848@zim.MIT.EDU> References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> <4A6628F0.6080802@mail.zedat.fu-berlin.de> <20090721215201.GA61999@troutmask.apl.washington.edu> <1248277420.8644.70.camel@localhost> <20090722193033.GA83848@zim.MIT.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 22, 2009 at 03:30:33PM -0400, David Schultz wrote: > I do the same thing. I wish the ports system kept track of which > ports were installed explicitly by me, and which were only > dependencies. Then it would be possible to garbage collect ports > that are no longer needed. Portmaster -s will cull ports that are "no longer depended on". Seems to work fairly well. You can (probably) find the list of ports that you installed deliberately by trawling through /var/db/pkg for those that don't have a +REQUIRED_BY file. (The portmaster -s trick works by finding ports that have a +REQUIRED_BY file that is empty, I believe.) Cheers, -- Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090723002651.GA11945>