system/nagios-plugins: Updated for version 2.0.3.

This commit is contained in:
Mario Preksavec 2014-11-26 22:52:51 +01:00 committed by Willy Sudiarto Raharjo
parent 2d0fc9c8cd
commit 43ce728f35
2 changed files with 7 additions and 6 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="nagios-plugins"
VERSION="1.4.15"
VERSION="2.0.3"
HOMEPAGE="https://www.nagios-plugins.org/"
DOWNLOAD="https://www.nagios-plugins.org/download/nagios-plugins-1.4.15.tar.gz"
MD5SUM="56abd6ade8aa860b38c4ca4a6ac5ab0d"
DOWNLOAD="https://www.nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz"
MD5SUM="6755765bab88b506181268ef7982595e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nagios"