2015-02-07 20:13:53 +01:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2015 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
|
aircrack-ng: bump to release 1.7
Bump aircrack-ng to release 1.7
Changelog from [1]
Airdecap-ng: Endianness fixes
Airdecap-ng: Output PCAP as little endian
Airodump-ng: Fixed blank encryption field when APs have TKIP (and/or CCMP) with WPA2
Airodump-ng: Updated encryption filter (-t/--encrypt) for WPA3 and OWE
Airodump-ng: Fixed out-of-order timestamp captures
Airodump-ng: Ignore NULL PMKID
Airodump-ng: Fixed dropping management frames with zeroed timestamp
Airodump-ng: Fixed sorting where sometimes it started with a different field
Airodump-ng: Allow setting colors only in AP selection mode
Airodump-ng: Fix crash on 4K Linux console
Airodump-ng: Fixed issue where existing clients not linked to an AP become hidden when hitting 'o'
Airodump-ng: Allow use of WiFi 6E 6GHz frequencies
Airodump-ng: Look for oui.txt in /usr/share/hwdata
Airgraph-ng: Fixed graphviz package conflict
Airgraph-ng: Fixed downloading OUI with python3
Airgraph-ng: Ensure support/ directory is created when installing
Aircrack-ng: Fixed static compilation
Aircrack-ng: Fix handshake replay counter logic
Aircrack-ng: Handle timeout when parsing EAPOL
Aircrack-ng: Fixed WEP display
Aircrack-ng: Fixed spurious EXIT messages
Aircrack-ng: Improved handshake selection by fixing EAPOL timing and clearing state
Aircrack-ng: Ignore NULL PMKID
Aircrack-ng: Added Apple M1 detection
Aireplay-ng: In test mode, detect tampering of sequence number by firmware/driver
Aireplay-ng: Fixed incorrectly rewritten loops affecting fragmentation attack, and in some cases, SKA fake auth
Aireplay-ng: Fixed a bunch of instances where packets had their duration updated instead of the sequence number
Airmon-ng: Fix avahi killing
Airmon-ng: rewrite service stopping entirely
Airmon-ng: Codestyle fixes and code cleanup
Airmon-ng: Added a few Raspberry Pi hardware revisions
Airmon-ng: Fixes for 8812au driver
Airmon-ng: Fix iwlwifi firmware formatting
Airmon-ng: Remove broken KVM detection
Airmon-ng: Show regdomain in verbose mode
Airmon-ng: Updated Raspberry Pi hardware revisions
Airmon-ng: Document frequency usage
Airmon-ng: Add a sleep to help predictable names due to udev sometimes renaming interface
Airmon-ng: Added warning for broken radiotap headers in kernel 5.15 to 5.15.4
Airmon-ng: shellcheck fixes
Airmon-ng: support systemctl as some systems don't support 'service' anymore
Airmon-ng: Fixes for pciutils 3.8, backward compatible
Airbase-ng: use enum for frame type/subtype
Airbase-ng: remove a few IE in association responses
Besside-ng: Support and detect all channels in 5GHz in Auto-Channel mode
OSdep: Search additional IE for channel information
OSdep: Android macro fixes
Patches: Add missing patches that were on https://patches.aircrack-ng.org but not in repo
Patches: Updated freeradius-wpe patch for v3.2.0
Patches: Updated hostapd-wpe patch for v2.10
Patches: Added docker containers to test WPE patches
Autotools: make dist now creates VERSION file
Autotools: Added maintainer mode
Autotools: Initial support for Link Time Optimization (LTO) builds
Integration tests: Added a new test, and improved some existing ones
Airgraph-ng: switch airodump-join to Python 3
Manpages: Fixes (typos, tools name, etc.) and improvements
README: Updated dependencies and their installation on various distros in README.md and INSTALLING
README: Fixed typos and spelling in README.md and INSTALLING
Packages: Packages on PackageCloud now support any distro using .deb and .rpm, however, it requires reinstalling repo (BREAKING CHANGE)
General: Fix compilation with LibreSSL 3.5
General: Fix issues reported by Infer
General: Updated buildbots
General: Add Linux uclibc support
General: Compilation fixes on macOS with the Apple M1 CPU
General: Removed TravisCI and AppVeyor
General: Use Github Actions for CI (Linux, Win, macOS, code style, and PVS-Studio)
General: Added vscode devcontainer and documentation
General: Fix warnings from PVS-Studio and build with pedantic (See PR2174)
General: Shell script fixes thanks to shellcheck
General: Fixes for GCC 10 and 11
General: Fixed cross-compilation
General: Code refactoring, deduplication, cleanup, and misc code improvements
General: Coverity Scan fixes, which includes memory leaks, race conditions, division by 0, and other issues
General: PVS Studio improvements,fixes and updates
General: Code formatting/style fixes
General: Various fixes and improvements (code, CI, integration tests, coverity)
General: Update bug reporting template and update the process
[1] https://aircrack-ng.blogspot.com/2022/05/aircrack-ng-17.html
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-01 00:43:21 +02:00
|
|
|
PKG_VERSION:=1.7
|
|
|
|
PKG_RELEASE:=1
|
2020-01-27 22:49:02 +01:00
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
2015-08-11 07:29:16 +02:00
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2019-09-12 14:13:21 +02:00
|
|
|
PKG_CPE_ID:=cpe:/a:aircrack-ng:aircrack-ng
|
2015-02-07 20:13:53 +01:00
|
|
|
|
2020-01-27 22:49:02 +01:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://download.aircrack-ng.org/
|
aircrack-ng: bump to release 1.7
Bump aircrack-ng to release 1.7
Changelog from [1]
Airdecap-ng: Endianness fixes
Airdecap-ng: Output PCAP as little endian
Airodump-ng: Fixed blank encryption field when APs have TKIP (and/or CCMP) with WPA2
Airodump-ng: Updated encryption filter (-t/--encrypt) for WPA3 and OWE
Airodump-ng: Fixed out-of-order timestamp captures
Airodump-ng: Ignore NULL PMKID
Airodump-ng: Fixed dropping management frames with zeroed timestamp
Airodump-ng: Fixed sorting where sometimes it started with a different field
Airodump-ng: Allow setting colors only in AP selection mode
Airodump-ng: Fix crash on 4K Linux console
Airodump-ng: Fixed issue where existing clients not linked to an AP become hidden when hitting 'o'
Airodump-ng: Allow use of WiFi 6E 6GHz frequencies
Airodump-ng: Look for oui.txt in /usr/share/hwdata
Airgraph-ng: Fixed graphviz package conflict
Airgraph-ng: Fixed downloading OUI with python3
Airgraph-ng: Ensure support/ directory is created when installing
Aircrack-ng: Fixed static compilation
Aircrack-ng: Fix handshake replay counter logic
Aircrack-ng: Handle timeout when parsing EAPOL
Aircrack-ng: Fixed WEP display
Aircrack-ng: Fixed spurious EXIT messages
Aircrack-ng: Improved handshake selection by fixing EAPOL timing and clearing state
Aircrack-ng: Ignore NULL PMKID
Aircrack-ng: Added Apple M1 detection
Aireplay-ng: In test mode, detect tampering of sequence number by firmware/driver
Aireplay-ng: Fixed incorrectly rewritten loops affecting fragmentation attack, and in some cases, SKA fake auth
Aireplay-ng: Fixed a bunch of instances where packets had their duration updated instead of the sequence number
Airmon-ng: Fix avahi killing
Airmon-ng: rewrite service stopping entirely
Airmon-ng: Codestyle fixes and code cleanup
Airmon-ng: Added a few Raspberry Pi hardware revisions
Airmon-ng: Fixes for 8812au driver
Airmon-ng: Fix iwlwifi firmware formatting
Airmon-ng: Remove broken KVM detection
Airmon-ng: Show regdomain in verbose mode
Airmon-ng: Updated Raspberry Pi hardware revisions
Airmon-ng: Document frequency usage
Airmon-ng: Add a sleep to help predictable names due to udev sometimes renaming interface
Airmon-ng: Added warning for broken radiotap headers in kernel 5.15 to 5.15.4
Airmon-ng: shellcheck fixes
Airmon-ng: support systemctl as some systems don't support 'service' anymore
Airmon-ng: Fixes for pciutils 3.8, backward compatible
Airbase-ng: use enum for frame type/subtype
Airbase-ng: remove a few IE in association responses
Besside-ng: Support and detect all channels in 5GHz in Auto-Channel mode
OSdep: Search additional IE for channel information
OSdep: Android macro fixes
Patches: Add missing patches that were on https://patches.aircrack-ng.org but not in repo
Patches: Updated freeradius-wpe patch for v3.2.0
Patches: Updated hostapd-wpe patch for v2.10
Patches: Added docker containers to test WPE patches
Autotools: make dist now creates VERSION file
Autotools: Added maintainer mode
Autotools: Initial support for Link Time Optimization (LTO) builds
Integration tests: Added a new test, and improved some existing ones
Airgraph-ng: switch airodump-join to Python 3
Manpages: Fixes (typos, tools name, etc.) and improvements
README: Updated dependencies and their installation on various distros in README.md and INSTALLING
README: Fixed typos and spelling in README.md and INSTALLING
Packages: Packages on PackageCloud now support any distro using .deb and .rpm, however, it requires reinstalling repo (BREAKING CHANGE)
General: Fix compilation with LibreSSL 3.5
General: Fix issues reported by Infer
General: Updated buildbots
General: Add Linux uclibc support
General: Compilation fixes on macOS with the Apple M1 CPU
General: Removed TravisCI and AppVeyor
General: Use Github Actions for CI (Linux, Win, macOS, code style, and PVS-Studio)
General: Added vscode devcontainer and documentation
General: Fix warnings from PVS-Studio and build with pedantic (See PR2174)
General: Shell script fixes thanks to shellcheck
General: Fixes for GCC 10 and 11
General: Fixed cross-compilation
General: Code refactoring, deduplication, cleanup, and misc code improvements
General: Coverity Scan fixes, which includes memory leaks, race conditions, division by 0, and other issues
General: PVS Studio improvements,fixes and updates
General: Code formatting/style fixes
General: Various fixes and improvements (code, CI, integration tests, coverity)
General: Update bug reporting template and update the process
[1] https://aircrack-ng.blogspot.com/2022/05/aircrack-ng-17.html
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-01 00:43:21 +02:00
|
|
|
PKG_HASH:=05a704e3c8f7792a17315080a21214a4448fd2452c1b0dd5226a3a55f90b58c3
|
2015-02-07 20:13:53 +01:00
|
|
|
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
PKG_INSTALL:=1
|
2023-03-23 09:09:13 +01:00
|
|
|
PKG_BUILD_FLAGS:=gc-sections
|
2015-02-07 20:13:53 +01:00
|
|
|
|
2015-08-11 07:29:16 +02:00
|
|
|
PKG_MAINTAINER:=Rick Farina <zerochaos@gentoo.org>
|
|
|
|
|
2018-11-16 17:46:07 +01:00
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS:= \
|
|
|
|
CONFIG_AIRCRACK_NG_GCRYPT \
|
|
|
|
CONFIG_AIRCRACK_NG_OPENSSL \
|
|
|
|
\
|
|
|
|
CONFIG_AIRCRACK_NG_OPTIMIZE_SPEED \
|
|
|
|
\
|
|
|
|
CONFIG_AIRCRACK_NG_HWLOC \
|
|
|
|
CONFIG_AIRCRACK_NG_SQLITE3
|
|
|
|
|
2015-02-07 20:13:53 +01:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/aircrack-ng
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2023-10-01 00:45:06 +02:00
|
|
|
DEPENDS:=+AIRCRACK_NG_HWLOC:libhwloc +libpcap +libpcre2 +libpthread +libstdcpp
|
2018-11-16 17:46:07 +01:00
|
|
|
DEPENDS += +AIRCRACK_NG_OPENSSL:libopenssl
|
|
|
|
DEPENDS += +AIRCRACK_NG_GCRYPT:libgcrypt
|
|
|
|
DEPENDS += +AIRCRACK_NG_SQLITE3:libsqlite3
|
|
|
|
DEPENDS += +libnl-core +libnl-genl +zlib
|
2015-08-11 07:29:16 +02:00
|
|
|
TITLE:=WLAN tools (without airmon-ng) for breaking 802.11 WEP/WPA keys
|
2018-11-16 17:46:07 +01:00
|
|
|
URL:=https://www.aircrack-ng.org/
|
2019-07-23 15:35:03 +02:00
|
|
|
SUBMENU:=Wireless
|
2015-02-07 20:13:53 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/aircrack-ng/description
|
|
|
|
WLAN tools for breaking 802.11 WEP/WPA keys
|
|
|
|
endef
|
|
|
|
|
2018-11-16 17:46:07 +01:00
|
|
|
define Package/aircrack-ng/config
|
|
|
|
source "$(SOURCE)/Config.in"
|
|
|
|
endef
|
|
|
|
|
2015-08-11 07:29:16 +02:00
|
|
|
define Package/airmon-ng
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2016-06-18 09:14:14 +02:00
|
|
|
DEPENDS:=+wireless-tools +ethtool +procps-ng +CONFIG_PCI_SUPPORT:pciutils +CONFIG_USB_SUPPORT:usbutils
|
2015-08-11 07:29:16 +02:00
|
|
|
TITLE:=Bash script designed to turn wireless cards into monitor mode.
|
|
|
|
URL:=http://www.aircrack-ng.org/
|
2019-07-23 15:35:03 +02:00
|
|
|
SUBMENU:=Wireless
|
2015-08-11 07:29:16 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/airmon-ng/description
|
|
|
|
Bash script designed to turn wireless cards into monitor mode.
|
|
|
|
endef
|
|
|
|
|
2019-04-05 18:25:38 +02:00
|
|
|
define Build/Prepare
|
|
|
|
$(call Build/Prepare/Default)
|
|
|
|
echo "$(PKG_VERSION)_rev$(PKG_SOURCE_VERSION)" > $(PKG_BUILD_DIR)/VERSION
|
|
|
|
endef
|
|
|
|
|
2018-11-16 17:46:07 +01:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--enable-shared \
|
|
|
|
--with-experimental \
|
|
|
|
--with-libpcap-include=$(STAGING_DIR)/usr/include \
|
|
|
|
--with-libpcap-lib=$(STAGING_DIR)/usr/lib \
|
|
|
|
--without-opt \
|
2023-10-28 18:48:16 +02:00
|
|
|
--with-libbsd=no \
|
2018-11-16 17:46:07 +01:00
|
|
|
\
|
|
|
|
PYTHON=$(PYTHON) \
|
|
|
|
\
|
2019-04-05 18:25:38 +02:00
|
|
|
$(if $(CONFIG_AIRCRACK_NG_OPENSSL),,--without-openssl) \
|
2018-11-16 17:46:07 +01:00
|
|
|
$(if $(CONFIG_AIRCRACK_NG_GCRYPT),--with-gcrypt,--without-gcrypt) \
|
|
|
|
$(if $(CONFIG_AIRCRACK_NG_HWLOC),--enable-hwloc,--disable-hwloc) \
|
2019-04-05 18:25:38 +02:00
|
|
|
$(if $(CONFIG_AIRCRACK_NG_SQLITE3),--with-sqlite3=$(STAGING_DIR)/usr,--without-sqlite3)
|
2018-11-16 17:46:07 +01:00
|
|
|
|
2023-03-23 09:09:13 +01:00
|
|
|
TARGET_CFLAGS += -Wall -Wextra -fcommon
|
2018-11-16 17:46:07 +01:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_AIRCRACK_NG_OPTIMIZE_SPEED),y)
|
|
|
|
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -O3
|
|
|
|
endif
|
2018-03-15 03:26:13 +01:00
|
|
|
|
2015-02-07 20:13:53 +01:00
|
|
|
define Package/aircrack-ng/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/
|
2018-11-16 17:46:07 +01:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
2015-08-11 07:29:16 +02:00
|
|
|
rm -f $(1)/usr/sbin/airmon-ng
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/airmon-ng/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/airmon-ng $(1)/usr/sbin/
|
2015-02-07 20:13:53 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,aircrack-ng))
|
2015-08-11 07:29:16 +02:00
|
|
|
$(eval $(call BuildPackage,airmon-ng))
|