[arch-commits] Commit in wifite/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu May 13 13:42:49 UTC 2021
Date: Thursday, May 13, 2021 @ 13:42:49
Author: anthraxx
Revision: 933256
archrelease: copy trunk to community-any
Added:
wifite/repos/community-any/PKGBUILD
(from rev 933255, wifite/trunk/PKGBUILD)
Deleted:
wifite/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 46 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-13 13:42:46 UTC (rev 933255)
+++ PKGBUILD 2021-05-13 13:42:49 UTC (rev 933256)
@@ -1,44 +0,0 @@
-# Maintainer: Levente Polyak <levente[at]leventepolyak[dot]net>
-# Contributor: Fabiano Furtado < fusca14 (at) gmail (dot) com >
-
-pkgname=wifite
-_gitcommit=918a499786afdfefcc9582a29df79d0959294ba2
-pkgver=87.r139.918a499
-pkgrel=3
-epoch=1
-pkgdesc='Tool to attack multiple WEP and WPA encrypted networks at the same time'
-url='https://github.com/derv82/wifite'
-arch=('any')
-license=('GPL2')
-depends=('python2' 'aircrack-ng')
-optdepends=(
- 'reaver: WPS attack support'
- 'pyrit: detect WPA handshakes'
- 'wireshark-cli: detect handshakes'
- 'cowpatty: detect WPA handshakes'
- 'macchanger: change MAC for attacks'
-)
-makedepends=('git')
-source=(${pkgname}::"git+https://github.com/derv82/wifite#commit=${_gitcommit}")
-sha512sums=('SKIP')
-
-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}
- sed -e 's|usr/bin/python$|/usr/bin/env python2|g' -i wifite.py
-}
-
-package() {
- cd ${pkgname}
- install -Dm 755 wifite.py "${pkgdir}/usr/bin/${pkgname}"
- install -Dm 644 readme.md "${pkgdir}/usr/share/doc/${pkgname}/README"
-}
-
-# vim: ts=2 sw=2 et:
Copied: wifite/repos/community-any/PKGBUILD (from rev 933255, wifite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-13 13:42:49 UTC (rev 933256)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <levente[at]leventepolyak[dot]net>
+# Contributor: Fabiano Furtado < fusca14 (at) gmail (dot) com >
+
+pkgname=wifite
+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/kimocoder/wifite2'
+arch=('any')
+license=('GPL2')
+depends=('python' 'aircrack-ng' 'iproute2' 'iw')
+makedepends=('python-setuptools')
+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'
+ 'hcxpcapngtool: converting PMKID packet captures into hashcat format'
+)
+provides=(wifite2)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('60696146c63febe09b75c962cd27b0b50ae2d5ee8674c6e5a619eb699a41b9c8093973561fcadc1a94a660929532319af918521941cafdf83fcba3b8c6bf8d8f')
+b2sums=('cc6df4b0d65597aed811664f16cafbb53755573c0ce6c530865debfc20e0ae3843fd15a266dd90f98eb25a952d6221c5a74d7efa54527a87e41163e1b36bad4e')
+
+prepare() {
+ cd ${pkgname}2-${pkgver}
+ sed 's|sbin|bin|g' -i setup.cfg
+}
+
+build() {
+ cd ${pkgname}2-${pkgver}
+ python setup.py build
+}
+
+package() {
+ 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