Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2007 23:54:22 +0400
From:      Andrej Zverev <andrey.zverev@electro-com.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113234: [addon] portbuild/scripts/buildscript
Message-ID:  <E1HuDCY-0000hC-Ja@mail.electro-com.ru>
Resent-Message-ID: <200706012020.l51KK6WA071487@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113234
>Category:       ports
>Synopsis:       [addon] portbuild/scripts/buildscript
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 01 20:20:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Andrej Zverev
>Release:        FreeBSD 5.5-STABLE i386
>Organization:
>Environment:


	
>Description:
	I think it's good thing to know in build log on pointyhat (build farm)
	ident of port Makefile, to better understand what revision actually builded.
	
>How-To-Repeat:
	
>Fix:

	

--- patch-buildscript.diff begins here ---
--- /usr/ports/Tools/portbuild/scripts/buildscript.orig	Sat Mar  3 20:04:03 2007
+++ /usr/ports/Tools/portbuild/scripts/buildscript	Fri Jun  1 23:49:30 2007
@@ -135,6 +135,7 @@
 
 L=`echo ${LOCALBASE} | sed 's,^/,,'`
 X=`echo ${X11BASE} | sed 's,^/,,'`
+Z=`ident ${dir}/Makefile | grep 'FreeBSD:' | sed 's/^[ \t]*//'`
 
 if [ $phase = 1 ]; then
 
@@ -142,6 +143,7 @@
   echo "building for: $(uname -mr)"
   echo "maintained by: $(make maintainer)"
   echo "port directory: ${dir}"
+  echo "makefile ident: ${Z}"
   echo "build started at $(date)"
 
   echo "FETCH_DEPENDS=${FD}"
--- patch-buildscript.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1HuDCY-0000hC-Ja>