question on leaf ports

Philip Hallstrom freebsd at philip.pjkh.com
Thu Mar 2 09:45:13 PST 2006


> On 3/2/06, Peter <petermatulis at yahoo.ca> wrote:
>> Hi gang.  Does a leaf port have no build dependants or
>> no run dependants?  I want to be assured that I can
>> remove a leaf port but not have to put it back in
>> order to upgrade another port.  Utilities such as
>> portmaster show leaf ports and I'm not sure what it's
>> really telling me.
>
> I think the traditional sense of a leaf means no run
> dependants, as this seems to be the only kind of
> dependency registered in pkgdb. Consult the docs
> of your particular port management app.

Just be sure to look through the list of leafs though.  gmake for example 
isn't required by any port to run (at least none of mine) but a lot of 
ports need it to build.  So removing it would be kind of pointless.

Also, I use pkg_rmleaves and it offers to remove ports like vim, screen, 
and rsync, which I obviously want, but nothing else relies on.

Anyway, just saying to double check before letting it do it's thing.


More information about the freebsd-questions mailing list