2 # Copyright (C) 2012 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
12 PKG_VERSION:=r$(PKG_REV)
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://reaver-wps.googlecode.com/svn/trunk
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18 PKG_SOURCE_VERSION:=$(PKG_REV)
21 include $(INCLUDE_DIR)/package.mk
27 TITLE:=Efficient brute force attack against Wifi Protected Setup
28 URL:=https://code.google.com/p/reaver-wps/
29 DEPENDS:=+libpcap +libsqlite3
32 define Package/reaver/description
33 Reaver targets the external registrar functionality mandated by the WiFi
34 Protected Setup specification.
35 Access points will provide authenticated registrars with their current
36 wireless configuration (including the WPA PSK), and also accept a new
37 configuration from the registrar.
44 TARGET_CFLAGS+=$(TARGET_CPPFLAGS)
46 define Package/reaver/install
47 $(INSTALL_DIR) $(1)/usr/bin
48 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{reaver,wash} $(1)/usr/bin/
49 $(INSTALL_DIR) $(1)/etc/reaver
50 $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/reaver.db $(1)/etc/reaver/
53 $(eval $(call BuildPackage,reaver))