From owner-freebsd-ports@FreeBSD.ORG Sun Dec 2 09:48:08 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA19DB6E; Sun, 2 Dec 2012 09:48:08 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 5302F8FC0C; Sun, 2 Dec 2012 09:48:05 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB29luDH024822 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 2 Dec 2012 09:47:56 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB29luDH024822 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1354441676; bh=kkPxNF23fRUGP1iGsF7yim1FDynS7xzHQFRuPE9O4rg=; h=Date:From:To:CC:Subject:References:In-Reply-To; z=Date:=20Sun,=2002=20Dec=202012=2009:47:48=20+0000|From:=20Matthew =20Seaman=20|To:=20Ion-Mihai=20Te tcu=20|CC:=20Kimmo=20Paasiala=20,=20=0D=0A=20Kevin=20Oberman=20,=0D=0A=20 Miroslav=20Lachman=20<000.fbsd@quip.cz>,=20freebsd-ports@freebsd.o rg,=20=0D=0A=20Eitan=20Adler=20|Subject:=20R e:=20web=20FreeBSD=20Ports=20Search=20is=20out=20of=20sync|Referen ces:=20<50BA347D.9080301@quip.cz>=20=20=20=20<50BB0D7D .6030406@infracaninophile.co.uk>=20<20121202102608.0b091887@it.tim .tetcu.info>=20<50BB1C64.9010602@infracaninophile.co.uk>=20<201212 02113214.1341314f@it.tim.tetcu.info>|In-Reply-To:=20<2012120211321 4.1341314f@it.tim.tetcu.info>; b=R8HUOTMYBH8XaJvkedgZfB6TsQYeOiXHlcoPdukOhMetjNFOBVsH1/bGWfGnjg7iA bEf/2fy+USuzmVHtGcWd9DV4xdlvL+7k2HyRk49BGwSNr7B2m8IVRHMJn0lwBVMnrn OdMmpX11XXmH9N1NK8vvMgECQlPKPolJmcd5ZE34= Message-ID: <50BB23C4.7050302@infracaninophile.co.uk> Date: Sun, 02 Dec 2012 09:47:48 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Ion-Mihai Tetcu Subject: Re: web FreeBSD Ports Search is out of sync References: <50BA347D.9080301@quip.cz> <50BB0D7D.6030406@infracaninophile.co.uk> <20121202102608.0b091887@it.tim.tetcu.info> <50BB1C64.9010602@infracaninophile.co.uk> <20121202113214.1341314f@it.tim.tetcu.info> In-Reply-To: <20121202113214.1341314f@it.tim.tetcu.info> X-Enigmail-Version: 1.4.6 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5AF2A32C8CA42BA0A02B81AA" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Kimmo Paasiala , freebsd-ports@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz>, Kevin Oberman , Eitan Adler X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 09:48:09 -0000 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--