Subject: Re: add builder and build date to +BUILD_INFO
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 10/09/2003 09:41:40
On Thu, Oct 09, 2003 at 01:29:45AM +0200, Hubert Feyrer wrote:

> On Wed, 8 Oct 2003, Jeremy C. Reed wrote:
> > What do you think about have +BUILD_INFO include a BUILDER field with
> > user@hostname:/path/to/pkgsrc and a BUILD_DATE field with the time and
> > date of .install_done ??
> 
> sounds good to me!
> 
> It would be nice to start thinking about an interface to pkg_info(1) to
> retrieve single variables from the BUILD_INFO file, e.g.
> 
> 	$ pkg_info -Q BUILDER,BUILD_DATE,OS_VERSION tcsh
> 	OS_VERSION= 1.5
> 	BUILDER= hubertf@smaug.fh-regensburg.de:/usr/pkgsrc/shells/tcsh
> 	BUILD_DATA= whatever

similar to 'show-vars', if you're asking for variables, you already
know what their names are (we hope), so printing the name is
superfluous .. just my 2c :)

g.