Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2016 08:42:44 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427605 - in head/security/hashcat: . files
Message-ID:  <201612030842.uB38giRG005504@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Sat Dec  3 08:42:44 2016
New Revision: 427605
URL: https://svnweb.freebsd.org/changeset/ports/427605

Log:
  Update to 3.20
  
  ChangeLog: https://raw.githubusercontent.com/hashcat/hashcat/v3.20/docs/changes.txt
  
  PR:		215017
  Submitted by:	lifanov@mail.lifanov.com (maintainer)

Added:
  head/security/hashcat/files/
  head/security/hashcat/files/patch-src_Makefile   (contents, props changed)
  head/security/hashcat/files/patch-src_folder.c   (contents, props changed)
Modified:
  head/security/hashcat/Makefile
  head/security/hashcat/distinfo
  head/security/hashcat/pkg-plist

Modified: head/security/hashcat/Makefile
==============================================================================
--- head/security/hashcat/Makefile	Sat Dec  3 08:32:26 2016	(r427604)
+++ head/security/hashcat/Makefile	Sat Dec  3 08:42:44 2016	(r427605)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	hashcat
-PORTVERSION=	3.10
+PORTVERSION=	3.20
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security
 

Modified: head/security/hashcat/distinfo
==============================================================================
--- head/security/hashcat/distinfo	Sat Dec  3 08:32:26 2016	(r427604)
+++ head/security/hashcat/distinfo	Sat Dec  3 08:42:44 2016	(r427605)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471617716
-SHA256 (hashcat-hashcat-v3.10_GH0.tar.gz) = 8de4f4ae8baa10dbe9139d670cc26dcd49e0e7e343bcbcadbe912cc52fb8255f
-SIZE (hashcat-hashcat-v3.10_GH0.tar.gz) = 4077706
+TIMESTAMP = 1480711937
+SHA256 (hashcat-hashcat-v3.20_GH0.tar.gz) = 7efb93073a79a80d7fe6a26740c6e099d456f6a06abff842eb0fb617618586cc
+SIZE (hashcat-hashcat-v3.20_GH0.tar.gz) = 3944786

Added: head/security/hashcat/files/patch-src_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/hashcat/files/patch-src_Makefile	Sat Dec  3 08:42:44 2016	(r427605)
@@ -0,0 +1,56 @@
+--- src/Makefile.orig	2016-12-02 14:00:23 UTC
++++ src/Makefile
+@@ -101,25 +101,7 @@ BINARY_NATIVE           := $(PROG_NAME)
+ ## General compiler and linker options
+ ##
+ 
+-CFLAGS                  := -pipe -std=c99 -Iinclude/ -IOpenCL/
+-CFLAGS                  += -W
+-CFLAGS                  += -Wall
+-CFLAGS                  += -Wextra
+-CFLAGS                  += -Wfloat-equal
+-CFLAGS                  += -Wundef
+-CFLAGS                  += -Wshadow
+-CFLAGS                  += -Wmissing-declarations
+-CFLAGS                  += -Wmissing-prototypes
+-CFLAGS                  += -Wpointer-arith
+-CFLAGS                  += -Wstrict-prototypes
+-CFLAGS                  += -Waggregate-return
+-CFLAGS                  += -Wswitch-enum
+-CFLAGS                  += -Wunreachable-code
+-CFLAGS                  += -Winit-self
+-CFLAGS                  += -Werror-implicit-function-declaration
+-CFLAGS                  += -Wformat
+-CFLAGS                  += -Wno-format-zero-length
+-CFLAGS                  += -ftrapv
++CFLAGS                  += -Iinclude/ -IOpenCL/
+ 
+ # the following compiler options produce warnings that should be fixed at some time
+ 
+@@ -137,18 +119,6 @@ CFLAGS                  += -ftrapv
+ 
+ #CFLAGS                  += -Wstack-usage=524288
+ 
+-LFLAGS                  :=
+-
+-ifndef DEBUG
+-CFLAGS                  += -O2
+-LFLAGS                  += -s
+-else
+-CFLAGS                  += -DDEBUG -g -ggdb
+-ifeq ($(DEBUG),2)
+-CFLAGS                  += -fsanitize=address -fno-omit-frame-pointer
+-endif
+-endif
+-
+ ##
+ ## Native compilation target
+ ##
+@@ -165,7 +135,6 @@ endif # Linux
+ ifeq ($(UNAME),FreeBSD)
+ CFLAGS_NATIVE           := $(CFLAGS)
+ CFLAGS_NATIVE           += -I$(OPENCL_HEADERS_KHRONOS)/
+-CFLAGS_NATIVE           += -march=native
+ LFLAGS_NATIVE           := $(LFLAGS)
+ LFLAGS_NATIVE           += -lpthread
+ endif # FreeBSD

Added: head/security/hashcat/files/patch-src_folder.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/hashcat/files/patch-src_folder.c	Sat Dec  3 08:42:44 2016	(r427605)
@@ -0,0 +1,13 @@
+--- src/folder.c.orig	2016-12-02 14:00:23 UTC
++++ src/folder.c
+@@ -65,9 +65,7 @@ static int get_exec_path (char *exec_pat
+ 
+   sysctl (mib, 4, exec_path, &size, NULL, 0);
+ 
+-  const ssize_t len = readlink (tmp, exec_path, exec_path_sz - 1);
+-
+-  if (len == -1) return -1;
++  const size_t len = strlen (exec_path);
+ 
+   #else
+   #error Your Operating System is not supported or detected

Modified: head/security/hashcat/pkg-plist
==============================================================================
--- head/security/hashcat/pkg-plist	Sat Dec  3 08:32:26 2016	(r427604)
+++ head/security/hashcat/pkg-plist	Sat Dec  3 08:42:44 2016	(r427605)
@@ -1,11 +1,13 @@
 bin/hashcat
 %%PORTDOCS%%%%DOCSDIR%%/docs/changes.txt
 %%PORTDOCS%%%%DOCSDIR%%/docs/contact.txt
+%%PORTDOCS%%%%DOCSDIR%%/docs/credits.txt
 %%PORTDOCS%%%%DOCSDIR%%/docs/license.txt
 %%PORTDOCS%%%%DOCSDIR%%/docs/performance.txt
 %%PORTDOCS%%%%DOCSDIR%%/docs/readme.txt
 %%PORTDOCS%%%%DOCSDIR%%/docs/rules.txt
 %%PORTDOCS%%%%DOCSDIR%%/docs/status_codes.txt
+%%PORTDOCS%%%%DOCSDIR%%/docs/team.txt
 %%PORTDOCS%%%%DOCSDIR%%/docs/user_manuals.txt
 %%PORTDOCS%%%%DOCSDIR%%/example.dict
 %%PORTDOCS%%%%DOCSDIR%%/example0.hash
@@ -380,8 +382,18 @@ bin/hashcat
 %%DATADIR%%/OpenCL/m13900_a0.cl
 %%DATADIR%%/OpenCL/m13900_a1.cl
 %%DATADIR%%/OpenCL/m13900_a3.cl
+%%DATADIR%%/OpenCL/m14000_a0.cl
+%%DATADIR%%/OpenCL/m14000_a1.cl
+%%DATADIR%%/OpenCL/m14000_a3.cl
+%%DATADIR%%/OpenCL/m14100_a0.cl
+%%DATADIR%%/OpenCL/m14100_a1.cl
+%%DATADIR%%/OpenCL/m14100_a3.cl
+%%DATADIR%%/OpenCL/m14400_a0.cl
+%%DATADIR%%/OpenCL/m14400_a1.cl
+%%DATADIR%%/OpenCL/m14400_a3.cl
 %%DATADIR%%/OpenCL/markov_be.cl
 %%DATADIR%%/OpenCL/markov_le.cl
+%%DATADIR%%/charsets/DES_full.charset
 %%DATADIR%%/charsets/combined/Bulgarian.hcchr
 %%DATADIR%%/charsets/combined/Castilian.hcchr
 %%DATADIR%%/charsets/combined/Catalan.hcchr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612030842.uB38giRG005504>