pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

hashcat v3.10 This release is mostly a bugfix and maintainance release, plus a small set of new features and a new hash-mode.



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <adam%viamedium.pl@localhost>
Pushed By:	adam
Date:		Sun Aug 21 13:59:26 2016 +0200
Changeset:	069b92381a631d6d5e95b3ef8b3d674052e265ec

Modified Files:
	hashcat/Makefile
	hashcat/PLIST
	hashcat/distinfo
	hashcat/patches/patch-src_Makefile
	hashcat/patches/patch-src_hashcat.c

Log Message:
hashcat v3.10
This release is mostly a bugfix and maintainance release, plus a small set of new features and a new hash-mode.

We recommend upgrading even if you did not face any errors with v3.00.

Most important changes:
* Added some workarounds to deal with problems caused by broken OpenCL installation on the host system
* Improved rule-engine: Enabled support to use the missing @ rule on GPU
* Improved rule-engine: On Nvidia, the rule-engine got a small performance improvement
For details please see docs/changes.txt

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=069b92381a631d6d5e95b3ef8b3d674052e265ec

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 hashcat/Makefile                    |  2 +-
 hashcat/PLIST                       |  3 +++
 hashcat/distinfo                    | 12 ++++++------
 hashcat/patches/patch-src_Makefile  | 32 +++++++-------------------------
 hashcat/patches/patch-src_hashcat.c | 21 ++++++++++++++++-----
 5 files changed, 33 insertions(+), 37 deletions(-)

diffs:
diff --git a/hashcat/Makefile b/hashcat/Makefile
index 9438d58..1dcd78a 100644
--- a/hashcat/Makefile
+++ b/hashcat/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	hashcat-3.00
+DISTNAME=	hashcat-3.10
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_GITHUB:=hashcat/}
 
diff --git a/hashcat/PLIST b/hashcat/PLIST
index d87101a..1c4b86d 100644
--- a/hashcat/PLIST
+++ b/hashcat/PLIST
@@ -378,6 +378,9 @@ share/hashcat/OpenCL/m13753.cl
 share/hashcat/OpenCL/m13800_a0.cl
 share/hashcat/OpenCL/m13800_a1.cl
 share/hashcat/OpenCL/m13800_a3.cl
+share/hashcat/OpenCL/m13900_a0.cl
+share/hashcat/OpenCL/m13900_a1.cl
+share/hashcat/OpenCL/m13900_a3.cl
 share/hashcat/OpenCL/markov_be.cl
 share/hashcat/OpenCL/markov_le.cl
 share/hashcat/charsets/combined/Bulgarian.hcchr
diff --git a/hashcat/distinfo b/hashcat/distinfo
index fab64d8..012be20 100644
--- a/hashcat/distinfo
+++ b/hashcat/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-SHA1 (hashcat-3.00.tar.gz) = 3f882ab112b99da22fca59cd3fa4420376f3da86
-RMD160 (hashcat-3.00.tar.gz) = 98f09aa0e68fdccf6527a11221fe649676fdb8eb
-SHA512 (hashcat-3.00.tar.gz) = cdaf00830a1f4b52b008c5c6499cd6246eb328a1711be1446ea7b8b3d6ad9afeb9f3626cf9cef58a04b4a414d10e09e5a8429bc47684a9d6dbf511effbc2eedb
-Size (hashcat-3.00.tar.gz) = 4068649 bytes
-SHA1 (patch-src_Makefile) = d9701ff322492d1afd90c237fbc9b45d0b38b9db
-SHA1 (patch-src_hashcat.c) = 4f1c68d43d5bf28e70bf1b92a5cac8b20c610608
+SHA1 (hashcat-3.10.tar.gz) = 513621ab94f747063241fe9ad3c02b7f86220bed
+RMD160 (hashcat-3.10.tar.gz) = bc1f22dda0bebd989839c8b67765483da55eb710
+SHA512 (hashcat-3.10.tar.gz) = 2adf16513118b91085fe587c53b15f142abb7673f659b2721dcba8aacdac6f024b65e7b50b916f86c161c21e98eb4758f187d25ad1ca4c66cdb67a259b07ae04
+Size (hashcat-3.10.tar.gz) = 4077692 bytes
+SHA1 (patch-src_Makefile) = 0f1fe08dd012c5c15a126c8fac1f124663393722
+SHA1 (patch-src_hashcat.c) = d1b2ff3263d5464fe07c4ac67169d08e26bf7e4d
diff --git a/hashcat/patches/patch-src_Makefile b/hashcat/patches/patch-src_Makefile
index a1a5726..bf6b60a 100644
--- a/hashcat/patches/patch-src_Makefile
+++ b/hashcat/patches/patch-src_Makefile
@@ -2,38 +2,20 @@ $NetBSD$
 
 Add minimal NetBSD support.
 
---- src/Makefile.orig	2016-06-28 09:47:32.000000000 +0000
+--- src/Makefile.orig	2016-08-19 09:45:29.000000000 +0000
 +++ src/Makefile
 @@ -17,7 +17,7 @@ UNAME                    := $(shell unam
  # we need to strip the windows version number to be able to build hashcat on cygwin hosts
  UNAME                    := $(patsubst CYGWIN_NT-%,CYGWIN_NT-,$(UNAME))
  
--ifeq (,$(filter $(UNAME),Linux Darwin CYGWIN_NT-))
-+ifeq (,$(filter $(UNAME),Linux Darwin NetBSD CYGWIN_NT-))
+-ifeq (,$(filter $(UNAME),Linux Darwin CYGWIN_NT- FreeBSD))
++ifeq (,$(filter $(UNAME),Linux Darwin CYGWIN_NT- FreeBSD NetBSD))
  $(error "! Your Operating System ($(UNAME)) is not supported by $(PROG_NAME) Makefile")
  endif
  
-@@ -87,7 +87,7 @@ VERSION_TAG              := $(shell test
- ## Compiler flags
- ##
- 
--CFLAGS                   := -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -I$(OPENCL_HEADERS_KHRONOS)/
-+CFLAGS                   += -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -I$(OPENCL_HEADERS_KHRONOS)/ -I../include
- 
- ifndef DEBUG
- CFLAGS                   += -O2
-@@ -105,8 +105,6 @@ endif
- BINARY_NATIVE            := $(PROG_NAME)
- 
- ifeq ($(UNAME),Darwin)
--export MACOSX_DEPLOYMENT_TARGET=10.9
--BINARY_NATIVE            := $(BINARY_NATIVE).app
- CFLAGS_NATIVE            := -D_POSIX -DDARWIN
- CFLAGS_NATIVE            += $(CFLAGS)
- LFLAGS_NATIVE            := -lpthread
-@@ -122,6 +120,16 @@ LFLAGS_NATIVE            := -lpthread -l
- CFLAGS_NATIVE            += -DHAVE_HWMON
- endif # linux
+@@ -137,6 +137,16 @@ LFLAGS_NATIVE            := -lpthread
+ LFLAGS_NATIVE            += $(LDFLAGS)
+ endif # freebsd
  
 +ifeq ($(UNAME),NetBSD)
 +CFLAGS_NATIVE            := -D_POSIX
@@ -43,7 +25,7 @@ Add minimal NetBSD support.
 +CFLAGS_NATIVE            += $(CFLAGS)
 +LFLAGS_NATIVE            := -lpthread
 +CFLAGS_NATIVE            += -DHAVE_HWMON
-+endif # linux
++endif # netbsd
 +
  ##
  ## Cross compilation target
diff --git a/hashcat/patches/patch-src_hashcat.c b/hashcat/patches/patch-src_hashcat.c
index 1675c67..d1d60c6 100644
--- a/hashcat/patches/patch-src_hashcat.c
+++ b/hashcat/patches/patch-src_hashcat.c
@@ -1,15 +1,26 @@
 $NetBSD$
 
-Use standard paths for all platforms.
+Add support for NetBSD.
 
---- src/hashcat.c.orig	2016-07-31 12:49:32.000000000 +0000
+--- src/hashcat.c.orig	2016-08-19 09:45:29.000000000 +0000
 +++ src/hashcat.c
-@@ -6134,7 +6134,7 @@ int main (int argc, char **argv)
+@@ -14,6 +14,10 @@
+ #include <stdio.h>
+ #endif
  
++#ifdef __NetBSD__
++#include <stdio.h>
++#endif
++
+ #include <common.h>
+ #include <shared.h>
+ #include <rp_kernel_on_cpu.h>
+@@ -6607,7 +6611,7 @@ int main (int argc, char **argv)
    char *exec_path = get_exec_path ();
  
--  #ifdef LINUX
-+  #if 1
+ 
+-  #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
++  #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
  
    char *resolved_install_folder = realpath (INSTALL_FOLDER, NULL);
    char *resolved_exec_path      = realpath (exec_path, NULL);


Home | Main Index | Thread Index | Old Index