diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2017-02-02 16:24:40 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-04 06:59:58 +0700 |
commit | 7687a1a841f50f726fafe50a11ba48eb917e5040 (patch) | |
tree | 9bd430085d2d57a7558a9ef765a2b83df9724d58 /network/kismet/kismet.SlackBuild | |
parent | 0d53d9df2e831254a3ce9e96fba147683928acbb (diff) | |
download | slackbuilds-7687a1a841f50f726fafe50a11ba48eb917e5040.tar.gz |
network/kismet: Updated for version 2016_07_R1.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'network/kismet/kismet.SlackBuild')
-rw-r--r-- | network/kismet/kismet.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/network/kismet/kismet.SlackBuild b/network/kismet/kismet.SlackBuild index 53794e9fa2..447db15f77 100644 --- a/network/kismet/kismet.SlackBuild +++ b/network/kismet/kismet.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2007 Robby Workman <rworkman@slackbuilds.org> # Copyright 2010 Antonio Hernández Blas <hba.nihilismus@gmail.com> -# Copyright 2013 Audrius Kažukauskas <audrius@neutrino.lt> +# Copyright 2013-2017 Audrius Kažukauskas <audrius@neutrino.lt> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kismet -VERSION=${VERSION:-2013_03_R1b} +VERSION=${VERSION:-2016_07_R1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,7 +33,7 @@ SRCVERSION=$(echo $VERSION | tr _ -) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -60,7 +60,7 @@ fi # Bail if group isn't valid on your system. # gid=234 is suggested to avoid conflicts with other SBo packages, -# but it's your call: http://slackbuilds.org/uid_gid.txt +# but it's your call: https://slackbuilds.org/uid_gid.txt if ! grep -q "^kismet:" /etc/group; then printf "\n\tYou must have a kismet group to run this script.\n" printf "\tSomething like this should suffice for most systems:\n" @@ -84,7 +84,7 @@ 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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -103,14 +103,14 @@ make plugins -j1 make suidinstall MANGRP=root DESTDIR=$PKG make plugins-install MANGRP=root DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG README *.txt docs/* patches/ $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG README RELEASENOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |