diff --git a/hashcat.changes b/hashcat.changes index e9daa50..51885e2 100644 --- a/hashcat.changes +++ b/hashcat.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 14 17:45:22 UTC 2021 - Martin Hauke + +- Update to version 6.2.0 + * This release is mostly about expanding support for new + algorithms and fixing bugs. + * Full changelog: https://hashcat.net/forum/thread-10103.html + ------------------------------------------------------------------- Sun Nov 22 17:07:52 UTC 2020 - Jan Engelhardt diff --git a/hashcat.spec b/hashcat.spec index cebc485..644e0a6 100644 --- a/hashcat.spec +++ b/hashcat.spec @@ -1,7 +1,7 @@ # # spec file for package hashcat # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,18 @@ Name: hashcat %define lname libhashcat6_1_1 -Version: 6.1.1 +Version: 6.2.0 Release: 0 Summary: CPU-based password recovery utility -License: MIT AND GPL-2.0-or-later +License: GPL-2.0-or-later AND MIT Group: Productivity/Security URL: https://hashcat.net/ -Source: https://github.com/hashcat/hashcat/archive/v%version.tar.gz +Source: https://github.com/hashcat/hashcat/archive/refs/tags/v%{version}.tar.gz Source9: %name-rpmlintrc Patch1: system-libs.patch BuildRequires: fdupes +BuildRequires: gcc-c++ BuildRequires: gmp-devel BuildRequires: xxhash-devel BuildRequires: pkgconfig(clzma) diff --git a/system-libs.patch b/system-libs.patch index 5dd6e0c..e418e91 100644 --- a/system-libs.patch +++ b/system-libs.patch @@ -1,20 +1,7 @@ -From: Jan Engelhardt -Date: 2020-09-08 11:36:38.217829093 +0200 - - * Drop %(date +%s) / __DATE__. - * Drop forced stripping. - * Replace lzma-sdk library name by what's used. - * Since now the Makefile is already touched, enable use of system - libraries through this patch rather than on the command-line. - ---- - src/Makefile | 19 ++++++++++--------- - 1 file changed, 10 insertions(+), 9 deletions(-) - -Index: hashcat-6.1.1/src/Makefile -=================================================================== ---- hashcat-6.1.1.orig/src/Makefile -+++ hashcat-6.1.1/src/Makefile +diff --git a/src/Makefile b/src/Makefile +index bd16932..114aa1d 100644 +--- a/src/Makefile ++++ b/src/Makefile @@ -3,16 +3,16 @@ ## License.....: MIT ## @@ -23,7 +10,7 @@ Index: hashcat-6.1.1/src/Makefile +SHARED ?= 1 DEBUG := 0 PRODUCTION := 1 - PRODUCTION_VERSION := v6.1.1 + PRODUCTION_VERSION := v6.2.0 ENABLE_CUBIN ?= 1 ENABLE_BRAIN ?= 1 -USE_SYSTEM_LZMA ?= 0 @@ -33,10 +20,10 @@ Index: hashcat-6.1.1/src/Makefile USE_SYSTEM_OPENCL ?= 0 -USE_SYSTEM_XXHASH ?= 0 +USE_SYSTEM_XXHASH ?= 1 + ## do not change, requires some hacks + USE_SYSTEM_UNRAR ?= 0 - ## - ## Detect Operating System -@@ -95,7 +95,7 @@ VERSION_PURE := $(shell echo +@@ -100,7 +100,7 @@ VERSION_PURE := $(shell echo "$(VERSION_TAG)" | $(SED) 's/.*v\([\.0-9 ## DESTDIR ?= @@ -45,7 +32,7 @@ Index: hashcat-6.1.1/src/Makefile INSTALL_FOLDER ?= $(PREFIX)/bin SHARED_ROOT_FOLDER ?= $(PREFIX)/share -@@ -112,7 +112,7 @@ LIBRARY_DEV_FOLDER ?= $(LIBRARY_DEV +@@ -117,7 +117,7 @@ LIBRARY_DEV_FOLDER ?= $(LIBRARY_DEV_ROOT_FOLDER)/hashcat ifeq ($(USE_SYSTEM_LZMA),0) DEPS_LZMA_PATH := deps/LZMA-SDK/C else @@ -54,7 +41,7 @@ Index: hashcat-6.1.1/src/Makefile endif ifeq ($(USE_SYSTEM_ZLIB),0) -@@ -158,7 +158,7 @@ endif # MSYS2 +@@ -169,7 +169,7 @@ endif # MSYS2 ## Misc stuff ## @@ -63,7 +50,7 @@ Index: hashcat-6.1.1/src/Makefile ## ## General compiler and linker options -@@ -166,6 +166,7 @@ COMPTIME := $(shell date +@@ -177,6 +177,7 @@ COMPTIME := $(shell date +%s) LFLAGS := $(LDFLAGS) @@ -71,7 +58,7 @@ Index: hashcat-6.1.1/src/Makefile ifeq ($(PRODUCTION),0) CFLAGS += -W CFLAGS += -Wall -@@ -188,7 +189,7 @@ endif +@@ -219,7 +220,7 @@ endif ifeq ($(DEBUG),0) CFLAGS += -O2 ifneq ($(UNAME),Darwin) @@ -80,7 +67,7 @@ Index: hashcat-6.1.1/src/Makefile endif else ifeq ($(DEBUG),1) -@@ -214,7 +215,7 @@ CFLAGS += -pipe -std=gn +@@ -245,7 +246,7 @@ CFLAGS += -pipe -Iinclude/ -IOpenCL/ # LZMA CFLAGS += -I$(DEPS_LZMA_PATH) ifeq ($(USE_SYSTEM_LZMA),1) diff --git a/v6.1.1.tar.gz b/v6.1.1.tar.gz deleted file mode 100644 index a8a646e..0000000 --- a/v6.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39c140bbb3c0bdb1564bfa9b9a1cff49115a42f4c9c19e9b066b617aea309f80 -size 5385180 diff --git a/v6.2.0.tar.gz b/v6.2.0.tar.gz new file mode 100644 index 0000000..71deb0f --- /dev/null +++ b/v6.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a5258838d6ed083d6cb500e4d8dd7197873079deb6cabae4bd0f89736d21314 +size 5806510