- Update to release 6.2.1

OBS-URL: https://build.opensuse.org/package/show/security/hashcat?expand=0&rev=19
This commit is contained in:
Jan Engelhardt 2021-05-15 14:18:24 +00:00 committed by Git OBS Bridge
parent 1b3e10542c
commit f65c0fdf4c
5 changed files with 29 additions and 18 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat May 15 13:28:22 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 6.2.1
* Build procedure changes allowing not to use unrar
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 14 18:54:03 UTC 2021 - Martin Hauke <mardnh@gmx.de> Fri May 14 18:54:03 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@ -17,15 +17,15 @@
Name: hashcat Name: hashcat
%define lname libhashcat6_2_0 %define lname libhashcat6_2_1
Version: 6.2.0 Version: 6.2.1
Release: 0 Release: 0
Summary: CPU-based password recovery utility Summary: CPU-based password recovery utility
License: GPL-2.0-or-later AND MIT License: GPL-2.0-or-later AND MIT
Group: Productivity/Security Group: Productivity/Security
URL: https://hashcat.net/ URL: https://hashcat.net/
Source: https://github.com/hashcat/hashcat/archive/refs/tags/v%{version}.tar.gz Source: https://github.com/hashcat/hashcat/archive/refs/tags/v%version.tar.gz
Source9: %name-rpmlintrc Source9: %name-rpmlintrc
Patch1: system-libs.patch Patch1: system-libs.patch
BuildRequires: fdupes BuildRequires: fdupes

View File

@ -1,8 +1,12 @@
diff --git a/src/Makefile b/src/Makefile ---
index bd16932..114aa1d 100644 src/Makefile | 19 ++++++++++---------
--- a/src/Makefile 1 file changed, 10 insertions(+), 9 deletions(-)
+++ b/src/Makefile
@@ -3,16 +3,16 @@ Index: hashcat-6.2.1/src/Makefile
===================================================================
--- hashcat-6.2.1.orig/src/Makefile
+++ hashcat-6.2.1/src/Makefile
@@ -3,17 +3,17 @@
## License.....: MIT ## License.....: MIT
## ##
@ -10,9 +14,10 @@ index bd16932..114aa1d 100644
+SHARED ?= 1 +SHARED ?= 1
DEBUG := 0 DEBUG := 0
PRODUCTION := 1 PRODUCTION := 1
PRODUCTION_VERSION := v6.2.0 PRODUCTION_VERSION := v6.2.1
ENABLE_CUBIN ?= 1 ENABLE_CUBIN ?= 1
ENABLE_BRAIN ?= 1 ENABLE_BRAIN ?= 1
ENABLE_UNRAR ?= 1
-USE_SYSTEM_LZMA ?= 0 -USE_SYSTEM_LZMA ?= 0
-USE_SYSTEM_ZLIB ?= 0 -USE_SYSTEM_ZLIB ?= 0
+USE_SYSTEM_LZMA ?= 1 +USE_SYSTEM_LZMA ?= 1
@ -23,7 +28,7 @@ index bd16932..114aa1d 100644
## do not change, requires some hacks ## do not change, requires some hacks
USE_SYSTEM_UNRAR ?= 0 USE_SYSTEM_UNRAR ?= 0
@@ -100,7 +100,7 @@ VERSION_PURE := $(shell echo "$(VERSION_TAG)" | $(SED) 's/.*v\([\.0-9 @@ -101,7 +101,7 @@ VERSION_PURE := $(shell echo
## ##
DESTDIR ?= DESTDIR ?=
@ -32,7 +37,7 @@ index bd16932..114aa1d 100644
INSTALL_FOLDER ?= $(PREFIX)/bin INSTALL_FOLDER ?= $(PREFIX)/bin
SHARED_ROOT_FOLDER ?= $(PREFIX)/share SHARED_ROOT_FOLDER ?= $(PREFIX)/share
@@ -117,7 +117,7 @@ LIBRARY_DEV_FOLDER ?= $(LIBRARY_DEV_ROOT_FOLDER)/hashcat @@ -118,7 +118,7 @@ LIBRARY_DEV_FOLDER ?= $(LIBRARY_DEV
ifeq ($(USE_SYSTEM_LZMA),0) ifeq ($(USE_SYSTEM_LZMA),0)
DEPS_LZMA_PATH := deps/LZMA-SDK/C DEPS_LZMA_PATH := deps/LZMA-SDK/C
else else
@ -41,7 +46,7 @@ index bd16932..114aa1d 100644
endif endif
ifeq ($(USE_SYSTEM_ZLIB),0) ifeq ($(USE_SYSTEM_ZLIB),0)
@@ -169,7 +169,7 @@ endif # MSYS2 @@ -172,7 +172,7 @@ endif # MSYS2
## Misc stuff ## Misc stuff
## ##
@ -50,7 +55,7 @@ index bd16932..114aa1d 100644
## ##
## General compiler and linker options ## General compiler and linker options
@@ -177,6 +177,7 @@ COMPTIME := $(shell date +%s) @@ -180,6 +180,7 @@ COMPTIME := $(shell date
LFLAGS := $(LDFLAGS) LFLAGS := $(LDFLAGS)
@ -58,7 +63,7 @@ index bd16932..114aa1d 100644
ifeq ($(PRODUCTION),0) ifeq ($(PRODUCTION),0)
CFLAGS += -W CFLAGS += -W
CFLAGS += -Wall CFLAGS += -Wall
@@ -219,7 +220,7 @@ endif @@ -224,7 +225,7 @@ endif
ifeq ($(DEBUG),0) ifeq ($(DEBUG),0)
CFLAGS += -O2 CFLAGS += -O2
ifneq ($(UNAME),Darwin) ifneq ($(UNAME),Darwin)
@ -67,7 +72,7 @@ index bd16932..114aa1d 100644
endif endif
else else
ifeq ($(DEBUG),1) ifeq ($(DEBUG),1)
@@ -245,7 +246,7 @@ CFLAGS += -pipe -Iinclude/ -IOpenCL/ @@ -250,7 +251,7 @@ CFLAGS += -pipe -Iinclu
# LZMA # LZMA
CFLAGS += -I$(DEPS_LZMA_PATH) CFLAGS += -I$(DEPS_LZMA_PATH)
ifeq ($(USE_SYSTEM_LZMA),1) ifeq ($(USE_SYSTEM_LZMA),1)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a5258838d6ed083d6cb500e4d8dd7197873079deb6cabae4bd0f89736d21314
size 5806510

3
v6.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4994e9ee8ef050881d5c7986b2b95a3abf2114f79e4dbaa28a537f8e2ad5c93b
size 5815254