ports/113234: [addon] portbuild/scripts/buildscript

Andrej Zverev andrey.zverev at electro-com.ru
Fri Jun 1 20:20:07 UTC 2007


>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:



More information about the freebsd-ports-bugs mailing list