View | Details | Raw Unified | Return to bug 211763 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-12 / +15 lines)
Lines 2-11 Link Here
2
2
3
PORTNAME=	ganglia
3
PORTNAME=	ganglia
4
PORTVERSION=	3.7.2
4
PORTVERSION=	3.7.2
5
PORTREVISION=	1
5
CATEGORIES=	sysutils net parallel www
6
CATEGORIES=	sysutils net parallel www
6
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-web/${PORTVERSION}
7
PKGNAMESUFFIX=	-webfrontend
7
PKGNAMESUFFIX=	-webfrontend
8
DISTNAME=	${PORTNAME}-web-${PORTVERSION}
9
8
10
MAINTAINER=	jrm@ftfl.ca
9
MAINTAINER=	jrm@ftfl.ca
11
COMMENT=	Ganglia cluster monitor, web frontend
10
COMMENT=	Ganglia cluster monitor, web frontend
Lines 14-35 Link Here
14
13
15
RUN_DEPENDS=	${LOCALBASE}/sbin/gmetad:sysutils/ganglia-monitor-core
14
RUN_DEPENDS=	${LOCALBASE}/sbin/gmetad:sysutils/ganglia-monitor-core
16
15
17
USE_PHP=	filter gd xml
16
USE_GITHUB=	yes
18
NO_BUILD=	YES
17
GH_ACCOUNT=	ganglia
19
WANT_PHP_WEB=	YES
18
GH_PROJECT=	ganglia-web
20
19
20
NO_ARCH=	yes
21
NO_BUILD=	yes
22
23
USES=		php:web
24
USE_PHP=	filter gd session xml
21
WWWDIR=		${PREFIX}/www/ganglia
25
WWWDIR=		${PREFIX}/www/ganglia
22
26
27
PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" WWWDIR="${WWWDIR}"
23
SUB_FILES+=	pkg-message
28
SUB_FILES+=	pkg-message
24
SUB_LIST+=	WWWDIR="${WWWDIR}"
25
29
26
PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
27
28
REINPLACE_ARGS=	-i ''
30
REINPLACE_ARGS=	-i ''
29
CONFIG_FILES=	default.json event_color.json events.json view_default.json
31
CONFIG_FILES=	default.json event_color.json events.json view_default.json
30
32
31
NO_ARCH=	yes
32
33
post-patch:
33
post-patch:
34
	@${REINPLACE_CMD} -e 's|@vargwebstatedir@|${DATADIR}|' \
34
	@${REINPLACE_CMD} -e 's|@vargwebstatedir@|${DATADIR}|' \
35
			  -e 's|@vargmetadir@|/var/db/ganglia|' \
35
			  -e 's|@vargmetadir@|/var/db/ganglia|' \
Lines 41-48 Link Here
41
	@${CP} ${WRKSRC}/conf_default.php.in ${WRKSRC}/conf_default.php
41
	@${CP} ${WRKSRC}/conf_default.php.in ${WRKSRC}/conf_default.php
42
42
43
do-install:
43
do-install:
44
	@cd ${WRKSRC} && \
44
	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} \
45
	${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 )"
45
		"! ( -name *\.in -o -name .gitignore -o -name Makefile -o -name \
46
		apache.conf.in -o -name apache.conf -o -name conf \
47
		-o -path \./conf/* -o -name debian -o -path \./debian/* \
48
		-o -name ganglia-web\.spec )")
46
	@${MKDIR} ${STAGEDIR}${DATADIR}/conf/sql
49
	@${MKDIR} ${STAGEDIR}${DATADIR}/conf/sql
47
	@${MKDIR} ${STAGEDIR}${DATADIR}/dwoo/cache
50
	@${MKDIR} ${STAGEDIR}${DATADIR}/dwoo/cache
48
	@${MKDIR} ${STAGEDIR}${DATADIR}/dwoo/compiled
51
	@${MKDIR} ${STAGEDIR}${DATADIR}/dwoo/compiled
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1466016609
1
TIMESTAMP = 1470965544
2
SHA256 (ganglia-web-3.7.2.tar.gz) = 98820187c98d24d3645b92d31060623de696dad331a361a19874898339523628
2
SHA256 (ganglia-ganglia-web-3.7.2_GH0.tar.gz) = a8f5fd8230b68d79089843aa11b89ae5b819d268573cc02b6c8a68f82abaaed2
3
SIZE (ganglia-web-3.7.2.tar.gz) = 704632
3
SIZE (ganglia-ganglia-web-3.7.2_GH0.tar.gz) = 693614

Return to bug 211763