NetBSD/usr.sbin/pkg_install
hubertf 406791739c Add code to include the size of a package into both the
installed version and binary packages. The size can be queried then
via pkg_info:

        xfeyrer @ noon% pkg_info -s xv
        Information for xv-3.10apl1:

        Size of this package in bytes: 4670692


        xfeyrer @ noon% pkg_info -S xv
        Information for xv-3.10apl1:

        Size in bytes including required pkgs: 14610165

While doing work on the size code, support for the @src directive was
removed (formerly enabled with the pkg_create -s switch, but unused in
our pkg system).  The new pkg_info -s and -S switches were tested on
installed, local (file) and remote (ftp) packages.

In bsd.pkg.mk, take special care for pkg_* versions that do not have
the pkg_create -s and -S switches and do not record size information
there.
1999-11-29 19:48:44 +00:00
..
add Typos (from OpenBSD) 1999-11-18 19:02:31 +00:00
admin Add code to include the size of a package into both the 1999-11-29 19:48:44 +00:00
create Add code to include the size of a package into both the 1999-11-29 19:48:44 +00:00
delete Add some sanity checks on what pkgdb_retrieve() returns. 1999-09-24 14:39:44 +00:00
info Add code to include the size of a package into both the 1999-11-29 19:48:44 +00:00
lib Add code to include the size of a package into both the 1999-11-29 19:48:44 +00:00
Makefile Add code for pkgdb. 1999-01-19 17:01:56 +00:00
Makefile.inc pick the proper uname. 1999-08-30 04:20:22 +00:00
README Add NetBSD Ids 1997-06-05 12:59:18 +00:00
tkpkg Fix handling of doubleclicking on installed packages. 1998-03-30 21:37:47 +00:00

README

# $NetBSD: README,v 1.2 1997/06/05 12:59:19 agc Exp $
# Original from FreeBSD, no rcs id.

This is the pkg_install suite of tools for doing maintainance of
software "packages".  More documentation is available in the man pages
for each individual command.

This code was written by Jordan Hubbard for FreeBSD, snatched and
mildly reshaped by John Kohl in NetBSD and the changes taken back into
FreeBSD again by Jordan, who then proceeded to add another couple
of dozen features on top.  Whee! :-)