diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-22 12:05:59 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-22 12:05:59 +0000 |
commit | 4b0b09f4fdf1301c9c975561e2f67f39898032b4 (patch) | |
tree | 6be27f45f38c35f055bb25e1fb214556fdc5a684 | |
parent | - Update to 2.11 [1] (diff) |
coWPAtty is designed to audit the security of pre-shared keys
(PSK) selected in WiFi Protected Access (WPA) networks.
WWW: http://www.willhackforsushi.com/Cowpatty.html
PR: ports/121931
Submitted by: Dennis Herrmann <adox at mcx2.org>
Notes
Notes:
svn path=/head/; revision=209576
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/cowpatty/Makefile | 36 | ||||
-rw-r--r-- | net-mgmt/cowpatty/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/cowpatty/files/patch-Makefile | 36 | ||||
-rw-r--r-- | net-mgmt/cowpatty/files/pkg-message.in | 8 | ||||
-rw-r--r-- | net-mgmt/cowpatty/pkg-descr | 4 |
6 files changed, 88 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 4d43a3658f9e..9def61d81aed 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -47,6 +47,7 @@ SUBDIR += clog SUBDIR += collectd SUBDIR += confregdecode + SUBDIR += cowpatty SUBDIR += cricket SUBDIR += darkstat SUBDIR += disco diff --git a/net-mgmt/cowpatty/Makefile b/net-mgmt/cowpatty/Makefile new file mode 100644 index 000000000000..c29f785831f7 --- /dev/null +++ b/net-mgmt/cowpatty/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: cowpatty +# Date created: March 20, 2008 +# Whom: Dennis Herrmann <adox@mcx2.org> +# +# $FreeBSD$ +# + +PORTNAME= cowpatty +PORTVERSION= 4.3 +CATEGORIES= net-mgmt security +MASTER_SITES= http://www.willhackforsushi.com/code/cowpatty/4.3/ \ + http://mcx2.org/files/ +EXTRACT_SUFX= .tgz + +MAINTAINER= adox@mcx2.org +COMMENT= Brute-force dictionary attack against WPA-PSK + +PORTDOCS= FAQ README +SUB_FILES= pkg-message + +USE_OPENSSL= yes + +PLIST_FILES= bin/cowpatty bin/genpmk + +post-install: +.if !defined(NOPORTDOCS) + @${ECHO_MSG} "Installing additional documentation to ${DOCSDIR}" + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + + @${ECHO_MSG} "" + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} "" + +.include <bsd.port.mk> diff --git a/net-mgmt/cowpatty/distinfo b/net-mgmt/cowpatty/distinfo new file mode 100644 index 000000000000..74b044f282e8 --- /dev/null +++ b/net-mgmt/cowpatty/distinfo @@ -0,0 +1,3 @@ +MD5 (cowpatty-4.3.tgz) = deccac0763a05ef7014107d347bf9190 +SHA256 (cowpatty-4.3.tgz) = b82154c9183fed3c26226c124f5e50ef38adaaafc84c5a13d9256b1ebd489bca +SIZE (cowpatty-4.3.tgz) = 103720 diff --git a/net-mgmt/cowpatty/files/patch-Makefile b/net-mgmt/cowpatty/files/patch-Makefile new file mode 100644 index 000000000000..3ebe33c0f7dd --- /dev/null +++ b/net-mgmt/cowpatty/files/patch-Makefile @@ -0,0 +1,36 @@ +--- Makefile.orig 2008-03-20 21:36:01.000000000 +0100 ++++ Makefile 2008-03-20 21:40:39.000000000 +0100 +@@ -1,21 +1,11 @@ +-################################## +-# <jwright> Well, I may be doing stupid things with make +-# <jwright> OK, it was Makefile stupid'ness +-# <jwright> I don't really understand what the hell I am doing with Make, I'm +-# just copying other files and seeing what works. +-# <dragorn> heh +-# <dragorn> i think thats all anyone does +-# <dragorn> make is a twisted beast +-################################## + LDLIBS = -lpcap + CFLAGS = -pipe -Wall -DOPENSSL + CFLAGS += -O2 + LDLIBS += -lcrypto + CFLAGS += -g3 -ggdb +-#CFLAGS += -static + PROGOBJ = md5.o sha1.o utils.o cowpatty.o genpmk.o + PROG = cowpatty genpmk +-BINDIR = /usr/local/bin ++PREFIX?= /usr/local + + all: $(PROGOBJ) $(PROG) + +@@ -44,8 +34,5 @@ + @ls -l $(PROG) + + install: all +- install -d $(DESTDIR)$(BINDIR) +- install -m 755 $(PROG) $(BINDIR)$(DESTDIR) +- +-love: +- @echo "Not right now, I have a headache." ++ install -d $(DESTDIR)$(PREFIX)/bin ++ install -m 755 $(PROG) $(PREFIX)/bin diff --git a/net-mgmt/cowpatty/files/pkg-message.in b/net-mgmt/cowpatty/files/pkg-message.in new file mode 100644 index 000000000000..9bd537f852e7 --- /dev/null +++ b/net-mgmt/cowpatty/files/pkg-message.in @@ -0,0 +1,8 @@ +########################################################################### +cowpatty has been installed + +If you have questions read %%DOCSDIR%%/FAQ +For more information about coWPAtty visit: + +http://www.willhackforsushi.com/Cowpatty.html +########################################################################### diff --git a/net-mgmt/cowpatty/pkg-descr b/net-mgmt/cowpatty/pkg-descr new file mode 100644 index 000000000000..7da225a4da4d --- /dev/null +++ b/net-mgmt/cowpatty/pkg-descr @@ -0,0 +1,4 @@ +coWPAtty is designed to audit the security of pre-shared keys +(PSK) selected in WiFi Protected Access (WPA) networks. + +WWW: http://www.willhackforsushi.com/Cowpatty.html |