summaryrefslogtreecommitdiff
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
parentc2c8ef051002cc9d4e0b657e6f10c0acb8bc2398 (diff)
downloadslackbuilds-f531f30ce38b50bd2a065e8b35cbec3437e72c7c.tar.gz
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>
-rw-r--r--network/aircrack-ng/aircrack-ng.SlackBuild16
-rw-r--r--network/aircrack-ng/aircrack-ng.info6
2 files changed, 10 insertions, 12 deletions
diff --git a/network/aircrack-ng/aircrack-ng.SlackBuild b/network/aircrack-ng/aircrack-ng.SlackBuild
index 2ae9f74bc4..ef69eb85d3 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
)
diff --git a/network/aircrack-ng/aircrack-ng.info b/network/aircrack-ng/aircrack-ng.info
index b565db19a4..a48ea60fe4 100644
--- a/network/aircrack-ng/aircrack-ng.info
+++ b/network/aircrack-ng/aircrack-ng.info
@@ -1,8 +1,8 @@
PRGNAM="aircrack-ng"
-VERSION="1.0_rc3"
+VERSION="1.2_beta1"
HOMEPAGE="http://www.aircrack-ng.org"
-DOWNLOAD="http://download.aircrack-ng.org/archive/aircrack-ng/1.0rc3/aircrack-ng-1.0-rc3.tar.gz"
-MD5SUM="37884de939af82eab60d3e7d165b40ad"
+DOWNLOAD="http://download.aircrack-ng.org/aircrack-ng-1.2-beta1.tar.gz"
+MD5SUM="f1cc7e19563bd64964f3584048a1031b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""