ports/118627: [update] www/phpSysInfo - update to 3.0

Philippe Audeoud jadawin at tuxaco.net
Wed Dec 12 21:40:03 UTC 2007


>Number:         118627
>Category:       ports
>Synopsis:       [update] www/phpSysInfo - update to 3.0
>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:   Wed Dec 12 21:40:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Philippe Audeoud
>Release:        FreeBSD 7.0-BETA1 i386
>Organization:
>Environment:
System: FreeBSD athines 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Wed Oct 31 19:32:18 CET 2007 root at glenrothes:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	- update PORTREVISION
	- update MAINTAINER
	- remove patch files
	- update MASTER_SITES with SF
>How-To-Repeat:
	
>Fix:

	

--- patch-phpSysInfo.1 begins here ---
diff -ruN www/phpSysInfo.orig/Makefile www/phpSysInfo/Makefile
--- www/phpSysInfo.orig/Makefile	2007-12-12 20:26:35.000000000 +0000
+++ www/phpSysInfo/Makefile	2007-12-12 20:29:48.000000000 +0000
@@ -5,14 +5,12 @@
 # $FreeBSD: ports/www/phpSysInfo/Makefile,v 1.23 2007/10/28 12:01:33 shaun Exp $
 
 PORTNAME=	phpSysInfo
-PORTVERSION=	2.5.3
-PORTREVISION=	1
+PORTVERSION=	3.0
 CATEGORIES=	www
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME:L}
-DISTNAME=	${PORTNAME:L}-${PORTVERSION}
+MASTER_SITES=	SF
+DISTNAME=	${PORTNAME}-${PORTVERSION}-RC3
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	jadawin at tuxaco.net
 COMMENT=	A php script that displays info about the host being accessed
 
 USE_PHP=	pcre xml
diff -ruN www/phpSysInfo.orig/distinfo www/phpSysInfo/distinfo
--- www/phpSysInfo.orig/distinfo	2007-12-12 20:26:35.000000000 +0000
+++ www/phpSysInfo/distinfo	2007-12-12 20:29:51.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (phpsysinfo-2.5.3.tar.gz) = 61a398032b5bb15b0a242cf180a34411
-SHA256 (phpsysinfo-2.5.3.tar.gz) = 33768d2354f44dfbbb53711e6732785de27e96a1a19c2f97e5f59d3e37149400
-SIZE (phpsysinfo-2.5.3.tar.gz) = 267915
+MD5 (phpSysInfo-3.0-RC3.tar.gz) = 297ea14c25be5fb110f46951dca18025
+SHA256 (phpSysInfo-3.0-RC3.tar.gz) = c424dba3848b4b76fe8965c105fecb9396713c176b45dd131f3d340851d87d7d
+SIZE (phpSysInfo-3.0-RC3.tar.gz) = 136373
diff -ruN www/phpSysInfo.orig/files/patch-pre5.2.1-segfault.diff www/phpSysInfo/files/patch-pre5.2.1-segfault.diff
--- www/phpSysInfo.orig/files/patch-pre5.2.1-segfault.diff	2007-12-12 20:26:35.000000000 +0000
+++ www/phpSysInfo/files/patch-pre5.2.1-segfault.diff	1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
---- includes/xml/filesystems.php.orig
-+++ includes/xml/filesystems.php
-@@ -85,7 +85,7 @@
- 			. "    <td align=\"" . $textdir['right'] . "\" valign=\"top\"><font size=\"-1\"><b>" . $text['size'] . "</b></font></td>\n  </tr>\n";
- 	for( $i = 1, $max = sizeof( $XPath->getDataParts( "/phpsysinfo/FileSystem" ) ); $i < $max; $i++ ) {
- 		if( $XPath->match( "/phpsysinfo/FileSystem/Mount[" . $i . "]/MountPointID" ) ) {
--			if( ! $XPath->match( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Options" ) || ! stristr( $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Options" ), "bind" ) ) {
-+			if( ! $XPath->match( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Options" ) ) {
- 				if( ! in_array( $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Device/Name" ), $arrCounteddevlist ) ) {
- 					$arrSum['size'] += $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Size" );
- 					$arrSum['used'] += $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Used" );
diff -ruN www/phpSysInfo.orig/files/patch-xss-fix.diff www/phpSysInfo/files/patch-xss-fix.diff
--- www/phpSysInfo.orig/files/patch-xss-fix.diff	2007-12-12 20:26:35.000000000 +0000
+++ www/phpSysInfo/files/patch-xss-fix.diff	1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
---- includes/system_footer.php.orig	Tue Jul 31 10:35:50 2007
-+++ includes/system_footer.php	Tue Jul 31 10:35:52 2007
-@@ -29,7 +29,7 @@
- 
- if( ! $hide_picklist ) {
- 	echo "<center>\n";
--	$update_form = "<form method=\"POST\" action=\"" . $_SERVER['PHP_SELF'] . "\">\n" . "\t" . $text['template'] . ": \n" . "\t<select name=\"template\">\n";
-+	$update_form = "<form method=\"POST\" action=\"" . htmlentities(strip_tags($_SERVER['PHP_SELF'])) . "\">\n" . "\t" . $text['template'] . ": \n" . "\t<select name=\"template\">\n";
- 	
- 	$resDir = opendir( APP_ROOT . '/templates/' );
- 	while( false !== ( $strFile = readdir( $resDir ) ) ) {
--- patch-phpSysInfo.1 ends here ---


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



More information about the freebsd-ports-bugs mailing list