View | Details | Raw Unified | Return to bug 112189
Collapse All | Expand All

(-)Makefile (-11 / +17 lines)
Lines 2-12 Link Here
2
# Date created:				2006-05-25
2
# Date created:				2006-05-25
3
# Whom:					Lars Engels <lars.engels@0x20.net>
3
# Whom:					Lars Engels <lars.engels@0x20.net>
4
#
4
#
5
# $FreeBSD: ports/net-mgmt/aircrack-ng/Makefile,v 1.8 2007/04/26 19:41:15 miwi Exp $
5
# $FreeBSD: ports/net-mgmt/aircrack-ng/Makefile,v 1.7 2007/01/24 22:39:54 miwi Exp $
6
#
6
#
7
7
8
PORTNAME=	aircrack-ng
8
PORTNAME=	aircrack-ng
9
PORTVERSION=	0.8
9
PORTVERSION=	0.8
10
PORTREVISION=	1
10
CATEGORIES=	net-mgmt
11
CATEGORIES=	net-mgmt
11
MASTER_SITES=	http://download.aircrack-ng.org/ \
12
MASTER_SITES=	http://download.aircrack-ng.org/ \
12
		http://bsd-geek.de/FreeBSD/distfiles/
13
		http://bsd-geek.de/FreeBSD/distfiles/
Lines 14-32 Link Here
14
MAINTAINER=	lars.engels@0x20.net
15
MAINTAINER=	lars.engels@0x20.net
15
COMMENT=	Aircrack-ng is the next generation of aircrack with new features
16
COMMENT=	Aircrack-ng is the next generation of aircrack with new features
16
17
17
ALL_TARGET=	aircrack-ng airdecap-ng packetforge-ng ivstools kstats makeivs
18
ALL_TARGET=	aircrack-ng airdecap-ng packetforge-ng ivstools kstats makeivs \
18
19
		airodump-ng airtun-ng
19
PLIST_FILES=	bin/aircrack-ng bin/airdecap-ng bin/packetforge-ng bin/ivstools \
20
PLIST_FILES=	bin/aircrack-ng bin/airdecap-ng bin/packetforge-ng bin/ivstools \
20
		bin/kstats bin/makeivs
21
		bin/kstats bin/makeivs sbin/airodump-ng sbin/airtun-ng
21
22
22
MAN1=		aircrack-ng.1 airdecap-ng.1 packetforge-ng.1 ivstools.1 makeivs.1
23
SUB_FILES=	pkg-message
23
24
25
MAN1=		aircrack-ng.1 airdecap-ng.1 packetforge-ng.1 ivstools.1 \
26
		makeivs.1 airodump-ng.1 airtun-ng.1
24
.include <bsd.port.pre.mk>
27
.include <bsd.port.pre.mk>
25
28
26
.if ${OSVERSION} >= 700000
29
.if ${OSVERSION} >= 700000
27
ALL_TARGET+=	aireplay-ng airodump-ng airtun-ng
30
ALL_TARGET+=	aireplay-ng
28
PLIST_FILES+=	bin/aireplay-ng bin/airodump-ng bin/airtun-ng
31
PLIST_FILES+=	sbin/aireplay-ng
29
MAN1+=		aireplay-ng.1 airodump-ng.1 airtun-ng.1
32
MAN1+=		aireplay-ng.1
30
.endif
33
.endif
31
34
32
post-patch:
35
post-patch:
Lines 40-53 Link Here
40
	${INSTALL_PROGRAM} ${WRKSRC}/ivstools ${PREFIX}/bin
43
	${INSTALL_PROGRAM} ${WRKSRC}/ivstools ${PREFIX}/bin
41
	${INSTALL_PROGRAM} ${WRKSRC}/kstats ${PREFIX}/bin
44
	${INSTALL_PROGRAM} ${WRKSRC}/kstats ${PREFIX}/bin
42
	${INSTALL_PROGRAM} ${WRKSRC}/makeivs ${PREFIX}/bin
45
	${INSTALL_PROGRAM} ${WRKSRC}/makeivs ${PREFIX}/bin
46
	${INSTALL_PROGRAM} ${WRKSRC}/airodump-ng ${PREFIX}/sbin
47
	${INSTALL_PROGRAM} ${WRKSRC}/airtun-ng ${PREFIX}/sbin
43
.if ${OSVERSION} >= 700000
48
.if ${OSVERSION} >= 700000
44
	${INSTALL_PROGRAM} ${WRKSRC}/aireplay-ng ${PREFIX}/bin
49
	${INSTALL_PROGRAM} ${WRKSRC}/aireplay-ng ${PREFIX}/sbin
45
	${INSTALL_PROGRAM} ${WRKSRC}/airodump-ng ${PREFIX}/bin
46
	${INSTALL_PROGRAM} ${WRKSRC}/airtun-ng ${PREFIX}/bin
47
.endif
50
.endif
48
51
49
.for manpage in ${MAN1}
52
.for manpage in ${MAN1}
50
	${INSTALL_MAN} ${WRKSRC}/manpages/${manpage} ${PREFIX}/man/man1
53
	${INSTALL_MAN} ${WRKSRC}/manpages/${manpage} ${PREFIX}/man/man1
51
.endfor
54
.endfor
52
55
56
post-install:
57
	${CAT} ${PKGMESSAGE}
58
53
.include <bsd.port.post.mk>
59
.include <bsd.port.post.mk>
(-)files/pkg-message.in (+11 lines)
Added Link Here
1
===============================================================================
2
3
In contrast to Linux it is not necessary to use airmon-ng to enable the monitor
4
mode of your wireless card. So do not care about what the manpages say about
5
airmon-ng. airodump-ng sets monitor mode automatically.
6
To return from monitor mode use:
7
ifconfig ${INTERFACE} -mediaopt monitor
8
9
For aireplay-ng you need FreeBSD 7-Current. 
10
11
===============================================================================

Return to bug 112189