[Midnightbsd-cvs] mports: net-mgmt/aircrack-ng: Update to aircrack-ng .9.1

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Feb 28 09:39:18 EST 2008


Log Message:
-----------
Update to aircrack-ng .9.1

Modified Files:
--------------
    mports/net-mgmt/aircrack-ng:
        Makefile (r1.2 -> r1.3)
        distinfo (r1.1 -> r1.2)
        pkg-descr (r1.1 -> r1.2)
    mports/net-mgmt/aircrack-ng/files:
        pkg-message.in (r1.2 -> r1.3)

-------------- next part --------------
Index: pkg-descr
===================================================================
RCS file: /home/cvs/mports/net-mgmt/aircrack-ng/pkg-descr,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net-mgmt/aircrack-ng/pkg-descr -L net-mgmt/aircrack-ng/pkg-descr -u -r1.1 -r1.2
--- net-mgmt/aircrack-ng/pkg-descr
+++ net-mgmt/aircrack-ng/pkg-descr
@@ -5,5 +5,4 @@
 other WEP cracking tools. In fact aircrack is a set of tools for 
 auditing wireless networks.
 
-Author:	Thomas d'Otreppe
 WWW:	http://www.aircrack-ng.org/doku.php
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net-mgmt/aircrack-ng/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L net-mgmt/aircrack-ng/Makefile -L net-mgmt/aircrack-ng/Makefile -u -r1.2 -r1.3
--- net-mgmt/aircrack-ng/Makefile
+++ net-mgmt/aircrack-ng/Makefile
@@ -3,33 +3,36 @@
 # Whom:					Lars Engels <lars.engels at 0x20.net>
 #
 # $MidnightBSD$
-# $FreeBSD: ports/net-mgmt/aircrack-ng/Makefile,v 1.7 2007/01/24 22:39:54 miwi Exp $
+# $FreeBSD: ports/net-mgmt/aircrack-ng/Makefile,v 1.14 2007/07/12 18:51:59 lme Exp $
 #
 
 PORTNAME=	aircrack-ng
-PORTVERSION=	0.7
+PORTVERSION=	0.9.1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://download.aircrack-ng.org/ \
 		http://bsd-geek.de/FreeBSD/distfiles/
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	Aircrack-ng is the next generation of aircrack
+COMMENT=	Aircrack-ng is the next generation of aircrack with new features
 LICENSE=	gpl2
 
-USE_GMAKE=	yes
-ALL_TARGET=	aircrack-ng airdecap-ng packetforge-ng ivstools kstats
-
+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
-MAN1=		aircrack-ng.1 airdecap-ng.1 packetforge-ng.1 ivstools.1
+		bin/kstats bin/makeivs sbin/airodump-ng sbin/airtun-ng
 
-SUB_FILES+=	pkg-message
+SUB_FILES=	pkg-message
 
+MAN1=		aircrack-ng.1 airdecap-ng.1 packetforge-ng.1 ivstools.1 \
+		makeivs.1 airodump-ng.1 airtun-ng.1 kstats.1
 .include <bsd.port.pre.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} \
+		-e 's|/usr/local|${PREFIX}|g' \
+		-e 's|-lpthread|${PTHREAD_LIBS}|g;' \
+		-e '/^CC/d;' \
+			${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/aircrack-ng ${PREFIX}/bin
@@ -37,9 +40,12 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/packetforge-ng ${PREFIX}/bin
 	${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
+
 .for manpage in ${MAN1}
 	${INSTALL_MAN} ${WRKSRC}/manpages/${manpage} ${PREFIX}/man/man1
 .endfor
 
-
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/net-mgmt/aircrack-ng/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net-mgmt/aircrack-ng/distinfo -L net-mgmt/aircrack-ng/distinfo -u -r1.1 -r1.2
--- net-mgmt/aircrack-ng/distinfo
+++ net-mgmt/aircrack-ng/distinfo
@@ -1,3 +1,3 @@
-MD5 (aircrack-ng-0.7.tar.gz) = 34c0447951d438d76fa32d08eab5da01
-SHA256 (aircrack-ng-0.7.tar.gz) = 90cbd5030938ce1622a8e399c95088bf464bceb95adc290640d4610eb8522aeb
-SIZE (aircrack-ng-0.7.tar.gz) = 172998
+MD5 (aircrack-ng-0.9.1.tar.gz) = 07488ff1e178b5b7fe04c6fd78da2b96
+SHA256 (aircrack-ng-0.9.1.tar.gz) = dd76f20083aca758c71ce8b7d9f0a4c0042b9720d508e48339bf0949fad5300c
+SIZE (aircrack-ng-0.9.1.tar.gz) = 606371
Index: pkg-message.in
===================================================================
RCS file: /home/cvs/mports/net-mgmt/aircrack-ng/files/pkg-message.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -L net-mgmt/aircrack-ng/files/pkg-message.in -L net-mgmt/aircrack-ng/files/pkg-message.in -u -r1.2 -r1.3
--- net-mgmt/aircrack-ng/files/pkg-message.in
+++ net-mgmt/aircrack-ng/files/pkg-message.in
@@ -1,7 +1,5 @@
-Currently only airdecap-ng, packetforge-ng, aircrack-ng, ivstools and 
-kstats can be compiled as aireplay-ng, airomon-ng and airodump-ng
-are too Linux-specific to be built on BSD.
-However aircrack-ng can read Kismet's dumpfile.
-
-If you manage to patch the port so that the missing tools can be built
-on MidnightBSD, please contact the port's maintainer.
+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


More information about the Midnightbsd-cvs mailing list