2 # Copyright (C) 2007-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://theta44.org
/software
/
16 PKG_MD5SUM
:=e9d4ccbda89b4b1cd70eefb1db339d0a
18 include $(INCLUDE_DIR
)/package.mk
23 DEPENDS
:=+kmod-madwifi
+ruby
+libpcap
+libncurses
24 TITLE
:=set of tools for assessing the security of wireless clients
25 URL
:=http
://theta44.org
/karma
/index.html
28 define Package
/karma
/description
29 KARMA is a set of tools for assessing the security of wireless clients
30 at multiple layers. Wireless sniffing tools discover clients and their
31 preferred
/trusted networks by passively listening for
802.11 Probe Request
35 define Package
/karma
/conffiles
41 define Build
/Configure
45 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src
/ \
47 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
48 LDLIBS
="$(TARGET_LDFLAGS) -lpcap -lncurses"
51 define Package
/karma
/install
52 $(INSTALL_DIR
) $(1)/usr
/sbin
53 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/bin
/karma
$(1)/usr
/sbin
/karma-ruby
54 $(CP
) $(PKG_BUILD_DIR
)/src
/karma
$(1)/usr
/sbin
/karma
55 $(INSTALL_DIR
) $(1)/etc
56 $(CP
) $(PKG_BUILD_DIR
)/etc
/* $(1)/etc
/
59 $(eval
$(call BuildPackage
,karma
))