Accepting request 893219 from home:mnhauke

- 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

OBS-URL: https://build.opensuse.org/request/show/893219
OBS-URL: https://build.opensuse.org/package/show/security/hashcat?expand=0&rev=16
This commit is contained in:
Jan Engelhardt 2021-05-14 18:03:11 +00:00 committed by Git OBS Bridge
parent 381aec6a6e
commit b1f76de7d4
5 changed files with 29 additions and 33 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 14 17:45:22 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- 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 <jengelh@inai.de> Sun Nov 22 17:07:52 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package hashcat # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,17 +18,18 @@
Name: hashcat Name: hashcat
%define lname libhashcat6_1_1 %define lname libhashcat6_1_1
Version: 6.1.1 Version: 6.2.0
Release: 0 Release: 0
Summary: CPU-based password recovery utility 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 Group: Productivity/Security
URL: https://hashcat.net/ 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 Source9: %name-rpmlintrc
Patch1: system-libs.patch Patch1: system-libs.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: xxhash-devel BuildRequires: xxhash-devel
BuildRequires: pkgconfig(clzma) BuildRequires: pkgconfig(clzma)

View File

@ -1,20 +1,7 @@
From: Jan Engelhardt <jengelh@inai.de> diff --git a/src/Makefile b/src/Makefile
Date: 2020-09-08 11:36:38.217829093 +0200 index bd16932..114aa1d 100644
--- a/src/Makefile
* Drop %(date +%s) / __DATE__. +++ b/src/Makefile
* 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
@@ -3,16 +3,16 @@ @@ -3,16 +3,16 @@
## License.....: MIT ## License.....: MIT
## ##
@ -23,7 +10,7 @@ Index: hashcat-6.1.1/src/Makefile
+SHARED ?= 1 +SHARED ?= 1
DEBUG := 0 DEBUG := 0
PRODUCTION := 1 PRODUCTION := 1
PRODUCTION_VERSION := v6.1.1 PRODUCTION_VERSION := v6.2.0
ENABLE_CUBIN ?= 1 ENABLE_CUBIN ?= 1
ENABLE_BRAIN ?= 1 ENABLE_BRAIN ?= 1
-USE_SYSTEM_LZMA ?= 0 -USE_SYSTEM_LZMA ?= 0
@ -33,10 +20,10 @@ Index: hashcat-6.1.1/src/Makefile
USE_SYSTEM_OPENCL ?= 0 USE_SYSTEM_OPENCL ?= 0
-USE_SYSTEM_XXHASH ?= 0 -USE_SYSTEM_XXHASH ?= 0
+USE_SYSTEM_XXHASH ?= 1 +USE_SYSTEM_XXHASH ?= 1
## do not change, requires some hacks
USE_SYSTEM_UNRAR ?= 0
## @@ -100,7 +100,7 @@ VERSION_PURE := $(shell echo "$(VERSION_TAG)" | $(SED) 's/.*v\([\.0-9
## Detect Operating System
@@ -95,7 +95,7 @@ VERSION_PURE := $(shell echo
## ##
DESTDIR ?= DESTDIR ?=
@ -45,7 +32,7 @@ Index: hashcat-6.1.1/src/Makefile
INSTALL_FOLDER ?= $(PREFIX)/bin INSTALL_FOLDER ?= $(PREFIX)/bin
SHARED_ROOT_FOLDER ?= $(PREFIX)/share 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) ifeq ($(USE_SYSTEM_LZMA),0)
DEPS_LZMA_PATH := deps/LZMA-SDK/C DEPS_LZMA_PATH := deps/LZMA-SDK/C
else else
@ -54,7 +41,7 @@ Index: hashcat-6.1.1/src/Makefile
endif endif
ifeq ($(USE_SYSTEM_ZLIB),0) ifeq ($(USE_SYSTEM_ZLIB),0)
@@ -158,7 +158,7 @@ endif # MSYS2 @@ -169,7 +169,7 @@ endif # MSYS2
## Misc stuff ## Misc stuff
## ##
@ -63,7 +50,7 @@ Index: hashcat-6.1.1/src/Makefile
## ##
## General compiler and linker options ## General compiler and linker options
@@ -166,6 +166,7 @@ COMPTIME := $(shell date @@ -177,6 +177,7 @@ COMPTIME := $(shell date +%s)
LFLAGS := $(LDFLAGS) LFLAGS := $(LDFLAGS)
@ -71,7 +58,7 @@ Index: hashcat-6.1.1/src/Makefile
ifeq ($(PRODUCTION),0) ifeq ($(PRODUCTION),0)
CFLAGS += -W CFLAGS += -W
CFLAGS += -Wall CFLAGS += -Wall
@@ -188,7 +189,7 @@ endif @@ -219,7 +220,7 @@ endif
ifeq ($(DEBUG),0) ifeq ($(DEBUG),0)
CFLAGS += -O2 CFLAGS += -O2
ifneq ($(UNAME),Darwin) ifneq ($(UNAME),Darwin)
@ -80,7 +67,7 @@ Index: hashcat-6.1.1/src/Makefile
endif endif
else else
ifeq ($(DEBUG),1) ifeq ($(DEBUG),1)
@@ -214,7 +215,7 @@ CFLAGS += -pipe -std=gn @@ -245,7 +246,7 @@ CFLAGS += -pipe -Iinclude/ -IOpenCL/
# 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:39c140bbb3c0bdb1564bfa9b9a1cff49115a42f4c9c19e9b066b617aea309f80
size 5385180

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

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