summaryrefslogtreecommitdiff
path: root/packages/mdk
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mdk')
-rw-r--r--packages/mdk/files/cross-compile.diff14
-rw-r--r--packages/mdk/mdk2_v36.bb11
-rw-r--r--packages/mdk/mdk3_v2.bb12
3 files changed, 37 insertions, 0 deletions
diff --git a/packages/mdk/files/cross-compile.diff b/packages/mdk/files/cross-compile.diff
new file mode 100644
index 0000000000..aa4c09201b
--- /dev/null
+++ b/packages/mdk/files/cross-compile.diff
@@ -0,0 +1,14 @@
+diff -ur mdk3-v1-orig/osdep/common.mak mdk3-v1-xcompile/osdep/common.mak
+--- mdk3-v1-orig/osdep/common.mak 2007-04-23 03:25:15.000000000 -0400
++++ mdk3-v1-xcompile/osdep/common.mak 2007-05-22 14:43:51.000000000 -0400
+@@ -9,10 +9,6 @@
+ PIC = -fPIC
+ endif
+
+-CC = $(TOOL_PREFIX)gcc
+-RANLIB = $(TOOL_PREFIX)ranlib
+-AR = $(TOOL_PREFIX)ar
+-
+ REVISION = mdk3
+ REVFLAGS = -D_REVISION=$(REVISION)
+
diff --git a/packages/mdk/mdk2_v36.bb b/packages/mdk/mdk2_v36.bb
new file mode 100644
index 0000000000..7bde7e54fa
--- /dev/null
+++ b/packages/mdk/mdk2_v36.bb
@@ -0,0 +1,11 @@
+SECTION = "console/network"
+DESCRIPTION = "Proof of concept 802.11 attack tool"
+HOMEPAGE = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/"
+LICENSE = "GPLv2"
+
+SRC_URI = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/mdk2-${PV}.tar.bz2"
+
+do_install() {
+ install -d ${D}/${sbindir}
+ install -m 0755 mdk2 ${D}/${sbindir}
+}
diff --git a/packages/mdk/mdk3_v2.bb b/packages/mdk/mdk3_v2.bb
new file mode 100644
index 0000000000..27c4a5bd1f
--- /dev/null
+++ b/packages/mdk/mdk3_v2.bb
@@ -0,0 +1,12 @@
+SECTION = "console/network"
+DESCRIPTION = "Proof of concept 802.11 attack tool"
+HOMEPAGE = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/"
+LICENSE = "GPLv2"
+
+SRC_URI = "http://www.tu-darmstadt.de/~p_larbig/wlan/mdk3-${PV}.tar.bz2 \
+ file://cross-compile.diff;patch=1"
+
+do_install() {
+ install -d ${D}/${sbindir}
+ install -m 0755 mdk3 ${D}/${sbindir}
+}