Hi!
is there a Makefile for the new aircrack-ng (1.4) package?
thanks in advance
Hi!
is there a Makefile for the new aircrack-ng (1.4) package?
thanks in advance
Hello.
Copy it to package/network/utils/aircrack-ng-full folder:
#
# Copyright (C) 2006-2018 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=aircrack-ng-full
PKG_VERSION:=1.4
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=master
PKG_SOURCE_URL:=https://github.com/aircrack-ng/aircrack-ng.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
PKG_FLAGS:=nonshared
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/autotools.mk
define Package/aircrack-ng-full
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpthread +libstdcpp +libpcap +libopenssl +libnl-core +libnl-genl +zlib +wireless-tools +ethtool +procps-ng +pciutils +usbutils
TITLE:=Aircrack-ng is a complete suite of tools to assess WiFi network security.
URL:=https://aircrack-ng.org
SUBMENU:=wireless
endef
define Package/aircrack-ng-full/description
WLAN tools for breaking 802.11 WEP/WPA keys
endef
CONFIGURE_ARGS += \
--with-experimental \
--disable-shared \
--enable-static \
--without-opt
define Build/Compile
$(call Build/Compile/Default)
endef
define Package/aircrack-ng-full/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,aircrack-ng-full))
After that, select the package in:
make menuconfig
Also you can build it manually(after successful compile the target);
make package/network/utils/aircrack-ng-full/compile V=s
Good luck!
Works Perfect! Thanks a lot :):)
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.