Subject: CVS commit: [netbsd-3] src/usr.sbin/pkg_install
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 11/06/2005 13:40:52
Module Name:	src
Committed By:	tron
Date:		Sun Nov  6 13:40:52 UTC 2005

Modified Files:
	src/usr.sbin/pkg_install/add [netbsd-3]: add.h main.c perform.c
	    pkg_add.1
	src/usr.sbin/pkg_install/admin [netbsd-3]: main.c pkg_admin.1
	src/usr.sbin/pkg_install/info [netbsd-3]: info.h main.c perform.c
	    pkg_info.1 show.c
	src/usr.sbin/pkg_install/lib [netbsd-3]: Makefile lib.h version.h
Added Files:
	src/usr.sbin/pkg_install/lib [netbsd-3]: automatic.c var.c

Log Message:
Pull up following revision(s) (requested by wiz in ticket #938):
	usr.sbin/pkg_install/lib/lib.h: revision 1.77
	usr.sbin/pkg_install/info/show.c: revision 1.32
	usr.sbin/pkg_install/info/main.c: revision 1.46
	usr.sbin/pkg_install/lib/var.c: revision 1.1
	usr.sbin/pkg_install/lib/Makefile: revision 1.24
	usr.sbin/pkg_install/info/pkg_info.1: revision 1.50
	usr.sbin/pkg_install/admin/pkg_admin.1: revision 1.36
	usr.sbin/pkg_install/add/add.h: revision 1.8
	usr.sbin/pkg_install/add/pkg_add.1: revision 1.61
	usr.sbin/pkg_install/info/info.h: revision 1.21
	usr.sbin/pkg_install/lib/automatic.c: revision 1.1
	usr.sbin/pkg_install/info/perform.c: revision 1.63
	usr.sbin/pkg_install/add/perform.c: revision 1.112
	usr.sbin/pkg_install/admin/main.c: revision 1.49
	usr.sbin/pkg_install/lib/version.h: revision 1.70
	usr.sbin/pkg_install/add/main.c: revision 1.35
Implement framework to store variable=value pairs about an installed package.
Use this in pkg_add to mark installed dependencies as automatically installed.
pkg_add: new flag -A: marks package as automatically installed.
pkg_admin: new commands set and unset to modify variable pairs for
	   installed packages.
pkg_info: report these variable pairs with -Q/-B.
	  new flag -u: report only manually installed packages (not
	  installed with pkg_add -A).
	  Error out if -a/-u and a package name is specified.
Joint work with Thomas Klausner.
As discussed on tech-pkg.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.7.2.1 src/usr.sbin/pkg_install/add/add.h
cvs rdiff -r1.34 -r1.34.2.1 src/usr.sbin/pkg_install/add/main.c
cvs rdiff -r1.107.2.3 -r1.107.2.4 src/usr.sbin/pkg_install/add/perform.c
cvs rdiff -r1.57.2.3 -r1.57.2.4 src/usr.sbin/pkg_install/add/pkg_add.1
cvs rdiff -r1.48 -r1.48.2.1 src/usr.sbin/pkg_install/admin/main.c
cvs rdiff -r1.35 -r1.35.2.1 src/usr.sbin/pkg_install/admin/pkg_admin.1
cvs rdiff -r1.20 -r1.20.2.1 src/usr.sbin/pkg_install/info/info.h
cvs rdiff -r1.45 -r1.45.2.1 src/usr.sbin/pkg_install/info/main.c
cvs rdiff -r1.62 -r1.62.2.1 src/usr.sbin/pkg_install/info/perform.c
cvs rdiff -r1.47.2.2 -r1.47.2.3 src/usr.sbin/pkg_install/info/pkg_info.1
cvs rdiff -r1.31 -r1.31.2.1 src/usr.sbin/pkg_install/info/show.c
cvs rdiff -r1.23 -r1.23.2.1 src/usr.sbin/pkg_install/lib/Makefile
cvs rdiff -r0 -r1.2.2.1 src/usr.sbin/pkg_install/lib/automatic.c
cvs rdiff -r1.74.2.2 -r1.74.2.3 src/usr.sbin/pkg_install/lib/lib.h
cvs rdiff -r0 -r1.3.2.1 src/usr.sbin/pkg_install/lib/var.c
cvs rdiff -r1.64.2.5 -r1.64.2.6 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.