Add new port: net-mgmt/icingaweb2-module-fileshipper

The main purpose of this module is to extend Icinga Director using some of it's
exported hooks. Based on them it offers an Import Source able to deal with CSV,
JSON, YAML and XML files. It also offers the possibility to deploy
hand-crafted Icinga 2 config files through the Icinga Director.

WWW: https://github.com/Icinga/icingaweb2-module-fileshipper
This commit is contained in:
Lars Engels 2018-02-23 10:58:40 +00:00
parent bf28ee65ce
commit 8953a15aa8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462685
5 changed files with 58 additions and 0 deletions

View File

@ -89,6 +89,7 @@
SUBDIR += icingaweb2-module-cube
SUBDIR += icingaweb2-module-director
SUBDIR += icingaweb2-module-elasticsearch
SUBDIR += icingaweb2-module-fileshipper
SUBDIR += icingaweb2-module-generictts
SUBDIR += icingaweb2-module-grafana
SUBDIR += icingaweb2-module-graphite

View File

@ -0,0 +1,29 @@
# $FreeBSD$
PORTNAME= icingaweb2-module-fileshipper
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1
CATEGORIES= net-mgmt www
MAINTAINER= lme@FreeBSD.org
COMMENT= Import CSV, JSON, XML and YAML files for the Icinga Director
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= icingaweb2>=2.4.1:net-mgmt/icingaweb2
USE_GITHUB= yes
GH_ACCOUNT= icinga
NO_BUILD= yes
NO_ARCH= yes
WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && \
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1519383096
SHA256 (icinga-icingaweb2-module-fileshipper-v1.0.1_GH0.tar.gz) = 13c7623078207108a4a6444bf4a8dc7d60844517813b98011c99c53c714a7f43
SIZE (icinga-icingaweb2-module-fileshipper-v1.0.1_GH0.tar.gz) = 245309

View File

@ -0,0 +1,6 @@
The main purpose of this module is to extend Icinga Director using some of it's
exported hooks. Based on them it offers an Import Source able to deal with CSV,
JSON, YAML and XML files. It also offers the possibility to deploy
hand-crafted Icinga 2 config files through the Icinga Director.
WWW: https://github.com/Icinga/icingaweb2-module-fileshipper

View File

@ -0,0 +1,19 @@
%%WWWDIR%%/.github/ISSUE_TEMPLATE.md
%%WWWDIR%%/LICENSE
%%WWWDIR%%/README.md
%%WWWDIR%%/contrib/git-hooks/post-merge
%%WWWDIR%%/doc/02-Installation.md
%%WWWDIR%%/doc/03-ImportSource.md
%%WWWDIR%%/doc/04-FileShipping.md
%%WWWDIR%%/doc/11-FileFormats.md
%%WWWDIR%%/doc/screenshot/fileshipper/01_fileshipper-imports-overview.png
%%WWWDIR%%/doc/screenshot/fileshipper/02_fileshipper-add-importsource.png
%%WWWDIR%%/doc/screenshot/fileshipper/03_fileshipper-choose-format.png
%%WWWDIR%%/doc/screenshot/fileshipper/04_fileshipper-choose-basedir.png
%%WWWDIR%%/doc/screenshot/fileshipper/05_fileshipper-csv-details.png
%%WWWDIR%%/doc/screenshot/fileshipper/06_fileshipper-choose-file.png
%%WWWDIR%%/doc/screenshot/fileshipper/07_fileshipper-whole-directory.png
%%WWWDIR%%/library/Fileshipper/ProvidedHook/Director/ImportSource.php
%%WWWDIR%%/library/Fileshipper/ProvidedHook/Director/ShipConfigFiles.php
%%WWWDIR%%/module.info
%%WWWDIR%%/run.php