summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2013-07-11 23:13:35 +0000
committerJustin Bronder <jsbronder@gentoo.org>2013-07-11 23:13:35 +0000
commit72171f156875393ff43758c543f2bd741aea83b8 (patch)
tree6bb3fcc10622c44adbf93646f8bebe3243bb87ee /sys-cluster
parentVersion bump. (diff)
downloadgentoo-2-72171f156875393ff43758c543f2bd741aea83b8.tar.gz
gentoo-2-72171f156875393ff43758c543f2bd741aea83b8.tar.bz2
gentoo-2-72171f156875393ff43758c543f2bd741aea83b8.zip
version bump
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 4D7043C9)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/ganglia-web/ChangeLog8
-rw-r--r--sys-cluster/ganglia-web/ganglia-web-3.5.10.ebuild57
2 files changed, 64 insertions, 1 deletions
diff --git a/sys-cluster/ganglia-web/ChangeLog b/sys-cluster/ganglia-web/ChangeLog
index 543cb511f197..1aa618071410 100644
--- a/sys-cluster/ganglia-web/ChangeLog
+++ b/sys-cluster/ganglia-web/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-cluster/ganglia-web
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia-web/ChangeLog,v 1.11 2013/06/22 00:17:25 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia-web/ChangeLog,v 1.12 2013/07/11 23:13:35 jsbronder Exp $
+
+*ganglia-web-3.5.10 (11 Jul 2013)
+
+ 11 Jul 2013; Justin Bronder <jsbronder@gentoo.org>
+ +ganglia-web-3.5.10.ebuild:
+ version bump
22 Jun 2013; Justin Bronder <jsbronder@gentoo.org> -ganglia-web-3.5.2.ebuild:
remove old
diff --git a/sys-cluster/ganglia-web/ganglia-web-3.5.10.ebuild b/sys-cluster/ganglia-web/ganglia-web-3.5.10.ebuild
new file mode 100644
index 000000000000..7d1719a7268c
--- /dev/null
+++ b/sys-cluster/ganglia-web/ganglia-web-3.5.10.ebuild
@@ -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.10.ebuild,v 1.1 2013/07/11 23:13:35 jsbronder 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
+}