summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-02-02 18:13:33 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-02 18:13:33 +0000
commit58dd699da3b271e0d5572d3204756239864d74a7 (patch)
treed8b4eaae2a60d211094a66800d2dd2d38f99e9f3 /packages
parent2f6e5394c33692a068a8b7660cff51ecc7d428ca (diff)
aircrack: add 2.41, courtesy Rick Farina, closes #650
Diffstat (limited to 'packages')
-rw-r--r--packages/aircrack/aircrack_2.41.bb25
-rw-r--r--packages/aircrack/files/oe.patch10
2 files changed, 35 insertions, 0 deletions
diff --git a/packages/aircrack/aircrack_2.41.bb b/packages/aircrack/aircrack_2.41.bb
new file mode 100644
index 0000000000..c1d3252aae
--- /dev/null
+++ b/packages/aircrack/aircrack_2.41.bb
@@ -0,0 +1,25 @@
+SECTION = "console/network"
+DESCRIPTION = "Aircrack is a set of tools for wep key statistical cracking"
+HOMEPAGE = "http://www.cr0.net:8040/code/network/aircrack/"
+LICENSE = "GPLv2"
+MAINTAINER = "Rick Farina <sidhayn@hotmail.com>"
+DEPENDS = ""
+PR="r0"
+
+SRC_URI = "http://distfiles.gentoo.org/distfiles/${P}.tgz \
+ file://oe.patch;patch=1;pnum=1"
+
+inherit autotools
+
+do_install() {
+ install -d ${D}/${sbindir}
+ install -d ${D}/${libdir}/${PN}
+ install -m 0755 airodump ${D}/${sbindir}
+ install -m 0755 aircrack ${D}/${sbindir}
+ install -m 0755 aireplay ${D}/${sbindir}
+ install -m 0755 airdecap ${D}/${sbindir}
+ install -m 0755 arpforge ${D}/${sbindir}
+ install -m 0755 airmon.sh ${D}/${sbindir}
+ install -m 0755 mergeivs ${D}/${sbindir}
+ install -m 0755 pcap2ivs ${D}/${sbindir}
+}
diff --git a/packages/aircrack/files/oe.patch b/packages/aircrack/files/oe.patch
new file mode 100644
index 0000000000..742d83b96b
--- /dev/null
+++ b/packages/aircrack/files/oe.patch
@@ -0,0 +1,10 @@
+diff -ur aircrack-2.41-orig/Makefile aircrack-2.41/Makefile
+--- aircrack-2.41-orig/Makefile 2005-11-22 13:09:39.000000000 -0500
++++ aircrack-2.41/Makefile 2005-12-12 19:54:29.000000000 -0500
+@@ -1,5 +1,4 @@
+-CC = gcc
+-CFLAGS = -g -W -Wall -O2
++CFLAGS = -g -W -Wall -O3
+ OPTFLAGS = -D_FILE_OFFSET_BITS=64 -D_MAJ=2 -D_MIN=41
+
+ prefix = /usr/local