31d1fc36cc
# uname -a FreeBSD localhost 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Nov 17 15:08:10 PST 2003 sean@localhost:/usr/obj/usr/src/sys/POSDELLAPTOP i386 # dmesg -a | grep wi0 wi0: <NETGEAR MA401 Wireless PC Card> at port 0x100-0x13f irq 11 function 0 \ config 1 on pccard0 wi0: 802.11 address: 00:30:ab:11:f6:88 wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3) wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps # dstumbler wi0 -o [dstumbler fires up and works beautifully] Pointed out by: Eugene <eugene3@web.de>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: bsd-airtools
|
|
# Date created: 2002/07/06
|
|
# Whom: Sean Chittenden <seanc@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bsd-airtools
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://people.FreeBSD.org/~seanc/ports/bsd-airtools/
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= seanc@FreeBSD.org
|
|
COMMENT= BSD Wireless Scanning Tools
|
|
|
|
CONF_AIRTOOLS= dstumbler
|
|
MAKE_AIRTOOLS= dweputils/dwepcrack dweputils/dwepdump \
|
|
dweputils/dwepkeygen prism2ctl prism2dump
|
|
INST_AIRTOOLS= ${CONF_AIRTOOLS} ${MAKE_AIRTOOLS}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
.if !exists(/usr/include/dev/wi/if_wavelan_ieee.h)
|
|
BROKEN= You need to upgrade
|
|
.endif
|
|
|
|
do-build:
|
|
.for TOOL in ${CONF_AIRTOOLS}
|
|
@cd ${WRKSRC}/${TOOL}; ${SH} ${CONFIGURE_SCRIPT}; ${MAKE}
|
|
.endfor
|
|
.for TOOL in ${MAKE_AIRTOOLS}
|
|
@cd ${WRKSRC}/${TOOL}; ${MAKE}
|
|
.endfor
|
|
|
|
do-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
.for TOOL in ${INST_AIRTOOLS}
|
|
@cd ${WRKSRC}/${TOOL}; ${MAKE} ${INSTALL_TARGET}
|
|
${INSTALL_DATA} ${WRKSRC}/${TOOL}/README \
|
|
${DOCSDIR}/README.`${BASENAME} ${TOOL}`
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|