summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-05-03 20:53:41 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-05-03 20:53:41 +0000
commitc28d28f129d57835deb971843f99e94be3230b18 (patch)
tree8caf49261f0f70fae76c0eca0c45e560dbd73dd9 /net-wireless/aircrack-ng
parentversion bump for bug fixes (diff)
downloadgentoo-2-c28d28f129d57835deb971843f99e94be3230b18.tar.gz
gentoo-2-c28d28f129d57835deb971843f99e94be3230b18.tar.bz2
gentoo-2-c28d28f129d57835deb971843f99e94be3230b18.zip
Version bump, bug#176933
(Portage version: 2.1.2.5)
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.8.ebuild46
-rw-r--r--net-wireless/aircrack-ng/files/digest-aircrack-ng-0.83
3 files changed, 55 insertions, 1 deletions
diff --git a/net-wireless/aircrack-ng/ChangeLog b/net-wireless/aircrack-ng/ChangeLog
index e83b8b8b6eb9..6dfe8107aad9 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.22 2007/04/13 21:22:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.23 2007/05/03 20:53:41 alonbl Exp $
+
+*aircrack-ng-0.8 (03 May 2007)
+
+ 03 May 2007; Alon Bar-Lev <alonbl@gentoo.org> +aircrack-ng-0.8.ebuild:
+ Version bump, bug#176933
13 Apr 2007; Raúl Porcel <armin76@gentoo.org> aircrack-ng-0.7-r2.ebuild:
x86 stable wrt security bug 174340
diff --git a/net-wireless/aircrack-ng/aircrack-ng-0.8.ebuild b/net-wireless/aircrack-ng/aircrack-ng-0.8.ebuild
new file mode 100644
index 000000000000..df5959c356fb
--- /dev/null
+++ b/net-wireless/aircrack-ng/aircrack-ng-0.8.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.8.ebuild,v 1.1 2007/05/03 20:53:41 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.8 b/net-wireless/aircrack-ng/files/digest-aircrack-ng-0.8
new file mode 100644
index 000000000000..0e44d21b22a0
--- /dev/null
+++ b/net-wireless/aircrack-ng/files/digest-aircrack-ng-0.8
@@ -0,0 +1,3 @@
+MD5 d21ea65caac6c9b47bd058c4e7032292 aircrack-ng-0.8.tar.gz 352025
+RMD160 d4a2c3ba173475f3d31883c0abf8c7729b7e18ab aircrack-ng-0.8.tar.gz 352025
+SHA256 6c18c8e55310989d838983530bad0f31bd1a0377e88fda33b47abd547876a955 aircrack-ng-0.8.tar.gz 352025