Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/phpsysinfo/
Date: Sat, 05 Feb 2022 20:48:32
Message-Id: 1644094077.f11b905816fc2d2307419e1517a7df47ff13e54d.conikost@gentoo
1 commit: f11b905816fc2d2307419e1517a7df47ff13e54d
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 5 20:46:29 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 5 20:47:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f11b9058
7
8 www-apps/phpsysinfo: add 3.4.1
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 www-apps/phpsysinfo/Manifest | 1 +
13 www-apps/phpsysinfo/phpsysinfo-3.4.1.ebuild | 52 +++++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/www-apps/phpsysinfo/Manifest b/www-apps/phpsysinfo/Manifest
17 index 79069e25a845..669e615fe670 100644
18 --- a/www-apps/phpsysinfo/Manifest
19 +++ b/www-apps/phpsysinfo/Manifest
20 @@ -1 +1,2 @@
21 DIST phpsysinfo-3.3.4.tar.gz 946436 BLAKE2B bdfb731ac8e60e436f915b0ac72f3c327b08dfccee0d1cedc4ddc89700c4dc76bdd73d9e37ab82fad25e096a62a9a4d31442939558ab593ba5b97520d428a6c1 SHA512 6bcbf78edfa3af441ee6768cce559635f7aed6ce0e357379a7ad1158dab21b860c82845d746f66074c84cdc92e4a21fb4710f61b69ee8cfa1e457d098d642bf2
22 +DIST phpsysinfo-3.4.1.tar.gz 980537 BLAKE2B f0924e2855bb682cc6a5be62d35e1a04463e3fdbad75e8f7ee43d0f9cf4ede53091d7495d68a10a3521f6eb3b8460d3458443b840aeee705d5a74fa87b3addf3 SHA512 5e8c82ba95c9f6b4d8dddfdaabbfb676a0c63913a6cd65d6b74ffbe6369830d98cc67c8192cf06c6eaefc8689d1c40b4e1917ea21a1ecd8df7977847e3ede24c
23
24 diff --git a/www-apps/phpsysinfo/phpsysinfo-3.4.1.ebuild b/www-apps/phpsysinfo/phpsysinfo-3.4.1.ebuild
25 new file mode 100644
26 index 000000000000..e826867ba4b9
27 --- /dev/null
28 +++ b/www-apps/phpsysinfo/phpsysinfo-3.4.1.ebuild
29 @@ -0,0 +1,52 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit optfeature webapp
36 +
37 +DESCRIPTION="A customizable PHP script that displays information about your system nicely"
38 +HOMEPAGE="https://rk4an.github.com/phpsysinfo/"
39 +SRC_URI="https://github.com/rk4an/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="GPL-2+"
42 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
43 +RDEPEND="
44 + dev-lang/php[simplexml,xml,xsl(+),xslt(+),unicode]
45 + virtual/httpd-php
46 +"
47 +
48 +need_httpd_cgi
49 +
50 +src_install() {
51 + webapp_src_preinst
52 +
53 + dodoc CHANGELOG.md README*
54 + rm CHANGELOG.md COPYING README* .gitignore || die
55 +
56 + mv phpsysinfo.ini{.new,} || die
57 + insinto "${MY_HTDOCSDIR}"
58 + doins -r .
59 +
60 + webapp_configfile "${MY_HTDOCSDIR}"/phpsysinfo.ini
61 +
62 + webapp_src_install
63 +}
64 +
65 +pkg_postinst() {
66 + optfeature "showing disk temperatures." app-admin/hddtemp
67 + optfeature "showing system uptime." app-misc/uptimed
68 + optfeature "showing snmp statistics." net-analyzer/net-snmp
69 + optfeature "showing iptables rules." net-firewall/iptables
70 + optfeature "showing ipmi sensors." sys-apps/ipmitool
71 + optfeature "showing ipmi sensors." sys-apps/ipmiutil
72 + optfeature "showing system sensors." sys-apps/lm-sensors
73 + optfeature "showing s.m.a.r.t. health." sys-apps/smartmontools
74 + optfeature "showing lsi raid controller health." sys-block/megactl
75 + optfeature "showing fake raid statistics." sys-fs/dmraid
76 + optfeature "showing software raid statistics." sys-fs/mdadm
77 + optfeature "showing quota information." sys-fs/quota
78 + optfeature "showing ipmi sensors." sys-libs/freeipmi
79 + optfeature "showing apc ups statistics." sys-power/apcupsd
80 + optfeature "showing ups statistics." sys-power/nut
81 +}