svn commit: r363320 - head/net-mgmt/observium
Mark Felder
feld at FreeBSD.org
Tue Jul 29 13:39:35 UTC 2014
Author: feld
Date: Tue Jul 29 13:39:34 2014
New Revision: 363320
URL: http://svnweb.freebsd.org/changeset/ports/363320
QAT: https://qat.redports.org/buildarchive/r363320/
Log:
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
Modified:
head/net-mgmt/observium/Makefile
head/net-mgmt/observium/pkg-plist
Modified: head/net-mgmt/observium/Makefile
==============================================================================
--- head/net-mgmt/observium/Makefile Tue Jul 29 13:38:29 2014 (r363319)
+++ head/net-mgmt/observium/Makefile Tue Jul 29 13:39:34 2014 (r363320)
@@ -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 at FreeBSD.org
+MAINTAINER= feld at 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}
Modified: head/net-mgmt/observium/pkg-plist
==============================================================================
--- head/net-mgmt/observium/pkg-plist Tue Jul 29 13:38:29 2014 (r363319)
+++ head/net-mgmt/observium/pkg-plist Tue Jul 29 13:39:34 2014 (r363320)
@@ -7599,6 +7599,7 @@
@dirrmtry %%WWWDIR%%/mibs/xirrus
@dirrmtry %%WWWDIR%%/mibs/zyxel
@dirrmtry %%WWWDIR%%/mibs
+ at dirrmtry %%WWWDIR%%/rrd
@dirrmtry %%WWWDIR%%/scripts/agent-local/munin-scripts
@dirrmtry %%WWWDIR%%/scripts/agent-local
@dirrmtry %%WWWDIR%%/scripts/watchmaillog
More information about the svn-ports-head
mailing list