diff options
author | Alan Eldridge <alane@FreeBSD.org> | 2003-01-05 02:41:49 +0000 |
---|---|---|
committer | Alan Eldridge <alane@FreeBSD.org> | 2003-01-05 02:41:49 +0000 |
commit | 5e8078282699ca949f32e860b71cc70bf97b1db1 (patch) | |
tree | cec6b67a9675880758ea362e265f15cc8329fa29 /www/phpsysinfo | |
parent | 9f6bd76ddf1e118a0a674e95a10266afcea6fb60 (diff) | |
download | ports-5e8078282699ca949f32e860b71cc70bf97b1db1.tar.gz ports-5e8078282699ca949f32e860b71cc70bf97b1db1.zip |
Notes
Diffstat (limited to 'www/phpsysinfo')
-rw-r--r-- | www/phpsysinfo/Makefile | 4 | ||||
-rw-r--r-- | www/phpsysinfo/files/patch-includes-os-class.BSD.common.inc.php | 27 |
2 files changed, 2 insertions, 29 deletions
diff --git a/www/phpsysinfo/Makefile b/www/phpsysinfo/Makefile index 7017392aed50..78e1ec1bff87 100644 --- a/www/phpsysinfo/Makefile +++ b/www/phpsysinfo/Makefile @@ -5,12 +5,12 @@ # $FreeBSD$ PORTNAME= phpSysInfo -PORTVERSION= 2.0 +PORTVERSION= 2.1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= phpsysinfo -MAINTAINER= alane@freebsd.org +MAINTAINER= so14k@so14k.com RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 diff --git a/www/phpsysinfo/files/patch-includes-os-class.BSD.common.inc.php b/www/phpsysinfo/files/patch-includes-os-class.BSD.common.inc.php deleted file mode 100644 index 3758d732942b..000000000000 --- a/www/phpsysinfo/files/patch-includes-os-class.BSD.common.inc.php +++ /dev/null @@ -1,27 +0,0 @@ -Index: includes/os/class.BSD.common.inc.php -==================================================================XRCS file: /cvsroot/phpsysinfo/phpsysinfo-dev/includes/os/class.BSD.common.inc.php,v -retrieving revision 1.4 -diff -u -3 -r1.4 class.BSD.common.inc.php ---- includes/os/class.BSD.common.inc.php 4 Feb 2002 01:27:30 -0000 1.4 -+++ includes/os/class.BSD.common.inc.php 17 Feb 2002 06:50:27 -0000 -@@ -179,14 +179,17 @@ - $results[$s]['model'] = $ar_buf[3]; - $results[$s]['media'] = 'Hard Disk'; - $results[$s]['capacity'] = $ar_buf[2] * 2048 * 1.049; -- } -- if (preg_match('/^(acd[0-9]): (.*) <(.*)> (.*)/', $buf, $ar_buf)) { -+ } else -+ if (preg_match('/^(acd[0-9]): (.*) <(.*)> (.*)/', $buf, $ar_buf)) { - $s = $ar_buf[1]; - $results[$s]['model'] = $ar_buf[3]; - $results[$s]['media'] = 'CD-ROM'; - } - } -- return array_values(array_unique($results)); -+ //return array_values(array_unique($results)); -+ //1. more useful to have device names -+ //2. php 4.1.1 array_unique() deletes non-unique values. -+ return $results; - } - - function memory () |