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.

74 lines
1.9 KiB

  1. #
  2. # Copyright (C) 2006-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:=aircrack-ng
  9. PKG_VERSION:=1.2-rc1
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=GPL-2.0
  12. PKG_LICENSE_FILES:=LICENSE
  13. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. PKG_SOURCE_URL:=http://download.aircrack-ng.org/ \
  15. http://archive.aircrack-ng.org/aircrack-ng/$(PKG_VERSION)/
  16. PKG_MD5SUM:=c2f8648c92f7e46051c86c618d4fb0d5
  17. PKG_BUILD_PARALLEL:=1
  18. PKG_INSTALL:=1
  19. PKG_MAINTAINER:=Rick Farina <zerochaos@gentoo.org>
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/aircrack-ng
  22. SECTION:=net
  23. CATEGORY:=Network
  24. DEPENDS:=+libpcap +libpthread +libopenssl +libnl-core +libnl-genl +zlib
  25. TITLE:=WLAN tools (without airmon-ng) for breaking 802.11 WEP/WPA keys
  26. URL:=http://www.aircrack-ng.org/
  27. SUBMENU:=wireless
  28. endef
  29. define Package/aircrack-ng/description
  30. WLAN tools for breaking 802.11 WEP/WPA keys
  31. endef
  32. define Package/airmon-ng
  33. SECTION:=net
  34. CATEGORY:=Network
  35. DEPENDS:=+wireless-tools +ethtool +procps-ng +CONFIG_PCI_SUPPORT:pciutils +CONFIG_USB_SUPPORT:usbutils
  36. TITLE:=Bash script designed to turn wireless cards into monitor mode.
  37. URL:=http://www.aircrack-ng.org/
  38. SUBMENU:=wireless
  39. endef
  40. define Package/airmon-ng/description
  41. Bash script designed to turn wireless cards into monitor mode.
  42. endef
  43. MAKE_FLAGS += prefix=/usr \
  44. libnl=true \
  45. sqlite=false \
  46. unstable=false \
  47. OSNAME=Linux
  48. define Package/aircrack-ng/install
  49. $(INSTALL_DIR) $(1)/usr/bin
  50. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  51. $(INSTALL_DIR) $(1)/usr/sbin
  52. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
  53. rm -f $(1)/usr/sbin/airmon-ng
  54. endef
  55. define Package/airmon-ng/install
  56. $(INSTALL_DIR) $(1)/usr/sbin
  57. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/airmon-ng $(1)/usr/sbin/
  58. endef
  59. $(eval $(call BuildPackage,aircrack-ng))
  60. $(eval $(call BuildPackage,airmon-ng))