Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Hubert Feyrer <hubertf@netbsd.org>
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:
pkgsrc/mk: bsd.pkg.mk
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 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.
To generate a diff of this commit:
cvs rdiff -r1.372 -r1.373 pkgsrc/mk/bsd.pkg.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.