summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-02-05 15:59:00 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-07 15:21:10 +0700
commit64fd34f45cc336c30a5d4f15f41065ffea01e252 (patch)
tree8d48123c95a9b8ac4743c8d42f186a0f28c8392b
parent845d1012a121d8dc759ddfabd8241b93c629ea0a (diff)
downloadslackbuilds-64fd34f45cc336c30a5d4f15f41065ffea01e252.tar.gz
network/nsca: Updated for version 2.9.1 + maintainer change
-rw-r--r--network/nsca/README6
-rw-r--r--network/nsca/nsca.SlackBuild14
-rw-r--r--network/nsca/nsca.info10
-rw-r--r--network/nsca/rc.nsca5
-rw-r--r--network/nsca/slack-desc2
5 files changed, 20 insertions, 17 deletions
diff --git a/network/nsca/README b/network/nsca/README
index 74cfdc7a42..16fc72d038 100644
--- a/network/nsca/README
+++ b/network/nsca/README
@@ -1,5 +1,5 @@
nsca (Nagios Service Check Acceptor)
-NSCA is a Linux/Unix daemon allows you to integrate passive alerts and
-checks from remote machines and applications with Nagios. Useful for
-processing security alerts, as well as redundant Nagios setups.
+NSCA is a Linux/Unix daemon allows you to integrate passive alerts and checks
+from remote machines and applications with Nagios. Useful for processing
+security alerts, as well as redundant Nagios setups.
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" \
diff --git a/network/nsca/nsca.info b/network/nsca/nsca.info
index 25b5b35d38..530ab20645 100644
--- a/network/nsca/nsca.info
+++ b/network/nsca/nsca.info
@@ -1,10 +1,10 @@
PRGNAM="nsca"
-VERSION="2.7.2"
+VERSION="2.9.1"
HOMEPAGE="http://www.nagios.org"
-DOWNLOAD="http://downloads.sourceforge.net/nagios/nsca-2.7.2.tar.gz"
-MD5SUM="33a98e7975f633a9489d7a8938ed6131"
+DOWNLOAD="http://downloads.sourceforge.net/nagios/nsca-2.9.1.tar.gz"
+MD5SUM="3fe2576a8cc5b252110a93f4c8d978c6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nagios"
-MAINTAINER="Bas Couwenberg"
-EMAIL="sebastic@xs4all.nl"
+MAINTAINER="Mario Preksavec"
+EMAIL="mario at slackware dot hr"
diff --git a/network/nsca/rc.nsca b/network/nsca/rc.nsca
index 25812bcb59..caa5846b6a 100644
--- a/network/nsca/rc.nsca
+++ b/network/nsca/rc.nsca
@@ -1,14 +1,15 @@
#!/bin/sh
#
# nsca daemon control script.
-#
+#
# This is an init script for the nsca daemon.
# To use nsca, you must first set up the config file(s).
#
# Written for Slackware Linux by Cherife li <cherife@dotimes.com>
# Modified for SBo by Zordrak <slackbuilds@tpa.me.uk>
+# Modified by Mario Preksavec <mario@slackware.hr>
-BIN=/usr/bin/nsca
+BIN=/usr/sbin/nsca
CFGFILE=/etc/nagios/nsca.cfg
PIDFILE=/var/run/nsca.pid
LOCKFILE=/var/lock/nsca
diff --git a/network/nsca/slack-desc b/network/nsca/slack-desc
index 3a5a9dcca0..586c02b69b 100644
--- a/network/nsca/slack-desc
+++ b/network/nsca/slack-desc
@@ -12,7 +12,7 @@ nsca: NSCA is a Linux/Unix daemon allows you to integrate passive alerts
nsca: and checks from remote machines and applications with Nagios. Useful
nsca: for processing security alerts, as well as redundant Nagios setups.
nsca:
-nsca: http://www.nagios.org/
+nsca: Homepage: http://www.nagios.org/
nsca:
nsca:
nsca: