Subject: CVS commit: pkgsrc
To: None <>
From: Hubert Feyrer <>
List: source-changes
Date: 11/29/1999 11:48:17
Module Name:	pkgsrc
Committed By:	hubertf
Date:		Mon Nov 29 19:48:17 UTC 1999

Modified Files:

Log Message:
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, take special care for pkg_* versions that do not have
the pkg_create -s and -S switches and do not record size information

To generate a diff of this commit:
cvs rdiff -r1.372 -r1.373 pkgsrc/mk/

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