Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2017 04:58:43 +1100
From:      andrew clarke <mail@ozzmosis.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Cc:        Carmel NY <carmel_ny@outlook.com>
Subject:   Re: Create list of ports to update
Message-ID:  <20171203175843.hdzbvm7fiebo2dhc@ozzmosis.com>
In-Reply-To: <BN6PR2001MB17308EADD4DFC564D402D994803F0@BN6PR2001MB1730.namprd20.prod.outlook.com>
References:  <BN6PR2001MB17305559DF55EB2CF39C2959803F0@BN6PR2001MB1730.namprd20.prod.outlook.com> <8d5d17b8-a206-810a-b92e-a29d053dd8e3@hayers.org> <BN6PR2001MB17308EADD4DFC564D402D994803F0@BN6PR2001MB1730.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun 2017-12-03 17:03:49 UTC+0000, Carmel NY (carmel_ny@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').



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171203175843.hdzbvm7fiebo2dhc>