diff options
author | Kr1ss | 2020-09-10 18:35:42 +0200 |
---|---|---|
committer | Kr1ss | 2020-09-10 18:35:42 +0200 |
commit | 3e4e5ae594d9c7050c359a2d56ff3aa4710159a8 (patch) | |
tree | c3bd69c820573b942f977a4d7776b659ecd39492 | |
parent | d7bc7ac395c5d78b69acdd20c0a964b01ada285f (diff) | |
download | aur-3e4e5ae594d9c7050c359a2d56ff3aa4710159a8.tar.gz |
introduce epoch (upstream regression), new optdeps
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 11 insertions, 3 deletions
@@ -1,7 +1,8 @@ pkgbase = fluxion-git pkgdesc = Security auditing and social-engineering research tool - pkgver = 4.10.r198.5b0ef2b + pkgver = 4.10.r192.098715f pkgrel = 1 + epoch = 1 url = https://fluxionnetwork.github.io/fluxion-git install = fluxion.install arch = any @@ -27,6 +28,8 @@ pkgbase = fluxion-git depends = cowpatty depends = mdk3 depends = mdk4 + optdepends = python: deauth-ng + optdepends = python-pyric: deauth-ng provides = fluxion conflicts = fluxion options = zipman @@ -3,8 +3,9 @@ pkgname=fluxion-git +epoch=1 pkgver() { git -C "${pkgname%-git}" describe --tags | sed 's/^v//;s/-/.r/;s/-g/./'; } -pkgver=4.10.r198.5b0ef2b +pkgver=4.10.r192.098715f pkgrel=1 pkgdesc='Security auditing and social-engineering research tool' @@ -14,6 +15,8 @@ license=('GPL3') makedepends=('git') depends=('bc' 'xterm' 'unzip' 'p7zip' 'openssl' 'net-tools' 'php-cgi' 'curl' 'dhcp' 'hostapd' 'lighttpd' 'iw' 'wireless_tools' 'nmap' 'dsniff' 'macchanger' 'aircrack-ng' 'cowpatty' 'mdk3' 'mdk4') +optdepends=('python: deauth-ng' + 'python-pyric: deauth-ng') conflicts=("${pkgname%-git}") provides=("${pkgname%-git}") @@ -25,11 +28,13 @@ sha256sums=('SKIP') options=('zipman') +prepare() { sed -i 1s/python2/python/ "${pkgname%-git}/attacks/Captive Portal/deauth-ng.py"; } + package() { cd "${pkgname%-git}" install -Dm755 "${pkgname%-git}.sh" -t"$pkgdir/usr/share/${pkgname%-git}/" - cp -a --no-preserve=ownership attacks language lib logos misc scripts preferences "$pkgdir/usr/share/${pkgname%-git}" + cp -a --no-preserve=o attacks language lib logos misc preferences scripts "$pkgdir/usr/share/${pkgname%-git}/" install -Dm755 /dev/stdin "$pkgdir/usr/bin/${pkgname%-git}" <<-EOF #!/bin/sh |