You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.4 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=reaver
  9. PKG_VERSION:=1.4
  10. PKG_RELEASE:=2
  11. PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/reaver-wps
  14. PKG_MD5SUM:=05441dda7bacfcbe1e831c85d1ea3bc9
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_USE_MIPS16:=0
  17. PKG_AUTOMAKE_PATHS:=src
  18. PKG_FIXUP:=autoreconf
  19. include $(INCLUDE_DIR)/package.mk
  20. CONFIGURE_PATH:=src
  21. MAKE_PATH:=src
  22. define Package/reaver
  23. SECTION:=net
  24. CATEGORY:=Network
  25. SUBMENU:=wireless
  26. TITLE:=Efficient brute force attack against Wifi Protected Setup
  27. URL:=https://code.google.com/p/reaver-wps/
  28. DEPENDS:=+libpcap +libsqlite3
  29. endef
  30. define Package/reaver/description
  31. Reaver targets the external registrar functionality mandated by the WiFi
  32. Protected Setup specification.
  33. Access points will provide authenticated registrars with their current
  34. wireless configuration (including the WPA PSK), and also accept a new
  35. configuration from the registrar.
  36. endef
  37. define Package/reaver/install
  38. $(INSTALL_DIR) $(1)/usr/bin
  39. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{reaver,wash} $(1)/usr/bin/
  40. $(INSTALL_DIR) $(1)/etc/reaver
  41. $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/reaver.db $(1)/etc/reaver/
  42. endef
  43. $(eval $(call BuildPackage,reaver))