Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2001 12:55:26 -0700
From:      "Bruce A. Mah" <bmah@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        "David O'Brien" <obrien@FreeBSD.org>, Akinori MUSHA <knu@iDaemons.org>, Chris Faulhaber <jedgar@fxp.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/editors/vim6 Makefile distinfo pkg-plist 
Message-ID:  <200104191955.f3JJtQV60074@bmah-freebsd-0.cisco.com>
In-Reply-To: <20010419123216.A53260@xor.obsecurity.org> 
References:  <200104111956.f3BJukl93003@freefall.freebsd.org> <20010419140501.A253@jive.44bsd.net> <8666g0d8ws.wl@archon.local.idaemons.org> <20010419122255.B29435@dragon.nuxi.com> <20010419123216.A53260@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_-892519394P
Content-Type: text/plain; charset=us-ascii

If memory serves me right, Kris Kennaway wrote:

> On Thu, Apr 19, 2001 at 12:22:56PM -0700, David O'Brien wrote:
> 
> > Question, why haven't someone brought this up before?  I've done the
> > letter thing for a long time now.
> 
> Not many people understand the full ins and outs of the version number
> algorithm in corner cases like versions with letters in them (I
> don't).

The Porters Handbook nominally defines this but it doesn't handle the 
case of versions with *multiple* letters in them.  Also it doesn't try 
to define the semantics of what the letters mean.

Also note that pkg_version has to handle some cases that are technically
not allowed by the Porters Handbook.  Technically there can't be a
letter after a digit where there isn't an intervening dot, but a lot of
ports do this anyways.  (Why is this disallowed?  Heck if I know.)

> We need a tool people can use to verify whether port version X is
> lower than port version Y, when they're committing an upgrade from X
> to Y which is named strangely (i.e. not simply 1.2.3.4 etc)

	% pkg_version -t 6.0z 6.0aa
	>

I suspect we might need to tweak the comparison algorithm a bit.  And 
it's not entirely clear to me what it should be either, even though knu 
and I just finished reworking it.

Bruce.



--==_Exmh_-892519394P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: Exmh version 2.2 06/23/2000

iD8DBQE630Ku2MoxcVugUsMRAtiwAKDwO5zr7dBzVd6+04ZwcpM/giLEuACg9vnw
2AYsd70XYlPX/CqIl3vsVEo=
=cJY4
-----END PGP SIGNATURE-----

--==_Exmh_-892519394P--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104191955.f3JJtQV60074>