Subject: CVS commit: src/usr.sbin/pkg_install
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 01/25/2006 00:17:35
Module Name:	src
Committed By:	joerg
Date:		Wed Jan 25 00:17:35 UTC 2006

Modified Files:
	src/usr.sbin/pkg_install/add: perform.c
	src/usr.sbin/pkg_install/lib: config.h version.h

Log Message:
Add conditional code to ignore the non-numeric part of an OS version
for the sake of compatibility tests in pkg_add.
E.g. DragonFly versions like
	1.4.0-RELEASE
are reduced to
	1.4.0

This code is disabled by default on NetBSD.


To generate a diff of this commit:
cvs rdiff -r1.115 -r1.116 src/usr.sbin/pkg_install/add/perform.c
cvs rdiff -r1.1 -r1.2 src/usr.sbin/pkg_install/lib/config.h
cvs rdiff -r1.74 -r1.75 src/usr.sbin/pkg_install/lib/version.h

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