summaryrefslogtreecommitdiff
path: root/system/nagios-plugins/nagios-plugins.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2014-11-26 22:52:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-29 08:13:45 +0700
commit43ce728f358b4ece05255a7e9a1125b10de00b9e (patch)
treecc62436ccbb6c602954aa09e4654845635547706 /system/nagios-plugins/nagios-plugins.SlackBuild
parent2d0fc9c8cd5edac00fbfa3d91935e41ea4a0606c (diff)
downloadslackbuilds-43ce728f358b4ece05255a7e9a1125b10de00b9e.tar.gz
system/nagios-plugins: Updated for version 2.0.3.
Diffstat (limited to 'system/nagios-plugins/nagios-plugins.SlackBuild')
-rw-r--r--system/nagios-plugins/nagios-plugins.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/nagios-plugins/nagios-plugins.SlackBuild b/system/nagios-plugins/nagios-plugins.SlackBuild
index 0917a0bfa5..e13cba9564 100644
--- a/system/nagios-plugins/nagios-plugins.SlackBuild
+++ b/system/nagios-plugins/nagios-plugins.SlackBuild
@@ -3,9 +3,10 @@
# Slackware build script for nagios-plugins
# Written by Zordrak <slackbuilds@tpa.me.uk>
+# Modified by Mario Preksavec <mario@slackware.hr>
PRGNAM=nagios-plugins
-VERSION=${VERSION:-1.4.15}
+VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -82,7 +83,7 @@ make install DESTDIR=$PKG
# Put the contrib plugins dir in along with the official plugins
# otherwise most people will never realise they exist
-cp -a contrib $PKG/usr/libexec/nagios/.
+#cp -a contrib $PKG/usr/libexec/nagios/.
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -92,7 +93,7 @@ chmod u+s $PKG/usr/libexec/nagios/check_{icmp,dhcp};
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README REQUIREMENTS ACKNOWLEDGEMENTS AUTHORS BUGS CODING COPYING \
+ README REQUIREMENTS ACKNOWLEDGEMENTS AUTHORS CODING COPYING \
ChangeLog FAQ INSTALL LEGAL NEWS SUPPORT THANKS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild