diff options
Diffstat (limited to 'www/phpsysinfo-dev')
-rw-r--r-- | www/phpsysinfo-dev/Makefile | 40 | ||||
-rw-r--r-- | www/phpsysinfo-dev/distinfo | 3 | ||||
-rw-r--r-- | www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff | 11 | ||||
-rw-r--r-- | www/phpsysinfo-dev/files/patch-xss-fix.diff | 11 | ||||
-rw-r--r-- | www/phpsysinfo-dev/pkg-descr | 7 |
5 files changed, 0 insertions, 72 deletions
diff --git a/www/phpsysinfo-dev/Makefile b/www/phpsysinfo-dev/Makefile deleted file mode 100644 index 9e41fb5e05f6..000000000000 --- a/www/phpsysinfo-dev/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# New ports collection makefile for: phpSysInfo -# Date created: Mon Mar 04, 2002 -# Whom: Bob Bomar <bob@fly.homeunix.org> -# -# $FreeBSD$ - -PORTNAME= phpSysInfo -PORTVERSION= 2.5.3 -PORTREVISION= 1 -CATEGORIES= www -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME:L} -DISTNAME= ${PORTNAME:L}-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= A php script that displays info about the host being accessed - -USE_PHP= pcre xml -WANT_PHP_WEB= yes - -WRKSRC= ${WRKDIR}/${PORTNAME:L} -NO_BUILD= yes -PLIST= ${WRKDIR}/plist - -post-patch: - ${RM} -f ${PLIST} - cd ${WRKSRC};\ - ${FIND} . ! -type d | ${SORT} | ${SED} "s|^\.|${WWWDIR_REL}|"\ - >${PLIST};\ - ${FIND} . -type d | ${SORT} -r | ${SED} "s|^\.|@dirrm ${WWWDIR_REL}|"\ - >>${PLIST} - -do-install: - ${MKDIR} ${WWWDIR} - cd ${WRKSRC}; ${FIND} . \ - | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - ${CHMOD} -R ${BINMODE} ${WWWDIR} - ${FIND} ${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE} - -.include <bsd.port.mk> diff --git a/www/phpsysinfo-dev/distinfo b/www/phpsysinfo-dev/distinfo deleted file mode 100644 index 796055d79a7c..000000000000 --- a/www/phpsysinfo-dev/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (phpsysinfo-2.5.3.tar.gz) = 61a398032b5bb15b0a242cf180a34411 -SHA256 (phpsysinfo-2.5.3.tar.gz) = 33768d2354f44dfbbb53711e6732785de27e96a1a19c2f97e5f59d3e37149400 -SIZE (phpsysinfo-2.5.3.tar.gz) = 267915 diff --git a/www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff b/www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff deleted file mode 100644 index f3282fd26c3e..000000000000 --- a/www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff +++ /dev/null @@ -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 --git a/www/phpsysinfo-dev/files/patch-xss-fix.diff b/www/phpsysinfo-dev/files/patch-xss-fix.diff deleted file mode 100644 index 4f525c29253b..000000000000 --- a/www/phpsysinfo-dev/files/patch-xss-fix.diff +++ /dev/null @@ -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 ) ) ) { diff --git a/www/phpsysinfo-dev/pkg-descr b/www/phpsysinfo-dev/pkg-descr deleted file mode 100644 index 1aef2f8d3ce1..000000000000 --- a/www/phpsysinfo-dev/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -PhpSysInfo is a PHP script that displays infromation about the host being -accessed. It will display things like Uptime, CPU, Memory, SCSI, IDE, PCI, -Ethernet, Floppy, and Video Infromation. It can be customized. - -WWW: http://sourceforge.net/projects/phpsysinfo/ - - -Bob Bomar <bob@fly.homeunix.org> |