aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorAudrius Kažukauskas <neobug@tornado.ktu.lt>2010-05-11 22:25:29 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:25:29 +0200
commitd3744df78fe78d7d3ede322baea95ce1fe3cd8ee (patch)
tree823a79c5e77997375116f43c329ee42186d6b451 /network
parent23f30af0330536b4da221b0774fb4c26bf7c578b (diff)
network/kismet: Updated for version 2008_05_R1
Diffstat (limited to 'network')
-rw-r--r--network/kismet/kismet.SlackBuild13
-rw-r--r--network/kismet/kismet.info6
2 files changed, 11 insertions, 8 deletions
diff --git a/network/kismet/kismet.SlackBuild b/network/kismet/kismet.SlackBuild
index 1dc819b5a7011..18866a7506153 100644
--- a/network/kismet/kismet.SlackBuild
+++ b/network/kismet/kismet.SlackBuild
@@ -5,7 +5,7 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=kismet
-VERSION=2007_10_R1
+VERSION=2008_05_R1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -19,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e # Exit on most errors
@@ -38,13 +40,14 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc/kismet \
--localstatedir=/var \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
-make
-make install MANGRP=root DESTDIR=$PKG
+make
+make install MANGRP=root DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
diff --git a/network/kismet/kismet.info b/network/kismet/kismet.info
index 59a30978b8285..e1174f0d0d736 100644
--- a/network/kismet/kismet.info
+++ b/network/kismet/kismet.info
@@ -1,8 +1,8 @@
PRGNAM="kismet"
-VERSION="2007_10_R1"
+VERSION="2008_05_R1"
HOMEPAGE="http://kismetwireless.net/"
-DOWNLOAD="http://kismetwireless.net/code/kismet-2007-10-R1.tar.gz"
-MD5SUM="2100c667e69db0cde35fa2d06c8516e2"
+DOWNLOAD="http://kismetwireless.net/code/kismet-2008-05-R1.tar.gz"
+MD5SUM="6ee365d36354b4dee4945e67f8149294"
MAINTAINER="Audrius Kazukauskas"
EMAIL="neobug@tornado.ktu.lt"
APPROVED="rworkman"