# Maintainer: Levente Polyak # Contributor: Fabiano Furtado < fusca14 (at) gmail (dot) com > pkgname=wifite pkgver=2.6.8 pkgrel=2 epoch=2 pkgdesc='Tool to attack multiple WEP and WPA encrypted networks at the same time' url='https://github.com/kimocoder/wifite2' arch=('any') license=('GPL2') depends=('python' 'python-chardet' 'aircrack-ng' 'iproute2' 'iw') makedepends=( python-build python-installer python-setuptools python-wheel ) optdepends=( 'wireshark-cli: detecting WPS networks and inspecting handshake capture files' 'reaver: WPS Pixie-Dust & brute-force attacks' 'bully: WPS Pixie-Dust & brute-force attacks' 'cowpatty: detect WPA handshakes' 'pyrit: detect WPA handshakes' 'macchanger: change MAC for attacks' 'hashcat: cracking PMKID hashes' 'hcxdumptool: capturing PMKID hashes' 'hcxtools: converting PMKID packet captures into hashcat format' 'john: For CPU (OpenCL)/GPU cracking passwords fast' ) provides=(wifite2) source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) sha512sums=('4adad5fb69561e4f5fa410390f7134568583318a6e239b0cf8d020bb8a723d455826fa2ade9c28266ca2b88e61b0f7b0e190a793674f9cd2e783d5242d86976a') b2sums=('f386a1ae9bbd679d5758fb59732dd9b85a7e51b594e29bfbd4fe72c5368e54df34b612aa0303b676bfa0e19d467d48939875843b247982b3a9f2ba4c6340a0a9') prepare() { cd ${pkgname}2-${pkgver} sed 's|sbin|bin|g' -i setup.cfg } build() { cd ${pkgname}2-${pkgver} python -m build --wheel --no-isolation } package() { cd ${pkgname}2-${pkgver} python -m installer --destdir="$pkgdir" dist/*.whl install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" } # vim: ts=2 sw=2 et: