summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-10-14 02:53:03 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-10-14 02:53:03 +0000
commit94c21293e04fa5dcbfbbdedc476dcf1111db3895 (patch)
treec6c7ad7dac33cfd7377ed032edc0150536eeff83 /dev-php
parentadded debian patch for security, moved to new docroot (diff)
downloadhistorical-94c21293e04fa5dcbfbbdedc476dcf1111db3895.tar.gz
historical-94c21293e04fa5dcbfbbdedc476dcf1111db3895.tar.bz2
historical-94c21293e04fa5dcbfbbdedc476dcf1111db3895.zip
added debian patch for security, moved to new docroot
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/phpsysinfo/Manifest5
-rw-r--r--dev-php/phpsysinfo/files/digest-phpsysinfo-2.1-r12
-rw-r--r--dev-php/phpsysinfo/phpsysinfo-2.1-r1.ebuild39
3 files changed, 44 insertions, 2 deletions
diff --git a/dev-php/phpsysinfo/Manifest b/dev-php/phpsysinfo/Manifest
index ea0ff9bb7c9f..13d204de6bbd 100644
--- a/dev-php/phpsysinfo/Manifest
+++ b/dev-php/phpsysinfo/Manifest
@@ -1,4 +1,5 @@
-MD5 35abfec3df6a67ec02f76f43feb7b544 phpsysinfo-2.1-r1.ebuild 1039
-MD5 f171a4be8a4ad7610d7a19daeb33859d ChangeLog 499
+MD5 d37bd1e01266c90c705f835a7560fd49 phpsysinfo-2.1.ebuild 872
+MD5 10caba543f899d8c84b1825e454a563e phpsysinfo-2.1-r1.ebuild 1394
+MD5 19b58d5b46c56254c3614fb87a46af64 ChangeLog 668
MD5 dd6e98f9ae29de67bf46f225d4fe3eff files/digest-phpsysinfo-2.1 66
MD5 31e3ac9396a003b09c5f3caf78c361f2 files/digest-phpsysinfo-2.1-r1 133
diff --git a/dev-php/phpsysinfo/files/digest-phpsysinfo-2.1-r1 b/dev-php/phpsysinfo/files/digest-phpsysinfo-2.1-r1
new file mode 100644
index 000000000000..eb6876585821
--- /dev/null
+++ b/dev-php/phpsysinfo/files/digest-phpsysinfo-2.1-r1
@@ -0,0 +1,2 @@
+MD5 22d4d7977dfff237f8e0aa3e4ebaee75 phpSysInfo-2.1.tar.gz 104141
+MD5 966612f8eaa0675afcfcbf8e048f2bef phpsysinfo_2.1-1.diff.gz 3601
diff --git a/dev-php/phpsysinfo/phpsysinfo-2.1-r1.ebuild b/dev-php/phpsysinfo/phpsysinfo-2.1-r1.ebuild
new file mode 100644
index 000000000000..b513a2e6d327
--- /dev/null
+++ b/dev-php/phpsysinfo/phpsysinfo-2.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/phpsysinfo/phpsysinfo-2.1-r1.ebuild,v 1.1 2003/10/14 02:53:01 robbat2 Exp $
+
+MY_PN="phpSysInfo"
+MY_P="${MY_PN}-${PV}"
+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_P}.tar.gz
+http://ftp.debian.org/debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${PR/r}.diff.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~alpha"
+IUSE=""
+DEPEND=">=apache-1.3.27-r1 >=mod_php-4.2.3-r2"
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ epatch ${DISTDIR}/${PN}_${PV}-${PR/r}.diff.gz
+ mv ${P}/debian ${S}
+ rmdir ${P}
+ epatch ${S}/debian/patches/urlencoded-security-fix.diff
+}
+src_install() {
+ HTDOCS="/var/www/localhost/htdocs"
+ insinto ${HTDOCS}/phpsysinfo
+ doins *.{php,dtd}
+ cp -pR templates ${D}${HTDOCS}/phpsysinfo
+ cp -pR includes ${D}${HTDOCS}/phpsysinfo
+ dodoc COPYING ChangeLog README debian/patches/fix_memory_display_kernel2.5.diff
+}
+
+pkg_postinst() {
+ einfo "Your stats are now availible at http://yoursever/phpsysinfo"
+ einfo "If you use a 2.5 kernel and want correct memory details output,"
+ einfo "please apply /usr/share/doc/${PF}/fix_memory_display_kernel2.5.diff.gz"
+ einfo "to the application."
+}