From d5c1387db0a7258b2dc98884ed7c51a1534cfa95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Thu, 9 Apr 2009 07:56:26 +0200 Subject: aircrack-ng-0.9.3: use LDFLAGS (fixes QA error) --- recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch | 12 ++++++++++++ recipes/aircrack/aircrack-ng_0.9.3.bb | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch 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" -- cgit v1.2.3