From 92fd434cd91e11ad04b26dc25cef0ded62d2620b Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 6 Feb 2007 01:30:11 +0000 Subject: Update pkg_summary(5) man page to mention how it can be generated (from NetBSD). Add a PKGREVISION. --- pkgtools/pkg_install/Makefile | 3 ++- pkgtools/pkg_install/files/lib/pkg_summary.5 | 21 +++++++++++++++++++-- pkgtools/pkg_install/files/lib/pkg_summary.cat5 | 14 +++++++++++++- 3 files changed, 34 insertions(+), 4 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index a230f72c46b..15029f43a74 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.128 2006/07/18 23:06:41 jlam Exp $ +# $NetBSD: Makefile,v 1.129 2007/02/06 01:30:11 reed Exp $ # Notes to package maintainers: # @@ -9,6 +9,7 @@ # change in the pkg_* tools that pkgsrc relies on for proper operation. DISTNAME= pkg_install-${VERSION} +PKGREVISION= 1 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkg_install/files/lib/pkg_summary.5 b/pkgtools/pkg_install/files/lib/pkg_summary.5 index 386e6102385..09ca1b42962 100644 --- a/pkgtools/pkg_install/files/lib/pkg_summary.5 +++ b/pkgtools/pkg_install/files/lib/pkg_summary.5 @@ -1,4 +1,4 @@ -.\" $NetBSD: pkg_summary.5,v 1.3 2006/04/25 13:33:18 dillo Exp $ +.\" $NetBSD: pkg_summary.5,v 1.4 2007/02/06 01:30:11 reed Exp $ .\" .\" Copyright (c) 2006 The NetBSD Foundation .\" @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd April 24, 2006 +.Dd February 5, 2007 .Dt PKG_SUMMARY 5 .Os .Sh NAME @@ -100,3 +100,20 @@ If missing, this package does not require shared libraries. .It Ev SIZE_PKG (required) The size of the package when installed, in bytes. .El +.Pp +The +.Nm pkg_summary +file can be generated using the +.Xr pkg_info 1 +.Fl X +option. +For example, the following will list this data for all installed packages: +.Pp +.Dl "pkg_info -X -a" +.Pp +.Sh SEE ALSO +.Xr pkg_info 1 +.Sh HISTORY +The +.Nm pkg_summary +format was first officially documented in April 2006. diff --git a/pkgtools/pkg_install/files/lib/pkg_summary.cat5 b/pkgtools/pkg_install/files/lib/pkg_summary.cat5 index 6ee7f8ed894..ffd69d82801 100644 --- a/pkgtools/pkg_install/files/lib/pkg_summary.cat5 +++ b/pkgtools/pkg_install/files/lib/pkg_summary.cat5 @@ -84,4 +84,16 @@ DDEESSCCRRIIPPTTIIOONN SIZE_PKG (required) The size of the package when installed, in bytes. -NetBSD 3.0 April 24, 2006 NetBSD 3.0 + The ppkkgg__ssuummmmaarryy file can be generated using the pkg_info(1) --XX option. + For example, the following will list this data for all installed pack- + ages: + + pkg_info -X -a + +SSEEEE AALLSSOO + pkg_info(1) + +HHIISSTTOORRYY + The ppkkgg__ssuummmmaarryy format was first officially documented in April 2006. + +NetBSD 3.0 February 5, 2007 NetBSD 3.0 -- cgit v1.2.3