From 17243302b7172a4659c7eb9c6e1edede0f5777c8 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Thu, 27 Dec 2012 20:16:46 +0100 Subject: network/nagios: Updated for version 3.4.3, cleanups. Signed-off-by: Matteo Bernardini --- network/nagios/nagios.SlackBuild | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'network/nagios/nagios.SlackBuild') 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 \ -- cgit v1.2.3