bin/56961: [PATCH] pkg_install: match package version numbers
with relational operators
Oliver Eikemeier
eikemeier at fillmore-labs.com
Wed May 12 13:20:26 PDT 2004
The following reply was made to PR bin/56961; it has been noted by GNATS.
From: Oliver Eikemeier <eikemeier at fillmore-labs.com>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: bin/56961: [PATCH] pkg_install: match package version numbers
with relational operators
Date: Wed, 12 May 2004 22:20:01 +0200
Just for the record:
This and other features have been integrated into port sysutils/pkg_install-devel,
which is used to compare version numbers in portaudit.
The version number sort and matching rules have silghtly changed from those cited
above (as of pkg_install-devel version 20040512):
- version numbers using `+' now sort as expected
- a missing patchlevel number now sorts as -1 for consistency with missing
version numbers, giving 10.a < 10.a0, which is in line with the existing tools
- a component `*' has been introduced, which is guaranteed to sort *before* every other
number, so that >=2.* <3.* will match *all* 2.x releases (Even 2.alpha)
- csh style {} glob pattern can be used
-Oliver
More information about the freebsd-bugs
mailing list