From 67d941d0b3ad05e00d8752bc0cbc10ce7325e802 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 18 Feb 2016 01:05:42 +0000 Subject: [PATCH] added community/aircrack-ng --- community/aircrack-ng/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 community/aircrack-ng/PKGBUILD diff --git a/community/aircrack-ng/PKGBUILD b/community/aircrack-ng/PKGBUILD new file mode 100644 index 000000000..643bec9a0 --- /dev/null +++ b/community/aircrack-ng/PKGBUILD @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Jonathan Steel +# Contributor: Brad Fanella +# Contributor: Daenyth +# Contributor: Corrado Primier +# Contributor: ice-man + +# ALARM: Kevin Mihelich +# - grab upstream commits for AArch64 + +# remove when bumped upstream + +pkgname=aircrack-ng +_pkgver=1.2-rc4 +pkgver=${_pkgver//-/} +pkgrel=1 +pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols" +arch=('i686' 'x86_64') +url="http://www.aircrack-ng.org" +license=('GPL2') +depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool') +conflicts=('aircrack-ng-scripts') +replaces=('aircrack-ng-scripts') +provides=('aircrack-ng-scripts') +source=(http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz + https://github.com/aircrack-ng/aircrack-ng/commit/252717588f2483a007bbd8bb6ceac3257e8c67e8.patch + https://github.com/aircrack-ng/aircrack-ng/commit/913443c9745f72899fdd75e71217dd7b3d76ce34.patch) +md5sums=('3bbc7d5035a98ec01e78774d05c3fcce' + '872a852ce0e2daffeb5038d81153d97c' + '5370cdb6889619ff425e74fc58f4b91b') + +prepare() { + cd $pkgname-$_pkgver + + patch -p1 -i ../252717588f2483a007bbd8bb6ceac3257e8c67e8.patch + patch -p1 -i ../913443c9745f72899fdd75e71217dd7b3d76ce34.patch +} + +build() { + cd $pkgname-$_pkgver + + make sqlite=true experimental=true +} + +package() { + cd $pkgname-$_pkgver + + make DESTDIR="$pkgdir" sqlite=true experimental=true \ + bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \ + smandir=/usr/share/man/man8/ install +}