aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2018-02-23 18:58:40 +0800
committerlme <lme@FreeBSD.org>2018-02-23 18:58:40 +0800
commitd5088ffb0eb5564128cfbfe421f2be39fd3100a6 (patch)
tree99c509da6e14a3ddd9800ac7d2bb11bb61f96e19 /net-mgmt
parentd2317a3bca9d61899de0c04594f588c2d5bd9b59 (diff)
downloadfreebsd-ports-gnome-d5088ffb0eb5564128cfbfe421f2be39fd3100a6.tar.gz
freebsd-ports-gnome-d5088ffb0eb5564128cfbfe421f2be39fd3100a6.tar.zst
freebsd-ports-gnome-d5088ffb0eb5564128cfbfe421f2be39fd3100a6.zip
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
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/icingaweb2-module-fileshipper/Makefile29
-rw-r--r--net-mgmt/icingaweb2-module-fileshipper/distinfo3
-rw-r--r--net-mgmt/icingaweb2-module-fileshipper/pkg-descr6
-rw-r--r--net-mgmt/icingaweb2-module-fileshipper/pkg-plist19
5 files changed, 58 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 9d13aab8e3a9..1a3a97181a32 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -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
diff --git a/net-mgmt/icingaweb2-module-fileshipper/Makefile b/net-mgmt/icingaweb2-module-fileshipper/Makefile
new file mode 100644
index 000000000000..8bbfb47c0a5a
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-fileshipper/Makefile
@@ -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>
diff --git a/net-mgmt/icingaweb2-module-fileshipper/distinfo b/net-mgmt/icingaweb2-module-fileshipper/distinfo
new file mode 100644
index 000000000000..e3c4c177979b
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-fileshipper/distinfo
@@ -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
diff --git a/net-mgmt/icingaweb2-module-fileshipper/pkg-descr b/net-mgmt/icingaweb2-module-fileshipper/pkg-descr
new file mode 100644
index 000000000000..d7f5db10c04d
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-fileshipper/pkg-descr
@@ -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
diff --git a/net-mgmt/icingaweb2-module-fileshipper/pkg-plist b/net-mgmt/icingaweb2-module-fileshipper/pkg-plist
new file mode 100644
index 000000000000..680158a28608
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-fileshipper/pkg-plist
@@ -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