Ports with version numbers going backwards: deskutils/sunbird

Jeremy Messenger mezz7 at cox.net
Sat Oct 14 21:15:09 PDT 2006


On Sat, 14 Oct 2006 23:00:27 -0500, Doug Barton <dougb at 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 at 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 at 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 at cox.net  -  mezz at FreeBSD.org
>> FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
>> http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
>> http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


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


More information about the freebsd-ports mailing list