diff options
author | Mario Preksavec <mario@slackware.hr> | 2015-02-05 15:59:00 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-02-07 15:21:10 +0700 |
commit | 64fd34f45cc336c30a5d4f15f41065ffea01e252 (patch) | |
tree | 8d48123c95a9b8ac4743c8d42f186a0f28c8392b /network/nsca/nsca.SlackBuild | |
parent | 845d1012a121d8dc759ddfabd8241b93c629ea0a (diff) | |
download | slackbuilds-64fd34f45cc336c30a5d4f15f41065ffea01e252.tar.gz |
network/nsca: Updated for version 2.9.1 + maintainer change
Diffstat (limited to 'network/nsca/nsca.SlackBuild')
-rw-r--r-- | network/nsca/nsca.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/network/nsca/nsca.SlackBuild b/network/nsca/nsca.SlackBuild index d9a47e470f..4cc83632eb 100644 --- a/network/nsca/nsca.SlackBuild +++ b/network/nsca/nsca.SlackBuild @@ -1,10 +1,12 @@ #!/bin/sh # Slackware build script for nsca + # Written by Bas Couwenberg <sebastic@xs4all.nl> +# Modified by Mario Preksavec <mario@slackware.hr> PRGNAM=nsca -VERSION=${VERSION:-2.7.2} +VERSION=${VERSION:-2.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,7 +48,7 @@ if ! getent group nagios 2>&1 > /dev/null; then exit 1 elif ! getent passwd nagios 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 @@ -58,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" \ |