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.12 (reques...
details: https://anonhg.NetBSD.org/src/rev/47c27b2fb576
branches: netbsd-1-4
changeset: 469920:47c27b2fb576
user: he <he%NetBSD.org@localhost>
date: Mon Dec 20 15:35:28 1999 +0000
description:
Pull up revision 1.12 (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/info.h | 34 ++++++++++++++++++----------------
1 files changed, 18 insertions(+), 16 deletions(-)
diffs (48 lines):
diff -r 4b829dd0076c -r 47c27b2fb576 usr.sbin/pkg_install/info/info.h
--- a/usr.sbin/pkg_install/info/info.h Mon Dec 20 15:35:00 1999 +0000
+++ b/usr.sbin/pkg_install/info/info.h Mon Dec 20 15:35:28 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: info.h,v 1.9.2.2 1999/09/13 22:10:48 he Exp $ */
+/* $NetBSD: info.h,v 1.9.2.3 1999/12/20 15:35:28 he Exp $ */
/* from FreeBSD Id: info.h,v 1.10 1997/02/22 16:09:40 peter Exp */
@@ -33,21 +33,23 @@
#define MAXNAMESIZE 20
#endif
-#define SHOW_COMMENT 0x0001
-#define SHOW_DESC 0x0002
-#define SHOW_PLIST 0x0004
-#define SHOW_INSTALL 0x0008
-#define SHOW_DEINSTALL 0x0010
-#define SHOW_REQUIRE 0x0020
-#define SHOW_PREFIX 0x0040
-#define SHOW_INDEX 0x0080
-#define SHOW_FILES 0x0100
-#define SHOW_DISPLAY 0x0200
-#define SHOW_REQBY 0x0400
-#define SHOW_MTREE 0x0800
-#define SHOW_BUILD_VERSION 0x1000
-#define SHOW_BUILD_INFO 0x2000
-#define SHOW_DEPENDS 0x4000
+#define SHOW_COMMENT 0x00001
+#define SHOW_DESC 0x00002
+#define SHOW_PLIST 0x00004
+#define SHOW_INSTALL 0x00008
+#define SHOW_DEINSTALL 0x00010
+#define SHOW_REQUIRE 0x00020
+#define SHOW_PREFIX 0x00040
+#define SHOW_INDEX 0x00080
+#define SHOW_FILES 0x00100
+#define SHOW_DISPLAY 0x00200
+#define SHOW_REQBY 0x00400
+#define SHOW_MTREE 0x00800
+#define SHOW_BUILD_VERSION 0x01000
+#define SHOW_BUILD_INFO 0x02000
+#define SHOW_DEPENDS 0x04000
+#define SHOW_PKG_SIZE 0x08000
+#define SHOW_ALL_SIZE 0x10000
extern int Flags;
extern Boolean AllInstalled;
Home |
Main Index |
Thread Index |
Old Index