openbsd-ports/security/aircrack-ng/patches/patch-common_mak
kili 00090a234c aircrack is an 802.11 WEP and WPA-PSK keys cracking program that
can recover keys once enough data packets have been captured.

  It implements the standard FMS attack along with some optimizations
  like KoreK attacks, thus making the attack much faster compared to
  other WEP cracking tools. In fact, aircrack is a set of tools for
  auditing wireless networks.

From Benoit Lecocq.

Note: aireplay-ng can cause kernel panics (as reported by David
Coppa), so this isn't yet connected to the build. But having it in
the tree may get some more people testing driver patches.

prodded by and ok fgsch@
"sounds like a plan" ckuethe@
2009-05-06 20:39:29 +00:00

33 lines
1.2 KiB
Plaintext

--- common.mak.orig Thu Mar 26 22:01:02 2009
+++ common.mak Wed Apr 15 18:36:48 2009
@@ -31,16 +31,16 @@ COMMON_CFLAGS += -DCYGWIN
endif
ifeq ($(SQLITE), true)
- COMMON_CFLAGS += -I/usr/local/include -DHAVE_SQLITE
+ COMMON_CFLAGS += -I${LOCALBASE}/include -DHAVE_SQLITE
else
ifeq ($(sqlite), true)
- COMMON_CFLAGS += -I/usr/local/include -DHAVE_SQLITE
+ COMMON_CFLAGS += -I${LOCALBASE}/include -DHAVE_SQLITE
else
ifeq ($(SQLITE), TRUE)
- COMMON_CFLAGS += -I/usr/local/include -DHAVE_SQLITE
+ COMMON_CFLAGS += -I${LOCALBASE}/include -DHAVE_SQLITE
else
ifeq ($(sqlite), TRUE)
- COMMON_CFLAGS += -I/usr/local/include -DHAVE_SQLITE
+ COMMON_CFLAGS += -I${LOCALBASE}/include -DHAVE_SQLITE
endif
endif
endif
@@ -70,7 +70,7 @@ OPTFLAGS = -D_FILE_OFFSET_BITS=64
CFLAGS ?= -g -W -Wall -Werror -O3
CFLAGS += $(OPTFLAGS) $(REVFLAGS) $(COMMON_CFLAGS)
-prefix = /usr/local
+prefix = ${LOCALBASE}
bindir = $(prefix)/bin
sbindir = $(prefix)/sbin
mandir = $(prefix)/man/man1