noddos: Noddos v0.5.0 with mDNS / DNS-SD support
[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:=3
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 EXTRA_CFLAGS=$(TARGET_CPPFLAGS)
29
30 define Package/reaver
31 SECTION:=net
32 CATEGORY:=Network
33 SUBMENU:=wireless
34 TITLE:=Efficient brute force attack against Wifi Protected Setup
35 URL:=https://code.google.com/p/reaver-wps/
36 DEPENDS:=+libpcap +libsqlite3
37 endef
38
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.
45 endef
46
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/
52 endef
53
54 $(eval $(call BuildPackage,reaver))