Create list of ports to update
mail at ozzmosis.com
Sun Dec 3 17:58:54 UTC 2017
On Sun 2017-12-03 17:03:49 UTC+0000, Carmel NY (carmel_ny at outlook.com) wrote:
> On Sunday, December 3, 2017 11:44 AM, Gary J. Hayers stated:
> > On 03/12/2017 16:40, Carmel NY wrote:
> > > Reading up on "poudriere", it appears that I have to feed it a list of
> > > ports that need to be updated. Unlike "synth" which can figure that
> > > out by itself, it does seem counterproductive.
> > >
> > > My question, now that "portmaster" is apparently dead in the water,
> > > what is the easiest way to construct a list of ports that need updating in
> > > the: "port-category/port-name" format?
> > pkg query '%o' > ports.txt
> Doesn't that just list all of the installed ports, not just the ones that need updating?
pkg query %o > /tmp/pkglist.txt
poudriere -v bulk -j 11amd64 -f /tmp/pkglist.txt
This is what I use.
Poudriere will only build ports from the list that need updating. This
includes rebuilding ports that have had updated dependencies, (which iirc is
a change from Portmaster's behaviour, though seemingly you can turn this off
with 'poudriere bulk -S').
More information about the freebsd-questions