added latest, fixed version of ganglia-web

This commit is contained in:
Manuel Friedli 2013-03-02 16:55:04 +00:00
parent 8119f271c8
commit 3cc90e3a6b
3 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,3 @@
DIST ganglia-web-3.5.7.tar.gz 1398921 SHA256 531e20a09233a615d5bf2c2c028c12c5942714265fe78094a8f1fb08c1e217d5 SHA512 617588c47641b677cbdc99c3cebaa58fdfb9a9ace13466e821f8d8326c343a0ed25a35031900e02b56107b8928bacc6fdf9b7d42cb3acc205902123e2a4dacd8 WHIRLPOOL 56966da8dc5503c40975e549bd72f1c9fea8d7d9b30b3568ba4cf3020965bf08320696398eb975b4c3d390058f3accaee2bff794511f6d1b957de9ec75245b7d
EBUILD ganglia-web-3.5.7.ebuild 1237 SHA256 d059258a5fadac76c4dd895a0c3ad475cd6214e5e8b4ae58c576406bb55f3f13 SHA512 86385fc566a455ae6516a490b4c4dc1cd2dbf7680bc41533a5b32c7094da496ff0ee8c85351db81b2225cb1ffc846680c10571b0b9a8187f9c781d3232a9272b WHIRLPOOL d7df744a8da11983ca9b2a41a8fb1dc5056b1857dbe3db5a1e2e71287ed4456fa71a9f1bd35f18380b0a80bb330cef458e63b53a78bca19d6516d4f833d974fd
MISC metadata.xml 228 SHA256 867e2c9cf08802c1ae7c8a1e84fafa792a531488dc15c7e8efd5596b33465d30 SHA512 ced4d7a8792403fe33b4500e75af897dfda1997dbea848fb4c699555e8d1fcad08f54b7c446ecc35306d025edde55d151d89c5e6ba7dba2244854637d4248d28 WHIRLPOOL d3195ff37ccca6b73e2b576c08e70cb057f222608b072b4ce5852522447cd9659d3b86a94a10b97635e82194b41d0f60715ac81cb336d8f4919b914738b1f3ef

View file

@ -0,0 +1,57 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia-web/ganglia-web-3.5.6.ebuild,v 1.4 2013/02/24 17:37:17 ago Exp $
EAPI=4
WEBAPP_MANUAL_SLOT="yes"
inherit webapp eutils
DESCRIPTION="Web frontend for sys-cluster/ganglia"
HOMEPAGE="http://ganglia.sourceforge.net"
SRC_URI="mirror://sourceforge/ganglia/${PN}/${PV}/${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,cgi]
media-fonts/dejavu"
src_configure() {
return 0
}
src_compile() {
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
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>cluster</herd>
<maintainer>
<email>jsbronder@gentoo.org</email>
</maintainer>
</pkgmetadata>