1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/wlan2eth/Makefile
Rusmir Dusko db4ca19e0a A simple tool to convert packet captures in 802.11 format to Ethernet format.
Lots of tools can only understand Ethernet link types, so I wrote this
tool to convert captures to a format that they can understand.
Note that this tool is really only useful for encrypted traffic.

Specify a wireless packet capture as an input file, and the name of the
desired Ethernet-format output file. Wlan2eth will only convert data frames
to the output file, which will likely result in a significantly smaller output
packet capture file. Note that wlan2eth will only convert unencrypted frames.

WWW: http://www.willhackforsushi.com/?page_id=79

PR:		ports/179095
Submitted by:	nemysis (self)
Approved by:	wg/pawel (mentors)
2013-10-16 21:37:38 +00:00

33 lines
706 B
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= wlan2eth
PORTVERSION= 1.3
CATEGORIES= net security
MASTER_SITES= http://www.willhackforsushi.com/code/${PORTNAME}/
EXTRACT_SUFX= .tgz
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Convert packet captures in 802.11 format to Ethernet format
LICENSE= GPLv2
PORTDOCS= THANKS
SUB_FILES= pkg-message
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>