summaryrefslogtreecommitdiff
path: root/parallel/ganglia-monitor-core/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-02-07 14:33:19 +0000
committerjschauma <jschauma@pkgsrc.org>2005-02-07 14:33:19 +0000
commit4e46ea50c69dcf34fd13425ce3031ca22045a3c1 (patch)
tree920fbb34c1d5175b6eb6f4f608b5e0d51044e0d1 /parallel/ganglia-monitor-core/Makefile
parent46e769a97a39f57fa7b2b3ebde4c0bb3c14525f0 (diff)
downloadpkgsrc-4e46ea50c69dcf34fd13425ce3031ca22045a3c1.tar.gz
Initial import of ganglia-monitor-core into pkgsrc:
Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids. It is based on a hierarchical design targeted at federations of clusters. It relies on a multicast-based listen/announce protocol to monitor state within clusters and uses a tree of point-to-point connections amongst representative cluster nodes to federate clusters and aggregate their state. It leverages widely used technologies such as XML for data representation, XDR for compact, portable data transport, and RRDtool for data storage and visualization. It uses carefully engineered data structures and algorithms to achieve very low per-node overheads and high concurrency. The implementation is robust, has been ported to an extensive set of operating systems and processor architectures, and is currently in use on over 500 clusters around the world. It has been used to link clusters across university campuses and around the world and can scale to handle clusters with 2000 nodes. http://ganglia.sourceforge.net
Diffstat (limited to 'parallel/ganglia-monitor-core/Makefile')
-rw-r--r--parallel/ganglia-monitor-core/Makefile62
1 files changed, 62 insertions, 0 deletions
diff --git a/parallel/ganglia-monitor-core/Makefile b/parallel/ganglia-monitor-core/Makefile
new file mode 100644
index 00000000000..745aca9930f
--- /dev/null
+++ b/parallel/ganglia-monitor-core/Makefile
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/07 14:33:19 jschauma Exp $
+#
+
+DISTNAME= ganglia-monitor-core-2.5.7
+CATEGORIES= net parallel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/}
+
+MAINTAINER= jschauma@NetBSD.org
+HOMEPAGE= http://ganglia.sourceforge.net/
+COMMENT= Ganglia cluster monitor, monitoring daemon
+
+HAS_CONFIGURE= YES
+USE_BUILDLINK3= YES
+USE_PKGINSTALL= YES
+
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --with-gmetad
+
+PATCH_ETC= lib/ganglia/gmond_config.h \
+ mans/gmetad.1 mans/gmond.1 \
+ gmetad/cmdline.c gmond/cmdline.c
+
+PATCH_RCS= gmond gmetad
+
+EGDIR= ${PREFIX}/share/examples/ganglia
+CONF_FILES= ${EGDIR}/gmond.conf ${PKG_SYSCONFDIR}/gmond.conf
+CONF_FILES+= ${EGDIR}/gmetad.conf ${PKG_SYSCONFDIR}/gmetad.conf
+
+RCD_SCRIPTS= gmond gmetad
+
+post-patch:
+.for pfile in ${PATCH_ETC}
+ ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
+ ${WRKSRC}/${pfile} > ${WRKSRC}/${pfile}.tmp && \
+ ${MV} ${WRKSRC}/${pfile}.tmp ${WRKSRC}/${pfile}
+.endfor
+.for pfile in ${PATCH_RCS}
+ ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
+ -e 's|@PREFIX@|${PREFIX}|g' \
+ -e 's|@RCD_SCRIPTS_SHELL@|${RCD_SCRIPTS_SHELL}|g' \
+ ${FILESDIR}/${pfile}.in > ${WRKSRC}/${pfile}.sh
+.endfor
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/mans/gmetad.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/mans/gmetric.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/mans/gmond.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/mans/gstat.1 ${PREFIX}/man/man1/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ganglia
+ ${INSTALL_DATA_DIR} ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/gmond/gmond.conf ${PREFIX}/share/examples/ganglia/
+ ${INSTALL_DATA} ${WRKSRC}/gmetad/gmetad.conf ${PREFIX}/share/examples/ganglia/
+ ${INSTALL_DATA} ${WRKSRC}/gmond.sh ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/gmond
+ ${INSTALL_DATA} ${WRKSRC}/gmetad.sh ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/gmetad
+
+CFLAGS+=-g
+LDFLAGS+=-g
+
+.include "../../databases/rrdtool/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"