aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/icingaweb2-module-map
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2017-07-26 22:31:37 +0000
committerLars Engels <lme@FreeBSD.org>2017-07-26 22:31:37 +0000
commit846e99416ee77e695a465adc8a16a542f25bf586 (patch)
tree252bcc34b91e2afb0a3c026183322454cb996e65 /net-mgmt/icingaweb2-module-map
parent3b973553ff528b2762ba3fccd8c945d131542293 (diff)
Notes
Diffstat (limited to 'net-mgmt/icingaweb2-module-map')
-rw-r--r--net-mgmt/icingaweb2-module-map/Makefile28
-rw-r--r--net-mgmt/icingaweb2-module-map/distinfo3
-rw-r--r--net-mgmt/icingaweb2-module-map/pkg-descr4
-rw-r--r--net-mgmt/icingaweb2-module-map/pkg-plist34
4 files changed, 69 insertions, 0 deletions
diff --git a/net-mgmt/icingaweb2-module-map/Makefile b/net-mgmt/icingaweb2-module-map/Makefile
new file mode 100644
index 000000000000..d06ba760569f
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-map/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= icingaweb2-module-map
+PORTVERSION= 0.0.1.20170717
+CATEGORIES= net-mgmt www
+
+MAINTAINER= lme@FreeBSD.org
+COMMENT= Display hosts on OpenStreetMap
+
+LICENSE= GPLv2
+
+RUN_DEPENDS= icingaweb2>=2.4.1:net-mgmt/icingaweb2
+
+USE_GITHUB= yes
+GH_ACCOUNT= nbuchwitz
+GH_TAGNAME= 8323484
+
+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-map/distinfo b/net-mgmt/icingaweb2-module-map/distinfo
new file mode 100644
index 000000000000..78c6cdcb500b
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-map/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1501107787
+SHA256 (nbuchwitz-icingaweb2-module-map-0.0.1.20170717-8323484_GH0.tar.gz) = 640156252961419fe6379dec2343227c6d3d533aad5229f60002187490320273
+SIZE (nbuchwitz-icingaweb2-module-map-0.0.1.20170717-8323484_GH0.tar.gz) = 1187340
diff --git a/net-mgmt/icingaweb2-module-map/pkg-descr b/net-mgmt/icingaweb2-module-map/pkg-descr
new file mode 100644
index 000000000000..4fda8e950503
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-map/pkg-descr
@@ -0,0 +1,4 @@
+The Icinga Web 2 Module Map displays hosts and their status on
+OpenStreetMap using http://leafletjs.com/
+
+WWW: https://github.com/nbuchwitz/icingaweb2-module-map
diff --git a/net-mgmt/icingaweb2-module-map/pkg-plist b/net-mgmt/icingaweb2-module-map/pkg-plist
new file mode 100644
index 000000000000..f6ea51e8f02a
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-map/pkg-plist
@@ -0,0 +1,34 @@
+%%WWWDIR%%/README.md
+%%WWWDIR%%/application/controllers/ConfigController.php
+%%WWWDIR%%/application/controllers/DataController.php
+%%WWWDIR%%/application/controllers/IndexController.php
+%%WWWDIR%%/application/controllers/MapdataController.php
+%%WWWDIR%%/application/forms/Config/GeneralConfigForm.php
+%%WWWDIR%%/application/views/scripts/config/index.phtml
+%%WWWDIR%%/application/views/scripts/index/index.phtml
+%%WWWDIR%%/configuration.php
+%%WWWDIR%%/module.info
+%%WWWDIR%%/public/css/module.less
+%%WWWDIR%%/public/css/third-party/MarkerCluster.Default.css
+%%WWWDIR%%/public/css/third-party/MarkerCluster.css
+%%WWWDIR%%/public/css/third-party/leaflet.css
+%%WWWDIR%%/public/img/layers-2x.png
+%%WWWDIR%%/public/img/layers.png
+%%WWWDIR%%/public/img/marker-icon-blue.png
+%%WWWDIR%%/public/img/marker-icon-green.png
+%%WWWDIR%%/public/img/marker-icon-grey.png
+%%WWWDIR%%/public/img/marker-icon-orange.png
+%%WWWDIR%%/public/img/marker-icon-red.png
+%%WWWDIR%%/public/img/marker-icon-violet.png
+%%WWWDIR%%/public/img/marker-icon-yellow.png
+%%WWWDIR%%/public/img/marker-icon.png
+%%WWWDIR%%/public/img/marker-shadow.png
+%%WWWDIR%%/public/js/icons.js
+%%WWWDIR%%/public/js/module.js
+%%WWWDIR%%/public/js/third-party/leaflet.js
+%%WWWDIR%%/public/js/third-party/leaflet.markercluster.js
+%%WWWDIR%%/screenshots/clustered-map.png
+%%WWWDIR%%/screenshots/clustered-map2.png
+%%WWWDIR%%/screenshots/configuration-tab.png
+%%WWWDIR%%/screenshots/detailed-map.png
+%%WWWDIR%%/screenshots/host-detail.png