svn commit: r320140 - in head/ports-mgmt/tinderbox: . files

Matthias Andree mandree at FreeBSD.org
Thu Jun 6 22:25:12 UTC 2013


Author: mandree
Date: Thu Jun  6 22:25:11 2013
New Revision: 320140
URL: http://svnweb.freebsd.org/changeset/ports/320140

Log:
  Fix display of port fail reasons on the latest_buildports page with
  default template (not visible in paefchen template).
  
  PR:		177491
  Submitted by:	Anonymous <r4721 at tormail.org>
  Approved by:	itetcu (maintainer timeout, 68 days)

Added:
  head/ports-mgmt/tinderbox/files/patch-fail-reasons   (contents, props changed)
Modified:
  head/ports-mgmt/tinderbox/Makefile

Modified: head/ports-mgmt/tinderbox/Makefile
==============================================================================
--- head/ports-mgmt/tinderbox/Makefile	Thu Jun  6 22:24:37 2013	(r320139)
+++ head/ports-mgmt/tinderbox/Makefile	Thu Jun  6 22:25:11 2013	(r320140)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tinderbox
 PORTVERSION=	4.0.0
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	http://tinderbox.marcuscom.com/ \
 		http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/

Added: head/ports-mgmt/tinderbox/files/patch-fail-reasons
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/tinderbox/files/patch-fail-reasons	Thu Jun  6 22:25:11 2013	(r320140)
@@ -0,0 +1,12 @@
+# http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177491 by Anonymous
+--- webui/templates/default/latest_buildports.tpl.orig
++++ webui/templates/default/latest_buildports.tpl
+@@ -50,7 +50,7 @@
+ 				<?php $reason=$row['port_last_fail_reason']?>
+ 				<td class="<?php if(!empty($port_fail_reasons[$reason]['type']))echo "fail_reason_".$port_fail_reasons[$reason]['type']?>">
+ 				<?php $href=isset($port_fail_reasons[$reason]['link']) ? "index.php?action=display_failure_reasons&failure_reason_tag=$reason#$reason" : "#"?>
+-				<a href="<?php echo $href?>" class="<?php if(!empty($port_fail_reasons[$reason]['type']))echo "fail_reason_".$port_fail_reasons[$reason]['type']?>" title="<?php if(!empty($port_fail_reasons[$reason]['descr']))echo $port_fail_reasons[$reason]['descr']?>"><?php $reason?></a>
++				<a href="<?php echo $href?>" class="<?php if(!empty($port_fail_reasons[$reason]['type']))echo "fail_reason_".$port_fail_reasons[$reason]['type']?>" title="<?php if(!empty($port_fail_reasons[$reason]['descr']))echo $port_fail_reasons[$reason]['descr']?>"><?php echo $reason?></a>
+ 				</td>
+ 				<td>
+ 					<?php if($row['port_link_logfile']){?>


More information about the svn-ports-all mailing list