Subject: Re: pkg_info: patch to create summary file
To: Hubert Feyrer <firstname.lastname@example.org>
From: Dieter Baron <email@example.com>
Date: 04/11/2006 16:20:08
> >attached is a patch that adds an option to pkg_info to output summary
> >information about packages, as discussed a while back on this list.
> Can you please post some example usage and output?
[This is without Jeremy's patches for the new BUILD_INFO variables.]
$ pkg_info -X /usr/pkgsrc/packages/All/apache-1.3.34nb1.tgz # binary package
COMMENT=Apache HTTP (Web) server
DESCRIPTION=The Apache HTTP Server Project is a collaborative software development
DESCRIPTION=effort aimed at creating a robust, commercial-grade, featureful, and
DESCRIPTION=freely-available source code implementation of an HTTP (Web) server.
$ pkg_info -X png # installed package
COMMENT=Library for manipulating PNG images
DESCRIPTION=Libpng was written as a companion to the PNG specification, as a
DESCRIPTION=way to reduce the amount of time and effort it takes to support
DESCRIPTION=the PNG file format in application programs. Most users will not
DESCRIPTION=have to modify the library significantly; advanced users may want
DESCRIPTION=to modify it more. The library was coded for both users. All
DESCRIPTION=attempts were made to make it as complete as possible, while
DESCRIPTION=keeping the code easy to understand. Currently, this library
DESCRIPTION=only supports C. Support for other languages is being considered.