Date: Mon, 4 Dec 2017 10:37:35 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Create list of ports to update Message-ID: <1293daad-1284-0eab-009a-6a6d3ba7373a@FreeBSD.org> In-Reply-To: <BN6PR2001MB17305559DF55EB2CF39C2959803F0@BN6PR2001MB1730.namprd20.prod.outlook.com> References: <BN6PR2001MB17305559DF55EB2CF39C2959803F0@BN6PR2001MB1730.namprd20.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? With poudriere, what you're doing is populating a repository. You tell poudriere what ports you want available, and it will build packages for each of them, plus all their dependencies and then create a repository from all those packages. Then later on you can update by running 'poudriere bulk' and it will work out what has been updated since the last time, and rebuild only those packages. To create a list of packages to feed into poudriere, try: % pkg query -e '%a == 0' %o That gives you a list of all the packages you installed directly, omitting anything installed just as a dependency. All the dependencies will be built automatically and available in your repo; not listing them explicitly in the list passed to poudriere is a small optimization that helps avoid some occasional errors when packages get removed or renamed. Cheers, Matthew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1293daad-1284-0eab-009a-6a6d3ba7373a>