Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Cans <laurent.cans@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot]  [PATCH] aircrack-ng: new package
Date: Fri,  8 Feb 2013 17:16:29 +0100	[thread overview]
Message-ID: <1360340189-4409-1-git-send-email-laurent.cans@gmail.com> (raw)

Aircrack-ng is a set of tools for auditing wireless security.

Although the last version is 1.1, I choose to package last svn version due to a fixed bug which fix a failed compilation.

Signed-off-by: Laurent Cans <laurent.cans@gmail.com>
---
 package/Config.in                  |    1 +
 package/aircrack-ng/Config.in      |    9 +++++++++
 package/aircrack-ng/aircrack-ng.mk |   34 ++++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100644 package/aircrack-ng/Config.in
 create mode 100644 package/aircrack-ng/aircrack-ng.mk

diff --git a/package/Config.in b/package/Config.in
index 8588951..c820d68 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -612,6 +612,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 0000000..1efa8e6
--- /dev/null
+++ b/package/aircrack-ng/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_AIRCRACK_NG
+	bool "aircrack-ng"
+	depends on BR2_LARGEFILE
+	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_WI
+	help
+	  A set of tools for auditing wireless networks
+
+	  http://www.aircrack-ng.org/
diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk
new file mode 100644
index 0000000..29f638c
--- /dev/null
+++ b/package/aircrack-ng/aircrack-ng.mk
@@ -0,0 +1,34 @@
+#############################################################
+#
+# Aircrack-ng
+#
+#############################################################
+AIRCRACK_NG_VERSION = 2245
+AIRCRACK_NG_SITE = http://trac.aircrack-ng.org/svn/trunk
+AIRCRACK_NG_SITE_METHOD = svn
+AIRCRACK_NG_LICENSE = GPLv2
+AIRCRACK_NG_LICENSE_FILES = LICENSE
+AIRCRACK_NG_DEPENDENCIES = openssl
+
+ifeq($(BR2_PACKAGE_SQLITE),y)
+      AIRCRACK_NG_OPTS = sqlite=true
+      AIRCRACK_NG_DEPENDENCIES += sqlite
+endif
+
+define AIRCRACK_NG_BUILD_CMDS
+      $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) $(AIRCRACK_NG_OPTS) all
+endef
+
+define AIRCRACK_NG_CLEAN_CMDS
+      $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) $(AIRCRACK_NG_OPTS) clean
+endef
+
+define AIRCRACK_NG_INSTALL_TARGET_CMDS
+      $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) $(AIRCRACK_NG_OPTS) install
+endef
+
+define AIRCRACK_NG_UNINSTALL_TARGET_CMDS
+      $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) $(AIRCRACK_NG_OPTS) uninstall
+endef
+
+$(eval $(generic-package))
-- 
1.7.10.4

             reply	other threads:[~2013-02-08 16:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 16:16 Laurent Cans [this message]
2013-02-08 15:30 ` [Buildroot] [PATCH] aircrack-ng: new package Gustavo Zacarias
2013-02-08 18:53   ` Laurent CANS
2013-02-08 15:32 ` Thomas Petazzoni
2013-02-08 15:37   ` Stephan Hoffmann
2013-02-08 20:26   ` Arnout Vandecappelle
2013-02-10 15:08     ` Laurent CANS
2013-02-12 17:01       ` Arnout Vandecappelle
2013-02-08 16:20 ` Stefan Fröberg
2013-02-08 22:38   ` Laurent CANS
2013-02-09 11:36     ` Stefan Fröberg
2013-02-09 11:45       ` Stefan Fröberg
2013-02-09 12:01         ` Thomas Petazzoni
2013-02-09 12:18           ` Stefan Fröberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1360340189-4409-1-git-send-email-laurent.cans@gmail.com \
    --to=laurent.cans@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox