aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/observium
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2014-07-29 13:39:34 +0000
committerMark Felder <feld@FreeBSD.org>2014-07-29 13:39:34 +0000
commitae8a2ea5c2ba0ac282a59b41567db6780a216ae6 (patch)
tree9a79f7d8959760033553d781348a159fa29ef5d2 /net-mgmt/observium
parentce0ca38c39a7a058433681818f0942c7574293ee (diff)
Notes
Diffstat (limited to 'net-mgmt/observium')
-rw-r--r--net-mgmt/observium/Makefile7
-rw-r--r--net-mgmt/observium/pkg-plist1
2 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/observium/Makefile b/net-mgmt/observium/Makefile
index c761f25db28e..d81197ac5277 100644
--- a/net-mgmt/observium/Makefile
+++ b/net-mgmt/observium/Makefile
@@ -3,12 +3,13 @@
PORTNAME= observium
PORTVERSION= 0.14.4.5229
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.observium.org/
DISTNAME= ${PORTNAME}-community-latest
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= feld@FreeBSD.org
COMMENT= Autodiscovering PHP/MySQL/SNMP based network monitoring
LICENSE= GPLv3
@@ -75,6 +76,10 @@ do-install:
.for f in ${ROOT_FILES}
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR}
.endfor
+ # Create empty rrd dir writable by www
+ @${INSTALL} -d -o www -g www ${STAGEDIR}/${WWWDIR}/rrd
+ # Files in scripts dir should be executable
+ @${FIND} ${STAGEDIR}/${WWWDIR}/scripts -type f -exec ${CHMOD} +x {} \;
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
diff --git a/net-mgmt/observium/pkg-plist b/net-mgmt/observium/pkg-plist
index d91016f67f10..c4806574d524 100644
--- a/net-mgmt/observium/pkg-plist
+++ b/net-mgmt/observium/pkg-plist
@@ -7599,6 +7599,7 @@
@dirrmtry %%WWWDIR%%/mibs/xirrus
@dirrmtry %%WWWDIR%%/mibs/zyxel
@dirrmtry %%WWWDIR%%/mibs
+@dirrmtry %%WWWDIR%%/rrd
@dirrmtry %%WWWDIR%%/scripts/agent-local/munin-scripts
@dirrmtry %%WWWDIR%%/scripts/agent-local
@dirrmtry %%WWWDIR%%/scripts/watchmaillog