diff options
author | Laurent Cans <laurent.cans@gmail.com> | 2013-02-18 08:49:45 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-03-04 21:37:18 +0100 |
commit | 44b11564e4ca61a6b5c0f4bd8ea54bd411886e2f (patch) | |
tree | 732768fe42ab7c802fed798abef9ec551a5e1431 /package | |
parent | bfbfc93cc7b7a9e2cf54736561a41db67ac8e67a (diff) | |
download | buildroot-novena-44b11564e4ca61a6b5c0f4bd8ea54bd411886e2f.tar.gz buildroot-novena-44b11564e4ca61a6b5c0f4bd8ea54bd411886e2f.zip |
aircrack-ng: new package
Aircrack-ng is a set of tools for auditing wireless security.
[Peter: mention that iw is a runtime dependency, use MAKE1]
Signed-off-by: Laurent Cans <laurent.cans@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/aircrack-ng/Config.in | 13 | ||||
-rw-r--r-- | package/aircrack-ng/aircrack-ng.mk | 43 |
3 files changed, 57 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index 6701dc61f..56fdd2fa0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -613,6 +613,7 @@ source "package/sound-theme-freedesktop/Config.in" endmenu menu "Networking applications" +source "package/aircrack-ng/Config.in" source "package/argus/Config.in" source "package/arptables/Config.in" source "package/avahi/Config.in" diff --git a/package/aircrack-ng/Config.in b/package/aircrack-ng/Config.in new file mode 100644 index 000000000..419f991ef --- /dev/null +++ b/package/aircrack-ng/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_AIRCRACK_NG + bool "aircrack-ng" + depends on BR2_LARGEFILE + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_IW # runtime + help + A set of tools for auditing wireless networks + + http://www.aircrack-ng.org/ + +comment "aircrack-ng needs a toolchain with largefile support" + depends on !BR2_LARGEFILE + diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk new file mode 100644 index 000000000..48897da7c --- /dev/null +++ b/package/aircrack-ng/aircrack-ng.mk @@ -0,0 +1,43 @@ +############################################################# +# +# Aircrack-ng +# +############################################################# + +AIRCRACK_NG_VERSION = 1.1 +AIRCRACK_NG_SOURCE = aircrack-ng-$(AIRCRACK_NG_VERSION).tar.gz +AIRCRACK_NG_SITE = http://download.aircrack-ng.org +AIRCRACK_NG_LICENSE = GPLv2+ +AIRCRACK_NG_LICENSE_FILES = LICENSE +AIRCRACK_NG_DEPENDENCIES = openssl + +ifeq ($(BR2_PACKAGE_SQLITE),y) + AIRCRACK_NG_MAKE_OPTS = sqlite=true + AIRCRACK_NG_MAKE_OPTS += LIBSQL="-lsqlite3" + + AIRCRACK_NG_DEPENDENCIES += sqlite +else + AIRCRACK_NG_MAKE_OPTS = sqlite=false +endif + +define AIRCRACK_NG_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)\ + $(AIRCRACK_NG_MAKE_OPTS) all +endef + +define AIRCRACK_NG_CLEAN_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)\ + $(AIRCRACK_NG_MAKE_OPTS) clean +endef + +define AIRCRACK_NG_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) \ + $(AIRCRACK_NG_MAKE_OPTS) install +endef + +define AIRCRACK_NG_UNINSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) \ + $(AIRCRACK_NG_MAKE_OPTS) uninstall +endef + +$(eval $(generic-package)) |