From patchwork Fri Feb 8 16:16:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Cans X-Patchwork-Id: 219188 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 728B32C007E for ; Sat, 9 Feb 2013 02:16:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B7B9C30883; Fri, 8 Feb 2013 15:16:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FrH4fu4lqjkV; Fri, 8 Feb 2013 15:16:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E842026734; Fri, 8 Feb 2013 15:16:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1DA778F753 for ; Fri, 8 Feb 2013 15:16:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B82388C4D3 for ; Fri, 8 Feb 2013 15:16:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RG1riNmJGy0m for ; Fri, 8 Feb 2013 15:16:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7703D80C06 for ; Fri, 8 Feb 2013 15:16:36 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id x8so3135278wey.6 for ; Fri, 08 Feb 2013 07:16:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=GobS83pd6WsgFDsR0/W2Tn7UB33IAmdvx/oEBLJsoU8=; b=DI3D5S6pPmAetpwIQdrk/eL4CoRe97LjcM3jIn94fR3fmuaS0uVQf/9ZbJ9WZn1Dmv 0T18DFIDDLJPDwuj9p5z1spBjiG/3JAJ9XmsP/uUA5cTVvzKMARSlf4h9SflsNU8qyx3 x4k6Ts4GwBStFto0vqjX0x19iAXBRvKWmQl0S0l3m2IuUEPbIy9LC4ZsUAoaVPW0bAo4 uk3LmGaPreu+UvkvZOxjTLqYhsg7fgbccqVtcoBYtor0ynnVDsnZ+2snSq+wkLtSh3OD C0ZLkEFbdFN+8hIP5wZ0gx+0AVMmr2xl90Upvp01ql0mbSpEzP1WU7h6XOpEAF1RB+eO M2jQ== X-Received: by 10.180.92.100 with SMTP id cl4mr3222938wib.24.1360336594544; Fri, 08 Feb 2013 07:16:34 -0800 (PST) Received: from localhost.localdomain (che78-4-88-174-199-71.fbx.proxad.net. [88.174.199.71]) by mx.google.com with ESMTPS id bf2sm4725480wib.6.2013.02.08.07.16.32 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Feb 2013 07:16:33 -0800 (PST) From: Laurent Cans To: buildroot@busybox.net Date: Fri, 8 Feb 2013 17:16:29 +0100 Message-Id: <1360340189-4409-1-git-send-email-laurent.cans@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] aircrack-ng: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 --- 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))