summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-05-14 15:07:33 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-05-14 15:07:33 +0000
commit04aadd3e5dd3fcdeb7d8aad2ee8331632663a8be (patch)
treea43fd8032f0c1cef6feca1ac2d8c2a3eb35079f0 /net-wireless/aircrack-ng
parentadd ** to package.keywords when trying to get the latest crazy version of som... (diff)
downloadgentoo-2-04aadd3e5dd3fcdeb7d8aad2ee8331632663a8be.tar.gz
gentoo-2-04aadd3e5dd3fcdeb7d8aad2ee8331632663a8be.tar.bz2
gentoo-2-04aadd3e5dd3fcdeb7d8aad2ee8331632663a8be.zip
Version bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-wireless/aircrack-ng')
-rw-r--r--net-wireless/aircrack-ng/ChangeLog7
-rw-r--r--net-wireless/aircrack-ng/aircrack-ng-0.9.ebuild46
-rw-r--r--net-wireless/aircrack-ng/files/digest-aircrack-ng-0.93
3 files changed, 55 insertions, 1 deletions
diff --git a/net-wireless/aircrack-ng/ChangeLog b/net-wireless/aircrack-ng/ChangeLog
index 6dfe8107aad9..10298ca7323f 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.23 2007/05/03 20:53:41 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.24 2007/05/14 15:07:33 alonbl Exp $
+
+*aircrack-ng-0.9 (14 May 2007)
+
+ 14 May 2007; Alon Bar-Lev <alonbl@gentoo.org> +aircrack-ng-0.9.ebuild:
+ Version bump
*aircrack-ng-0.8 (03 May 2007)
diff --git a/net-wireless/aircrack-ng/aircrack-ng-0.9.ebuild b/net-wireless/aircrack-ng/aircrack-ng-0.9.ebuild
new file mode 100644
index 000000000000..d0acfec23745
--- /dev/null
+++ b/net-wireless/aircrack-ng/aircrack-ng-0.9.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 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.ebuild,v 1.1 2007/05/14 15:07:33 alonbl Exp $
+
+inherit toolchain-funcs eutils
+
+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 ~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'
+}
+
diff --git a/net-wireless/aircrack-ng/files/digest-aircrack-ng-0.9 b/net-wireless/aircrack-ng/files/digest-aircrack-ng-0.9
new file mode 100644
index 000000000000..45737505d36c
--- /dev/null
+++ b/net-wireless/aircrack-ng/files/digest-aircrack-ng-0.9
@@ -0,0 +1,3 @@
+MD5 0fbf52827132d2996fc64afaef19cf68 aircrack-ng-0.9.tar.gz 370954
+RMD160 71fe5b91764b5541ea83f761701aef657bafcdd7 aircrack-ng-0.9.tar.gz 370954
+SHA256 64a9815f2897c5f4c544ece5357acb569770e125493793f59b7d8f208415dba7 aircrack-ng-0.9.tar.gz 370954