Subject: CVS commit: src/usr.sbin/pkg_install
To: None <source-changes@NetBSD.org>
From: grant beattie <grant@netbsd.org>
List: source-changes
Date: 12/20/2003 00:47:19
Module Name:	src
Committed By:	grant
Date:		Sat Dec 20 00:47:19 UTC 2003

Modified Files:
	src/usr.sbin/pkg_install/add: perform.c pkg_add.1
	src/usr.sbin/pkg_install/lib: lib.h

Log Message:
check the OS, architecture and version of a package against the host
and spit out a warning if any of them differ. bail if the OS or arch
differ. installation can be forced with -f.

sanity checked by simonb. fixes PR pkg/18966 from mrg.


To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 src/usr.sbin/pkg_install/add/perform.c
cvs rdiff -r1.47 -r1.48 src/usr.sbin/pkg_install/add/pkg_add.1
cvs rdiff -r1.63 -r1.64 src/usr.sbin/pkg_install/lib/lib.h

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