Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hashcat for openSUSE:Factory checked in at 2025-08-08 15:11:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hashcat (Old) and /work/SRC/openSUSE:Factory/.hashcat.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hashcat" Fri Aug 8 15:11:44 2025 rev:11 rq:1298189 version:7.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/hashcat/hashcat.changes 2024-06-07 15:04:32.602344559 +0200 +++ /work/SRC/openSUSE:Factory/.hashcat.new.1085/hashcat.changes 2025-08-08 15:12:59.294966541 +0200 @@ -1,0 +2,57 @@ +Thu Aug 7 15:48:40 UTC 2025 - Eyad Issa <eyadlore...@gmail.com> + +- Use %global instead of %define +- Remove python3-devel from recommends + +------------------------------------------------------------------- +Wed Aug 6 12:27:50 UTC 2025 - Eyad Issa <eyadlore...@gmail.com> + +- Use %python3_fix_shebang to replace python path with the right + one + +------------------------------------------------------------------- +Tue Aug 5 11:14:01 UTC 2025 - Eyad Issa <eyadlore...@gmail.com> + +- Add missing bin files to %files +- Move bridges files to /usr/lib/hashcat/bridges and symlink + the old location +- Remove -j1 from make invocation +- Fix rpmlint warnings +- Bump provided bundled(lzma-sdk) to 24.07 +- Add python3-devel to BuildRequires to satisfy some modules + build requirements + +------------------------------------------------------------------- +Tue Aug 5 00:23:16 UTC 2025 - Eyad Issa <eyadlore...@gmail.com> + +- Shorten %description +- Add python3-devel to Recommends: +- Update to release 7.0.0 + * Full release notes at + /usr/share/doc/packages/hashcat/docs/releases_notes_v7.0.0.md + * Assimilation Bridge: Integrate external resources like CPUs, + FPGAs, embedded interpreters, and more into the cracking + pipeline. + * Python Bridge Plugin: Rapidly implement hash-matching logic in + Python. No recompilation needed, supports multithreading and + rule engine by default. + * Virtual Backend Devices: Internally partitions physical GPUs + into multiple logical devices for better bridge integration and + async workloads. + * Hash-Mode Autodetection: Omit the -m flag and let Hashcat + detect the hash-mode, or use --identify to list possibilities. + * 58 new application-specific hash types, including Argon2, + MetaMask, Microsoft Online Account, SNMPv3, GPG, OpenSSH, and + LUKS2 + * 17 new generic hash constructions used in real-world web apps + and protocols + * 11 new primitives added to the crypto library, improving reuse + and plugin development + * 20 new tools to extract hashes from popular sources, including + APFS, Virtualbox, BitLocker, and various wallet formats + * Complete refactor of the autotuning engine for better device + utilization + * Major rewrite of memory management to eliminate previous 4GB + allocation caps and enable full memory usage across devices + +------------------------------------------------------------------- Old: ---- hashcat-6.2.6.tar.gz hashcat-6.2.6.tar.gz.asc New: ---- hashcat-7.0.0.tar.gz hashcat-7.0.0.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hashcat.spec ++++++ --- /var/tmp/diff_new_pack.BRO3GK/_old 2025-08-08 15:13:00.291008253 +0200 +++ /var/tmp/diff_new_pack.BRO3GK/_new 2025-08-08 15:13:00.295008421 +0200 @@ -1,7 +1,7 @@ # # spec file for package hashcat # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,10 @@ # -%define lname libhashcat6_2_6 +%global lname libhashcat7_0_0 + Name: hashcat -Version: 6.2.6 +Version: 7.0.0 Release: 0 Summary: CPU-based password recovery utility License: GPL-2.0-or-later AND MIT @@ -30,31 +31,23 @@ Source3: %name.keyring Source9: %name-rpmlintrc Patch1: system-libs.patch +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gmp-devel +BuildRequires: pkgconfig +BuildRequires: python3-devel BuildRequires: xxhash-devel BuildRequires: pkgconfig(clzma) BuildRequires: pkgconfig(minizip) BuildRequires: pkgconfig(zlib) -Provides: bundled(lzma-sdk) = 21.02 +Provides: bundled(lzma-sdk) = 24.07 ExclusiveArch: %ix86 x86_64 %description Hashcat is a password recovery utility, supporting seven unique modes of testing for over 100 optimized hashing algorithms. -GPU Driver requirements: - - * AMD GPUs on Linux require "RadeonOpenCompute (ROCm)" Software - Platform (3.1 or later) - * AMD GPUs on Windows require "AMD Radeon Adrenalin 2020 - Edition" (20.2.2 or later) - * Intel and AMD CPUs require "OpenCL Runtime for Intel Core and - Intel Xeon Processors" (16.1.1 or later) - * NVIDIA GPUs require "NVIDIA Driver" (440.64 or later) and - "CUDA Toolkit" (9.0 or later) - %package -n %lname Summary: Implementation of the hashcat engine Group: System/Libraries @@ -80,20 +73,50 @@ %build %global margs DOCUMENT_FOLDER="%_docdir/%name" our_CFLAGS="%optflags" LIBRARY_FOLDER="%_libdir" -%make_build %margs -j1 +%make_build %margs %install %make_install %margs + b="%buildroot" ln -s libhashcat.so.%version "$b/%_libdir/libhashcat.so" -# fix stupid placement of arch-dep files + +# fix placement of arch-dep files mkdir "$b/%_libdir/%name" mv "$b/%_datadir/%name/modules" "$b/%_libdir/%name/" ln -s "%_libdir/%name/modules" "$b/%_datadir/%name/" +mv "$b/%_datadir/%name/bridges" "$b/%_libdir/%name/" +ln -s "%_libdir/%name/bridges" "$b/%_datadir/%name/" + +# script-without-shebang: add shebang to python scripts +for file in \ + /usr/bin/bitlocker2hashcat.py \ + /usr/bin/keybag2hashcat.py \ + /usr/bin/shiro1-to-hashcat.py \ + /usr/bin/veeamvbk2hashcat.py +do + sed -i '1i#!/usr/bin/python3' "$b$file" +done + +# env-script-interpreter: replace /usr/bin/env <interpreter> with <interpreter> +# perl scripts +find "$b/%_bindir" -type f -name '*.pl' -exec \ + sed -i '1s|^#!\s*/usr/bin/env\s\+\(.*\)$|#!/usr/bin/\1|' {} + +# python scripts +%python3_fix_shebang + +# hidden-file-or-dir: remove .gitkeep files +find "$b/%_libdir/%name" -type f -name .gitkeep -delete + +# wrong-script-end-of-line-encoding /usr/bin/shiro1-to-hashcat.py +dos2unix "$b/%_bindir/shiro1-to-hashcat.py" + +# spurious-executable-perm: remove executable bit from non-executable files +find "$b/%_docdir/%name" -type f -exec chmod -x {} \; + %fdupes %buildroot/%_prefix -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname %files %doc README.md @@ -101,6 +124,10 @@ %_docdir/%name/ %_libdir/%name/ %_datadir/%name/ +# conversion scripts +%_bindir/*2hashcat.* +%_bindir/radmin3_to_hashcat.pl +%_bindir/shiro1-to-hashcat.py %files -n %lname %_libdir/libhashcat.so.%version ++++++ hashcat-6.2.6.tar.gz -> hashcat-7.0.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/hashcat/hashcat-6.2.6.tar.gz /work/SRC/openSUSE:Factory/.hashcat.new.1085/hashcat-7.0.0.tar.gz differ: char 12, line 1 ++++++ system-libs.patch ++++++ --- /var/tmp/diff_new_pack.BRO3GK/_old 2025-08-08 15:13:00.359011101 +0200 +++ /var/tmp/diff_new_pack.BRO3GK/_new 2025-08-08 15:13:00.363011268 +0200 @@ -2,10 +2,10 @@ src/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) -Index: hashcat-6.2.6/src/Makefile +Index: hashcat-7.0.0/src/Makefile =================================================================== ---- hashcat-6.2.6.orig/src/Makefile -+++ hashcat-6.2.6/src/Makefile +--- hashcat-7.0.0.orig/src/Makefile ++++ hashcat-7.0.0/src/Makefile @@ -3,7 +3,7 @@ ## License.....: MIT ## @@ -14,7 +14,7 @@ +SHARED ?= 1 DEBUG := 0 PRODUCTION := 1 - PRODUCTION_VERSION := v6.2.6 + PRODUCTION_VERSION := v7.0.0 @@ -11,9 +11,9 @@ ENABLE_CUBIN ?= 1 ENABLE_BRAIN ?= 1 ENABLE_UNRAR ?= 1 @@ -27,7 +27,7 @@ ## do not change, requires some hacks USE_SYSTEM_UNRAR ?= 0 -@@ -102,7 +102,7 @@ VERSION_PURE := $(shell echo +@@ -114,7 +114,7 @@ VERSION_PURE := $(shell echo ## DESTDIR ?= @@ -36,7 +36,7 @@ INSTALL_FOLDER ?= $(PREFIX)/bin SHARED_ROOT_FOLDER ?= $(PREFIX)/share -@@ -173,7 +173,7 @@ endif # MSYS2 +@@ -187,7 +187,7 @@ endif # MSYS2 ## Misc stuff ## @@ -45,7 +45,7 @@ ## ## General compiler and linker options -@@ -181,6 +181,7 @@ COMPTIME := $(shell date +@@ -195,6 +195,7 @@ COMPTIME := $(shell date LFLAGS := $(LDFLAGS) @@ -53,7 +53,7 @@ ifeq ($(PRODUCTION),0) CFLAGS += -W CFLAGS += -Wall -@@ -235,7 +236,7 @@ endif +@@ -268,7 +269,7 @@ endif ifeq ($(DEBUG),0) CFLAGS += -O2 ifneq ($(UNAME),Darwin)