aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorrodrigo <rodrigo@FreeBSD.org>2019-01-23 21:58:02 +0800
committerrodrigo <rodrigo@FreeBSD.org>2019-01-23 21:58:02 +0800
commitc5e91778b430d77a3a61486237e8d1df8738d5de (patch)
tree0814f59e73c28b373ab35793459e88debb78fa1b /net-mgmt
parentc055df66b616907238d1fb6bd3a738f73308aa4a (diff)
downloadfreebsd-ports-gnome-c5e91778b430d77a3a61486237e8d1df8738d5de.tar.gz
freebsd-ports-gnome-c5e91778b430d77a3a61486237e8d1df8738d5de.tar.zst
freebsd-ports-gnome-c5e91778b430d77a3a61486237e8d1df8738d5de.zip
Upgrade net-mgmt/cowpatty from 4.6 to 4.9
Switch from http repo to the author github for distfiles Change licensing from GPL to BSD 3-clause Update patches ChangeLog : * No functionality change * BSD 3-clause license and man pages
Diffstat (limited to 'net-mgmt')
-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