summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/aircrack')
-rw-r--r--net-wireless/aircrack/ChangeLog8
-rw-r--r--net-wireless/aircrack/Manifest15
-rw-r--r--net-wireless/aircrack/aircrack-2.1-r1.ebuild33
-rw-r--r--net-wireless/aircrack/files/aircrack-2.1-amd64.patch16
-rw-r--r--net-wireless/aircrack/files/digest-aircrack-2.1-r11
5 files changed, 61 insertions, 12 deletions
diff --git a/net-wireless/aircrack/ChangeLog b/net-wireless/aircrack/ChangeLog
index 8d309fdae7ab..f385060ff9f6 100644
--- a/net-wireless/aircrack/ChangeLog
+++ b/net-wireless/aircrack/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/aircrack
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack/ChangeLog,v 1.2 2005/01/29 21:27:40 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack/ChangeLog,v 1.3 2005/04/25 01:47:57 vanquirius Exp $
+
+*aircrack-2.1-r1 (24 Apr 2005)
+
+ 24 Apr 2005; Marcelo Goes <vanquirius@gentoo.org>
+ +files/aircrack-2.1-amd64.patch, +aircrack-2.1-r1.ebuild:
+ Use patch for amd64.
30 Jan 2005; Daniel Black <dragonheart@gentoo.org> aircrack-2.1.ebuild:
Transition dependancy from net-libs/libpcap to virtual/libpcap
diff --git a/net-wireless/aircrack/Manifest b/net-wireless/aircrack/Manifest
index b4a8b631ae0a..2897dda07040 100644
--- a/net-wireless/aircrack/Manifest
+++ b/net-wireless/aircrack/Manifest
@@ -1,14 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 8904d58903dd330a6c312ea33af3271f aircrack-2.1.ebuild 699
-MD5 30ce62b2f7c51e6a3882a314a996de7f metadata.xml 704
+MD5 a58004fa02b8a77e034d12feccabf625 aircrack-2.1-r1.ebuild 783
MD5 edf9fcc4c522445a3bf8e07b235e1065 ChangeLog 553
+MD5 30ce62b2f7c51e6a3882a314a996de7f metadata.xml 704
+MD5 1139ac6f8638d27659d7edc2af1eede2 files/digest-aircrack-2.1-r1 61
+MD5 aab732e55b4c35b04de051d63366656a files/aircrack-2.1-amd64.patch 427
MD5 1139ac6f8638d27659d7edc2af1eede2 files/digest-aircrack-2.1 61
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFB+//SmdTrptrqvGERAijyAJ9PGRNaIZJ1zJmxWKlijQPsGVfuswCfZxbb
-eL/0sJcl2ctZTiF+qqHIX0E=
-=/61P
------END PGP SIGNATURE-----
diff --git a/net-wireless/aircrack/aircrack-2.1-r1.ebuild b/net-wireless/aircrack/aircrack-2.1-r1.ebuild
new file mode 100644
index 000000000000..e1b243cbe3c3
--- /dev/null
+++ b/net-wireless/aircrack/aircrack-2.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack/aircrack-2.1-r1.ebuild,v 1.1 2005/04/25 01:47:57 vanquirius Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="WLAN tool for breaking 802.11 WEP keys"
+HOMEPAGE="http://www.cr0.net:8040/code/network/aircrack/"
+SRC_URI="http://www.cr0.net:8040/code/network/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/libc
+ virtual/libpcap"
+
+src_unpack(){
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-amd64.patch
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ emake prefix=/usr docdir=/usr/share/doc/${PF} DESTDIR=${D} install doc \
+ || die "emake install failed"
+}
+
diff --git a/net-wireless/aircrack/files/aircrack-2.1-amd64.patch b/net-wireless/aircrack/files/aircrack-2.1-amd64.patch
new file mode 100644
index 000000000000..2091f6be2813
--- /dev/null
+++ b/net-wireless/aircrack/files/aircrack-2.1-amd64.patch
@@ -0,0 +1,16 @@
+--- aircrack.c.orig 2005-04-11 16:59:28.000000000 +0200
++++ aircrack.c 2005-04-11 17:19:14.000000000 +0200
+@@ -121,7 +121,12 @@
+ unsigned long cnt1;
+ unsigned long cnt2;
+ unsigned char *h80211;
+- struct pcap_pkthdr pkh;
++ struct {
++ struct {
++ int tv_sec, tv_usec;
++ } ts;
++ int caplen, len;
++ } pkh;
+ struct pcap_file_header pfh;
+
+ /* open the file and check the pcap header */
diff --git a/net-wireless/aircrack/files/digest-aircrack-2.1-r1 b/net-wireless/aircrack/files/digest-aircrack-2.1-r1
new file mode 100644
index 000000000000..5fbefd57e95d
--- /dev/null
+++ b/net-wireless/aircrack/files/digest-aircrack-2.1-r1
@@ -0,0 +1 @@
+MD5 694c6180f620b0534e5925a71b960bd1 aircrack-2.1.tgz 113683