summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2008-03-16 19:27:10 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2008-03-16 19:27:10 +0000
commit2eabc7ebaecde7d8392317cf8077a8f0867a4400 (patch)
tree2c3a9f4976fa410e99f2e7f3a96a5560b38fcc12 /net-wireless
parentamd64 stable, bug #212667 (diff)
downloadgentoo-2-2eabc7ebaecde7d8392317cf8077a8f0867a4400.tar.gz
gentoo-2-2eabc7ebaecde7d8392317cf8077a8f0867a4400.tar.bz2
gentoo-2-2eabc7ebaecde7d8392317cf8077a8f0867a4400.zip
Version bump, bug#209429
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/aircrack-ng/ChangeLog7
-rw-r--r--net-wireless/aircrack-ng/aircrack-ng-0.9.3.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/net-wireless/aircrack-ng/ChangeLog b/net-wireless/aircrack-ng/ChangeLog
index 2f48c4a9ea48..012e9e6e0bd6 100644
--- a/net-wireless/aircrack-ng/ChangeLog
+++ b/net-wireless/aircrack-ng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/aircrack-ng
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.29 2008/02/09 16:32:48 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.30 2008/03/16 19:27:10 alonbl Exp $
+
+*aircrack-ng-0.9.3 (16 Mar 2008)
+
+ 16 Mar 2008; Alon Bar-Lev <alonbl@gentoo.org> +aircrack-ng-0.9.3.ebuild:
+ Version bump, bug#209429
*aircrack-ng-0.9.2 (09 Feb 2008)
diff --git a/net-wireless/aircrack-ng/aircrack-ng-0.9.3.ebuild b/net-wireless/aircrack-ng/aircrack-ng-0.9.3.ebuild
new file mode 100644
index 000000000000..1ef0a7f79079
--- /dev/null
+++ b/net-wireless/aircrack-ng/aircrack-ng-0.9.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-0.9.3.ebuild,v 1.1 2008/03/16 19:27:10 alonbl Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys"
+HOMEPAGE="http://www.aircrack-ng.org"
+SRC_URI="http://download.aircrack-ng.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
+IUSE="wifi"
+
+DEPEND="wifi? ( net-libs/libpcap )"
+
+src_compile() {
+ local target
+ use wifi || target="userland"
+ emake -e CC="$(tc-getCC)" ${target} || die "emake failed"
+}
+
+src_install() {
+ local target
+ use wifi && target="install" || target="install_userland"
+ emake \
+ prefix=/usr \
+ docdir="/usr/share/doc/${PF}" \
+ mandir="/usr/share/man/man1" \
+ destdir="${D}" \
+ ${target} \
+ doc \
+ || die "emake install failed"
+}
+
+src_test() {
+ #./makeivs wep.ivs 11111111111111111111111111 || die 'generating ivs file failed'
+ #./aircrack-ng wep.ivs || die 'cracking WEP key failed'
+
+ # Upstream uses signal in order to quit,
+ # So protect busybox with process group leader.
+ "$(tc-getCC)" -o process-group-leader "${FILESDIR}/process-group-leader.c"
+ ./process-group-leader ./aircrack-ng -w test/password.lst test/wpa.cap || die 'cracking WPA key failed'
+}