aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/aircrack-ng
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-04-28 12:53:58 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-04-28 12:53:58 +0000
commit77f3442b27ec67b1482fceaa2b9203f2cc000601 (patch)
tree4cfd161dab2617716f292089fa86b97c9fd4f8e9 /net-mgmt/aircrack-ng
parent699f03a5c1bc1c2a118533d4070ad3a5e1076374 (diff)
downloadports-77f3442b27ec67b1482fceaa2b9203f2cc000601.tar.gz
ports-77f3442b27ec67b1482fceaa2b9203f2cc000601.zip
Notes
Diffstat (limited to 'net-mgmt/aircrack-ng')
-rw-r--r--net-mgmt/aircrack-ng/Makefile26
-rw-r--r--net-mgmt/aircrack-ng/files/pkg-message.in11
2 files changed, 27 insertions, 10 deletions
diff --git a/net-mgmt/aircrack-ng/Makefile b/net-mgmt/aircrack-ng/Makefile
index 852f9fb0cd84..d082dd7f3848 100644
--- a/net-mgmt/aircrack-ng/Makefile
+++ b/net-mgmt/aircrack-ng/Makefile
@@ -7,6 +7,7 @@
PORTNAME= aircrack-ng
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://download.aircrack-ng.org/ \
http://bsd-geek.de/FreeBSD/distfiles/
@@ -14,19 +15,21 @@ MASTER_SITES= http://download.aircrack-ng.org/ \
MAINTAINER= lars.engels@0x20.net
COMMENT= Aircrack-ng is the next generation of aircrack with new features
-ALL_TARGET= aircrack-ng airdecap-ng packetforge-ng ivstools kstats makeivs
-
+ALL_TARGET= aircrack-ng airdecap-ng packetforge-ng ivstools kstats makeivs \
+ airodump-ng airtun-ng
PLIST_FILES= bin/aircrack-ng bin/airdecap-ng bin/packetforge-ng bin/ivstools \
- bin/kstats bin/makeivs
+ bin/kstats bin/makeivs sbin/airodump-ng sbin/airtun-ng
-MAN1= aircrack-ng.1 airdecap-ng.1 packetforge-ng.1 ivstools.1 makeivs.1
+SUB_FILES= pkg-message
+MAN1= aircrack-ng.1 airdecap-ng.1 packetforge-ng.1 ivstools.1 \
+ makeivs.1 airodump-ng.1 airtun-ng.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700000
-ALL_TARGET+= aireplay-ng airodump-ng airtun-ng
-PLIST_FILES+= bin/aireplay-ng bin/airodump-ng bin/airtun-ng
-MAN1+= aireplay-ng.1 airodump-ng.1 airtun-ng.1
+ALL_TARGET+= aireplay-ng
+PLIST_FILES+= sbin/aireplay-ng
+MAN1+= aireplay-ng.1
.endif
post-patch:
@@ -40,14 +43,17 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ivstools ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/kstats ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/makeivs ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/airodump-ng ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/airtun-ng ${PREFIX}/sbin
.if ${OSVERSION} >= 700000
- ${INSTALL_PROGRAM} ${WRKSRC}/aireplay-ng ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/airodump-ng ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/airtun-ng ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/aireplay-ng ${PREFIX}/sbin
.endif
.for manpage in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/manpages/${manpage} ${PREFIX}/man/man1
.endfor
+post-install:
+ ${CAT} ${PKGMESSAGE}
+
.include <bsd.port.post.mk>
diff --git a/net-mgmt/aircrack-ng/files/pkg-message.in b/net-mgmt/aircrack-ng/files/pkg-message.in
new file mode 100644
index 000000000000..e22d8c226dae
--- /dev/null
+++ b/net-mgmt/aircrack-ng/files/pkg-message.in
@@ -0,0 +1,11 @@
+===============================================================================
+
+In contrast to Linux it is not necessary to use airmon-ng to enable the monitor
+mode of your wireless card. So do not care about what the manpages say about
+airmon-ng. airodump-ng sets monitor mode automatically.
+To return from monitor mode use:
+ifconfig ${INTERFACE} -mediaopt monitor
+
+For aireplay-ng you need FreeBSD 7-Current.
+
+===============================================================================