aboutsummaryrefslogtreecommitdiff
path: root/network/aircrack-ng/aircrack-ng.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-12 08:07:48 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-12 01:25:03 -0600
commitf531f30ce38b50bd2a065e8b35cbec3437e72c7c (patch)
tree37732d14c3dce5fba37c008fb0b9100db23e5fb7 /network/aircrack-ng/aircrack-ng.SlackBuild
parentc2c8ef051002cc9d4e0b657e6f10c0acb8bc2398 (diff)
network/aircrack-ng: Updated for version 1.2_beta1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/aircrack-ng/aircrack-ng.SlackBuild')
-rw-r--r--network/aircrack-ng/aircrack-ng.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/network/aircrack-ng/aircrack-ng.SlackBuild b/network/aircrack-ng/aircrack-ng.SlackBuild
index 2ae9f74bc477..ef69eb85d3a2 100644
--- a/network/aircrack-ng/aircrack-ng.SlackBuild
+++ b/network/aircrack-ng/aircrack-ng.SlackBuild
@@ -3,16 +3,14 @@
# Written by Yalla-One <yallaone@gmail.com>
PRGNAM=aircrack-ng
-VERSION=1.0_rc3
+VERSION=1.2_beta1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -44,11 +42,11 @@ rm -rf $PRGNAM-$SRCVERSION
tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
cd $PRGNAM-$SRCVERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \;
+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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -58,7 +56,7 @@ make prefix=/usr ${OPT} install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
+( cd $PKG/usr/share/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)