Date: Sat, 26 Jul 2014 12:23:37 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-ports@freebsd.org Subject: Re: Lots of installed ports show "succeeds index" Message-ID: <20140726092337.GE93733@kib.kiev.ua> In-Reply-To: <53D36D8D.1000808@infracaninophile.co.uk> References: <86vbqnhp8t.wl-hskuhra@eumx.net> <86tx67hp0x.wl-hskuhra@eumx.net> <53D00A72.9090306@infracaninophile.co.uk> <slrnlt1s9b.bhl.naddy@lorvorc.mips.inka.de> <CAN6yY1tVFpH4d_pQSQOs0rtBkZjZMSKcc=Rbxaqz%2BUSJobyvMw@mail.gmail.com> <53D36D8D.1000808@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--jnFDMT6oczZR/VjS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 26, 2014 at 09:57:49AM +0100, Matthew Seaman wrote: > On 24/07/2014 18:19, Kevin Oberman wrote: > > If 'pkg version' only took a few seconds for you, I suspect you had ve= ry > > few ports installed. It has always taken minutes for me. > >=20 > > That said, '-P' is much slower than the old default, even though it is > > doing as close as possible to the same thing. >=20 > The reason that the -P check is slower is because it now checks not just > for the presence of the port directory, but also that the port is hooked > up to the ports tree. See >=20 > https://github.com/freebsd/pkg/commit/2c84533f4d7291c26fe826a67217fb3c3ab= 446a5 >=20 > So you've got a choice here: slow and unreliable versus even slower, but > correct. Unfortunately the only way to extract version information from > the ports involves running make(1) and that is intrinsically slow. Am I right that it checks for the presence of a port in the <category> directory, but possible absence of the same port in the <category>/Makefile= ? If yes, can this behaviour made optional ? --jnFDMT6oczZR/VjS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT03OYAAoJEJDCuSvBvK1BK5sP/A10FNydz5scHANqOWmUTcCK 2/RJf2uEk7NBKY91YKPulYYWfylUaSKFJ0/AFI6uBT8IzgrWtxXLPlVicS/Ik1zf MMfY0OJ2QxO6AZ3ChSYZnj83V1v1bqXzEHMYgeZrAqxD3OaSHCsgeq2XW6ExzK84 iEJik3dZegaV2Dvn0F2uBGkWTa92PG6PNqXpNkba+rEiNfTiFIZ4n11YY2ElHeSX B+/7Grm1v6yVHqJdeby7y3NMAGkqdckYkyQLvwN4DcgUi8N5DcmL5XVE/IkzBtpY U6ZNv/HvsaPgFOmck59uSBQlEH2xF1SOm2HDkesmSI+bP5sCJ8krWKiJtfbiwYyA Xe26wVsu42nVdVxmBAY13L6gST6R6oTVx55xrtN9QwPHQXTV1PC/pqjrsnwhFdeL KZCyXmD6py5T4MCxyeso7QoZl+F14/+vie6v/k0r4TZr3InaLxP9fzQPQRyYvOj2 wdB0GdrcGACM78OjanUSut03iXnrBE3ry3DyVViwuLSejqHcr115TrANWMvyETgw 4tlz03Li2JzrW4R3n0C4J9KvTh1JyqnaZsJfMhHryYqN4HzVF28T6NJrxjv2448V Qm2+5dWbTxf01bd4MOKGA09eQ0iIfgKV/AJc9twb0qEG2sr+hyHdCugCAJoo0VS9 QqLIhVK+IVQUbIVjBpBh =53MW -----END PGP SIGNATURE----- --jnFDMT6oczZR/VjS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140726092337.GE93733>