summaryrefslogtreecommitdiff
path: root/net-wireless/wifite/wifite-2.85.ebuild
blob: 545d86b2fa8467fde33f1e1bbee56fb22997eb0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 

EAPI=3
PYTHON_DEPEND="2"
#GUI interface is disabled in this version
#PYTHON_USE_WITH="tk"
#PYTHON_USE_WITH_OPT="tk"

inherit python eutils versionator

AVC=( $(get_version_components) )

DESCRIPTION="Mass WEP/WPA cracker"
HOMEPAGE="http://code.google.com/p/wifite/"
SRC_URI="http://wifite.googlecode.com/svn-history/r${AVC[1]}/trunk/wifite.py -> ${P}.py"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="dict extra"

DEPEND=""
RDEPEND="net-wireless/aircrack-ng
	dev-python/pexpect
	dict? ( sys-apps/cracklib-words )
	extra? ( app-crypt/pyrit
		net-wireless/cowpatty
		net-analyzer/macchanger
		net-wireless/reaver )"
#	tk? ( x11-terms/xterm )"

S=${WORKDIR}/${PN}

src_unpack() {
	mkdir "${S}"
	cp "${DISTDIR}"/${A} "${S}/${PN}"
}

src_prepare() {
	epatch "${FILESDIR}"/${PN}-2-noupgrade.patch
}

src_install() {
	dobin wifite
}