2 # Copyright (C) 2012-2015 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
13 PKG_MAINTAINER
:=Yousong Zhou
<yszhou4tech@gmail.com
>
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=https
://storage.googleapis.com
/google-code-archive-downloads
/v2
/code.google.com
/reaver-wps
17 PKG_MD5SUM
:=05441dda7bacfcbe1e831c85d1ea3bc9
21 PKG_AUTOMAKE_PATHS
:=src
24 include $(INCLUDE_DIR
)/package.mk
28 EXTRA_CFLAGS
=$(TARGET_CPPFLAGS
)
34 TITLE
:=Efficient brute
force attack against Wifi Protected Setup
35 URL
:=https
://code.google.com
/p
/reaver-wps
/
36 DEPENDS
:=+libpcap
+libsqlite3
39 define Package
/reaver
/description
40 Reaver targets the external registrar functionality mandated by the WiFi
41 Protected Setup specification.
42 Access points will provide authenticated registrars with their current
43 wireless configuration
(including the WPA PSK
), and also accept a new
44 configuration from the registrar.
47 define Package
/reaver
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/{reaver
,wash
} $(1)/usr
/bin
/
50 $(INSTALL_DIR
) $(1)/etc
/reaver
51 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/src
/reaver.db
$(1)/etc
/reaver
/
54 $(eval
$(call BuildPackage
,reaver
))