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.

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