1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Resurrect sysutils/ganglia-webfrontend

- Update to upstream version 3.7.0
- Joseph Mingrone <jrm@ftfl.ca> takes maintainership
- Stagify
- Add LICENSE
- General port modernisation

PR:		200278
Submitted by:	jrm@ftfl.ca (maintainer)
Reviewed by:	koobs
This commit is contained in:
Thomas Zander 2015-06-27 13:11:28 +00:00
parent 683f166185
commit d11ef235d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390699
7 changed files with 1208 additions and 1 deletions

1
MOVED
View File

@ -6865,7 +6865,6 @@ sysutils/cromwell||2014-09-01|Not staged
sysutils/cvsweb-converters||2014-09-01|Not staged
sysutils/eroaster||2014-09-01|Not staged
sysutils/freqsdwn||2014-09-01|Not staged
sysutils/ganglia-webfrontend||2014-09-01|Not staged
sysutils/gnomebaker||2014-09-01|Not staged
sysutils/ispman||2014-09-01|Not staged
sysutils/jailadmin||2014-09-01|Not staged

View File

@ -316,6 +316,7 @@
SUBDIR += gaffitter
SUBDIR += gai-leds
SUBDIR += ganglia-monitor-core
SUBDIR += ganglia-webfrontend
SUBDIR += gapcmon
SUBDIR += garcon
SUBDIR += gather

View File

@ -0,0 +1,55 @@
# $FreeBSD$
PORTNAME= ganglia
PORTVERSION= 3.7.0
CATEGORIES= sysutils net parallel www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-web/${PORTVERSION}
PKGNAMESUFFIX= -webfrontend
DISTNAME= ${PORTNAME}-web-${PORTVERSION}
MAINTAINER= jrm@ftfl.ca
COMMENT= Ganglia cluster monitor, web frontend
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${LOCALBASE}/sbin/gmetad:${PORTSDIR}/sysutils/ganglia-monitor-core
USE_PHP= filter gd xml
NO_BUILD= YES
WANT_PHP_WEB= YES
WWWDIR= ${PREFIX}/www/ganglia
SUB_FILES+= pkg-message
SUB_LIST+= WWWDIR="${WWWDIR}"
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
REINPLACE_ARGS= -i ''
CONFIG_FILES= default.json event_color.json events.json view_default.json
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|@vargwebstatedir@|${DATADIR}|' \
-e 's|@vargmetadir@|/var/db/ganglia|' \
-e 's|/usr/bin/rrdtool|${LOCALBASE}/bin/rrdtool|' \
${WRKSRC}/conf_default.php.in
@${REINPLACE_CMD} -e 's|@GWEB_VERSION@|${PORTVERSION}|' \
${WRKSRC}/version.php.in
@${CP} ${WRKSRC}/version.php.in ${WRKSRC}/version.php
@${CP} ${WRKSRC}/conf_default.php.in ${WRKSRC}/conf_default.php
do-install:
@cd ${WRKSRC} && \
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} "! ( -name *\.in -o -name .gitignore -o -name Makefile -o -name apache.conf.in -o -name apache.conf -o -name conf -o -path \./conf/* -o -name debian -o -path \./debian/* -o -name ganglia-web\.spec )"
@${MKDIR} ${STAGEDIR}${DATADIR}/conf/sql
@${MKDIR} ${STAGEDIR}${DATADIR}/dwoo/cache
@${MKDIR} ${STAGEDIR}${DATADIR}/dwoo/compiled
.for file in ${CONFIG_FILES}
${INSTALL_DATA} ${WRKSRC}/conf/${file} ${STAGEDIR}${DATADIR}/conf/${file}.sample
.endfor
${INSTALL_DATA} ${WRKSRC}/conf/sql/* ${STAGEDIR}${DATADIR}/conf/sql/
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (ganglia-web-3.7.0.tar.gz) = 1a3f7046d0d9ba1fc5177f9fd54bdf201b6178cf27108320c4924e1c475a44e9
SIZE (ganglia-web-3.7.0.tar.gz) = 3464920

View File

@ -0,0 +1,33 @@
****************************************************************
The Ganglia Web Frontend has been installed in the directory
%%WWWDIR%%.
You must add appropriate configuration directives to your
web server configuration file.
Example apache22 configuration:
Alias /ganglia/ "%%WWWDIR%%"
<Directory "%%WWWDIR%%">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Example apache24 configuration:
Alias /ganglia/ "%%WWWDIR%%"
<Directory "%%WWWDIR%%">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Require all granted
</Directory>
The default configuration is stored in
%%WWWDIR%%/conf_default.php.
If you want to customize the configuration make customizations to
%%WWWDIR%%/conf.php .
****************************************************************

View File

@ -0,0 +1,10 @@
Ganglia provides a complete real-time monitoring and execution
environment that is in use by hundreds of universities, private and
government laboratories and commercial cluster implementors around the
world. Whether you want to monitor hundreds of computers in real-time
across a university campus or around the world, ganglia is for you.
The ganglia web frontend provides access to the data collected by the
monitoring core.
WWW: http://ganglia.sourceforge.net/

File diff suppressed because it is too large Load Diff