aboutsummaryrefslogtreecommitdiff
path: root/network/icinga2/icinga2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/icinga2/icinga2.SlackBuild')
-rw-r--r--network/icinga2/icinga2.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/icinga2/icinga2.SlackBuild b/network/icinga2/icinga2.SlackBuild
index addcefefbf3cf..269b98fd107fd 100644
--- a/network/icinga2/icinga2.SlackBuild
+++ b/network/icinga2/icinga2.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=icinga2
-VERSION=${VERSION:-2.3.11}
+VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -119,6 +119,9 @@ cd ..
# Where precision tools fail, the hammer succeeds
mv $PKG/usr/share/man $PKG/usr/man
+# Dislexya is fun!
+sed -e 's# >/dev/null 2&>1; # >/dev/null 2>&1; #' -i $PKG/usr/lib/icinga2/prepare-dirs
+
# Match config with monitoring-plugins, manubulon-snmp-plugins & nagios-plugins packages
sed -e 's#^\(const ManubulonPluginDir =\).*#\1 "/usr/libexec/manubulon-snmp-plugins"#' \
-e 's#^\(const PluginDir =\).*#\1 "/usr/libexec/monitoring-plugins"#' \