Subject: Re: Comparing version numbers
To: Julien Letessier <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 08/01/2002 04:52:27
On Thu, 1 Aug 2002, Julien Letessier wrote:
> I'm writing a dselect-like tool for NetBSD binary package repositories,
Sounds interesting and useful. (For those who don't know: dselect is a
Debian tool for installing, removing and getting information about
Debian's packages. I found it difficult to use at first; and once I used
Debian's apt-get I never went back.)
> and was wondering if there is an 'official' reference / code blob about:
> * how package version strings are to be compared;
> * how requirement strings are to be expanded in a boolean expression.
Maybe have a look at
and other related files for "wildcard" and expandURL, etc.
You may want to use that library.
For perl or other examples, look at code from pkgsrc/pkgtools/ packages.
Also, please consider making your code so it is easy to develop with new
user interfaces (console and/or x11).
Jeremy C. Reed