diff options
author | alane <alane@FreeBSD.org> | 2003-01-05 10:41:49 +0800 |
---|---|---|
committer | alane <alane@FreeBSD.org> | 2003-01-05 10:41:49 +0800 |
commit | 7a7b7404e439073bc17e37238b1bb1ce2123ba26 (patch) | |
tree | cd3c26d51029a8540a429b29d0934d2835080a32 /www/phpsysinfo | |
parent | 0ee203de911e677fa03269c5c717951a6725cb90 (diff) | |
download | freebsd-ports-gnome-7a7b7404e439073bc17e37238b1bb1ce2123ba26.tar.gz freebsd-ports-gnome-7a7b7404e439073bc17e37238b1bb1ce2123ba26.tar.zst freebsd-ports-gnome-7a7b7404e439073bc17e37238b1bb1ce2123ba26.zip |
update and change maintainer
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 () |