Merge pull request #2841 from dibdot/adblock
[feed/packages.git] / net / reaver / Makefile
1 #
2 # Copyright (C) 2012-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=reaver
11 PKG_VERSION:=1.4
12 PKG_RELEASE:=1
13 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
14
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
18 PKG_LICENSE:=GPL-2.0
19
20 PKG_USE_MIPS16:=0
21 PKG_AUTOMAKE_PATHS:=src
22 PKG_FIXUP:=autoreconf
23
24 include $(INCLUDE_DIR)/package.mk
25
26 CONFIGURE_PATH:=src
27 MAKE_PATH:=src
28
29 define Package/reaver
30 SECTION:=net
31 CATEGORY:=Network
32 SUBMENU:=wireless
33 TITLE:=Efficient brute force attack against Wifi Protected Setup
34 URL:=https://code.google.com/p/reaver-wps/
35 DEPENDS:=+libpcap +libsqlite3
36 endef
37
38 define Package/reaver/description
39 Reaver targets the external registrar functionality mandated by the WiFi
40 Protected Setup specification.
41 Access points will provide authenticated registrars with their current
42 wireless configuration (including the WPA PSK), and also accept a new
43 configuration from the registrar.
44 endef
45
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/
51 endef
52
53 $(eval $(call BuildPackage,reaver))