Subject: Re: pkg version (was: CVS commit: pkgsrc/www/mozilla)
To: Bernd Ernesti <netbsd@veego.de>
From: Alistair Crooks <agc@wasabisystems.com>
List: tech-pkg
Date: 04/25/2002 19:51:30
On Thu, Apr 25, 2002 at 07:48:23PM +0200, Bernd Ernesti wrote:
> On Thu, Apr 25, 2002 at 06:52:48PM +0300, Shin'ichiro TAYA wrote:
> >
> > Module Name: pkgsrc
> > Committed By: taya
> > Date: Thu Apr 25 15:52:47 UTC 2002
> >
> > Modified Files:
> > pkgsrc/www/mozilla: Makefile PLIST-ELF PLIST-a.out distinfo
> > pkgsrc/www/mozilla/patches: patch-aw patch-az patch-ba patch-bb
> > patch-bc patch-be patch-bf patch-bg patch-bh patch-bi
> > Added Files:
> > pkgsrc/www/mozilla/patches: patch-ab patch-bj patch-bk
> >
> > Log Message:
> > Update mozilla to 1.0rc1
>
> Thank you, but one comment about the pkg version.
>
> 1.0rc1 is not a good idea, because the pkg tools would tell you that this
> is newer then 1.0 and so we have a problem when we update the package to 1.0.
>
> I think we have to use something like 0.9.9.1.
Taken from pkg_install/lib/str.c
----------------------------
revision 1.32
date: 2002/01/09 16:17:08; author: agc; state: Exp; lines: +199 -66
Pull in a much simplified version of the vtest functionality. This new
functionality adds recognition of '_' and "pl" as pseudonyms for '.',
so that 1.2p2 == 1.2.2, and adds recognition of "pl" and "rc" strings,
which stand for "patchlevel" and "release candidate" respectively.
In addition, this version should handle alphabetic characters properly
(so that 1.2e == 1.2.5)
Normal NetBSD revision number processing has been retained (and is always
compared after all other tests have been performed).
64-bit integers are used internally for each component of the version
number.
----------------------------
and from bsd.pkg.mk
PKGTOOLS_REQD= 20020218
Regards,
Alistair