summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel M. Weeks <dan@danweeks.net>2018-03-24 12:45:31 -0400
committerJustin Bronder <jsbronder@gentoo.org>2018-03-28 10:25:08 -0400
commit144acff1e4c6db1ba4823bf35c820acd0570d903 (patch)
treee41d6c0231ade9fb0994999f3a44ae5226beed51 /sys-cluster
parentsys-cluster/ganglia-web: Add github remote-id (diff)
downloadgentoo-144acff1e4c6db1ba4823bf35c820acd0570d903.tar.gz
gentoo-144acff1e4c6db1ba4823bf35c820acd0570d903.tar.bz2
gentoo-144acff1e4c6db1ba4823bf35c820acd0570d903.zip
sys-cluster/ganglia-web: version bump 3.7.3
Bug: https://bugs.gentoo.org/592080 Bug: https://bugs.gentoo.org/559658 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/ganglia-web/Manifest1
-rw-r--r--sys-cluster/ganglia-web/ganglia-web-3.7.3.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-cluster/ganglia-web/Manifest b/sys-cluster/ganglia-web/Manifest
index 2ae02673729d..f7844674088a 100644
--- a/sys-cluster/ganglia-web/Manifest
+++ b/sys-cluster/ganglia-web/Manifest
@@ -1,2 +1,3 @@
DIST ganglia-web-3.5.10.tar.gz 1431977 BLAKE2B 75ca16b8a015e411a5a6d773b9b2e692440c1751515de793b57062fc8128ef24fa3c3e19748eb13cd977635ba92d84365e0a33eb96baa32388b7ff511cbd073e SHA512 9f035c27e7afe944d854a701fc70869940c9cacef5b58b92493241a817f4f5b80103191ab6e9c062ade4c92288fdd25097c95f6d57f409d4840cab2c5ee66efd
DIST ganglia-web-3.5.8.tar.gz 1431184 BLAKE2B 9b05e9f52ff2bee01a60c694bbe43a07524ed20de96bd50f3f452eeb6e3d7fe2ad2c32cf48f88995d638303aa2b5b371c0b04b4943619d2ff10f240845b167d1 SHA512 1ba5df64801b28a3e412acd6c63301c7911b24d21dc261c9d970bdabeb3c47102ab47e5de89fd5fdcaa6b79a2e9c3421e7abaf0641e25d1f5821c54a232b0933
+DIST ganglia-web-3.7.3.tar.gz 709356 BLAKE2B 8d5ac9eb8bd37ea040b08caa763797929acac3bd520c88af0e8fd3a9cfbc28d2a55e42d772ca1b6d5e87fe7dce6f4a6e7e15b836d06052c7e642885c727070cc SHA512 884b1ba168b8fe01aa865ae77df6995bb5a09a8b2d441189264283fc1c95b8a6fd0800488ad75e9c1cdd3694b9d6c1c33218ddad804ade2d6be948791b797a95
diff --git a/sys-cluster/ganglia-web/ganglia-web-3.7.3.ebuild b/sys-cluster/ganglia-web/ganglia-web-3.7.3.ebuild
new file mode 100644
index 000000000000..13516e683da2
--- /dev/null
+++ b/sys-cluster/ganglia-web/ganglia-web-3.7.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WEBAPP_MANUAL_SLOT="yes"
+inherit webapp
+
+DESCRIPTION="Web frontend for sys-cluster/ganglia"
+HOMEPAGE="http://ganglia.sourceforge.net"
+SRC_URI="https://github.com/ganglia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="vhosts"
+
+DEPEND="net-misc/rsync"
+RDEPEND="
+ ${DEPEND}
+ ${WEBAPP_DEPEND}
+ >=sys-cluster/ganglia-3.3.7[-minimal]
+ dev-lang/php[gd,xml,ctype]
+ virtual/httpd-php
+ media-fonts/dejavu"
+
+src_install() {
+ webapp_src_preinst
+ cd "${S}" || die
+ emake \
+ GDESTDIR="${MY_HTDOCSDIR}" \
+ DESTDIR="${D}" \
+ APACHE_USER=nobody \
+ install
+ webapp_configfile "${MY_HTDOCSDIR}"/conf_default.php
+ webapp_src_install
+
+ fowners -R nobody:nobody /var/lib/ganglia-web/dwoo
+ fperms -R 777 /var/lib/ganglia-web/dwoo
+
+ einstalldocs AUTHORS README TODO
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ # upgrade from < 3.5.6
+ if [ -d "${ROOT}"/var/lib/ganglia/dwoo ]; then
+ rm -rf "${ROOT}"/var/lib/ganglia/dwoo || die
+ fi
+}