[arch-commits] Commit in wifite/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu May 13 13:42:46 UTC 2021
Date: Thursday, May 13, 2021 @ 13:42:46
Author: anthraxx
Revision: 933255
upgpkg: wifite 2:2.5.8-1: switched to maintained fork
Modified:
wifite/trunk/PKGBUILD
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++------------------------
1 file changed, 26 insertions(+), 24 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-13 13:42:20 UTC (rev 933254)
+++ PKGBUILD 2021-05-13 13:42:46 UTC (rev 933255)
@@ -2,43 +2,45 @@
# Contributor: Fabiano Furtado < fusca14 (at) gmail (dot) com >
pkgname=wifite
-_gitcommit=918a499786afdfefcc9582a29df79d0959294ba2
-pkgver=87.r139.918a499
-pkgrel=3
-epoch=1
+pkgver=2.5.8
+pkgrel=1
+epoch=2
pkgdesc='Tool to attack multiple WEP and WPA encrypted networks at the same time'
-url='https://github.com/derv82/wifite'
+url='https://github.com/kimocoder/wifite2'
arch=('any')
license=('GPL2')
-depends=('python2' 'aircrack-ng')
+depends=('python' 'aircrack-ng' 'iproute2' 'iw')
+makedepends=('python-setuptools')
optdepends=(
- 'reaver: WPS attack support'
+ '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'
- 'wireshark-cli: detect handshakes'
- 'cowpatty: detect WPA handshakes'
'macchanger: change MAC for attacks'
+ 'hashcat: cracking PMKID hashes'
+ 'hcxdumptool: capturing PMKID hashes'
+ 'hcxpcapngtool: converting PMKID packet captures into hashcat format'
)
-makedepends=('git')
-source=(${pkgname}::"git+https://github.com/derv82/wifite#commit=${_gitcommit}")
-sha512sums=('SKIP')
+provides=(wifite2)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('60696146c63febe09b75c962cd27b0b50ae2d5ee8674c6e5a619eb699a41b9c8093973561fcadc1a94a660929532319af918521941cafdf83fcba3b8c6bf8d8f')
+b2sums=('cc6df4b0d65597aed811664f16cafbb53755573c0ce6c530865debfc20e0ae3843fd15a266dd90f98eb25a952d6221c5a74d7efa54527a87e41163e1b36bad4e')
-pkgver() {
- cd ${pkgname}
- printf "%s.r%s.%s" \
- "$(grep 'self.REVISION =' wifite.py|sed -r 's|.*REVISION = ([0-9]+).*|\1|g')" \
- "$(git rev-list --count HEAD)" \
- "$(git rev-parse --short HEAD)"
+prepare() {
+ cd ${pkgname}2-${pkgver}
+ sed 's|sbin|bin|g' -i setup.cfg
}
-prepare() {
- cd ${pkgname}
- sed -e 's|usr/bin/python$|/usr/bin/env python2|g' -i wifite.py
+build() {
+ cd ${pkgname}2-${pkgver}
+ python setup.py build
}
package() {
- cd ${pkgname}
- install -Dm 755 wifite.py "${pkgdir}/usr/bin/${pkgname}"
- install -Dm 644 readme.md "${pkgdir}/usr/share/doc/${pkgname}/README"
+ cd ${pkgname}2-${pkgver}
+ python setup.py install --root="${pkgdir}" -O1 --skip-build
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list