diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-05-01 13:05:45 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-05-01 13:05:50 +0000 |
commit | aa4cbb24332aebbfb7ec7ff872e3a653ad6f8f5d (patch) | |
tree | 3845cc91b28d6568a1b2a86546f41b4aa10a796d /testing/aircrack-ng/APKBUILD | |
parent | 7ec426d94fa142b472799159fcdbbdba850d479e (diff) | |
download | aports-aa4cbb24332aebbfb7ec7ff872e3a653ad6f8f5d.tar.bz2 aports-aa4cbb24332aebbfb7ec7ff872e3a653ad6f8f5d.tar.xz |
testing/aircrack-ng: new aport
Diffstat (limited to 'testing/aircrack-ng/APKBUILD')
-rw-r--r-- | testing/aircrack-ng/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/aircrack-ng/APKBUILD b/testing/aircrack-ng/APKBUILD new file mode 100644 index 0000000000..b65d229cbf --- /dev/null +++ b/testing/aircrack-ng/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=aircrack-ng +pkgver=1.2_rc2 +_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() { + cd "$_builddir" + make sqlite=true pcre=true +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" sqlite=true experimental=true \ + bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \ + smandir=/usr/share/man/man8/ install +} + +md5sums="ebe9d537f06f4d6956213af09c4476da aircrack-ng-1.2-rc2.tar.gz" +sha256sums="ba5b3eda44254efc5b7c9f776eb756f7cc323ad5d0813c101e92edb483d157e9 aircrack-ng-1.2-rc2.tar.gz" +sha512sums="49794c80a76da20698d0372a81fdbd54f2defb694c23807369be7632e57d21cb09f14d3013b199f247663286c316714ee0fae8a6d302cabbe48ffa1e6ebefc56 aircrack-ng-1.2-rc2.tar.gz" |