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

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 2017-12-04 04:58:43 UTC+1100, andrew clarke (mail@ozzmosis.com) wrote:

> > > > 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.

It would be nice if this worked:

# pkg query %o | poudriere -v bulk -j 11amd64 -f -

But - is not recognised as shorthand for stdin:

# poudriere -v bulk -j 11amd64 -f -
[00:00:00] Error: No such list of packages: /usr/home/ozzmosis/-

/dev/stdin isn't accepted either:

# poudriere -v bulk -j 11amd64 -f /dev/stdin
[00:00:00] Error: No such list of packages: /dev/stdin

Not a big deal, but something to know.



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