wifite: dropped opencl from x86, needed opencl flag here for optional deps

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-03-20 13:50:24 -04:00
parent 4b5dfae98d
commit 558e200a27
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A
4 changed files with 5 additions and 42 deletions

View file

@ -1,36 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
DESCRIPTION="An automated wireless attack tool"
HOMEPAGE="https://github.com/derv82/wifite"
SRC_URI="https://github.com/derv82/wifite/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dict extra"
DEPEND=""
RDEPEND="net-wireless/aircrack-ng
dev-python/pexpect
dict? ( sys-apps/cracklib-words )
extra? ( net-wireless/pyrit
net-wireless/cowpatty
net-analyzer/macchanger
net-wireless/reaver-wps-fork-t6x
!net-wireless/reaver
)"
src_prepare() {
python_fix_shebang .
eapply_user
}
src_install() {
newsbin wifite.py wifite
}

View file

@ -1 +0,0 @@
./wifite-9999.ebuild

View file

@ -11,7 +11,6 @@ MY_P="${PN}2-${PV}"
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/derv82/wifite2.git"
KEYWORDS=""
else
SRC_URI="https://github.com/derv82/wifite2/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
@ -23,20 +22,21 @@ HOMEPAGE="https://github.com/derv82/wifite2"
LICENSE="GPL-2"
SLOT="2"
IUSE="dict extra"
IUSE="dict opencl extra"
DEPEND=""
RDEPEND="net-wireless/aircrack-ng
RDEPEND=""
PDEPEND="net-wireless/aircrack-ng
dev-python/pexpect
net-wireless/hcxdumptool
net-wireless/hcxtools
app-crypt/hashcat
opencl? ( app-crypt/hashcat )
dict? ( sys-apps/cracklib-words )
extra? ( net-analyzer/wireshark
net-wireless/reaver-wps-fork-t6x
!net-wireless/reaver
net-wireless/bully
net-wireless/cowpatty
net-wireless/pyrit
opencl? ( net-wireless/pyrit )
net-analyzer/macchanger
)"