diff options
Diffstat (limited to 'net-wireless/wepattack')
-rw-r--r-- | net-wireless/wepattack/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/wepattack/Manifest | 17 | ||||
-rw-r--r-- | net-wireless/wepattack/files/digest-wepattack-0.1.3-r2 | 1 | ||||
-rw-r--r-- | net-wireless/wepattack/files/wepattack.conf | 9 | ||||
-rw-r--r-- | net-wireless/wepattack/wepattack-0.1.3-r2.ebuild | 51 |
5 files changed, 74 insertions, 13 deletions
diff --git a/net-wireless/wepattack/ChangeLog b/net-wireless/wepattack/ChangeLog index ff70131c6909..8e234d6262c0 100644 --- a/net-wireless/wepattack/ChangeLog +++ b/net-wireless/wepattack/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/wepattack # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepattack/ChangeLog,v 1.7 2005/01/29 21:29:38 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepattack/ChangeLog,v 1.8 2005/06/22 00:04:19 vanquirius Exp $ + +*wepattack-0.1.3-r2 (22 Jun 2005) + + 22 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> +files/wepattack.conf, + +wepattack-0.1.3-r2.ebuild: + Add john use flag, wepattack.conf. Fixes bug 95577. Thanks to Christoph + Brill (egore) <egore@gmx.de>. 30 Jan 2005; Daniel Black <dragonheart@gentoo.org> wepattack-0.1.3-r1.ebuild: diff --git a/net-wireless/wepattack/Manifest b/net-wireless/wepattack/Manifest index 85fa4f8fd9b4..427529f729f2 100644 --- a/net-wireless/wepattack/Manifest +++ b/net-wireless/wepattack/Manifest @@ -1,15 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 75f88102dcc1006aeccaa819ca2b427b wepattack-0.1.3-r2.ebuild 1194 +MD5 5ae8c255aebfc2bfb60c4aa8ca7ff3f9 wepattack-0.1.3-r1.ebuild 934 MD5 37364d046c5c2b7c3cccb03254900c4b ChangeLog 906 MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159 -MD5 5ae8c255aebfc2bfb60c4aa8ca7ff3f9 wepattack-0.1.3-r1.ebuild 934 -MD5 46d3b9bf8bab3e3f016e78c09ebbcc1e files/0.1.3-filter-mac-address.patch 7383 MD5 7e61130e0f881e4c28c41b7fff3bd93a files/digest-wepattack-0.1.3-r1 66 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFB/ABImdTrptrqvGERAqncAJ4ni6LzVZvxzVFl/M0WFJQ3PeGoCQCfeRRA -sN2IOW6TStV2fSy8fAp/rNI= -=sX5V ------END PGP SIGNATURE----- +MD5 7e61130e0f881e4c28c41b7fff3bd93a files/digest-wepattack-0.1.3-r2 66 +MD5 74483a3cf8ade5b8300a276d265016ae files/wepattack.conf 181 +MD5 46d3b9bf8bab3e3f016e78c09ebbcc1e files/0.1.3-filter-mac-address.patch 7383 diff --git a/net-wireless/wepattack/files/digest-wepattack-0.1.3-r2 b/net-wireless/wepattack/files/digest-wepattack-0.1.3-r2 new file mode 100644 index 000000000000..4b33aff94895 --- /dev/null +++ b/net-wireless/wepattack/files/digest-wepattack-0.1.3-r2 @@ -0,0 +1 @@ +MD5 be5a77902c992096dd95069bdade343b WepAttack-0.1.3.tar.gz 25063 diff --git a/net-wireless/wepattack/files/wepattack.conf b/net-wireless/wepattack/files/wepattack.conf new file mode 100644 index 000000000000..2eb627da06c5 --- /dev/null +++ b/net-wireless/wepattack/files/wepattack.conf @@ -0,0 +1,9 @@ +# /etc/wepattack.conf +# +# Configuration for WEPATTACK +# Dominik Blunk and Alain Girardet and Christoph Brill +# 08-06-2005 +# + +JOHNDIR=/usr/sbin +WORDLIST=/usr/share/john/password.lst diff --git a/net-wireless/wepattack/wepattack-0.1.3-r2.ebuild b/net-wireless/wepattack/wepattack-0.1.3-r2.ebuild new file mode 100644 index 000000000000..1ca7f0d1e6ed --- /dev/null +++ b/net-wireless/wepattack/wepattack-0.1.3-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepattack/wepattack-0.1.3-r2.ebuild,v 1.1 2005/06/22 00:04:19 vanquirius Exp $ + +inherit eutils + +MY_P="WepAttack-${PV}" +DESCRIPTION="WLAN tool for breaking 802.11 WEP keys" +HOMEPAGE="http://wepattack.sourceforge.net/" +SRC_URI="mirror://sourceforge/wepattack/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="john" + +DEPEND="sys-libs/zlib + virtual/libpcap + dev-libs/openssl + john? (app-crypt/johntheripper)" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-filter-mac-address.patch + chmod +x src/wlan + sed -i \ + -e "/^CFLAGS=/s:=:=${CFLAGS} :" \ + -e 's:-fno-for-scope::g' \ + src/Makefile || die "sed Makefile failed" + sed -i \ + -e "s/wordfile:/-wordlist=/" \ + run/wepattack_word || die "sed wepattack_world faild" +} + +src_compile() { + cd src + emake || die "emake failed" +} + +src_install() { + dobin src/wepattack || die "dobin failed" + if use john; then + dosbin run/wepattack_{inc,word} || die "dosbin failed" + insinto /etc + doins ${FILESDIR}/wepattack.conf + fi + dodoc README +} |