summaryrefslogtreecommitdiff
path: root/net-wireless/cowpatty/cowpatty-4.6-r4.ebuild
blob: 7beab82ed7be019f2fdd63947655b1e8c1515fe6 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="WLAN tools for bruteforcing 802.11 WPA/WPA2 keys"
HOMEPAGE="http://www.willhackforsushi.com/?page_id=50"
SRC_URI="http://www.willhackforsushi.com/code/${PN}/${PV}/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND="dev-libs/openssl
	net-libs/libpcap"
RDEPEND="${DEPEND}"

src_compile() {
	epatch "${FILESDIR}"/cowpatty-4.6-fixup14.patch
	emake -j1 || die "emake failed"
}

src_install() {
	dobin cowpatty genpmk  || die "dobin failed"
	dodoc AUTHORS CHANGELOG FAQ INSTALL README TODO dict *.dump
}