portscout - new distfile scanner

Shaun Amott shaun at inerd.com
Tue Apr 4 20:45:19 UTC 2006


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.


More information about the freebsd-ports mailing list