aboutsummaryrefslogtreecommitdiff
path: root/network/nagios/nagios.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2012-12-27 20:16:46 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-27 20:16:59 +0100
commit17243302b7172a4659c7eb9c6e1edede0f5777c8 (patch)
treefcf77591f454254449c2f95da408b124957c6885 /network/nagios/nagios.SlackBuild
parentc1001c96d017f6dcf3ef1b118f9f6f8eea4cdde0 (diff)
network/nagios: Updated for version 3.4.3, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/nagios/nagios.SlackBuild')
-rw-r--r--network/nagios/nagios.SlackBuild19
1 files changed, 4 insertions, 15 deletions
diff --git a/network/nagios/nagios.SlackBuild b/network/nagios/nagios.SlackBuild
index 48a72e7029d51..9474c059d0c4f 100644
--- a/network/nagios/nagios.SlackBuild
+++ b/network/nagios/nagios.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for nagios:
# IT infrastructure monitoring system
-# Copyright 2009-2011 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2009-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# revision date 2011/07/26
+# revision date 2012/12/27
PRGNAM=nagios
-VERSION=${VERSION:-3.3.1}
+VERSION=${VERSION:-3.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,23 +54,15 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
- ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- ARCHQUADLET=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- ARCHQUADLET=""
-elif [ "$ARCH" = "arm" ]; then
- SLKCFLAGS="-O2 -march=armv4t"
- LIBDIRSUFFIX=""
- ARCHQUADLET="-gnueabi"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
- ARCHQUADLET=""
fi
set -e
@@ -92,9 +84,6 @@ cd $PRGNAM
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-#Solve a silly bug in the Makefile
-patch -p1 < $CWD/nagios_makeinstall.patch
-
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -105,7 +94,7 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc/$PRGNAM \
--localstatedir=/var/$PRGNAM \
--mandir=/usr/man \
- --build=$ARCH-slackware-linux$ARCHQUADLET \
+ --build=$ARCH-slackware-linux \
--with-httpd-conf=/etc/httpd/extra \
--with-checkresult-dir=/var/spool/$PRGNAM \
--with-init-dir=/etc/rc.d \