From lars@0x20.net  Fri Apr 27 18:43:00 2007
Return-Path: <lars@0x20.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8C5E516A402
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Apr 2007 18:43:00 +0000 (UTC)
	(envelope-from lars@0x20.net)
Received: from mail.0x20.net (mail.0x20.net [217.69.67.217])
	by mx1.freebsd.org (Postfix) with ESMTP id 1ECE513C465
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Apr 2007 18:43:00 +0000 (UTC)
	(envelope-from lars@0x20.net)
Received: from maggie.bsd-geek.de (dslb-084-060-212-060.pools.arcor-ip.net [84.60.212.60])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: lala)
	by mail.0x20.net (Postfix) with ESMTP id 0548E37ADC
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Apr 2007 20:42:58 +0200 (CEST)
Received: from maggie.bsd-geek.de (localhost [127.0.0.1])
	by maggie.bsd-geek.de (8.14.1/8.13.8) with ESMTP id l3RIguf6008240
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Apr 2007 20:42:56 +0200 (CEST)
	(envelope-from lars@maggie.bsd-geek.de)
Received: (from root@localhost)
	by maggie.bsd-geek.de (8.14.1/8.13.8/Submit) id l3RIguwb008239;
	Fri, 27 Apr 2007 20:42:56 +0200 (CEST)
	(envelope-from lars)
Message-Id: <200704271842.l3RIguwb008239@maggie.bsd-geek.de>
Date: Fri, 27 Apr 2007 20:42:56 +0200 (CEST)
From: Lars Engels <lars.engels@0x20.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] net-mgmt/aircrack-ng: revise port
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         112189
>Category:       ports
>Synopsis:       [MAINTAINER] net-mgmt/aircrack-ng: revise port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 27 18:50:02 GMT 2007
>Closed-Date:    Sun Apr 29 14:00:39 GMT 2007
>Last-Modified:  Sun Apr 29 14:00:39 GMT 2007
>Originator:     Lars Engels
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD maggie.bsd-geek.de 7.0-CURRENT FreeBSD 7.0-CURRENT #9: Thu Apr 26 22:07:48 CEST 2007
>Description:
I should read changelogs more carefully...
airtun-ng and airodump-ng _do_ build on 6.x, so build them by default.
Also added a new pkg-message to explain the reason that airmon-ng is missing.

Thanks for the advises to:
Eric P. Scott, Jan Henrik Sylvester and zion.

Added file(s):
- files/pkg-message.in

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- aircrack-ng-0.8_1.patch begins here ---
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 <lars.engels@0x20.net>
 #
-# $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 <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 @@
 	${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>
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. 
+
+===============================================================================
--- aircrack-ng-0.8_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Apr 27 18:50:11 UTC 2007 
Responsible-Changed-Why:  
miwi@ wants this PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112189 

From: "Eric P. Scott" <eps+pcmt0704@ana.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/112189: [MAINTAINER] net-mgmt/aircrack-ng: revise port
Date: Sat, 28 Apr 2007 00:28:15 -0700 (PDT)

 It looks like MAN1= is still missing kstats.1

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/112189: commit references a PR
Date: Sat, 28 Apr 2007 12:54:04 +0000 (UTC)

 miwi        2007-04-28 12:53:58 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt/aircrack-ng Makefile 
   Added files:
     net-mgmt/aircrack-ng/files pkg-message.in 
   Log:
   airtun-ng and airodump-ng _do_ build on 6.x, so build them by default.
   Also added a new pkg-message to explain the reason that airmon-ng is missing.
   
   Thanks for the advises to:
   Eric P. Scott, Jan Henrik Sylvester and zion.
   
   PR:             112189
   Submitted by:   Lars Engels <lars.engels@0x20.net> (maintainer)
   
   Revision  Changes    Path
   1.9       +16 -10    ports/net-mgmt/aircrack-ng/Makefile
   1.3       +11 -0     ports/net-mgmt/aircrack-ng/files/pkg-message.in (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Apr 29 14:00:37 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112189 
>Unformatted:
