Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2006 23:16:50 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Doug Barton" <dougb@freebsd.org>
Cc:        gnome@freebsd.org, ports@freebsd.org, marcus@freebsd.org
Subject:   Re: Ports with version numbers going backwards: deskutils/sunbird
Message-ID:  <op.thf3ick89aq2h7@mezz.mezzweb.com>
In-Reply-To: <4531B25B.4020407@FreeBSD.org>
References:  <200610141754.k9EHs9So049404@builder.freebsd.org> <op.thfa3dy59aq2h7@mezz.mezzweb.com> <4531B25B.4020407@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Oct 2006 23:00:27 -0500, Doug Barton <dougb@FreeBSD.org> wrote:

> For future reference, take a look at how I handle this in the BIND  
> ports. If you'd named the _port_ 0.3.a1_2, then when 0.3 comes out,  
> pkg_version is smart enough to know that it's > 0.3.a*.

It is too late, which in the begin should have add DISTVERSION when "a1"  
was added before commit in the port. The DISTVERSION will turning it into  
0.3.a1.

> hth,
>
> Doug
>
> PS, PORTEPOCH is evil, and must die.

Maybe, but we don't have any choice.

Cheers,
Mezz

> Jeremy Messenger wrote:
>> Fixed by add PORTEPOCH, thanks for report.
>>  Cheers,
>> Mezz
>>  On Sat, 14 Oct 2006 12:54:09 -0500, <erwin@FreeBSD.org> wrote:
>>
>>> ** The following ports have a version number that sorts before a  
>>> previous one **
>>>
>>>  For many package tools to work correctly, it is of utmost importance  
>>> that
>>>  version numbers of a port form a monotonic increasing sequence over  
>>> time.
>>>  Refer to the FreeBSD Porter's Handbook, 'Package Naming Conventions'  
>>> for
>>>  more information. Tools that won't work include pkg_version,  
>>> portupgrade
>>>  and portaudit. A common error is an accidental deletion of PORTEPOCH.
>>>
>>>  Please fix any errors as soon as possible.
>>>
>>> - *deskutils/sunbird* <gnome@FreeBSD.org>: sunbird-0.3 <  
>>> sunbird-0.3a1_2
>>>    | revision 1.9
>>>    | date: 2006/10/14 08:52:42;  author: marcus;  state: Exp;  lines:  
>>> +16 -21
>>>    | Chase the GNOME X11BASE to LOCALBASE move, and fix the build with  
>>> the
>>>    | new freetype2 where needed.
>>>    |
>>>    | Submitted by:    mezz, ahze, pav, and many others
>>>    | Approved by:    portmgr (implicit, kris)
>>   --mezz7@cox.net  -  mezz@FreeBSD.org
>> FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
>> http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
>> http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



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