From 913143065f532e467c2edc107c3a13007da09dda Mon Sep 17 00:00:00 2001 From: jsyn Date: Sat, 8 Jun 2002 05:50:50 +0000 Subject: [PATCH] Import of bsd-airtools-0.2: -- bsd-airtools provides a complete toolset for wireless 802.11b auditing. Namely, it contains a curses-based AP detection application, dstumbler, that is similar to netstumbler. It can be used to detect wireless access points and connected nodes, view signal to noise graphs, and interactively scroll through scanned APs and view statistics for each. It also contains a BSD-based WEP cracking application, called dweputils. Finally, this package includes several tools to allow testing and analysis of all 14 of the prism2 chipset's debug modes. WWW: http://www.dachb0den.com/projects/bsd-airtools.html MAINTAINER= Jason Peel portions looked over by pval@ and brad@ --- security/bsd-airtools/Makefile | 79 +++++++++++++++++++++++++++++++++ security/bsd-airtools/distinfo | 3 ++ security/bsd-airtools/pkg/DESCR | 10 +++++ security/bsd-airtools/pkg/PLIST | 15 +++++++ 4 files changed, 107 insertions(+) create mode 100644 security/bsd-airtools/Makefile create mode 100644 security/bsd-airtools/distinfo create mode 100644 security/bsd-airtools/pkg/DESCR create mode 100644 security/bsd-airtools/pkg/PLIST diff --git a/security/bsd-airtools/Makefile b/security/bsd-airtools/Makefile new file mode 100644 index 00000000000..8516b8079b2 --- /dev/null +++ b/security/bsd-airtools/Makefile @@ -0,0 +1,79 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/06/08 05:50:50 jsyn Exp $ + +COMMENT= "wireless auditing suite" + +DISTNAME= bsd-airtools-v0.2 +PKGNAME= bsd-airtools-0.2 +CATEGORIES= security net +NEED_VERSION= 1.531 +EXTRACT_SUFX= .tgz + +HOMEPAGE= http://www.dachb0den.com/projects/bsd-airtools.html + +MAINTAINER= Jason Peel + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://www.dachb0den.com/projects/bsd-airtools/ \ + ftp://ftp.dachb0den.com/pub/projects/bsd-airtools/ + +WRKDIST= ${WRKDIR}/bsd-airtools + +HEADERFIX_FILES= dstumbler/dstumbler.h dweputils/dwepcrack/dwepcrack.h \ + dweputils/dwepdump/dwepdump.c prism2ctl/prism2ctl.c + +post-extract: +.for i in ${HEADERFIX_FILES} + @perl -pi -e 's#\#\#' \ + ${WRKDIST}/$i +.endfor + +MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" + +do-configure: + cd ${WRKDIST}/dstumbler; env ${MAKE_FLAGS} ./configure + +BUILD_DIRS= dstumbler dweputils/dwepdump prism2ctl prism2dump \ + dweputils/dwepcrack dweputils/dwepkeygen + +do-build: +.for i in ${BUILD_DIRS} + cd ${WRKDIST}/$i; make ${MAKE_FLAGS} +.endfor + +NO_REGRESS= Yes + +DOCS= ${PREFIX}/share/doc/bsd-airtools + +INSTALL_700= dstumbler/dstumbler dweputils/dwepdump/dwepdump \ + prism2ctl/prism2ctl prism2dump/prism2dump + +INSTALL_755= dweputils/dwepcrack/dwepcrack \ + dweputils/dwepkeygen/dwepkeygen + +do-install: +.for i in ${INSTALL_700} + ${INSTALL_PROGRAM} -m 700 ${WRKDIST}/$i ${PREFIX}/sbin +.endfor +.for i in ${INSTALL_755} + ${INSTALL_PROGRAM} -m 755 ${WRKDIST}/$i ${PREFIX}/sbin +.endfor + ${INSTALL_DATA_DIR} ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/dstumbler/README ${DOCS}/README.dstumbler + ${INSTALL_DATA} ${WRKSRC}/dstumbler/OVERVIEW ${DOCS}/OVERVIEW.dstumbler + ${INSTALL_DATA} ${WRKSRC}/dweputils/dwepcrack/README \ + ${DOCS}/README.dwepcrack + ${INSTALL_DATA} ${WRKSRC}/dweputils/dwepdump/README \ + ${DOCS}/README.dwepdump + ${INSTALL_DATA} ${WRKSRC}/dweputils/dwepkeygen/README \ + ${DOCS}/README.dwepkeygen + ${INSTALL_DATA} ${WRKSRC}/prism2ctl/README \ + ${DOCS}/README.prism2ctl + ${INSTALL_DATA} ${WRKSRC}/prism2dump/README \ + ${DOCS}/README.prism2dump + +.include diff --git a/security/bsd-airtools/distinfo b/security/bsd-airtools/distinfo new file mode 100644 index 00000000000..c7cb9867296 --- /dev/null +++ b/security/bsd-airtools/distinfo @@ -0,0 +1,3 @@ +MD5 (bsd-airtools-v0.2.tgz) = f4e4378d4bb831e83650ae0c81039e18 +RMD160 (bsd-airtools-v0.2.tgz) = 6165db2ed53d9406ffaee75b3969906ec80fd9f0 +SHA1 (bsd-airtools-v0.2.tgz) = a80017990fcbd4f719018f49fde1982e76957db9 diff --git a/security/bsd-airtools/pkg/DESCR b/security/bsd-airtools/pkg/DESCR new file mode 100644 index 00000000000..8f3300f744c --- /dev/null +++ b/security/bsd-airtools/pkg/DESCR @@ -0,0 +1,10 @@ +bsd-airtools provides a complete toolset for wireless 802.11b auditing. +Namely, it contains a curses-based AP detection application, dstumbler, +that is similar to netstumbler. It can be used to detect wireless +access points and connected nodes, view signal to noise graphs, and +interactively scroll through scanned APs and view statistics for each. +It also contains a BSD-based WEP cracking application, called dweputils. +Finally, this package includes several tools to allow testing and +analysis of all 14 of the prism2 chipset's debug modes. + +WWW: ${HOMEPAGE} diff --git a/security/bsd-airtools/pkg/PLIST b/security/bsd-airtools/pkg/PLIST new file mode 100644 index 00000000000..07f40345d7a --- /dev/null +++ b/security/bsd-airtools/pkg/PLIST @@ -0,0 +1,15 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/06/08 05:50:50 jsyn Exp $ +sbin/dstumbler +sbin/dwepcrack +sbin/dwepdump +sbin/dwepkeygen +sbin/prism2ctl +sbin/prism2dump +share/doc/bsd-airtools/OVERVIEW.dstumbler +share/doc/bsd-airtools/README.dstumbler +share/doc/bsd-airtools/README.dwepcrack +share/doc/bsd-airtools/README.dwepdump +share/doc/bsd-airtools/README.dwepkeygen +share/doc/bsd-airtools/README.prism2ctl +share/doc/bsd-airtools/README.prism2dump +@dirrm share/doc/bsd-airtools