From 845d1012a121d8dc759ddfabd8241b93c629ea0a Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Thu, 5 Feb 2015 04:57:18 +0100 Subject: network/nrpe: Updated for version 2.15 + maintainer change --- network/nrpe/nrpe.SlackBuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'network/nrpe/nrpe.SlackBuild') diff --git a/network/nrpe/nrpe.SlackBuild b/network/nrpe/nrpe.SlackBuild index a1906a01a7..4c6b97b537 100644 --- a/network/nrpe/nrpe.SlackBuild +++ b/network/nrpe/nrpe.SlackBuild @@ -3,9 +3,10 @@ # Slackware build script for nrpe # Written by Zordrak +# Modified by Mario Preksavec PRGNAM=nrpe -VERSION=${VERSION:-2.12} +VERSION=${VERSION:-2.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -47,7 +48,7 @@ if ! grep ^nagios: /etc/group 2>&1 > /dev/null; then exit 1 elif ! grep ^nagios: /etc/passwd 2>&1 > /dev/null; then echo " You must have a \"nagios\" user to run this script." - echo " # useradd -u 213 -g nagios -d /usr/nagios -s /bin/false nagios" + echo " # useradd -u 213 -g nagios -d /dev/null -s /bin/false nagios" exit 1 fi @@ -59,10 +60,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -96,7 +97,7 @@ cat $CWD/rc.nrpe > $PKG/etc/rc.d/rc.nrpe.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ README README.SSL SECURITY LEGAL Changelog docs contrib sample-config \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3