pkgsrc/www/ganglia-webfrontend/Makefile

74 lines
2.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2018/09/21 14:48:08 bacon Exp $
#
DISTNAME= ganglia-web-3.7.2
PKGREVISION= 2
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
PKGNAME= ${DISTNAME:S/web/webfrontend/}
CATEGORIES= www parallel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/}
2009-02-16 14:53:45 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ganglia.sourceforge.net/
COMMENT= PHP based frontend for the Ganglia Cluster Monitor
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
LICENSE= modified-bsd
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
DEPENDS+= ganglia-monitor-core>=3.7.1:../../parallel/ganglia-monitor-core
USE_TOOLS+= pax
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
MESSAGE_SUBST+= DOCROOT=${DOCROOT}
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
PKG_SYSCONFSUBDIR= ganglia
DOCROOT= share/ganglia
EGDIR= share/examples/ganglia
# Should match parallel/ganglia-monitor-core
GANGLIA_VARBASE?= ${VARBASE}/db
GWEB_DIR?= ${GANGLIA_VARBASE}/ganglia
OWN_DIRS_PERMS+= ${GWEB_DIR}/dwoo ${WWW_USER} ${WWW_GROUP} 0755
OWN_DIRS_PERMS+= ${GWEB_DIR}/dwoo/cache ${WWW_USER} ${WWW_GROUP} 0755
OWN_DIRS_PERMS+= ${GWEB_DIR}/dwoo/compiled ${WWW_USER} ${WWW_GROUP} 0755
PKG_SYSCONFDIR_PERMS= ${WWW_USER} ${WWW_GROUP} 0755
MAKE_DIRS_PERMS+= ${PKG_SYSCONFDIR}/filters ${WWW_USER} ${WWW_GROUP} 0755
CONF_FILES+= ${EGDIR}/conf.php ${PKG_SYSCONFDIR}/conf.php
CONF_FILES+= ${EGDIR}/apache.conf ${PKG_SYSCONFDIR}/apache.conf
CONF_FILES+= ${EGDIR}/nginx.conf ${PKG_SYSCONFDIR}/nginx.conf
CONF_FILES_PERMS+= ${EGDIR}/default.json ${PKG_SYSCONFDIR}/default.json ${WWW_USER} ${WWW_GROUP} 0644
CONF_FILES_PERMS+= ${EGDIR}/event_color.json ${PKG_SYSCONFDIR}/event_color.json ${WWW_USER} ${WWW_GROUP} 0644
CONF_FILES_PERMS+= ${EGDIR}/events.json ${PKG_SYSCONFDIR}/events.json ${WWW_USER} ${WWW_GROUP} 0644
CONF_FILES_PERMS+= ${EGDIR}/view_default.json ${PKG_SYSCONFDIR}/view_default.json ${WWW_USER} ${WWW_GROUP} 0644
2009-02-16 14:53:45 +01:00
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= Fixing PREFIX
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
SUBST_FILES.prefix= conf_default.php.in eval_conf.php conf/conf.php conf/apache.conf conf/nginx.conf
SUBST_VARS.prefix= PREFIX PKG_SYSCONFDIR PKG_SYSCONFBASE VARBASE DOCROOT EGDIR
REPLACE_SH+= nagios/*.sh
MAKE_FLAGS+= GCONFDIR=${PKG_SYSCONFDIR}
MAKE_FLAGS+= GDESTDIR=${PREFIX}/${DOCROOT}
MAKE_FLAGS+= GMETAD_ROOTDIR=${GANGLIA_VARBASE}/ganglia
MAKE_FLAGS+= GWEB_STATEDIR=${GWEB_DIR}
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
INSTALLATION_DIRS+= ${DOCROOT} ${EGDIR}
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
post-extract:
${INSTALL_DATA} ${FILESDIR}/conf.php ${WRKSRC}/conf
${INSTALL_DATA} ${FILESDIR}/apache.conf ${WRKSRC}/conf
${INSTALL_DATA} ${FILESDIR}/nginx.conf ${WRKSRC}/conf
do-install:
Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
cd ${WRKSRC} && ${PAX} -rw -pp *.php *.html *.css api css \
docs dwoo graph.d img js lib nagios templates test \
${DESTDIR}${PREFIX}/${DOCROOT}
cd ${WRKSRC}/conf && ${PAX} -rw -pp * ${DESTDIR}${PREFIX}/${EGDIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"