updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / speedpwn / PKGBUILD
blob0358fe09a3665866460418e4bf3fa548bc51dd9d
1 # Maintainer: Smith314 <smith-@live.de>
3 pkgname=speedpwn
4 pkgver=0.4
5 pkgrel=2
6 pkgdesc="Active WPA/2 Bruteforcer, original created to prove weak standard key generation in different ISP labeled routers"
7 arch=('i686' 'x86_64')
8 url="http://gitorious.org/speedpwn"
9 license=('GPLv3')
10 depends=('openssl')
11 makedepends=()
12 provides=('speedpwn')
13 source=('http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz' 'http://smith.freeunix.net/patch-common' 'http://www.wardriving-forum.de/forum/attachment.php?attachmentid=1113&d=1303560777')
14 md5sums=('f7a24ed8fad122c4187d06bfd6f998b4' '6191a238e4f8110900a1a3621238d19f' 'c3adac665ac3139660269e3730c60144')
16 build() {
17         cd ${srcdir}/aircrack-ng-1.1
18         patch -p1 < ../patch-common
19         cp ../speedpwn-0.4/* src/
20         cd src/osdep
21         make
22         cd ../
23         gcc -o ${srcdir}/speedpwn speedpwn.c common.c osdep/libosdep.a crypto.c `pkg-config --libs openssl`
26 package() {
27         cd ${srcdir}
28         install -D -m755 speedpwn "$pkgdir/usr/bin/speedpwn"