summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2009-04-09 07:56:26 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2009-04-09 07:56:26 +0200
commitd5c1387db0a7258b2dc98884ed7c51a1534cfa95 (patch)
treebd2f74d3b456e0f84945ae084623957360596a97 /recipes
parent3bd414d3c7b94d691e289eaa642082856df7f190 (diff)
aircrack-ng-0.9.3: use LDFLAGS (fixes QA error)
Diffstat (limited to 'recipes')
-rw-r--r--recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch12
-rw-r--r--recipes/aircrack/aircrack-ng_0.9.3.bb5
2 files changed, 15 insertions, 2 deletions
diff --git a/recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch b/recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch
new file mode 100644
index 0000000000..c064d8052c
--- /dev/null
+++ b/recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch
@@ -0,0 +1,12 @@
+diff -urN aircrack-ng-0.9.3.orig/Makefile aircrack-ng-0.9.3/Makefile
+--- aircrack-ng-0.9.3.orig/Makefile 2008-02-24 20:22:35.000000000 +0100
++++ aircrack-ng-0.9.3/Makefile 2009-04-09 07:53:12.000000000 +0200
+@@ -3,7 +3,7 @@
+
+ CC = gcc
+ CFLAGS ?= -g -W -Wall -O3
+-OPTFLAGS = -D_FILE_OFFSET_BITS=64
++OPTFLAGS = -D_FILE_OFFSET_BITS=64 $(LDFLAGS)
+
+ iCC = /opt/intel/cc/9.0/bin/icc
+ iCFLAGS = -w -mcpu=pentiumpro -march=pentiumpro
diff --git a/recipes/aircrack/aircrack-ng_0.9.3.bb b/recipes/aircrack/aircrack-ng_0.9.3.bb
index 1452a64bc1..ae91314349 100644
--- a/recipes/aircrack/aircrack-ng_0.9.3.bb
+++ b/recipes/aircrack/aircrack-ng_0.9.3.bb
@@ -2,9 +2,10 @@ DESCRIPTION = "Aircrack-ng is a set of tools for wep key statistical cracking"
HOMEPAGE = "http://www.aircrack-ng.org/"
SECTION = "console/network"
LICENSE = "GPLv2"
-PR = "r0"
+PR = "r1"
-SRC_URI = "http://download.aircrack-ng.org/aircrack-ng-${PV}.tar.gz"
+SRC_URI = "http://download.aircrack-ng.org/aircrack-ng-${PV}.tar.gz \
+ file://makefile-ldflags.patch;patch=1"
SBINFILES = "airodump-ng aireplay-ng airmon-ng airtun-ng"
BINFILES = "aircrack-ng airdecap-ng packetforge-ng ivstools kstats makeivs"