Date: Wed, 12 May 2004 13:20:26 -0700 (PDT) From: Oliver Eikemeier <eikemeier@fillmore-labs.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/56961: [PATCH] pkg_install: match package version numbers with relational operators Message-ID: <200405122020.i4CKKQ72082414@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/56961; it has been noted by GNATS. From: Oliver Eikemeier <eikemeier@fillmore-labs.com> To: freebsd-gnats-submit@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405122020.i4CKKQ72082414>