Subject: Re: pkg_info: patch to create summary file
To: Dieter Baron <dillo@danbala.tuwien.ac.at>
From: Malcolm Herbert <mjch@mjch.net>
List: tech-pkg
Date: 04/12/2006 17:13:24
Looks good, but could the format be changed to the following:
$ pkg_info -X /usr/pkgsrc/packages/All/apache-1.3.34nb1.tgz # binary package
PKGNAME=apache-1.3.34nb1
DEPENDS=expat>=1.95.7
DEPENDS+=libmm>=1.2.1
CONFLICTS=apache-*ssl-[0-9]*
CONFLICTS+=apache6-[0-9]*
COMMENT=Apache HTTP (Web) server
SIZE_PKG=5710849
PKG_OPTIONS=
PKGPATH=www/apache
OPSYS=NetBSD
OS_VERSION=3.0
MACHINE_ARCH=i386
LICENSE=
REQUIRES=/usr/lib/libc.so.12
REQUIRES+=/usr/lib/libcrypt.so.0
REQUIRES+=/usr/lib/libgcc_s.so.1
REQUIRES+=/usr/lib/libm.so.0
REQUIRES+=/usr/lib/libm387.so.0
REQUIRES+=/usr/lib/libpthread.so.0
REQUIRES+=/usr/local/lib/libexpat.so.0
REQUIRES+=/usr/local/lib/libmm.so.14
FILE_SIZE=1534128
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.
DESCRIPTION+=
DESCRIPTION+=Homepage:
DESCRIPTION+=http://httpd.apache.org/
... which would let this work with make as well straight out of the box
There may be a need for some judicious quoting here and there ...
Regards,
Malcolm
--
Malcolm Herbert This brain intentionally
mjch@mjch.net left blank