stress-ng: bump to version 0.18.04
[feed/packages.git] / net / reaver / Makefile
1 #
2 # Copyright (C) 2012-2015 OpenWrt.org
3 # Copyright (C) 2017 Yousong Zhou
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=reaver
12 PKG_VERSION:=1.6.6
13 PKG_RELEASE:=1
14 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
17 PKG_SOURCE_URL:=https://github.com/t6x/reaver-wps-fork-t6x/releases/download/v$(PKG_VERSION)
18 PKG_HASH:=e329a0da0b6dd888916046535ff86a6aa144644561937954e560bb1810ab6702
19
20 PKG_LICENSE:=GPL-2.0
21 PKG_LICENSE_FILES:=docs/LICENSE
22
23 PKG_BUILD_FLAGS:=no-mips16
24 PKG_AUTOMAKE_PATHS:=src
25 PKG_FIXUP:=autoreconf
26 PKG_BUILD_PARALLEL:=1
27
28 include $(INCLUDE_DIR)/package.mk
29 CONFIGURE_PATH:=src
30 MAKE_PATH:=src
31
32 CONFIGURE_ARGS += --enable-savetocurrent
33
34 define Package/reaver
35 SECTION:=net
36 CATEGORY:=Network
37 SUBMENU:=Wireless
38 TITLE:=Efficient brute force attack against Wifi Protected Setup
39 URL:=https://github.com/t6x/reaver-wps-fork-t6x
40 DEPENDS:=+libpcap
41 endef
42
43 define Package/reaver/description
44 Reaver has been designed to be a robust and practical attack against Wi-Fi
45 Protected Setup (WPS) registrar PINs in order to recover WPA/WPA2
46 passphrases. It has been tested against a wide variety of access points and
47 WPS implementations.
48
49 This is reaver-wps-fork-t6x, a community forked version, which has included
50 various bug fixes and additional attack method (the offline Pixie Dust
51 attack).
52 endef
53
54 define Package/reaver/install
55 $(INSTALL_DIR) $(1)/usr/bin
56 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{reaver,wash} $(1)/usr/bin/
57 endef
58
59 $(eval $(call BuildPackage,reaver))