summaryrefslogtreecommitdiff
path: root/recipes/mdk
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/mdk
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/mdk')
-rw-r--r--recipes/mdk/files/cross-compile.diff14
-rw-r--r--recipes/mdk/files/mdk2-ppcfix.patch12
-rw-r--r--recipes/mdk/mdk2_v33.bb22
-rw-r--r--recipes/mdk/mdk2_v36.bb11
-rw-r--r--recipes/mdk/mdk3_v2.bb12
5 files changed, 71 insertions, 0 deletions
diff --git a/recipes/mdk/files/cross-compile.diff b/recipes/mdk/files/cross-compile.diff
new file mode 100644
index 0000000000..aa4c09201b
--- /dev/null
+++ b/recipes/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/recipes/mdk/files/mdk2-ppcfix.patch b/recipes/mdk/files/mdk2-ppcfix.patch
new file mode 100644
index 0000000000..b9d86b6ae1
--- /dev/null
+++ b/recipes/mdk/files/mdk2-ppcfix.patch
@@ -0,0 +1,12 @@
+Only in mdk2-v33-ppcfix: mdk2
+diff -ur mdk2-v33/mdk2.c mdk2-v33-ppcfix/mdk2.c
+--- mdk2-v33/mdk2.c 2007-02-22 13:39:43.000000000 -0500
++++ mdk2-v33-ppcfix/mdk2.c 2007-03-03 15:56:50.000000000 -0500
+@@ -7,6 +7,7 @@
+ #include <sys/ioctl.h>
+ #include <netpacket/packet.h>
+ #include <linux/if_ether.h>
++#include <linux/if.h>
+ #include <linux/wireless.h>
+ #include <unistd.h>
+ #include <string.h>
diff --git a/recipes/mdk/mdk2_v33.bb b/recipes/mdk/mdk2_v33.bb
new file mode 100644
index 0000000000..e167be347c
--- /dev/null
+++ b/recipes/mdk/mdk2_v33.bb
@@ -0,0 +1,22 @@
+SECTION = "console/network"
+DESCRIPTION = "ASPj is drunk"
+HOMEPAGE = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/"
+LICENSE = "GPLv2"
+DEPENDS = ""
+RDEPENDS = ""
+PR ="r1"
+
+SRC_URI = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/mdk2-${PV}.tar.bz2 \
+ file://mdk2-ppcfix.patch"
+
+LDFLAGS_append = " -lpthread"
+CFLAGS_append = " -I${STAGING_KERNEL_DIR}/include -O3 -pthread"
+
+oe_compile() {
+ oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LD="${LD}" LDFLAGS="${LDFLAGS}"
+}
+
+do_install() {
+ install -d ${D}/${sbindir}
+ install -m 0755 mdk2 ${D}/${sbindir}
+}
diff --git a/recipes/mdk/mdk2_v36.bb b/recipes/mdk/mdk2_v36.bb
new file mode 100644
index 0000000000..7bde7e54fa
--- /dev/null
+++ b/recipes/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/recipes/mdk/mdk3_v2.bb b/recipes/mdk/mdk3_v2.bb
new file mode 100644
index 0000000000..27c4a5bd1f
--- /dev/null
+++ b/recipes/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}
+}