mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
wifite: cleaner ebuild, WIP https://github.com/derv82/wifite2/issues/102
This commit is contained in:
parent
e84ed0c710
commit
faf964e5ee
4 changed files with 60 additions and 16 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST wifite-2.0.89.tar.gz 34201 BLAKE2B e81469c8eaedaa381284566ec94ede9b50ee357f6a55fdf73f0923aafeccd8b24091010efb7c3ae511c17b69683b94dbab1e3dfd2c9275b9540173e9d5387e34 SHA512 fc52fd51b16e9caeae3a71f1a3d3c5ec38f5e19193106acd0acd57a7e8808f692c143a7c4ce82792561a4400320f996ef93fe283540c9c4ead1f483cb0c5a12c
|
||||
DIST wifite-2.1.6.zip 680857 BLAKE2B fb0d14e394705759eb898c8eb6cf4def5ff241dc7a9bddff6305978ab3eaa543c9e4b14fbcbce809d7fd609ae4e534ffb16345be0b71a3699fc8481f9ecfe783 SHA512 24806fafffd5534e32ac38bba4e87a5677a54efa62b85af8fb67d78bc2b77c925d9ff12d9bb14a4603b03ed9f8c3feebe1c02091048485784c4360f6e19552e3
|
||||
DIST wifite-2.1.6_p20180820.zip 714521 BLAKE2B 81c21ed99c368a80819457c09eb89f181e50f279e33f43696a43b2af778c5a7d0f3dcc0913eea297b8f064cd46ab70d18f01ea3961164af3a2ea623946e77e43 SHA512 9c7b26bf2c5785afa16c93bcfd8f6733966d8f22bfeaa080564877aafe9d8a59a79707ac98e240784068e84b60bf5f1280776b565fee203f5f8f0a37cf337637
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
wifite-9999.ebuild
|
||||
56
net-wireless/wifite/wifite-2.1.6.ebuild
Normal file
56
net-wireless/wifite/wifite-2.1.6.ebuild
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
inherit python-r1
|
||||
|
||||
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"
|
||||
# S="${WORKDIR}/${MY_P}"
|
||||
MY_COMMIT="f24ec55999e78a6f1de543d8d75a8cd65a4676cf"
|
||||
SRC_URI="https://github.com/derv82/wifite2/archive/${MY_COMMIT}.zip -> ${P}.zip"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
S="${WORKDIR}/${PN}2-${MY_COMMIT}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An automated wireless attack tool"
|
||||
HOMEPAGE="https://github.com/derv82/wifite2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
IUSE="dict extra"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="net-wireless/aircrack-ng
|
||||
dev-python/pexpect
|
||||
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
|
||||
net-analyzer/macchanger
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
#make a module
|
||||
sed -e 's|from .|from wifite.|' -i wifite/wifite.py || die "sed failed"
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_moduleinto .
|
||||
python_foreach_impl python_domodule wifite
|
||||
newsbin wifite/wifite.py wifite
|
||||
dodoc README.md LICENSE
|
||||
}
|
||||
1
net-wireless/wifite/wifite-2.1.6_p20180820.ebuild
Symbolic link
1
net-wireless/wifite/wifite-2.1.6_p20180820.ebuild
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
wifite-9999.ebuild
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
inherit python-r1
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="${PN}2-${PV}"
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]]; then
|
|||
else
|
||||
# SRC_URI="https://github.com/derv82/wifite2/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
# S="${WORKDIR}/${MY_P}"
|
||||
MY_COMMIT="f24ec55999e78a6f1de543d8d75a8cd65a4676cf"
|
||||
MY_COMMIT="8b786b70b0acf763c896677a23aab8e2310a4462"
|
||||
SRC_URI="https://github.com/derv82/wifite2/archive/${MY_COMMIT}.zip -> ${P}.zip"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
|
@ -41,16 +41,3 @@ RDEPEND="net-wireless/aircrack-ng
|
|||
net-wireless/pyrit
|
||||
net-analyzer/macchanger
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
#make a module
|
||||
sed -e 's|from .|from wifite.|' -i wifite/wifite.py || die "sed failed"
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_moduleinto .
|
||||
python_foreach_impl python_domodule wifite
|
||||
newsbin wifite/wifite.py wifite
|
||||
dodoc README.md LICENSE
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue