pkg search dependency tree

Marko Cupać marko.cupac at mimar.rs
Fri Jan 12 11:09:15 UTC 2018


Hi,

I have accidentally deleted my poudriere package lists. I still have
all packages in my repos.

I know I can get list of all packages in my repo in appropriate
format with `pkg search -o -x . | awk -F ' ' '{ print $1 }' | sort',
but this way I'm listing also ports which are installed only as
dependencies, which I'd like to avoid - I'd like to list only "top
level" ports, so that I don't build a dependency if top port doesn't
need it.

Is there a way to get dependency tree from pkg search?

Thank you in advance,
-- 
Before enlightenment - chop wood, draw water.
After  enlightenment - chop wood, draw water.

Marko Cupać
https://www.mimar.rs/


More information about the freebsd-ports mailing list