Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2016 07:32:06 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420217 - head/sysutils/ganglia-webfrontend
Message-ID:  <201608150732.u7F7W6hQ026129@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Mon Aug 15 07:32:06 2016
New Revision: 420217
URL: https://svnweb.freebsd.org/changeset/ports/420217

Log:
  Require the php session extension and switch to USE_GITHUB.
  
  PR:		211763
  Submitted by:	Joseph Mingrone <jrm@ftfl.ca> (maintainer)
  Approved by:	bdrewery (implicit)

Modified:
  head/sysutils/ganglia-webfrontend/Makefile
  head/sysutils/ganglia-webfrontend/distinfo
  head/sysutils/ganglia-webfrontend/pkg-plist

Modified: head/sysutils/ganglia-webfrontend/Makefile
==============================================================================
--- head/sysutils/ganglia-webfrontend/Makefile	Mon Aug 15 05:29:11 2016	(r420216)
+++ head/sysutils/ganglia-webfrontend/Makefile	Mon Aug 15 07:32:06 2016	(r420217)
@@ -2,10 +2,9 @@
 
 PORTNAME=	ganglia
 PORTVERSION=	3.7.2
+PORTREVISION=	1
 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
@@ -14,35 +13,40 @@ LICENSE=	BSD3CLAUSE
 
 RUN_DEPENDS=	${LOCALBASE}/sbin/gmetad:sysutils/ganglia-monitor-core
 
-USE_PHP=	filter gd xml
-NO_BUILD=	YES
-WANT_PHP_WEB=	YES
+USE_GITHUB=	yes
+GH_ACCOUNT=	ganglia
+GH_PROJECT=	ganglia-web
 
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+USES=		php:web
+USE_PHP=	filter gd session xml
 WWWDIR=		${PREFIX}/www/ganglia
 
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" WWWDIR="${WWWDIR}"
 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
+		${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
+		${WRKSRC}/version.php.in
 
 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 )"
+	@${CP} ${WRKSRC}/conf_default.php.in ${WRKSRC}/conf_default.php
+	@${CP} ${WRKSRC}/version.php.in      ${WRKSRC}/version.php
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} \
+		"! ( -name .git -o -name \.gitignore -o -name \.travis.yml -o \
+		-name AUTHORS -o -name COPYING -o -name Makefile -o -name \
+		README -o -name TODO -o -name *\.in -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

Modified: head/sysutils/ganglia-webfrontend/distinfo
==============================================================================
--- head/sysutils/ganglia-webfrontend/distinfo	Mon Aug 15 05:29:11 2016	(r420216)
+++ head/sysutils/ganglia-webfrontend/distinfo	Mon Aug 15 07:32:06 2016	(r420217)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1466016609
-SHA256 (ganglia-web-3.7.2.tar.gz) = 98820187c98d24d3645b92d31060623de696dad331a361a19874898339523628
-SIZE (ganglia-web-3.7.2.tar.gz) = 704632
+TIMESTAMP = 1470965544
+SHA256 (ganglia-ganglia-web-3.7.2_GH0.tar.gz) = a8f5fd8230b68d79089843aa11b89ae5b819d268573cc02b6c8a68f82abaaed2
+SIZE (ganglia-ganglia-web-3.7.2_GH0.tar.gz) = 693614

Modified: head/sysutils/ganglia-webfrontend/pkg-plist
==============================================================================
--- head/sysutils/ganglia-webfrontend/pkg-plist	Mon Aug 15 05:29:11 2016	(r420216)
+++ head/sysutils/ganglia-webfrontend/pkg-plist	Mon Aug 15 07:32:06 2016	(r420217)
@@ -3,11 +3,6 @@
 @sample %%DATADIR%%/conf/events.json.sample
 %%DATADIR%%/conf/sql/ganglia.mysql
 @sample %%DATADIR%%/conf/view_default.json.sample
-%%WWWDIR%%/.travis.yml
-%%WWWDIR%%/AUTHORS
-%%WWWDIR%%/COPYING
-%%WWWDIR%%/README
-%%WWWDIR%%/TODO
 %%WWWDIR%%/actions.php
 %%WWWDIR%%/aggregate_graphs.php
 %%WWWDIR%%/api/.htaccess
@@ -71,12 +66,9 @@
 %%WWWDIR%%/dwoo/Dwoo.compiled.php
 %%WWWDIR%%/dwoo/Dwoo.php
 %%WWWDIR%%/dwoo/Dwoo/Adapters/Agavi/DwooRenderer.php
-%%WWWDIR%%/dwoo/Dwoo/Adapters/Agavi/README
 %%WWWDIR%%/dwoo/Dwoo/Adapters/Agavi/dwoo_plugins/t.php
 %%WWWDIR%%/dwoo/Dwoo/Adapters/Agavi/dwoo_plugins/url.php
-%%WWWDIR%%/dwoo/Dwoo/Adapters/CakePHP/README
 %%WWWDIR%%/dwoo/Dwoo/Adapters/CakePHP/dwoo.php
-%%WWWDIR%%/dwoo/Dwoo/Adapters/CodeIgniter/README
 %%WWWDIR%%/dwoo/Dwoo/Adapters/CodeIgniter/config/dwootemplate.php
 %%WWWDIR%%/dwoo/Dwoo/Adapters/CodeIgniter/controllers/dwoowelcome.php
 %%WWWDIR%%/dwoo/Dwoo/Adapters/CodeIgniter/libraries/Dwootemplate.php
@@ -84,7 +76,6 @@
 %%WWWDIR%%/dwoo/Dwoo/Adapters/CodeIgniter/views/page.tpl
 %%WWWDIR%%/dwoo/Dwoo/Adapters/ZendFramework/Dwoo.php
 %%WWWDIR%%/dwoo/Dwoo/Adapters/ZendFramework/PluginProxy.php
-%%WWWDIR%%/dwoo/Dwoo/Adapters/ZendFramework/README
 %%WWWDIR%%/dwoo/Dwoo/Adapters/ZendFramework/View.php
 %%WWWDIR%%/dwoo/Dwoo/Block/Plugin.php
 %%WWWDIR%%/dwoo/Dwoo/Compilation/Exception.php



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608150732.u7F7W6hQ026129>