Subject: Re: add builder and build date to +BUILD_INFO
To: Jeremy C. Reed <reed@reedmedia.net>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 10/09/2003 01:29:45
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

	$ pkg_info -qQ BUILDER tcsh
	hubertf@smaug.fh-regensburg.de:/usr/pkgsrc/shells/tcsh

-Q for "query", with non-verbose (-q) operation not printing the variable
name.


 - Hubert

-- 
  ___ _ _  _   _        * Harddisk Image Cloning *
 / __| | || | | |           www.feyrer.de/g4u/
| (_ |_  _| |_| |
 \___| |_| \___/          v1.12 out now, including partition support!