Subject: CVS commit: src/usr.sbin/pkg_install/admin
To: None <source-changes@NetBSD.org>
From: Johnny C. Lam <firstname.lastname@example.org>
Date: 09/08/2003 07:04:42
Module Name: src
Committed By: jlam
Date: Mon Sep 8 07:04:42 UTC 2003
src/usr.sbin/pkg_install/admin: main.c pkg_admin.1
Add new commands "add" and "delete" to pkg_admin(1):
add pkg ...
For each listed package, write the absolute pathnames of the
files listed in its +CONTENTS file together with the package
they belong to into the package database. This should be used
only by pkg_view(1).
delete pkg ...
For each listed package, remove all file entries in the
package database that belong to the package. This should be
used only by pkg_view(1).
These commands will be used by pkg_view(1) to keep the pkgdb.byfile.db
files for each view consistent with what's stored in each view.
Since we stole these names from the debug code, change the names of the
debug commands to "addkey" and "delkey".
To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 src/usr.sbin/pkg_install/admin/main.c
cvs rdiff -r1.21 -r1.22 src/usr.sbin/pkg_install/admin/pkg_admin.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.