From ae8a2ea5c2ba0ac282a59b41567db6780a216ae6 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Tue, 29 Jul 2014 13:39:34 +0000 Subject: [PATCH] Giving in and taking maintainership :-) Create empty rrd directory so webif doesn't warn you Scripts need to be executable or some functionality is missing --- net-mgmt/observium/Makefile | 7 ++++++- net-mgmt/observium/pkg-plist | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) 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