aboutsummaryrefslogtreecommitdiff
path: root/www/phpsysinfo-dev
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2003-01-05 02:41:49 +0000
committerAlan Eldridge <alane@FreeBSD.org>2003-01-05 02:41:49 +0000
commit5e8078282699ca949f32e860b71cc70bf97b1db1 (patch)
treecec6b67a9675880758ea362e265f15cc8329fa29 /www/phpsysinfo-dev
parent9f6bd76ddf1e118a0a674e95a10266afcea6fb60 (diff)
downloadports-5e8078282699ca949f32e860b71cc70bf97b1db1.tar.gz
ports-5e8078282699ca949f32e860b71cc70bf97b1db1.zip
Notes
Diffstat (limited to 'www/phpsysinfo-dev')
-rw-r--r--www/phpsysinfo-dev/Makefile4
-rw-r--r--www/phpsysinfo-dev/files/patch-includes-os-class.BSD.common.inc.php27
2 files changed, 2 insertions, 29 deletions
diff --git a/www/phpsysinfo-dev/Makefile b/www/phpsysinfo-dev/Makefile
index 7017392aed50..78e1ec1bff87 100644
--- a/www/phpsysinfo-dev/Makefile
+++ b/www/phpsysinfo-dev/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-dev/files/patch-includes-os-class.BSD.common.inc.php b/www/phpsysinfo-dev/files/patch-includes-os-class.BSD.common.inc.php
deleted file mode 100644
index 3758d732942b..000000000000
--- a/www/phpsysinfo-dev/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 ()