2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-18 09:49:45 +01:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# aircrack-ng
|
2013-02-18 09:49:45 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-18 09:49:45 +01:00
|
|
|
|
2018-05-29 23:56:47 +02:00
|
|
|
AIRCRACK_NG_VERSION = 1.2
|
2013-02-18 09:49:45 +01:00
|
|
|
AIRCRACK_NG_SITE = http://download.aircrack-ng.org
|
2017-03-30 15:43:32 +02:00
|
|
|
AIRCRACK_NG_LICENSE = GPL-2.0+
|
2013-02-18 09:49:45 +01:00
|
|
|
AIRCRACK_NG_LICENSE_FILES = LICENSE
|
2018-05-29 23:56:47 +02:00
|
|
|
AIRCRACK_NG_DEPENDENCIES = \
|
|
|
|
$(if $(BR2_PACKAGE_LIBNL),libnl) \
|
|
|
|
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
|
|
|
$(if $(BR2_PACKAGE_PCRE),pcre) \
|
|
|
|
$(if $(BR2_PACKAGE_ZLIB),zlib) \
|
|
|
|
host-pkgconf
|
|
|
|
AIRCRACK_NG_AUTORECONF = YES
|
2014-11-11 22:17:11 +01:00
|
|
|
# Enable buddy-ng, easside-ng, tkiptun-ng, wesside-ng
|
2018-05-29 23:56:47 +02:00
|
|
|
AIRCRACK_NG_CONF_OPTS = --with-experimental
|
2013-02-18 09:49:45 +01:00
|
|
|
|
2018-05-29 23:56:47 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y)
|
|
|
|
AIRCRACK_NG_CONF_OPTS += --with-opt
|
|
|
|
else
|
|
|
|
AIRCRACK_NG_CONF_OPTS += --without-opt
|
|
|
|
endif
|
2013-02-18 09:49:45 +01:00
|
|
|
|
2018-05-29 23:56:47 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_DUMA),y)
|
|
|
|
AIRCRACK_NG_DEPENDENCIES += duma
|
|
|
|
AIRCRACK_NG_CONF_OPTS += --with-duma
|
2013-02-18 09:49:45 +01:00
|
|
|
else
|
2018-05-29 23:56:47 +02:00
|
|
|
AIRCRACK_NG_CONF_OPTS += --without-duma
|
2013-02-18 09:49:45 +01:00
|
|
|
endif
|
|
|
|
|
2018-05-29 23:56:47 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
|
|
|
AIRCRACK_NG_DEPENDENCIES += libgcrypt
|
|
|
|
AIRCRACK_NG_CONF_OPTS += \
|
|
|
|
--with-gcrypt \
|
|
|
|
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
2017-04-21 16:12:33 +02:00
|
|
|
else
|
2018-05-29 23:56:47 +02:00
|
|
|
AIRCRACK_NG_CONF_OPTS += --without-gcrypt
|
2017-04-21 16:12:33 +02:00
|
|
|
endif
|
|
|
|
|
2014-11-11 22:17:11 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
AIRCRACK_NG_DEPENDENCIES += libpcap
|
2018-05-29 23:56:47 +02:00
|
|
|
AIRCRACK_NG_CONF_OPTS += \
|
|
|
|
--with-libpcap-include=$(STAGING_DIR)/usr/include \
|
|
|
|
--with-libpcap-lib=$(STAGING_DIR)/usr/lib
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
AIRCRACK_NG_CONF_ENV += \
|
|
|
|
LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`"
|
2014-11-11 22:17:11 +01:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
AIRCRACK_NG_DEPENDENCIES += sqlite
|
2018-05-29 23:56:47 +02:00
|
|
|
AIRCRACK_NG_CONF_OPTS += --with-sqlite3
|
2014-11-11 22:17:11 +01:00
|
|
|
else
|
2018-05-29 23:56:47 +02:00
|
|
|
AIRCRACK_NG_CONF_OPTS += --without-sqlite3
|
2014-11-11 22:17:11 +01:00
|
|
|
endif
|
2013-05-15 00:26:50 +02:00
|
|
|
|
2018-05-29 23:56:47 +02:00
|
|
|
$(eval $(autotools-package))
|