- add extensions for upcoming pnp4nagios port

- add some @extraunexec markers
input and ok sthen@
This commit is contained in:
kirby 2016-02-28 12:02:16 +00:00
parent b8abc1f847
commit 85af251e65
2 changed files with 13 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.33 2015/12/30 10:01:25 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.34 2016/02/28 12:02:16 kirby Exp $
COMMENT = web UI for icinga
V = 1.13.1
DISTNAME = icinga-web-$V
REVISION = 0
REVISION = 1
MASTER_SITES = https://github.com/Icinga/icinga-web/releases/download/v$V/
@ -67,5 +67,8 @@ post-install:
find ${WRKINST} -name '*.orig' -print0 | xargs -0r rm
cd ${WRKSRC}/etc/schema; pax -rw ./ ${PREFIX}/etc/schema/
for i in ${PREFIX}/etc/conf.d/*xml; do mv $$i $$i.dist; done
for i in pnp-host-extension.xml pnp-service-extension.xml; do \
${INSTALL_DATA} ${WRKSRC}/contrib/PNP_Integration/templateExtensions/$$i \
${PREFIX}/app/modules/Cronks/data/xml/extensions/$$i.dist; done
.include <bsd.port.mk>

View File

@ -1,6 +1,11 @@
@comment $OpenBSD: PLIST,v 1.20 2015/12/30 10:01:25 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.21 2016/02/28 12:02:16 kirby Exp $
@conflict icinga-api-*
@pkgpath net/icinga/core,-api
@extra app/modules/Cronks/data/xml/extensions/pnp-host-extension.xml
@extra app/modules/Cronks/data/xml/extensions/pnp-service-extension.xml
@extraunexec rm -rf %D/log/*
@extraunexec rm -rf %D/app/cache/*
@extraunexec rm -rf %D/app/data/tmp/*
app/
@mode 775
@group www
@ -968,6 +973,8 @@ app/modules/Cronks/data/xml/extensions/
@mode
@group
app/modules/Cronks/data/xml/extensions/.keep
app/modules/Cronks/data/xml/extensions/pnp-host-extension.xml.dist
app/modules/Cronks/data/xml/extensions/pnp-service-extension.xml.dist
app/modules/Cronks/data/xml/grid/
app/modules/Cronks/data/xml/grid/example-host-template.xml
app/modules/Cronks/data/xml/grid/icinga-all-host-problems.xml