blob: b2c882a50879a3bf38b6b5a2243139d8e0a12df8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=aircrack-ng
pkgver=1.2_rc3
_pkgver=${pkgver/_/-}
pkgrel=0
pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
url="http://www.aircrack-ng.org"
arch="all"
license="GPL2"
depends="ethtool wireless-tools iw sqlite"
depends_dev="openssl-dev sqlite-dev libnl-dev linux-headers pcre-dev
bsd-compat-headers"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$_pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
make -C "$_builddir" sqlite=true \
pcre=true || return 1
}
package() {
make DESTDIR="$pkgdir" sqlite=true experimental=true \
bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \
smandir=/usr/share/man/man8/ -C "$_builddir" install || return 1
}
md5sums="3f4096808c916baa8872a5ad138a9c35 aircrack-ng-1.2-rc3.tar.gz"
sha256sums="8e595ccab9fe90fc7c770634ad13e30da2d7fef21497b34d56d7014b991a4585 aircrack-ng-1.2-rc3.tar.gz"
sha512sums="31ebe38bf418431b2ed770a7c8286e4321d2d4b253b2b1e94450de012823d9530dfaa302ae0797dd1a31b93ff4b40e9577bdf9fe3b818650758b5eebc80d67dc aircrack-ng-1.2-rc3.tar.gz"
|