ports/160739: [PATCH] ports-mgmt/tinderbox: Supress PHP notice logs

Joe Horn joehorn at gmail.com
Wed Sep 14 19:00:19 UTC 2011


>Number:         160739
>Category:       ports
>Synopsis:       [PATCH] ports-mgmt/tinderbox: Supress PHP notice logs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 14 19:00:17 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 8.2-RELEASE-p2 amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD Leo.mi.chu.edu.tw 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #1: Sun May 29 03:20:46 CST 2011
>Description:
- Supress following PHP notice logs :
PHP Notice:  Undefined variable: user_id in /usr/local/tinderbox/scripts/webui/templates/paefchen/display_login.tpl on line 2
PHP Notice:  Undefined variable: is_www_admin in /usr/local/tinderbox/scripts/webui/templates/paefchen/display_login.tpl on line 2

- Bump PORTREVISION

Added file(s):
- files/patch-webui-templates-paefchen-display_login.tpl

Port maintainer (itetcu at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- tinderbox-3.3_5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/ports-mgmt/tinderbox/Makefile /home/admin/joehorn/tinderbox/Makefile
--- /usr/ports/ports-mgmt/tinderbox/Makefile	2011-08-21 01:27:35.000000000 +0800
+++ /home/admin/joehorn/tinderbox/Makefile	2011-09-15 02:34:59.000000000 +0800
@@ -6,7 +6,7 @@
 
 PORTNAME=	tinderbox
 PORTVERSION=	3.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	http://tinderbox.marcuscom.com/ \
 		http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/
diff -ruN --exclude=CVS /usr/ports/ports-mgmt/tinderbox/files/patch-webui-templates-paefchen-display_login.tpl /home/admin/joehorn/tinderbox/files/patch-webui-templates-paefchen-display_login.tpl
--- /usr/ports/ports-mgmt/tinderbox/files/patch-webui-templates-paefchen-display_login.tpl	1970-01-01 08:00:00.000000000 +0800
+++ /home/admin/joehorn/tinderbox/files/patch-webui-templates-paefchen-display_login.tpl	2011-09-15 02:33:34.000000000 +0800
@@ -0,0 +1,9 @@
+--- webui/templates/paefchen/display_login.tpl.orig	2009-11-28 01:32:31.000000000 +0800
++++ webui/templates/paefchen/display_login.tpl	2011-09-15 02:31:54.000000000 +0800
+@@ -1,5 +1,5 @@
+ <!-- $Paefchen: FreeBSD/tinderbox/webui/templates/paefchen/display_login.tpl,v 1.3 2008/01/07 04:16:24 as Exp $ //-->
+-<!-- user_name:<?php echo $user_name?>;user_id:<?php echo $user_id?>;is_www_admin:<?php echo $is_www_admin?> //-->
++<!-- user_name:<?php echo isset($user_name)?$user_name:''?>;user_id:<?php echo isset($user_id)?$user_id:''?>;is_www_admin:<?php echo isset($is_www_admin)?$is_www_admin:''?> //-->
+ <?php if (empty($user_name)) { ?>
+ 	<form method="post" action="index.php">
+ 		<fieldset>
--- tinderbox-3.3_5.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list