summaryrefslogtreecommitdiffstats
path: root/system/nagios-plugins/nagios-plugins.SlackBuild
diff options
context:
space:
mode:
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