Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 13:39:34 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363320 - head/net-mgmt/observium
Message-ID:  <201407291339.s6TDdYek081741@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}

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
+@dirrmtry %%WWWDIR%%/rrd
 @dirrmtry %%WWWDIR%%/scripts/agent-local/munin-scripts
 @dirrmtry %%WWWDIR%%/scripts/agent-local
 @dirrmtry %%WWWDIR%%/scripts/watchmaillog



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