Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net-mgmt/aircrack-ng/Makefile,v retrieving revision 1.8 diff -u -u -r1.8 Makefile --- Makefile 26 Apr 2007 19:41:15 -0000 1.8 +++ Makefile 27 Apr 2007 18:37:02 -0000 @@ -2,11 +2,12 @@ # Date created: 2006-05-25 # Whom: Lars Engels # -# $FreeBSD: ports/net-mgmt/aircrack-ng/Makefile,v 1.8 2007/04/26 19:41:15 miwi Exp $ +# $FreeBSD: ports/net-mgmt/aircrack-ng/Makefile,v 1.7 2007/01/24 22:39:54 miwi Exp $ # 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 @@ 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 .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 @@ ${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 Index: files/pkg-message.in =================================================================== RCS file: files/pkg-message.in diff -N files/pkg-message.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-message.in 27 Apr 2007 18:37:02 -0000 @@ -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. + +===============================================================================