Subject: CVS commit: src/usr.sbin/pkg_install
To: None <source-changes@NetBSD.org>
From: Dieter Baron <dillo@netbsd.org>
List: source-changes
Date: 11/03/2005 21:16:41
Module Name: src
Committed By: dillo
Date: Thu Nov 3 21:16:41 UTC 2005
Modified Files:
src/usr.sbin/pkg_install/add: add.h main.c perform.c pkg_add.1
src/usr.sbin/pkg_install/admin: main.c pkg_admin.1
src/usr.sbin/pkg_install/info: info.h main.c perform.c pkg_info.1
show.c
src/usr.sbin/pkg_install/lib: Makefile lib.h version.h
Added Files:
src/usr.sbin/pkg_install/lib: automatic.c var.c
Log Message:
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.8 src/usr.sbin/pkg_install/add/add.h
cvs rdiff -r1.34 -r1.35 src/usr.sbin/pkg_install/add/main.c
cvs rdiff -r1.111 -r1.112 src/usr.sbin/pkg_install/add/perform.c
cvs rdiff -r1.60 -r1.61 src/usr.sbin/pkg_install/add/pkg_add.1
cvs rdiff -r1.48 -r1.49 src/usr.sbin/pkg_install/admin/main.c
cvs rdiff -r1.35 -r1.36 src/usr.sbin/pkg_install/admin/pkg_admin.1
cvs rdiff -r1.20 -r1.21 src/usr.sbin/pkg_install/info/info.h
cvs rdiff -r1.45 -r1.46 src/usr.sbin/pkg_install/info/main.c
cvs rdiff -r1.62 -r1.63 src/usr.sbin/pkg_install/info/perform.c
cvs rdiff -r1.49 -r1.50 src/usr.sbin/pkg_install/info/pkg_info.1
cvs rdiff -r1.31 -r1.32 src/usr.sbin/pkg_install/info/show.c
cvs rdiff -r1.23 -r1.24 src/usr.sbin/pkg_install/lib/Makefile
cvs rdiff -r0 -r1.1 src/usr.sbin/pkg_install/lib/automatic.c \
src/usr.sbin/pkg_install/lib/var.c
cvs rdiff -r1.76 -r1.77 src/usr.sbin/pkg_install/lib/lib.h
cvs rdiff -r1.69 -r1.70 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.