Update 5.3.0 -> 6.0.2, removed some deprecated tools, new tools added

This commit is contained in:
sebastia 2020-04-07 21:15:24 +00:00
parent 6fc9527ff9
commit 893a6cb3ee
4 changed files with 27 additions and 9 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.5 2020/02/10 08:21:05 sebastia Exp $
# $OpenBSD: Makefile,v 1.6 2020/04/07 21:15:24 sebastia Exp $
COMMENT = convert pcap dumps to hashcat or John the Ripper input
GH_ACCOUNT = ZerBea
GH_PROJECT = hcxtools
GH_TAGNAME = 5.3.0
GH_TAGNAME = 6.0.2
DISTNAME = hcxtools-${GH_TAGNAME}
CATEGORIES = security
@ -14,7 +14,7 @@ MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
# MIT
PERMIT_PACKAGE= Yes
WANTLIB += c pthread crypto curl z
WANTLIB += c pthread crypto ssl curl z
LIB_DEPENDS += net/curl
USE_GMAKE = Yes

View File

@ -1,2 +1,2 @@
SHA256 (hcxtools-5.3.0.tar.gz) = vDRl6zuXxNuEmvQa4/p8gS1Gg+ueST8JCsgukiuoo20=
SIZE (hcxtools-5.3.0.tar.gz) = 131433
SHA256 (hcxtools-6.0.2.tar.gz) = ljApvwDTqY8sqpNNV2WpHin10bDgA2pMUzKLXPnDwAM=
SIZE (hcxtools-6.0.2.tar.gz) = 177009

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-hcxpcaptool_c,v 1.1 2020/04/07 21:15:24 sebastia Exp $
in 5.3.0 there was a PATH_MAX defined to 255 which went
away, now define it properly only for OpenBSD to what
matches sys/syslimits.h
Index: hcxpcaptool.c
--- hcxpcaptool.c.orig
+++ hcxpcaptool.c
@@ -18,6 +18,9 @@
#include <openssl/hmac.h>
#include <openssl/cmac.h>
#if defined (__APPLE__) || defined(__OpenBSD__)
+#if defined(__OpenBSD__)
+#define PATH_MAX 1024 /* as defined in sys/syslimits.h */
+#endif
#include <libgen.h>
#include <sys/socket.h>
#else

View File

@ -1,21 +1,20 @@
@comment $OpenBSD: PLIST,v 1.2 2020/02/10 08:21:05 sebastia Exp $
@comment $OpenBSD: PLIST,v 1.3 2020/04/07 21:15:24 sebastia Exp $
@bin bin/hcxessidtool
@bin bin/hcxhash2cap
@bin bin/hcxhashcattool
@bin bin/hcxhashtool
@bin bin/hcxmactool
@bin bin/hcxpcapngtool
@bin bin/hcxpcaptool
@bin bin/hcxpmkidtool
@bin bin/hcxpsktool
@bin bin/hcxwltool
@bin bin/whoismac
@bin bin/wlancap2wpasec
@bin bin/wlancow2hcxpmk
@bin bin/wlanhc2hcx
@bin bin/wlanhcx2john
@bin bin/wlanhcx2ssid
@bin bin/wlanhcxcat
@bin bin/wlanhcxinfo
@bin bin/wlanhcxmnc
@bin bin/wlanjohn2hcx
@bin bin/wlanpmk2hcx
@bin bin/wlanwkp2hcx