45dde91cba
Changes: * web/pie.php (1.5): Updated the file to explicitly reflect that this file was/is released into the public domain * web/header.php (1.6): Make some more information available to templates. * web/host_view.php (1.5): Patched web frontend to report gmond_started http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=31 * web/: cluster_view.php (1.6), conf.php (1.6), templates/default/cluster_view.tpl (1.7): Make packet graph optional in a way that allows new optional graphs to be easily added as well. Fix bug reported by Koo Kee Kiat relating to null arrays. * web/conf.php (1.5): Use the generated version.php instead of hard coding the value here. * web/: conf.php (1.4), get_context.php (1.6), graph.php (1.8), templates/default/cluster_view.tpl (1.6), templates/default/host_view.tpl (1.7): MKN: Add cpu_wio to the CPU Summary. Lost in the CVS wars :-) MKN: Add Packets/sec summary to Cluster and Host view. Ditto lost. MKN: Bring version to 3.0.0 to be in line with release name.
33 lines
985 B
Makefile
33 lines
985 B
Makefile
# $NetBSD: Makefile,v 1.3 2005/04/03 19:15:20 jschauma Exp $
|
|
#
|
|
|
|
DISTNAME= ganglia-3.0.1
|
|
PKGNAME= ganglia-webfrontend-3.0.1
|
|
CATEGORIES= www parallel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= jschauma@NetBSD.org
|
|
HOMEPAGE= http://ganglia.sourceforge.net/
|
|
COMMENT= PHP based frontend for the Ganglia Cluster Monitor
|
|
|
|
DEPENDS+= ap-php>=4.1:../../www/ap-php
|
|
DEPENDS+= ganglia-monitor-core>=3.0.1:../../parallel/ganglia-monitor-core
|
|
|
|
NO_BUILD= YES
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/web/
|
|
|
|
DOCROOT= ${PREFIX}/share/httpd/htdocs/ganglia
|
|
MESSAGE_SUBST+= PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
|
|
|
|
do-configure:
|
|
${SED} -e "s|@PREFIX@|${PREFIX}|g" ${WRKSRC}/conf.php > \
|
|
${WRKSRC}/conf.php.tmp && \
|
|
${MV} ${WRKSRC}/conf.php.tmp ${WRKSRC}/conf.php
|
|
${RM} ${WRKSRC}/conf.php.orig ${WRKSRC}/templates/default/footer.tpl.orig
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DOCROOT}
|
|
cd ${WRKSRC} && ${PAX} -rw . ${DOCROOT}/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|