Date: Tue, 4 Apr 2006 21:45:16 +0100 From: Shaun Amott <shaun@inerd.com> To: Mark Linimon <linimon@lonesome.com> Cc: "\[LoN\]Kamikaze" <LoN_Kamikaze@gmx.de>, freebsd-ports@FreeBSD.org Subject: Re: portscout - new distfile scanner Message-ID: <20060404204515.GA1731@picobyte.net> In-Reply-To: <20060404173230.GA8465@soaustin.net> References: <20060403190532.GA966@picobyte.net> <20060404094549.GA751@picobyte.net> <44324AD3.8070809@gmx.de> <20060404104226.GD751@picobyte.net> <20060404173230.GA8465@soaustin.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 04, 2006 at 12:32:30PM -0500, Mark Linimon wrote: > > On Tue, Apr 04, 2006 at 11:42:26AM +0100, Shaun Amott wrote: > > The version string used is from the port's DISTNAME or DISTVERSION > > values; the version in ports format is not much use, unfortunately - > > which means portscout has to deal with all the weird and wonderful > > schemes vendors come up with. > > I hope you're using pkg_version -t (my first attempt at writing something > like this a year or two ago used that). If not, you're going to go crazy. > Ah - now that would have been useful, if only I'd known about it! I haven't done to badly so far, I'm tweaking my algorithm when I find ports that aren't handled well, but it seems like a constant battle. Thanks for the tip anyway. -- Shaun Amott [ PGP: 0x6B387A9A ] Scientia Est Potentia.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060404204515.GA1731>