Subject: CVS commit: basesrc/usr.sbin/pkg_install/lib
To: None <source-changes@netbsd.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 01/09/2002 18:17:09
Module Name:	basesrc
Committed By:	agc
Date:		Wed Jan  9 16:17:09 UTC 2002

Modified Files:
	basesrc/usr.sbin/pkg_install/lib: str.c
Added Files:
	basesrc/usr.sbin/pkg_install/lib: defs.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 basesrc/usr.sbin/pkg_install/lib/defs.h
cvs rdiff -r1.31 -r1.32 basesrc/usr.sbin/pkg_install/lib/str.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.