summaryrefslogtreecommitdiff
path: root/net-wireless/cowpatty/cowpatty-4.3-r2.ebuild
blob: c60c83021efc3fc611b7324e9fa45e0915b95eb3 (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/Cowpatty.html"
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.3-fixup2.patch
	epatch "${FILESDIR}"/cowpatty-4.3-hashfix.patch
	emake -j1 || die "emake failed"
}

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