aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/icinga2
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2020-04-29 20:33:23 +0000
committerLars Engels <lme@FreeBSD.org>2020-04-29 20:33:23 +0000
commitda9cda306fed681815e1652983d56d460ff08d3b (patch)
tree52677d394092bc761dfbe5393cc12b265b0bc99a /net-mgmt/icinga2
parent549c2d86e5d0afc2692ab50f87dcf93e157f4f22 (diff)
downloadports-da9cda306fed681815e1652983d56d460ff08d3b.tar.gz
ports-da9cda306fed681815e1652983d56d460ff08d3b.zip
net-mgmt/icinga2:
- Update to 2.11.3 which fixes a long standing bug in the Icinga API that led to crashes [1] - Fix directory permissions for 'icinga2 feature enable / disable' - Add new option UNITY to enable or disable the build with Unity. Unity makes building Icinga 2 faster but memory intensive. With Unity disabled it is possible to build Icinga 2 on memory restricted machines like a Raspberry Pi. [2] PR: 245985 [1], 245461 [2] Submitted by: Armin Gruner <ag-freebsd@muc.de> [1], Alexander Wittig <alexander@wittig.name> [2] MFH: 2020Q2
Notes
Notes: svn path=/head/; revision=533395
Diffstat (limited to 'net-mgmt/icinga2')
-rw-r--r--net-mgmt/icinga2/Makefile10
-rw-r--r--net-mgmt/icinga2/distinfo6
-rw-r--r--net-mgmt/icinga2/pkg-plist5
3 files changed, 12 insertions, 9 deletions
diff --git a/net-mgmt/icinga2/Makefile b/net-mgmt/icinga2/Makefile
index 1e78e3325586..003e3238e4f0 100644
--- a/net-mgmt/icinga2/Makefile
+++ b/net-mgmt/icinga2/Makefile
@@ -2,8 +2,7 @@
PORTNAME= icinga2
DISTVERSIONPREFIX= v
-DISTVERSION= 2.11.2
-PORTREVISION= 1
+DISTVERSION= 2.11.3
CATEGORIES= net-mgmt
MAINTAINER= lme@FreeBSD.org
@@ -23,19 +22,22 @@ USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
-OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES UNITY
OPTIONS_GROUP= BACKEND
OPTIONS_GROUP_BACKEND= MYSQL PGSQL
OPTIONS_RADIO= PLUGINS
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
-OPTIONS_DEFAULT= MYSQL PGSQL MONPLUGINS
+OPTIONS_DEFAULT= MYSQL PGSQL MONPLUGINS UNITY
+
+UNITY_DESC= Use icinga unity build system (faster, memory intensive)
MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins
MYSQL_CMAKE_ON= -DICINGA2_WITH_MYSQL:BOOL=true
PGSQL_CMAKE_ON= -DICINGA2_WITH_PGSQL:BOOL=true
+UNITY_CMAKE_OFF= -DICINGA2_UNITY_BUILD=OFF
ICINGA2USER?= icinga
ICINGA2GROUP?= icinga
diff --git a/net-mgmt/icinga2/distinfo b/net-mgmt/icinga2/distinfo
index f5c12089e1e7..5fc4c7d4f68e 100644
--- a/net-mgmt/icinga2/distinfo
+++ b/net-mgmt/icinga2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572425224
-SHA256 (icinga-icinga2-v2.11.2_GH0.tar.gz) = b9da300ce6914fe2d25652dc87f5c22aa036b33f4e3e24e1ffe1d746d192a812
-SIZE (icinga-icinga2-v2.11.2_GH0.tar.gz) = 7476465
+TIMESTAMP = 1588188729
+SHA256 (icinga-icinga2-v2.11.3_GH0.tar.gz) = 03c46c9af9cb8763ec02428f87a38ab3d7876f56cc10dc5eac5bda0c182f6a76
+SIZE (icinga-icinga2-v2.11.3_GH0.tar.gz) = 7475785
diff --git a/net-mgmt/icinga2/pkg-plist b/net-mgmt/icinga2/pkg-plist
index e118efb09caf..c7fb12edb340 100644
--- a/net-mgmt/icinga2/pkg-plist
+++ b/net-mgmt/icinga2/pkg-plist
@@ -37,9 +37,9 @@ etc/bash_completion.d/icinga2
@sample %%ETCDIR%%/zones.conf.sample
%%ETCDIR%%/zones.d/README
%%MYSQL%%lib/icinga2/libmysql_shim.so
-%%MYSQL%%lib/icinga2/libmysql_shim.so.2.11.2
+%%MYSQL%%lib/icinga2/libmysql_shim.so.2.11.3
%%PGSQL%%lib/icinga2/libpgsql_shim.so
-%%PGSQL%%lib/icinga2/libpgsql_shim.so.2.11.2
+%%PGSQL%%lib/icinga2/libpgsql_shim.so.2.11.3
lib/icinga2/sbin/icinga2
libexec/nagios/check_nscp_api
man/man8/icinga2.8.gz
@@ -180,6 +180,7 @@ sbin/icinga2
%%DATADIR%%/include/windows-plugins
share/vim/vimfiles/ftdetect/icinga2.vim
share/vim/vimfiles/syntax/icinga2.vim
+@dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) %%ETCDIR%%/features-enabled
@dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/cache/icinga2
@dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/lib/icinga2/api/log
@dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/lib/icinga2/api/zones