aboutsummaryrefslogtreecommitdiff
path: root/network/cowpatty
diff options
context:
space:
mode:
authorDominik Drobek <dominik.drobek (at) o2.pl>2018-11-21 06:36:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-24 12:35:24 +0700
commitb2805c385f27e98b0ce8aaf6b815734517a40e8a (patch)
tree405dabdbcf98d90a248e96fda10ff5916f65b957 /network/cowpatty
parentf0cba67decc455bb1ec597c394f32511c3c40d10 (diff)
network/cowpatty: Updated for version 4.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/cowpatty')
-rw-r--r--network/cowpatty/cowpatty.SlackBuild15
-rw-r--r--network/cowpatty/cowpatty.info10
-rw-r--r--network/cowpatty/slack-desc2
3 files changed, 18 insertions, 9 deletions
diff --git a/network/cowpatty/cowpatty.SlackBuild b/network/cowpatty/cowpatty.SlackBuild
index 6ed0cf0fb3fe7..230c3e91f97f6 100644
--- a/network/cowpatty/cowpatty.SlackBuild
+++ b/network/cowpatty/cowpatty.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for cowpatty
-# Copyright 2011-2016 Dominik Drobek <dominik.drobek (at) o2.pl>
+# Copyright 2011-2018 Dominik Drobek <dominik.drobek (at) o2.pl>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cowpatty
-VERSION=${VERSION:-4.6}
+VERSION=${VERSION:-4.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,9 +69,18 @@ find -L . \
sed -i 14s/"-g3 -ggdb"/"-g3 -ggdb ${SLKCFLAGS}"/ Makefile
make -j1
-make strip
make install BINDIR=/usr/bin DESTDIR=$PKG
+# Makefile doesn't provide a target for installing manuals
+mkdir -p $PKG/usr/man/man1
+cp -a cowpatty.1 genpmk.1 $PKG/usr/man/man1
+
+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 \
AUTHORS CHANGELOG COPYING FAQ INSTALL README TODO dict file_magic *.dump \
diff --git a/network/cowpatty/cowpatty.info b/network/cowpatty/cowpatty.info
index 651204867e1f2..c74bd5a829ee1 100644
--- a/network/cowpatty/cowpatty.info
+++ b/network/cowpatty/cowpatty.info
@@ -1,10 +1,10 @@
PRGNAM="cowpatty"
-VERSION="4.6"
-HOMEPAGE="http://www.willhackforsushi.com"
-DOWNLOAD="http://www.willhackforsushi.com/code/cowpatty/4.6/cowpatty-4.6.tgz"
-MD5SUM="b90fd36ad987c99e7cc1d2a05a565cbd"
+VERSION="4.8"
+HOMEPAGE="http://www.willhackforsushi.com/?page_id=50"
+DOWNLOAD="https://github.com/joswr1ght/cowpatty/releases/download/4.8/cowpatty-4.8.tgz"
+MD5SUM="8f1190a002d93950678c6f01070cf439"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dominik Drobek"
-EMAIL="dominik.drobek@o2.pl"
+EMAIL="dominik.drobek (at) o2.pl"
diff --git a/network/cowpatty/slack-desc b/network/cowpatty/slack-desc
index 2f4a3d6bfc7fa..b3208eeff6995 100644
--- a/network/cowpatty/slack-desc
+++ b/network/cowpatty/slack-desc
@@ -13,7 +13,7 @@ cowpatty: WPA/WPA2 networks using PSK-based authentication. Cowpatty can carry
cowpatty: out an accelerated attack if a precomputed hash table for the target
cowpatty: SSID is available.
cowpatty:
-cowpatty: Homepage: http://www.willhackforsushi.com/
+cowpatty: Homepage: http://www.willhackforsushi.com/?page_id=50
cowpatty:
cowpatty:
cowpatty: