Ports with version numbers going backwards: devel/ode

Oliver Eikemeier eikemeier at fillmore-labs.com
Mon Jun 28 04:49:13 PDT 2004


Am Montag den, 28. Juni 2004, um 13:07, schrieb Sergey Matveychuk:

> Oliver Eikemeier wrote:
>
>> The current sort order is
>>   0.5 = 0.05 = 0.005 < 0.39 = 0.039 < 0.50 = 0.050 < 0.390 < 0.500
>> What do you expect?
>>   0.005 < 0.039 < 0.05 = 0.050 < 0.39 = 0.390 < 0.5 = 0.50 = 0.500
>> would imply that
>>   FreeBSD 4.1 = FreeBSD 4.10
>
> OK. I see your point.
>
>> or do you have a suggestion of a different sort order that would 
>> mandate 0.039 < 0.5?
>
> May be numbers with leading zeros after a dot interpret different?
>
> 0.005 < 0.039 < 0.05 < 0.050 < 0.39 < 0.390 < 0.5 < 0.50 < 0.500
>
> 4.01 < 4.1 < 4.10 < 4.100
>
> It makes problems?

In you example above you have 0.39 < 0.5, which gives you

4.01 < 4.02 < ... < 4.09 < 4.1 < 4.10 < 4.11 < 4.2 < 4.20 < ...

So basically FreeBSD 4.10 < FreeBSD 4.2 (which is not FreeBSD 4.02, the 
latter doesn't exist). Many ports follow this conventions, for example 
devel/cvs+ipv6, with 1.11.5 < 1.11.15. Besides, You'll have stuff like 
1.0 < 1.00, which is strange too.

-Oliver



More information about the freebsd-ports mailing list