Date: Mon, 4 Dec 2017 12:04:26 +0000 From: Carmel NY <carmel_ny@outlook.com> To: FreeBSD <freebsd-questions@freebsd.org> Subject: RE: Create list of ports to update Message-ID: <BN6PR2001MB1730FFBB613E28D4E45F21BB803C0@BN6PR2001MB1730.namprd20.prod.outlook.com> In-Reply-To: <1293daad-1284-0eab-009a-6a6d3ba7373a@FreeBSD.org> References: <BN6PR2001MB17305559DF55EB2CF39C2959803F0@BN6PR2001MB1730.namprd20.prod.outlook.com> <1293daad-1284-0eab-009a-6a6d3ba7373a@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=GT9CaJKPU5hVkj=-= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Monday, December 4, 2017 5:38 AM, Matthew Seaman 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? >=20 > With poudriere, what you're doing is populating a repository. You tell > poudriere what ports you want available, and it will build packages for e= ach > 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 rebui= ld > only those packages. >=20 > To create a list of packages to feed into poudriere, try: >=20 > % pkg query -e '%a =3D=3D 0' %o >=20 > That gives you a list of all the packages you installed directly, omitting > anything installed just as a dependency. All the dependencies will be bu= ilt > automatically and available in your repo; not listing them explicitly in = the list > passed to poudriere is a small optimization that helps avoid some occasio= nal > errors when packages get removed or renamed. >=20 > Cheers, >=20 > Matthew Thanks, that reduced the number of ports from 212 to 35. Now, if I could ju= st figure out how to get the HTML crap working, I would be a happy camper. --=20 Carmel --=-=GT9CaJKPU5hVkj=-= Content-Transfer-Encoding: 7bit Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEh3rFs7ZCOM581rwKjsagALPkYOsFAlolOaIACgkQjsagALPk YOsFOgf/eU4gnjZqjj45NpsEmO6OLsZwgmbIFXftmBOApD/gvBH37/oSyLvMAg2n 81FQXaDPx1okUnjEulVrjq3l+g4jSxgFZm1loY3jo9TvHselp1UEvNB85ZAcV80x oiJFVMHHZMCg8cm9865bGInKXPyDynV47nF2XcvGROI/3UtLEpwNXt6B5Qe/qEV6 qvKrQpUv9/orqnLJZolXpktmM1mv/a2/wnmC5f/hz4MBu5H5BWKpuMr5vWXm5d89 LP62SyOkWycvKLB9tFyLYsfYWlzabTDOcfZgNZK5DuA23tKOlIJbqPNlppAPyRDB dNFDpwvXB1f6Abnr33JPvq5Lr4la8g== =pIuB -----END PGP SIGNATURE----- --=-=GT9CaJKPU5hVkj=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BN6PR2001MB1730FFBB613E28D4E45F21BB803C0>