diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-10-14 02:53:03 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-10-14 02:53:03 +0000 |
commit | 7fd5a066822331b89711e799ec5317c61ec59c5e (patch) | |
tree | d230de7f8eea89dc476c25a2deb3deeea94d9e37 /dev-php/phpsysinfo/phpsysinfo-2.1-r1.ebuild | |
parent | added debian patch for security, moved to new docroot (diff) | |
download | gentoo-2-7fd5a066822331b89711e799ec5317c61ec59c5e.tar.gz gentoo-2-7fd5a066822331b89711e799ec5317c61ec59c5e.tar.bz2 gentoo-2-7fd5a066822331b89711e799ec5317c61ec59c5e.zip |
added debian patch for security, moved to new docroot
Diffstat (limited to 'dev-php/phpsysinfo/phpsysinfo-2.1-r1.ebuild')
-rw-r--r-- | dev-php/phpsysinfo/phpsysinfo-2.1-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
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." +} |