Intermediate commit: Add ebuild for ganglia-web-3.7.3 prior to testing it.
This commit is contained in:
parent
51843ac93d
commit
c7044637a5
2 changed files with 62 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
DIST ganglia-web-3.7.2.tar.gz 704632 SHA256 98820187c98d24d3645b92d31060623de696dad331a361a19874898339523628 SHA512 033b00923a4cf7f342a44de9e37da67411992054e7f103fa09d91bbd125fb9066cc4e77ae5011810d7d926e2997b48d30e3d505d83239cd4c0a6b996a7679f8d WHIRLPOOL 3af95583cacd81deb9516a1dcbd036a8d16a254b8997fd0307812b1b471e888b4716b496c367bb1a545f6305bff2275a95145ba322b55ba6fea03c93acde0f26
|
DIST ganglia-web-3.7.2.tar.gz 704632 SHA256 98820187c98d24d3645b92d31060623de696dad331a361a19874898339523628 SHA512 033b00923a4cf7f342a44de9e37da67411992054e7f103fa09d91bbd125fb9066cc4e77ae5011810d7d926e2997b48d30e3d505d83239cd4c0a6b996a7679f8d WHIRLPOOL 3af95583cacd81deb9516a1dcbd036a8d16a254b8997fd0307812b1b471e888b4716b496c367bb1a545f6305bff2275a95145ba322b55ba6fea03c93acde0f26
|
||||||
|
DIST ganglia-web-3.7.3.tar.gz 709356 SHA256 77f49198d11f61e94d5b7833c8b1a7b4b1548fe3633404f462b6f5671db369ee SHA512 884b1ba168b8fe01aa865ae77df6995bb5a09a8b2d441189264283fc1c95b8a6fd0800488ad75e9c1cdd3694b9d6c1c33218ddad804ade2d6be948791b797a95 WHIRLPOOL 44d1614643925d6459e58cd925b7bf3724b05012e178ddc65d435f74b0566ac5072de0c03b483babd02e8920ed6a48721f4a18afc59c72f849ce7323ca8501cd
|
||||||
EBUILD ganglia-web-3.7.2.ebuild 1146 SHA256 2ca148c26fb671d36f477e39518f1ff5e1ed0801f3b430992b4340687b4b9f62 SHA512 aba058daab68b3c273e6f9276a8fba06269865b3962ed1b6a2cbc53debb34262d211090d12985ffa2592fac84ee714acb03c8e84e5e9589a33ba428656c0fa16 WHIRLPOOL bfa0ceadb11b50e51156aace19e364ff0bd6e58cce7d872ae1715d1b6e7a52165a52403a7f559797b10c7d12d2597691e9d09c83ba7f47fbf2ef9d3a9c728fe6
|
EBUILD ganglia-web-3.7.2.ebuild 1146 SHA256 2ca148c26fb671d36f477e39518f1ff5e1ed0801f3b430992b4340687b4b9f62 SHA512 aba058daab68b3c273e6f9276a8fba06269865b3962ed1b6a2cbc53debb34262d211090d12985ffa2592fac84ee714acb03c8e84e5e9589a33ba428656c0fa16 WHIRLPOOL bfa0ceadb11b50e51156aace19e364ff0bd6e58cce7d872ae1715d1b6e7a52165a52403a7f559797b10c7d12d2597691e9d09c83ba7f47fbf2ef9d3a9c728fe6
|
||||||
|
EBUILD ganglia-web-3.7.3.ebuild 1162 SHA256 fbf1f43bc81e770cbb1136d38dc71b9162aafbb509ad430a4f167a3e9020096d SHA512 4ec4a1616a7cb6677c545864b2062d5bdaa0868f0e97e922f173362a03e1ba18507d4c76f301d151b122b41253e37ef2903730619f2e54d5dbb6542ad2c927d6 WHIRLPOOL f1e2265452a4374d5c9e583d37a9f0a8f42bc942c3e81423e7209294849822f61c623f968586040c1d36255ca692c5e724d242b69b258aad15ce31bbccf43e70
|
||||||
MISC metadata.xml 334 SHA256 a0156eea226535177cb784d92cec49e67ab431b69a129bd5f792d2b11804ccde SHA512 9b58ae22b5ef2ebe1d7b247b179273a68033ccbc01c78969a2ec10a2a3932432ea4328b91e192b30dcef84381313fff1d26fc0e4d7e4cf70f0a36aa9c3cd8a63 WHIRLPOOL 7a92b4c49c9d0a34865d7e5ff49dccc327e2b8f12e58c9ae494757c6d40ace8819027d23dc382f9ab53cbefbe74f0e046d51fbec63e8d6ad705a400a21ebb224
|
MISC metadata.xml 334 SHA256 a0156eea226535177cb784d92cec49e67ab431b69a129bd5f792d2b11804ccde SHA512 9b58ae22b5ef2ebe1d7b247b179273a68033ccbc01c78969a2ec10a2a3932432ea4328b91e192b30dcef84381313fff1d26fc0e4d7e4cf70f0a36aa9c3cd8a63 WHIRLPOOL 7a92b4c49c9d0a34865d7e5ff49dccc327e2b8f12e58c9ae494757c6d40ace8819027d23dc382f9ab53cbefbe74f0e046d51fbec63e8d6ad705a400a21ebb224
|
||||||
|
|
60
sys-cluster/ganglia-web/ganglia-web-3.7.3.ebuild
Normal file
60
sys-cluster/ganglia-web/ganglia-web-3.7.3.ebuild
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
WEBAPP_MANUAL_SLOT="yes"
|
||||||
|
inherit webapp eutils
|
||||||
|
|
||||||
|
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.7.0[-minimal]
|
||||||
|
dev-lang/php[gd,xml,ctype,cgi]
|
||||||
|
media-fonts/dejavu"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
webapp_src_preinst
|
||||||
|
cd "${S}"
|
||||||
|
emake \
|
||||||
|
GDESTDIR="${MY_HTDOCSDIR}" \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
APACHE_USER=nobody \
|
||||||
|
install || die
|
||||||
|
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
|
||||||
|
|
||||||
|
dodoc AUTHORS README TODO || die
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue