aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cowpatty
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2019-01-23 13:58:02 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2019-01-23 13:58:02 +0000
commite42936f2f988d6daa84f0507cf7e1287c0b2fa4e (patch)
tree0814f59e73c28b373ab35793459e88debb78fa1b /net-mgmt/cowpatty
parent5389ef8a916696584bf591c997b46a390c923519 (diff)
downloadports-e42936f2f988d6daa84f0507cf7e1287c0b2fa4e.tar.gz
ports-e42936f2f988d6daa84f0507cf7e1287c0b2fa4e.zip
Notes
Diffstat (limited to 'net-mgmt/cowpatty')
-rw-r--r--net-mgmt/cowpatty/Makefile11
-rw-r--r--net-mgmt/cowpatty/distinfo5
-rw-r--r--net-mgmt/cowpatty/files/patch-Makefile12
3 files changed, 16 insertions, 12 deletions
diff --git a/net-mgmt/cowpatty/Makefile b/net-mgmt/cowpatty/Makefile
index 2a8ef002b067..b8fc8039edcd 100644
--- a/net-mgmt/cowpatty/Makefile
+++ b/net-mgmt/cowpatty/Makefile
@@ -2,18 +2,19 @@
# $FreeBSD$
PORTNAME= cowpatty
-PORTVERSION= 4.6
+PORTVERSION= 4.8
CATEGORIES= net-mgmt security
-MASTER_SITES= http://www.willhackforsushi.com/code/cowpatty/${PORTVERSION}/ \
- http://mcx2.org/files/
-EXTRACT_SUFX= .tgz
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Brute-force dictionary attack against WPA-PSK
-LICENSE= GPLv2
+LICENSE= BSD3CLAUSE
USES= ssl
+
+USE_GITHUB= YES
+GH_ACCOUNT= joswr1ght
+
PORTDOCS= FAQ README
SUB_FILES= pkg-message
MAKE_JOBS_UNSAFE= yes
diff --git a/net-mgmt/cowpatty/distinfo b/net-mgmt/cowpatty/distinfo
index 1404976e2c50..a41244de1213 100644
--- a/net-mgmt/cowpatty/distinfo
+++ b/net-mgmt/cowpatty/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cowpatty-4.6.tgz) = cd3fc113e5052d3ee08ab71aa87edf772d044f760670c73fde5d5581d7803bc2
-SIZE (cowpatty-4.6.tgz) = 104979
+TIMESTAMP = 1548171440
+SHA256 (joswr1ght-cowpatty-4.8_GH0.tar.gz) = 8aae67f4823edb76dff036808137888d2479477ec1e52aa86d6cecd26d58aa23
+SIZE (joswr1ght-cowpatty-4.8_GH0.tar.gz) = 97449
diff --git a/net-mgmt/cowpatty/files/patch-Makefile b/net-mgmt/cowpatty/files/patch-Makefile
index 5090f1ff6750..b99e12e94731 100644
--- a/net-mgmt/cowpatty/files/patch-Makefile
+++ b/net-mgmt/cowpatty/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2009-06-06 02:07:08.000000000 +0800
-+++ Makefile 2014-06-20 16:53:32.501910734 +0800
-@@ -1,21 +1,11 @@
+--- Makefile.orig 2018-07-03 19:49:02 UTC
++++ Makefile
+@@ -1,22 +1,12 @@
-##################################
-# <jwright> Well, I may be doing stupid things with make
-# <jwright> OK, it was Makefile stupid'ness
@@ -19,11 +19,13 @@
PROGOBJ = md5.o sha1.o utils.o cowpatty.o genpmk.o
PROG = cowpatty genpmk
-BINDIR = /usr/local/bin
-+PREFIX?= /usr/local
+-CC = clang
++CC ?= clang
++PREFIX ?= /usr/local
all: $(PROGOBJ) $(PROG)
-@@ -44,5 +34,5 @@ strip:
+@@ -45,5 +35,5 @@ strip:
@ls -l $(PROG)
install: all