Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: basesrc
Module Name: basesrc
Committed By: hubertf
Date: Mon Nov 29 19:48:48 UTC 1999
Modified Files:
basesrc/usr.sbin/pkg_install/admin: main.c
basesrc/usr.sbin/pkg_install/create: create.h main.c perform.c
pkg_create.1 pl.c
basesrc/usr.sbin/pkg_install/info: info.h main.c perform.c pkg_info.1
show.c
basesrc/usr.sbin/pkg_install/lib: lib.h plist.c
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.8 -r1.9 basesrc/usr.sbin/pkg_install/admin/main.c
cvs rdiff -r1.12 -r1.13 basesrc/usr.sbin/pkg_install/create/create.h
cvs rdiff -r1.14 -r1.15 basesrc/usr.sbin/pkg_install/create/main.c
cvs rdiff -r1.19 -r1.20 basesrc/usr.sbin/pkg_install/create/perform.c
cvs rdiff -r1.18 -r1.19 basesrc/usr.sbin/pkg_install/create/pkg_create.1
cvs rdiff -r1.16 -r1.17 basesrc/usr.sbin/pkg_install/create/pl.c
cvs rdiff -r1.11 -r1.12 basesrc/usr.sbin/pkg_install/info/info.h
cvs rdiff -r1.18 -r1.19 basesrc/usr.sbin/pkg_install/info/main.c \
basesrc/usr.sbin/pkg_install/info/pkg_info.1
cvs rdiff -r1.28 -r1.29 basesrc/usr.sbin/pkg_install/info/perform.c
cvs rdiff -r1.16 -r1.17 basesrc/usr.sbin/pkg_install/info/show.c
cvs rdiff -r1.26 -r1.27 basesrc/usr.sbin/pkg_install/lib/lib.h
cvs rdiff -r1.22 -r1.23 basesrc/usr.sbin/pkg_install/lib/plist.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index