Subject: date and maintainer in build info (was: CVS commit:
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 05/07/2004 09:49:51
On Fri, 7 May 2004, Johnny C. Lam wrote:

> Import pkg_install-20040507 from src/usr.sbin/pkg_install:
> Add a new flag -Q (for "query") to pkg_info(1) to query the build
> information for the definitions of specific variables that were saved
> from build time, e.g.
> 	$ pkg_info -Q PKGPATH glib
> 	devel/glib
> 	$ pkg_info -Q PROVIDES glib
> 	/usr/pkg/lib/
> 	/usr/pkg/lib/
> 	/usr/pkg/lib/

This is great.

My has:

+.if !defined(THE_DATE)
+THE_DATE!=     ${DATE}
+       ${_PKG_SILENT}${_PKG_DEBUG}                                     \
+       ${ECHO} "DATE=${THE_DATE}" >> ${BUILD_INFO_FILE}
+       ${_PKG_SILENT}${_PKG_DEBUG}

I mentioned adding those last fall. Does anyone care if I commit that? Or
any suggestions for this?

I also wanted to include the username and/or hostname of the builder too.
Should I?

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links