summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2005-11-20 11:53:16 +0000
committerStuart Herbert <stuart@gentoo.org>2005-11-20 11:53:16 +0000
commit7d65ffc56e21eb952301ad393ef40cc4860f3bd6 (patch)
treec099d9ffbea07d60bc351e8609cf199d2bd69fe5 /www-apps/phpsysinfo
parentStable on x86 (bug 113003). (diff)
downloadgentoo-2-7d65ffc56e21eb952301ad393ef40cc4860f3bd6.tar.gz
gentoo-2-7d65ffc56e21eb952301ad393ef40cc4860f3bd6.tar.bz2
gentoo-2-7d65ffc56e21eb952301ad393ef40cc4860f3bd6.zip
Moved categories; version bump for security bug #112482
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'www-apps/phpsysinfo')
-rw-r--r--www-apps/phpsysinfo/ChangeLog146
-rw-r--r--www-apps/phpsysinfo/Manifest10
-rw-r--r--www-apps/phpsysinfo/files/digest-phpsysinfo-2.3-r21
-rw-r--r--www-apps/phpsysinfo/files/digest-phpsysinfo-2.3-r32
-rw-r--r--www-apps/phpsysinfo/files/digest-phpsysinfo-2.4.11
-rw-r--r--www-apps/phpsysinfo/files/phpsysinfo-2.3-sparc.patch41
-rw-r--r--www-apps/phpsysinfo/files/phpsysinfo-2.3-xss-and-path.patch120
-rw-r--r--www-apps/phpsysinfo/metadata.xml9
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-2.3-r2.ebuild40
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-2.3-r3.ebuild43
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-2.4.1.ebuild44
11 files changed, 457 insertions, 0 deletions
diff --git a/www-apps/phpsysinfo/ChangeLog b/www-apps/phpsysinfo/ChangeLog
new file mode 100644
index 000000000000..8f45ae124a74
--- /dev/null
+++ b/www-apps/phpsysinfo/ChangeLog
@@ -0,0 +1,146 @@
+# ChangeLog for www-apps/phpsysinfo
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/ChangeLog,v 1.1 2005/11/20 11:53:16 stuart Exp $
+
+*phpsysinfo-2.3-r2 (20 Nov 2005)
+
+ 20 Nov 2005; Stuart Herbert <stuart@gentoo.org> +metadata.xml,
+ +files/phpsysinfo-2.3-sparc.patch, +files/phpsysinfo-2.3-xss-and-path.patch,
+ +phpsysinfo-2.3-r2.ebuild, +phpsysinfo-2.4.1.ebuild:
+ Moved from dev-php/ to www-apps/ category
+ Version bump; fixes security bug #112482
+
+*phpsysinfo-2.3-r3 (25 Oct 2005)
+
+ 25 Oct 2005; Renat Lumpau <rl03@gentoo.org>
+ -files/fix_memory_display_kernel2.5.diff.gz, +phpsysinfo-2.3-r3.ebuild:
+ Added bind mount patch (bug #107803), removed hard dependency on Apache (bug
+ #98640).
+
+ 25 Oct 2005; Renat Lumpau <rl03@gentoo.org> metadata.xml:
+ Reassigning to web-apps
+
+ 25 May 2005; Markus Rothe <corsair@gentoo.org> phpsysinfo-2.3-r2.ebuild:
+ Moved phpsysinfo-2.3-xss-and-path.patch from http source to files/, as I was
+ now able to prevent cvs from chaning the lines in the patch using 'cvs add
+ -ko'.
+
+ 13 Apr 2005; Markus Rothe <corsair@gentoo.org> -phpsysinfo-2.1.ebuild,
+ -phpsysinfo-2.1-r1.ebuild, -phpsysinfo-2.1-r2.ebuild,
+ -phpsysinfo-2.2.ebuild, -phpsysinfo-2.3.ebuild, -phpsysinfo-2.3-r1.ebuild:
+ Cleanup of old ebuilds after new one is stable on all archs
+
+ 12 Apr 2005; Simon Stelling <blubb@gentoo.org> phpsysinfo-2.3-r2.ebuild:
+ stable on amd64 wrt bug 86478
+
+ 12 Apr 2005; Olivier Crête <tester@gentoo.org> phpsysinfo-2.3-r2.ebuild:
+ Stable on x86 per security bug #86478
+
+ 08 Apr 2005; Guy Martin <gmsoft@gentoo.org> phpsysinfo-2.3-r2.ebuild:
+ Stable on hppa.
+
+ 03 Apr 2005; Bryan Østergaard <kloeri@gentoo.org>
+ phpsysinfo-2.3-r2.ebuild:
+ Stable on alpha, bug 86478.
+
+ 02 Apr 2005; Michael Hanselmann <hansmi@gentoo.org>
+ phpsysinfo-2.3-r2.ebuild:
+ Stable on ppc.
+
+ 02 Apr 2005; Jason Wever <weeve@gentoo.org> phpsysinfo-2.3-r2.ebuild:
+ Stable on SPARC wrt security bug #86478.
+
+ 02 Apr 2005; Markus Rothe <corsair@gentoo.org>
+ files/phpsysinfo-2.3-sparc.patch, files/phpsysinfo-2.3-xss-and-path.patch,
+ phpsysinfo-2.3-r2.ebuild:
+ Corrected xss-and-path.patch
+
+*phpsysinfo-2.3-r2 (01 Apr 2005)
+
+ 01 Apr 2005; Markus Rothe <corsair@gentoo.org>
+ +files/phpsysinfo-2.3-sparc.patch, +files/phpsysinfo-2.3-xss-and-path.patch,
+ +phpsysinfo-2.3-r2.ebuild:
+ Revision bump to fix bug #53178 (sparch cpu patch) and bug #86478 (XSS and
+ path disclosure issues); Stable on ppc64
+
+*phpsysinfo-2.3-r1 (15 Mar 2005)
+
+ 15 Mar 2005; Sebastian Bergmann <sebastian@gentoo.org>
+ +phpsysinfo-2.3-r1.ebuild:
+ DEPEND on virtual/httpd-php, fixes bug 65452.
+
+ 04 Jan 2005; Markus Rothe <corsair@gentoo.org> phpsysinfo-2.3.ebuild:
+ Stable on ppc64
+
+ 30 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 28 Dec 2004; Markus Rothe <corsair@gentoo.org> phpsysinfo-2.3.ebuild:
+ Cleanup of ebuild
+
+*phpsysinfo-2.3 (27 Dec 2004)
+
+ 27 Dec 2004; Markus Rothe <corsair@gentoo.org> +phpsysinfo-2.3.ebuild:
+ version bump; credits for ebuild go to people from bug #60380
+
+*phpsysinfo-2.2 (24 Jun 2004)
+
+ 24 Jun 2004; Stuart Herbert <stuart@gentoo.org> +phpsysinfo-2.2.ebuild:
+ Version bump; also converted to use the new webapp approach
+
+ 31 May 2004; Bryan Østergaard <kloeri@gentoo.org> phpsysinfo-2.1-r2.ebuild:
+ Stable on alpha.
+
+ 17 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> phpsysinfo-2.1-r1.ebuild:
+ Added IUSE=.
+
+ 30 Mar 2004; Stuart Herbert <stuart@gentoo.org> phpsysinfo-2.1-r2.ebuild:
+ Fix for missing '$' in the tests for whether to apply a patch or not.
+
+ 29 Mar 2004; Stuart Herbert <stuart@gentoo.org> phpsysinfo-2.1-r2.ebuild:
+ Reduced output to the screen when deciding to apply the kernel patch
+
+ 29 Mar 2004; Sven Blumenstein <bazik@gentoo.org> phpsysinfo-2.1-r2.ebuild:
+ Stable on sparc and applied fix from bug #46081. Will fix CPU info for sparc
+ later.
+
+*phpsysinfo-2.1-r2 (28 Mar 2004)
+
+ 28 Mar 2004; Stuart Herbert <stuart@gentoo.org> phpsysinfo-2.1-r2.ebuild:
+ Auto-apply the 2.5 kernel patch if we're running on a 2.5 / 2.6 kernel
+
+ 28 Mar 2004; Stuart Herbert <stuart@gentoo.org> :
+ Included working 2.5/2.6 kernel patch from Stephen Reindl
+ <sr@stephenreindl.de>. The patch is now auto-applied as well.
+ Fixes bug #39248
+
+ 21 Mar 2004; Martin Holzer <mholzer@gentoo.org> phpsysinfo-2.1.ebuild:
+ adding categorie. see 45110 for details
+
+ 19 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> phpsysinfo-2.1-r1.ebuild:
+ Inherit eutils and amd64 unmask.
+
+ 16 Dec 2003; Guy Martin <gmsoft@gentoo.org> phpsysinfo-2.1-r1.ebuild:
+ Marked stable on hppa.
+
+ 31 Oct 2003; Markus Nigbur <pyrania@gentoo.org> phpsysinfo-2.1-r1.ebuild,
+ phpsysinfo-2.1.ebuild:
+ Fixed typos.
+
+ 13 Oct 2003; Robin H. Johnson <robbat2@gentoo.org> metadata.xml:
+ add metadata.xml
+
+*phpsysinfo-2.1-r1 (13 Oct 2003)
+
+ 13 Oct 2003; Robin H. Johnson <robbat2@gentoo.org> phpsysinfo-2.1-r1.ebuild:
+ added debian patch for security, moved to new docroot
+
+*phpsysinfo-2.1 (25 Mar 2003)
+
+ 25 Mar 2003; Aron Griffis <agriffis@gentoo.org> phpsysinfo-2.1.ebuild:
+ Add ~alpha to KEYWORDS
+
+*phpsysinfo-1.2 (31 Jan 2003)
+
+ 31 Jan 2003; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ New package. Submitted by Zack Gilburd. Fixes #12711
diff --git a/www-apps/phpsysinfo/Manifest b/www-apps/phpsysinfo/Manifest
new file mode 100644
index 000000000000..a7db1f933def
--- /dev/null
+++ b/www-apps/phpsysinfo/Manifest
@@ -0,0 +1,10 @@
+MD5 e59cd590b23a05943e5543b92840c2f7 ChangeLog 5318
+MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
+MD5 b80ef71c5139b545da3f3f470fee3e15 phpsysinfo-2.3-r2.ebuild 1132
+MD5 266693a3d619da9c12e19d0e5ca9bd28 phpsysinfo-2.4.1.ebuild 1209
+MD5 c99eb49bff925dad8e4983ca4ed84b53 phpsysinfo-2.3-r3.ebuild 1176
+MD5 b31f7b9dcef2784b2ba530a58585e35c files/phpsysinfo-2.3-sparc.patch 1622
+MD5 30402e91a4759242922f7eecc7337672 files/digest-phpsysinfo-2.3-r2 66
+MD5 bac44e6bc288288a1b515c8d6590386a files/digest-phpsysinfo-2.3-r3 134
+MD5 ca3c4eb21a9ecf8e0cf1036b5b9aba36 files/digest-phpsysinfo-2.4.1 68
+MD5 501fae5353e496d97e246bbc33197476 files/phpsysinfo-2.3-xss-and-path.patch 4327
diff --git a/www-apps/phpsysinfo/files/digest-phpsysinfo-2.3-r2 b/www-apps/phpsysinfo/files/digest-phpsysinfo-2.3-r2
new file mode 100644
index 000000000000..f8294f0fe31d
--- /dev/null
+++ b/www-apps/phpsysinfo/files/digest-phpsysinfo-2.3-r2
@@ -0,0 +1 @@
+MD5 8e9a2b7a099e26cbd85f140475512ccc phpsysinfo-2.3.tar.gz 163674
diff --git a/www-apps/phpsysinfo/files/digest-phpsysinfo-2.3-r3 b/www-apps/phpsysinfo/files/digest-phpsysinfo-2.3-r3
new file mode 100644
index 000000000000..a6960307994c
--- /dev/null
+++ b/www-apps/phpsysinfo/files/digest-phpsysinfo-2.3-r3
@@ -0,0 +1,2 @@
+MD5 8e9a2b7a099e26cbd85f140475512ccc phpsysinfo-2.3.tar.gz 163674
+MD5 e6ed500c5f01920a0ca8afb41f9c8c44 phpsysinfo-2.3.bind.patch 2611
diff --git a/www-apps/phpsysinfo/files/digest-phpsysinfo-2.4.1 b/www-apps/phpsysinfo/files/digest-phpsysinfo-2.4.1
new file mode 100644
index 000000000000..7e99fbc18ad0
--- /dev/null
+++ b/www-apps/phpsysinfo/files/digest-phpsysinfo-2.4.1
@@ -0,0 +1 @@
+MD5 dcd8cec4ef20dfbe19acea20c9076437 phpSysInfo-2.4.1.tar.gz 175458
diff --git a/www-apps/phpsysinfo/files/phpsysinfo-2.3-sparc.patch b/www-apps/phpsysinfo/files/phpsysinfo-2.3-sparc.patch
new file mode 100644
index 000000000000..6547d8dde3d3
--- /dev/null
+++ b/www-apps/phpsysinfo/files/phpsysinfo-2.3-sparc.patch
@@ -0,0 +1,41 @@
+--- includes/os/class.Linux.inc.php.orig 2005-04-02 06:55:28.000000000 +0000
++++ includes/os/class.Linux.inc.php 2005-04-02 06:55:50.000000000 +0000
+@@ -176,6 +176,38 @@
+ fclose($fd);
+ }
+
++ // sparc64 specific code follows
++ // This adds the ability to display the cache that a CPU has
++ // Originally made by Sven Blumenstein <bazik@gentoo.org> in 2004
++ // Modified by Tom Weustink <freshy98@gmx.net> in 2004
++
++ if ($fd = fopen('/proc/openprom/SUNW,UltraSPARC@0,0/ecache-size', 'r')) {
++ $results['cache'] = base_convert(fgets($fd, 32), 16, 10)/1024 . ' KB';
++ fclose($fd);
++ }
++
++ if ($fd = fopen('/proc/openprom/SUNW,UltraSPARC-II@0,0/ecache-size', 'r')) {
++ $results['cache'] = base_convert(fgets($fd, 32), 16, 10)/1024 . ' KB';
++ fclose($fd);
++ }
++
++ if ($fd = fopen('/proc/openprom/SUNW,UltraSPARC@1c,0/ecache-size', 'r')) {
++ $results['cache'] = base_convert(fgets($fd, 32), 16, 10)/1024 . ' KB';
++ fclose($fd);
++ }
++
++ if ($fd = fopen('/proc/openprom/SUNW,UltraSPARC-IIi@1c,0/ecache-size', 'r')) {
++ $results['cache'] = base_convert(fgets($fd, 32), 16, 10)/1024 . ' KB';
++ fclose($fd);
++ }
++
++ if ($fd = fopen('/proc/openprom/SUNW,UltraSPARC-II@1c,0/ecache-size', 'r')) {
++ $results['cache'] = base_convert(fgets($fd, 32), 16, 10)/1024 . ' KB';
++ fclose($fd);
++ }
++
++ // sparc64 specific code ends
++
+ $keys = array_keys($results);
+ $keys2be = array('model', 'mhz', 'cache', 'bogomips', 'cpus');
+
diff --git a/www-apps/phpsysinfo/files/phpsysinfo-2.3-xss-and-path.patch b/www-apps/phpsysinfo/files/phpsysinfo-2.3-xss-and-path.patch
new file mode 100644
index 000000000000..a93f5b329fe7
--- /dev/null
+++ b/www-apps/phpsysinfo/files/phpsysinfo-2.3-xss-and-path.patch
@@ -0,0 +1,120 @@
+--- index.php.orig 2005-04-02 06:48:00.000000000 +0000
++++ index.php 2005-03-23 16:35:50.000000000 +0000
+@@ -122,7 +122,7 @@
+ require('./includes/mb/class.' . $sensor_program . '.inc.php');
+ $mbinfo = new mbinfo;
+ } else {
+- echo '<center><b>Error: ' . $sensor_program . ' is not currently supported</b></center>';
++ echo '<center><b>Error: ' . htmlentities($sensor_program) . ' is not currently supported</b></center>';
+ exit;
+ }
+ }
+--- includes/system_header.php.orig 2005-04-02 06:48:14.000000000 +0000
++++ includes/system_header.php 2005-03-23 16:30:38.000000000 +0000
+@@ -18,6 +18,11 @@
+ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ // $Id: phpsysinfo-2.3-xss-and-path.patch,v 1.1 2005/11/20 11:53:16 stuart Exp $
++
++if (eregi('system_header.php', $_SERVER['PHP_SELF'])) {
++ exit;
++}
++
+ header("Cache-Control: no-cache, must-revalidate");
+ if (!isset($charset)) {
+ $charset = 'iso-8859-1';
+--- includes/system_footer.php.orig 2005-04-02 06:48:23.000000000 +0000
++++ includes/system_footer.php 2005-03-23 16:33:59.000000000 +0000
+@@ -13,6 +13,11 @@
+ // along with this program; if not, write to the Free Software
+ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ // $Id: phpsysinfo-2.3-xss-and-path.patch,v 1.1 2005/11/20 11:53:16 stuart Exp $
++
++if (eregi('system_footer.php', $_SERVER['PHP_SELF'])) {
++ exit;
++}
++
+ if (!$hide_picklist) {
+ echo "<center>";
+
+--- includes/XPath.class.php.orig 2005-04-02 06:48:29.000000000 +0000
++++ includes/XPath.class.php 2005-03-23 16:27:33.000000000 +0000
+@@ -4969,7 +4969,7 @@
+ $pos += $afterText ? 1 : 0;
+ $parentNode['textParts'] = array_merge(
+ array_slice($parentNode['textParts'], 0, $pos),
+- '',
++ array(''),
+ array_slice($parentNode['textParts'], $pos)
+ );
+
+@@ -5051,7 +5051,7 @@
+ $pos -= $afterText ? 0 : 1;
+ $parentNode['textParts'] = array_merge(
+ array_slice($parentNode['textParts'], 0, $pos),
+- '',
++ array(''),
+ array_slice($parentNode['textParts'], $pos)
+ );
+ // We are going from bottom to top, but the user will want results from top to bottom.
+--- includes/os/class.Darwin.inc.php.orig 2005-04-02 06:48:39.000000000 +0000
++++ includes/os/class.Darwin.inc.php 2005-03-23 16:40:36.000000000 +0000
+@@ -19,8 +19,13 @@
+
+ // $Id: phpsysinfo-2.3-xss-and-path.patch,v 1.1 2005/11/20 11:53:16 stuart Exp $
+
++if(!file_exists('./includes/os/class.BSD.common.inc.php')) {
++ exit;
++}
++
+ require('./includes/os/class.BSD.common.inc.php');
+
++
+ echo "<p align=center><b>Note: The Darwin version of phpSysInfo is work in progress, some things currently don't work</b></p>";
+
+ class sysinfo extends bsd_common {
+--- includes/os/class.NetBSD.inc.php.orig 2005-04-02 06:48:46.000000000 +0000
++++ includes/os/class.NetBSD.inc.php 2005-03-23 16:41:25.000000000 +0000
+@@ -19,8 +19,13 @@
+
+ // $Id: phpsysinfo-2.3-xss-and-path.patch,v 1.1 2005/11/20 11:53:16 stuart Exp $
+
++if(!file_exists('./includes/os/class.BSD.common.inc.php')) {
++ exit;
++}
++
+ require('./includes/os/class.BSD.common.inc.php');
+
++
+ class sysinfo extends bsd_common {
+ var $cpu_regexp;
+ var $scsi_regexp;
+--- includes/os/class.FreeBSD.inc.php.orig 2005-04-02 06:48:54.000000000 +0000
++++ includes/os/class.FreeBSD.inc.php 2005-03-23 16:41:02.000000000 +0000
+@@ -19,6 +19,10 @@
+
+ // $Id: phpsysinfo-2.3-xss-and-path.patch,v 1.1 2005/11/20 11:53:16 stuart Exp $
+
++if(!file_exists('./includes/os/class.BSD.common.inc.php')) {
++ exit;
++}
++
+ require('./includes/os/class.BSD.common.inc.php');
+
+ class sysinfo extends bsd_common {
+--- includes/os/class.OpenBSD.inc.php.orig 2005-04-02 06:49:02.000000000 +0000
++++ includes/os/class.OpenBSD.inc.php 2005-03-23 16:41:19.000000000 +0000
+@@ -19,8 +19,13 @@
+
+ // $Id: phpsysinfo-2.3-xss-and-path.patch,v 1.1 2005/11/20 11:53:16 stuart Exp $
+
++if(!file_exists('./includes/os/class.BSD.common.inc.php')) {
++ exit;
++}
++
+ require('./includes/os/class.BSD.common.inc.php');
+
++
+ class sysinfo extends bsd_common {
+ var $cpu_regexp;
+ var $scsi_regexp;
diff --git a/www-apps/phpsysinfo/metadata.xml b/www-apps/phpsysinfo/metadata.xml
new file mode 100644
index 000000000000..13bc126c7d91
--- /dev/null
+++ b/www-apps/phpsysinfo/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<maintainer>
+<email>web-apps@gentoo.org</email>
+<name>Gentoo Web Application Packages Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-apps/phpsysinfo/phpsysinfo-2.3-r2.ebuild b/www-apps/phpsysinfo/phpsysinfo-2.3-r2.ebuild
new file mode 100644
index 000000000000..4b84e3122f75
--- /dev/null
+++ b/www-apps/phpsysinfo/phpsysinfo-2.3-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/phpsysinfo-2.3-r2.ebuild,v 1.1 2005/11/20 11:53:16 stuart Exp $
+
+inherit eutils webapp
+
+DESCRIPTION="phpSysInfo is a nice package that will display your system stats via PHP."
+HOMEPAGE="http://phpsysinfo.sourceforge.net/"
+SRC_URI="mirror://sourceforge/phpsysinfo/${P}.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND="$DEPEND >=net-www/apache-1.3.27-r1
+ >=virtual/httpd-php-4.3.8"
+
+S=${WORKDIR}/${PN}-dev
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-xss-and-path.patch
+ epatch ${FILESDIR}/${P}-sparc.patch
+}
+
+src_install() {
+ webapp_src_preinst
+
+ cp -R templates ${D}${MY_HTDOCSDIR} || die "cp failed"
+ cp -R includes ${D}${MY_HTDOCSDIR} || die "cp failed"
+ cp *.php ${D}${MY_HTDOCSDIR} || die "cp failed"
+ cp -R images ${D}${MY_HTDOCSDIR} || die "cp failed"
+
+ cp config.php.new ${D}${MY_HTDOCSDIR}/config.php || die "cp failed"
+ webapp_configfile ${MY_HTDOCSDIR}
+
+ dodoc ChangeLog README
+
+ webapp_src_install
+}
diff --git a/www-apps/phpsysinfo/phpsysinfo-2.3-r3.ebuild b/www-apps/phpsysinfo/phpsysinfo-2.3-r3.ebuild
new file mode 100644
index 000000000000..242f4fc9ad8e
--- /dev/null
+++ b/www-apps/phpsysinfo/phpsysinfo-2.3-r3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/phpsysinfo-2.3-r3.ebuild,v 1.1 2005/11/20 11:53:16 stuart Exp $
+
+inherit eutils webapp
+
+DESCRIPTION="phpSysInfo is a nice package that will display your system stats via PHP."
+HOMEPAGE="http://phpsysinfo.sourceforge.net/"
+SRC_URI="mirror://sourceforge/phpsysinfo/${P}.tar.gz
+mirror://gentoo/${P}.bind.patch"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="$DEPEND
+ >=virtual/httpd-php-4.3.8"
+
+S=${WORKDIR}/${PN}-dev
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-xss-and-path.patch
+ epatch ${FILESDIR}/${P}-sparc.patch
+ epatch ${DISTDIR}/${P}.bind.patch
+}
+
+src_install() {
+ webapp_src_preinst
+
+ cp -R templates ${D}${MY_HTDOCSDIR} || die "cp failed"
+ cp -R includes ${D}${MY_HTDOCSDIR} || die "cp failed"
+ cp *.php ${D}${MY_HTDOCSDIR} || die "cp failed"
+ cp -R images ${D}${MY_HTDOCSDIR} || die "cp failed"
+
+ cp config.php.new ${D}${MY_HTDOCSDIR}/config.php || die "cp failed"
+ webapp_configfile ${MY_HTDOCSDIR}
+
+ dodoc ChangeLog README
+
+ webapp_src_install
+}
diff --git a/www-apps/phpsysinfo/phpsysinfo-2.4.1.ebuild b/www-apps/phpsysinfo/phpsysinfo-2.4.1.ebuild
new file mode 100644
index 000000000000..15a0c64f377b
--- /dev/null
+++ b/www-apps/phpsysinfo/phpsysinfo-2.4.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/phpsysinfo-2.4.1.ebuild,v 1.1 2005/11/20 11:53:16 stuart Exp $
+
+inherit eutils webapp
+
+MY_PN="phpSysInfo"
+MY_P="${MY_PN}-${PVR}"
+DESCRIPTION="phpSysInfo is a nice package that will display your system stats via PHP."
+HOMEPAGE="http://phpsysinfo.sourceforge.net/"
+SRC_URI="mirror://sourceforge/phpsysinfo/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="$DEPEND
+ >=virtual/httpd-php-4.3.8"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+# src_unpack() {
+# unpack ${A}
+# cd ${S}
+# epatch ${FILESDIR}/${P}-xss-and-path.patch
+# epatch ${FILESDIR}/${P}-sparc.patch
+# epatch ${DISTDIR}/${P}.bind.patch
+#}
+
+src_install() {
+ webapp_src_preinst
+
+ cp -R templates ${D}${MY_HTDOCSDIR} || die "cp failed"
+ cp -R includes ${D}${MY_HTDOCSDIR} || die "cp failed"
+ cp *.php ${D}${MY_HTDOCSDIR} || die "cp failed"
+ cp -R images ${D}${MY_HTDOCSDIR} || die "cp failed"
+
+ cp config.php.new ${D}${MY_HTDOCSDIR}/config.php || die "cp failed"
+ webapp_configfile ${MY_HTDOCSDIR}
+
+ dodoc ChangeLog README
+
+ webapp_src_install
+}