From owner-freebsd-ports@FreeBSD.ORG Mon Jun 28 14:36:06 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0A2916A4CE for ; Mon, 28 Jun 2004 14:36:06 +0000 (GMT) Received: from mail.ciam.ru (mail.ciam.ru [213.147.57.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id B490243D1F for ; Mon, 28 Jun 2004 14:36:05 +0000 (GMT) (envelope-from sem@ciam.ru) Received: from msd-incoma.mbrd.ru ([194.117.71.30] helo=[172.16.4.9]) by mail.ciam.ru with asmtp (Exim 4.x) id 1BexEn-000AiG-1W; Mon, 28 Jun 2004 18:36:01 +0400 Message-ID: <40E02CCE.6020001@ciam.ru> Date: Mon, 28 Jun 2004 18:35:58 +0400 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Oliver Eikemeier References: <30D9B1DE-C8F9-11D8-9FE1-00039312D914@fillmore-labs.com> In-Reply-To: <30D9B1DE-C8F9-11D8-9FE1-00039312D914@fillmore-labs.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD ports Subject: Re: Ports with version numbers going backwards: devel/ode X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 14:36:06 -0000 Oliver Eikemeier wrote: >> 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. I meant we can treat leading zeros as decreasing factor. So, x.001 < x.002 < x.01 < x.02 < x.1 < x.2 < x.10 < x.20 In other words - zeros never can dropped except there are only zeros in the number i.e. X = X.0 = X.00 = X.000 etc. We can look on a version number part with leading zeros as on a number with an implicit dot: 001 -> 0.01, 02 -> 0.2 etc. So comparing will not be a problem. -- Sem.