Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/pkg_install/info Pull up revision 1.19 (reques...
details: https://anonhg.NetBSD.org/src/rev/270528139344
branches: netbsd-1-4
changeset: 469923:270528139344
user: he <he%NetBSD.org@localhost>
date: Mon Dec 20 15:36:30 1999 +0000
description:
Pull up revision 1.19 (requested by hubertf):
Add code to calculate and store the size of a package in both
the installed version and binary packages. The size can later
be queried via the pkg_info -s and -S switches, the pkg_create
-s swich was renamed -L. Fixes PR#8982.
diffstat:
usr.sbin/pkg_install/info/pkg_info.1 | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r 8f303abc9617 -r 270528139344 usr.sbin/pkg_install/info/pkg_info.1
--- a/usr.sbin/pkg_install/info/pkg_info.1 Mon Dec 20 15:36:09 1999 +0000
+++ b/usr.sbin/pkg_install/info/pkg_info.1 Mon Dec 20 15:36:30 1999 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_info.1,v 1.17.2.1 1999/08/22 18:05:17 he Exp $
+.\" $NetBSD: pkg_info.1,v 1.17.2.2 1999/12/20 15:36:30 he Exp $
.\"
.\" FreeBSD install - a package for the installation and maintainance
.\" of non-core utilities.
@@ -25,7 +25,7 @@
.Nd a utility for displaying information on software packages
.Sh SYNOPSIS
.Nm ""
-.Op Fl BbcDdFfIikLmpqRrvh
+.Op Fl BbcDdFfhIikLmpqRrSsv
.Bk -words
.Op Fl e Ar package
.Ek
@@ -145,6 +145,12 @@
Show which packages are required by each package.
.It Fl r
Show the requirements script (if any) for each package.
+.It Fl S
+Show the size of this package and all the packages it requires,
+in bytes.
+.It Fl s
+Show the size of this package in bytes. The size is calculated by
+adding up the size of each file of the package.
.It Fl v
Turn on verbose output.
.El
@@ -223,5 +229,6 @@
.Nx
.It "Hubert Feyrer"
.Nx
-wildcard dependency processing, pkgdb, depends displaying, etc.
+wildcard dependency processing, pkgdb, depends displaying,
+pkg size display etc.
.El
Home |
Main Index |
Thread Index |
Old Index