tech-pkg: Querying pkg sizes

Subject: Querying pkg sizes
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 11/29/1999 21:21:55
FYI, I've just added 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 former functionality of
pkg_create -s was removed (setting an initial @src dir, 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. Thus, if you do not want to use this new feature, you do NOT
have to update your pkg_* tools. 
If you encounter any problems, please send-pr them!
 - Hubert
-- 
Flue sux

AltStyle によって変換されたページ (->オリジナル) /