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