diff options
Diffstat (limited to 'packages/asleap')
-rw-r--r-- | packages/asleap/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/asleap/asleap_2.1.bb | 27 | ||||
-rw-r--r-- | packages/asleap/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/asleap/files/if.h.patch | 11 |
4 files changed, 38 insertions, 0 deletions
diff --git a/packages/asleap/.mtn2git_empty b/packages/asleap/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/asleap/.mtn2git_empty diff --git a/packages/asleap/asleap_2.1.bb b/packages/asleap/asleap_2.1.bb new file mode 100644 index 0000000000..f7848d1449 --- /dev/null +++ b/packages/asleap/asleap_2.1.bb @@ -0,0 +1,27 @@ +SECTION = "console/network" +DESCRIPTION = "Proof of concept Cisco Leap Cracker" +HOMEPAGE = "http://asleap.sourceforge.net - outdated" +LICENSE = "GPLv2" +DEPENDS = "libpcap openssl" + +SRC_URI = "http://802.11ninja.net/~jwright/code/${PN}-${PV}.tgz \ + file://if.h.patch;patch=1 \ + " + +S = "${WORKDIR}/${PN}-${PV}" + +CFLAGS_append = " -D_LINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ + -D_OPENSSL_MD4 -L${STAGING_LIBDIR}" + +do_install() { + install -d ${D}/${sbindir} + install -m 0755 asleap ${D}/${sbindir} + install -d ${D}/${bindir} + install -m 0755 genkeys ${D}/${bindir} +} + +# +# Maintainer's note: I am currently not including the test dump file or the +# scripts directory due to size constraints and the fact that it seems +# pointless. If someone requests it, I might add it as a seperate package. +# diff --git a/packages/asleap/files/.mtn2git_empty b/packages/asleap/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/asleap/files/.mtn2git_empty diff --git a/packages/asleap/files/if.h.patch b/packages/asleap/files/if.h.patch new file mode 100644 index 0000000000..99de855956 --- /dev/null +++ b/packages/asleap/files/if.h.patch @@ -0,0 +1,11 @@ +diff -ur asleap/asleap.c asleap-10/asleap.c +--- asleap/asleap.c 2007-05-10 15:29:06.000000000 -0400 ++++ asleap-10/asleap.c 2007-06-22 22:05:20.000000000 -0400 +@@ -43,6 +43,7 @@ + #include <sys/types.h> + #include <pcap.h> + #include <netpacket/packet.h> ++#include <linux/if.h> + #include <linux/wireless.h> + + #include "asleap.h" |