From e7ef4d5ac765cc60bc7ac1ad9c8fa9b1c509277a Mon Sep 17 00:00:00 2001 From: Raphaël Marichez Date: Mon, 26 May 2008 17:56:14 +0200 Subject: aircrack-ng-1.0_beta2 for testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Marichez --- net-wireless/aircrack-ng/ChangeLog | 143 +++++++++++++++++++++ net-wireless/aircrack-ng/Manifest | 11 ++ net-wireless/aircrack-ng/aircrack-ng-0.9.1.ebuild | 45 +++++++ net-wireless/aircrack-ng/aircrack-ng-0.9.2.ebuild | 45 +++++++ net-wireless/aircrack-ng/aircrack-ng-0.9.3.ebuild | 45 +++++++ .../aircrack-ng/aircrack-ng-1.0_beta2.ebuild | 55 ++++++++ .../aircrack-ng/files/process-group-leader.c | 26 ++++ net-wireless/aircrack-ng/metadata.xml | 18 +++ 8 files changed, 388 insertions(+) create mode 100644 net-wireless/aircrack-ng/ChangeLog create mode 100644 net-wireless/aircrack-ng/Manifest create mode 100644 net-wireless/aircrack-ng/aircrack-ng-0.9.1.ebuild create mode 100644 net-wireless/aircrack-ng/aircrack-ng-0.9.2.ebuild create mode 100644 net-wireless/aircrack-ng/aircrack-ng-0.9.3.ebuild create mode 100644 net-wireless/aircrack-ng/aircrack-ng-1.0_beta2.ebuild create mode 100644 net-wireless/aircrack-ng/files/process-group-leader.c create mode 100644 net-wireless/aircrack-ng/metadata.xml diff --git a/net-wireless/aircrack-ng/ChangeLog b/net-wireless/aircrack-ng/ChangeLog new file mode 100644 index 0000000..0b916fa --- /dev/null +++ b/net-wireless/aircrack-ng/ChangeLog @@ -0,0 +1,143 @@ +# 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.30 2008/03/16 19:27:10 alonbl Exp $ + + 26 May 2008; Raphael Marichez ChangeLog: + Beta version, testing only + +*aircrack-ng-0.9.3 (16 Mar 2008) + + 16 Mar 2008; Alon Bar-Lev +aircrack-ng-0.9.3.ebuild: + Version bump, bug#209429 + +*aircrack-ng-0.9.2 (09 Feb 2008) + + 09 Feb 2008; Alon Bar-Lev -aircrack-ng-0.9.ebuild, + +aircrack-ng-0.9.2.ebuild: + Version bump, bug#209429 + + 06 Aug 2007; Raúl Porcel aircrack-ng-0.9.1.ebuild: + x86 stable + +*aircrack-ng-0.9.1 (05 Jul 2007) + + 05 Jul 2007; Alon Bar-Lev +aircrack-ng-0.9.1.ebuild: + Version bump, bug#184285, cleanup. + + 21 Jun 2007; Raúl Porcel aircrack-ng-0.9.ebuild: + x86 stable + + 07 Jun 2007; Raúl Porcel aircrack-ng-0.8.ebuild: + x86 stable + +*aircrack-ng-0.9 (14 May 2007) + + 14 May 2007; Alon Bar-Lev +aircrack-ng-0.9.ebuild: + Version bump + +*aircrack-ng-0.8 (03 May 2007) + + 03 May 2007; Alon Bar-Lev +aircrack-ng-0.8.ebuild: + Version bump, bug#176933 + + 13 Apr 2007; Raúl Porcel aircrack-ng-0.7-r2.ebuild: + x86 stable wrt security bug 174340 + +*aircrack-ng-0.7-r2 (13 Apr 2007) + + 13 Apr 2007; Alon Bar-Lev + +files/aircrack-ng-0.7-security.patch, +aircrack-ng-0.7-r2.ebuild: + Added security patch, downgrade from upstream, bug#174340 + + 18 Mar 2007; Peter Weller aircrack-ng-0.7-r1.ebuild: + Keyworded ~x86-fbsd wrt bug 171217 + + 17 Mar 2007; Alon Bar-Lev + files/process-group-leader.c, aircrack-ng-0.7-r1.ebuild: + x86-fbsd fixups, bug#171217, Thanks to ebfe + + 16 Mar 2007; Alon Bar-Lev -aircrack-ng-0.6.2.ebuild, + -aircrack-ng-0.7.ebuild: + Cleanup + + 16 Mar 2007; Raúl Porcel aircrack-ng-0.7-r1.ebuild: + Err, stabilize -r1 this time, bug 171188 + + 16 Mar 2007; Raúl Porcel aircrack-ng-0.7.ebuild: + x86 stable wrt bug 171188 + +*aircrack-ng-0.7-r1 (12 Mar 2007) + + 12 Mar 2007; Alon Bar-Lev + +files/aircrack-ng-0.7-make.patch, +aircrack-ng-0.7-r1.ebuild: + Added userland only support, bug#170404, thanks to ebfe + +*aircrack-ng-0.7 (22 Jan 2007) + + 22 Jan 2007; Alon Bar-Lev +aircrack-ng-0.7.ebuild: + Version bump, closes bug#163175, thanks to Maxxer + + 02 Nov 2006; Alon Bar-Lev -aircrack-ng-0.5-r1.ebuild, + -aircrack-ng-0.6.ebuild, -aircrack-ng-0.6.1.ebuild: + Cleanup old versions + + 01 Nov 2006; Chris Gianelloni + aircrack-ng-0.6.2.ebuild: + Stable on x86 wrt bug #148913. + + 30 Oct 2006; Alon Bar-Lev + +files/process-group-leader.c, aircrack-ng-0.5-r1.ebuild, + aircrack-ng-0.6.ebuild, aircrack-ng-0.6.1.ebuild, + aircrack-ng-0.6.2.ebuild: + Replace interactive shell with simple C program, since interactive shell is + not always interactive (bug#148913) + + 23 Oct 2006; Alon Bar-Lev aircrack-ng-0.5-r1.ebuild, + aircrack-ng-0.6.ebuild, aircrack-ng-0.6.1.ebuild, + aircrack-ng-0.6.2.ebuild: + Modify test to be protected by interactive shell, so signal will not be + catched by sandbox, closes bug#138362 + +*aircrack-ng-0.6.2 (01 Oct 2006) + + 01 Oct 2006; Stefan Schweizer + +aircrack-ng-0.6.2.ebuild: + version bump thanks to ChazeFroy in bug 149783 + +*aircrack-ng-0.6.1 (23 Sep 2006) + + 23 Sep 2006; Stefan Schweizer + +aircrack-ng-0.6.1.ebuild: + version bump thanks to David Li in bug 148003 + + 06 Jul 2006; Joshua Jackson aircrack-ng-0.5-r1.ebuild: + Stable x86; bug #138749 + +*aircrack-ng-0.6 (01 Jul 2006) + + 01 Jul 2006; Marcelo Goes -aircrack-ng-0.4.ebuild, + +aircrack-ng-0.6.ebuild: + 0.6 version bump for bug 137838. Thanks to ChazeFroy . + +*aircrack-ng-0.5-r1 (25 May 2006) + + 25 May 2006; Marcelo Goes + +aircrack-ng-0.5-r1.ebuild: + 0.5-r1 version bump for bug 133373. Thanks to cygeus . + + 27 Apr 2006; Alec Warner Manifest: + Fixing SHA256 digest, pass four + + 24 Apr 2006; Joseph Jezak aircrack-ng-0.4.ebuild: + Marked ~ppc for bug #127210. + + 19 Apr 2006; Daniel Gryniewicz aircrack-ng-0.4.ebuild: + mark ~amd64 per bug# 127210 + +*aircrack-ng-0.4 (18 Apr 2006) + + 18 Apr 2006; Marcelo Goes +metadata.xml, + +aircrack-ng-0.4.ebuild: + Initial commit for bug 127210. Thanks to . + diff --git a/net-wireless/aircrack-ng/Manifest b/net-wireless/aircrack-ng/Manifest new file mode 100644 index 0000000..7535f2f --- /dev/null +++ b/net-wireless/aircrack-ng/Manifest @@ -0,0 +1,11 @@ +AUX process-group-leader.c 373 RMD160 2ce7341f5a58d2223590f1edfbcd1230a909024b SHA1 4653e2329b901dbb96f1380b478ea1de63d2a08b SHA256 153666625e942384648dafedbc8f37577fdf6a24060b04237913fd7f693f7bf7 +DIST aircrack-ng-0.9.1.tar.gz 606371 RMD160 8984ee340b22a3bc4ec89cc72f12948061c5b14a SHA1 e0329ab151ed0da23f4ec5ee269dc25f1654765b SHA256 dd76f20083aca758c71ce8b7d9f0a4c0042b9720d508e48339bf0949fad5300c +DIST aircrack-ng-0.9.2.tar.gz 840118 RMD160 b37ef5ea8892f876a596998ec36967ce6aea0d36 SHA1 ab2c924ca839cf694d622f0774c430010c8ab0a3 SHA256 a8f60982a8a630fc788e6161b1634249aba747c35573bf9f3166261219467b24 +DIST aircrack-ng-0.9.3.tar.gz 1031441 RMD160 29c7d454da26167fb24e5a0f2b6eeeddc98e697d SHA1 b2f671324d056408b83d32eb1ab6061b7fa87ac5 SHA256 71bca53eae0261d5bdd72e4363f43f5a6e40b2375dc4852a4029a061c789da58 +DIST aircrack-ng-1.0-beta2.tar.gz 967590 RMD160 aad1a10f2a878ee8db97f98f8fea9a3e9ec99e53 SHA1 fd74bd223251f8adef1bc6e1a855f8ce51dd5f66 SHA256 1a585ac325261f1579b41ef48dfe442b509e7fd988fb0e55dcae1b3619cedf97 +EBUILD aircrack-ng-0.9.1.ebuild 1332 RMD160 8a19d56ddc43d89c477b5487ba0663cfd7ec74ee SHA1 ff2e4082ba8331872fb7b32730862c681dd3ee35 SHA256 bdaace5a044fe9a9eef2b7ea736987ef38fd54fd628c98bf85a471835143056b +EBUILD aircrack-ng-0.9.2.ebuild 1334 RMD160 4bb48d32c077e84aeafef541cdcf878bc14d034c SHA1 c94bff918f2f86c3a6fb2b4ba14a93c383db6d7a SHA256 258af587449a0c68b3391fdad3331f2ce414e2fe858bc2ff4f486a97d4d26c9f +EBUILD aircrack-ng-0.9.3.ebuild 1334 RMD160 11f83e98de51489be50cfc5d4dc5c0554762cc4e SHA1 abb3f7d7623f3d4b82e7919b75d529a867b1ae59 SHA256 7a986e353db1725db66c9f9489a655175fa70212dd8846d9c08982cf5f1a4a8f +EBUILD aircrack-ng-1.0_beta2.ebuild 1525 RMD160 63ad94e68764d2ecf753145c3073ec0c65ee5587 SHA1 0e19052d9258ec826ffb252fd192252e70af4905 SHA256 a7b477654fc79bf9f7491b2788028f68b8050ef16589c13b65f4559712c28359 +MISC ChangeLog 4729 RMD160 456c6b4ec031cc26eb2dca23798688bcc74fc5e9 SHA1 e8105bb966bad61c419db7affe4a319c50dac1ed SHA256 3d414ba5abf3e117d732577116ebdf9a439f6316f3814f6ef9be2c41771f32a9 +MISC metadata.xml 545 RMD160 74b28f94434b9af081b71806679b128b42cb8068 SHA1 b9b41decbf07297e72c3f682be1c13415df1f402 SHA256 af8903a9f2e95968febae6760b251c2145e3a26569f71ff64266ae2b4fcbbb2a diff --git a/net-wireless/aircrack-ng/aircrack-ng-0.9.1.ebuild b/net-wireless/aircrack-ng/aircrack-ng-0.9.1.ebuild new file mode 100644 index 0000000..d28adaa --- /dev/null +++ b/net-wireless/aircrack-ng/aircrack-ng-0.9.1.ebuild @@ -0,0 +1,45 @@ +# 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.1.ebuild,v 1.3 2007/08/25 14:35:55 vapier 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' +} diff --git a/net-wireless/aircrack-ng/aircrack-ng-0.9.2.ebuild b/net-wireless/aircrack-ng/aircrack-ng-0.9.2.ebuild new file mode 100644 index 0000000..68e776c --- /dev/null +++ b/net-wireless/aircrack-ng/aircrack-ng-0.9.2.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.2.ebuild,v 1.1 2008/02/09 16:32:48 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' +} 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 0000000..1ef0a7f --- /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' +} diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.0_beta2.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.0_beta2.ebuild new file mode 100644 index 0000000..4bb4ba8 --- /dev/null +++ b/net-wireless/aircrack-ng/aircrack-ng-1.0_beta2.ebuild @@ -0,0 +1,55 @@ +# 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" +MY_P="${P/_/-}" +SRC_URI="http://download.aircrack-ng.org/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd" +IUSE="wifi" + +DEPEND="wifi? ( net-libs/libpcap )" + +src_unpack() { + unpack ${A} + echo "${WORKDIR}///${MY_P}" + cd "${WORKDIR}/${MY_P}" || die + pwd +} + +src_compile() { + local target + use wifi || target="userland" + cd "${WORKDIR}/${MY_P}" || die + emake CC="$(tc-getCC)" ${target} || die "emake failed" +} + +src_install() { + local target + use wifi && target="install" || target="install_userland" + cd "${WORKDIR}/${MY_P}" || die + emake \ + prefix="${D}"/usr \ + docdir="${D}/usr/share/doc/${PF}" \ + mandir="${D}/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/process-group-leader.c b/net-wireless/aircrack-ng/files/process-group-leader.c new file mode 100644 index 0000000..4abdccc --- /dev/null +++ b/net-wireless/aircrack-ng/files/process-group-leader.c @@ -0,0 +1,26 @@ +#include +#include +#include +#include + +int main (int argc, char *argv[]) { + pid_t pid; + + signal (SIGQUIT, SIG_IGN); + signal (SIGTERM, SIG_IGN); + setpgid (0, 0); + + pid=fork (); + if (pid == 0) { + int status; + wait (&status); + exit (WEXITSTATUS(status)); + } + else { + execv (argv[1], &argv[1]); + exit (1); + } + + return 0; +} + diff --git a/net-wireless/aircrack-ng/metadata.xml b/net-wireless/aircrack-ng/metadata.xml new file mode 100644 index 0000000..74485c6 --- /dev/null +++ b/net-wireless/aircrack-ng/metadata.xml @@ -0,0 +1,18 @@ + + + +netmon + + netmon@gentoo.org + Netmon herd + + + crypto@gentoo.org + Crypto herd + + +aircrack is a set of tools for auditing wireless networks. +aircrack-ng is the next generation of aircrack with lots of new features. +(from http://www.aircrack-ng.org) + + -- cgit v1.2.3-65-gdbad