summaryrefslogtreecommitdiff
path: root/network/icinga2/icinga2.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-12-03 22:26:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-05 07:58:31 +0700
commitb1c36d8303610d4b020aa0edc7b1f65970726077 (patch)
tree178726a1171af08624922aa73145c577f4113261 /network/icinga2/icinga2.SlackBuild
parent6a0c16749a6fc3e8be4af9e2842c39c8781e1362 (diff)
downloadslackbuilds-b1c36d8303610d4b020aa0edc7b1f65970726077.tar.gz
network/icinga2: Updated for version 2.4.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
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 addcefefbf..269b98fd10 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"#' \