diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 14:11:44 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 14:11:44 +0000 |
commit | bac0ca7a11e7870188b29b096262b9e7f76df183 (patch) | |
tree | 545d465fec4c3f54c5ef36662048b5f772666a9d /community/aircrack-ng | |
parent | 67da02f7ef486dc415d235d90b097588d687b711 (diff) | |
download | aports-bac0ca7a11e7870188b29b096262b9e7f76df183.tar.bz2 aports-bac0ca7a11e7870188b29b096262b9e7f76df183.tar.xz |
community/aircrack-ng: moved from testing, cleaned-up APKBUILD
Diffstat (limited to 'community/aircrack-ng')
-rw-r--r-- | community/aircrack-ng/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/aircrack-ng/APKBUILD b/community/aircrack-ng/APKBUILD new file mode 100644 index 0000000000..6f2c0348c5 --- /dev/null +++ b/community/aircrack-ng/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=aircrack-ng +pkgver=1.2_rc4 +_pkgver=${pkgver/_/-} +pkgrel=1 +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" +makedepends="coreutils openssl-dev sqlite-dev libnl-dev linux-headers pcre-dev + bsd-compat-headers" +subpackages="$pkgname-doc" +source="http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$_pkgver + +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="3bbc7d5035a98ec01e78774d05c3fcce aircrack-ng-1.2-rc4.tar.gz" +sha256sums="d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36 aircrack-ng-1.2-rc4.tar.gz" +sha512sums="f1e1d465813a5f00fd8f8b287353033ea30b657a4c3a9fe81281ab2546d3238690f0659076bff53703fbc796ba40efb16115804d21f8516adca2c774fefea20c aircrack-ng-1.2-rc4.tar.gz" |