Date: Sun, 02 Dec 2012 09:47:48 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Ion-Mihai Tetcu <itetcu@FreeBSD.org> Cc: Kimmo Paasiala <kpaasial@gmail.com>, freebsd-ports@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz>, Kevin Oberman <kob6558@gmail.com>, Eitan Adler <lists@eitanadler.com> Subject: Re: web FreeBSD Ports Search is out of sync Message-ID: <50BB23C4.7050302@infracaninophile.co.uk> In-Reply-To: <20121202113214.1341314f@it.tim.tetcu.info> References: <50BA347D.9080301@quip.cz> <CAF6rxgkhbOLN3ZZhxRZgYtQWF4yeHjiPS68YryKE-vAqitAvFg@mail.gmail.com> <CAN6yY1tqH857Ju2C8ADVPYG9VzhJYmY3Rya9fAvP=pcbVvvuRA@mail.gmail.com> <CA%2B7WWSeT-FTD=YBvbBcjhWWSWUbcMjfUiwtwaXYVPW=yZruo8w@mail.gmail.com> <50BB0D7D.6030406@infracaninophile.co.uk> <20121202102608.0b091887@it.tim.tetcu.info> <50BB1C64.9010602@infracaninophile.co.uk> <20121202113214.1341314f@it.tim.tetcu.info>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5AF2A32C8CA42BA0A02B81AA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/12/2012 09:32, Ion-Mihai Tetcu wrote: >> If you're running 2.9 OPTIONSng should be handled correctly. It >> > doesn't matter much: the exact format of the OPTIONS variables >> > doesn't make much difference to building the INDEX, only detecting >> > when they've been changed. > # pkg info p5-FreeBSD-Portindex > p5-FreeBSD-Portindex-2.9 Incremental FreeBSD ports INDEX file gen= eration >=20 > So what exactly are you checking WRT option files? Basically, just the timestamp on the file. If it's newer than the last time cache-update was run, then the corresponding port needs rechecking. Or if there is a new options file. The 'unknown options file' error comes about by comparing the makefiles included from the ports with the contents of the /var/db/ports directory. =2E.. and thinking about it, after the benefit of sufficient coffee, it's= now clear to me that logic is incorrect: it can't distinguish between a newly created options file and a leftover from a removed port. Does no harm, but won't work out that because there's a new options file at least one port needs rechecking, or identify the port(s) to recheck. I should fix that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enig5AF2A32C8CA42BA0A02B81AA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEUEARECAAYFAlC7I8wACgkQ8Mjk52CukIwhnACYkAgbuHrWGn2MNmTkJaZHNWC6 eQCeMop6x4+a3nOHUUsiFzF1G8o6ez4= =3cCU -----END PGP SIGNATURE----- --------------enig5AF2A32C8CA42BA0A02B81AA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50BB23C4.7050302>