diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 05:12:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 05:12:09 +0100 |
commit | d49d63ee52f4026f7871f4ce062c172ba5e62b74 (patch) | |
tree | 8651e664517755edac13eef87d2f4dfb9ad3e968 /www-apps/phpsysinfo/phpsysinfo-3.4.2.ebuild | |
parent | 5bcf7bb4786021fc77303fae7934b17d525f9ad6 (diff) |
gentoo auto-resync : 15:09:2022 - 05:12:09
Diffstat (limited to 'www-apps/phpsysinfo/phpsysinfo-3.4.2.ebuild')
-rw-r--r-- | www-apps/phpsysinfo/phpsysinfo-3.4.2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/www-apps/phpsysinfo/phpsysinfo-3.4.2.ebuild b/www-apps/phpsysinfo/phpsysinfo-3.4.2.ebuild new file mode 100644 index 000000000000..1e77cfc58a5e --- /dev/null +++ b/www-apps/phpsysinfo/phpsysinfo-3.4.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature webapp + +DESCRIPTION="A customizable PHP script that displays information about your system nicely" +HOMEPAGE="https://phpsysinfo.github.io/phpsysinfo/" +SRC_URI="https://github.com/rk4an/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +RDEPEND=" + dev-lang/php[simplexml,xml,xsl(+),xslt(+),unicode] + virtual/httpd-php +" + +need_httpd_cgi + +src_install() { + webapp_src_preinst + + dodoc CHANGELOG.md README* + rm CHANGELOG.md COPYING README* .gitignore || die + + mv phpsysinfo.ini{.new,} || die + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_configfile "${MY_HTDOCSDIR}"/phpsysinfo.ini + + webapp_src_install +} + +pkg_postinst() { + optfeature "showing disk temperatures." app-admin/hddtemp + optfeature "showing system uptime." app-misc/uptimed + optfeature "showing snmp statistics." net-analyzer/net-snmp + optfeature "showing iptables rules." net-firewall/iptables + optfeature "showing ipmi sensors." sys-apps/ipmitool + optfeature "showing ipmi sensors." sys-apps/ipmiutil + optfeature "showing system sensors." sys-apps/lm-sensors + optfeature "showing s.m.a.r.t. health." sys-apps/smartmontools + optfeature "showing lsi raid controller health." sys-block/megactl + optfeature "showing fake raid statistics." sys-fs/dmraid + optfeature "showing software raid statistics." sys-fs/mdadm + optfeature "showing quota information." sys-fs/quota + optfeature "showing ipmi sensors." sys-libs/freeipmi + optfeature "showing apc ups statistics." sys-power/apcupsd + optfeature "showing ups statistics." sys-power/nut +} |