summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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