aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/asleap/asleap_2.1.bb
blob: a832b02639a872c859bfd5f8eaf1c77ae32c2640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 \
           "

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.
#

SRC_URI[md5sum] = "eb74eca847fa71ba89a965548526f7ac"
SRC_URI[sha256sum] = "ba77747cfb107d31cf4ae2eb27839cfa196c0fca08c98465256a4820b9d85d29"