public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hashcat] rawhide: Update to 8.0.0
Date: Wed, 25 Nov 2026 05:07:28 GMT [thread overview]
Message-ID: <179558324889.1.5866589049097442450.rpms-hashcat-881be3c95e56@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hashcat
Branch : rawhide
Commit : 881be3c95e5650182d5fa34a813816fcde8533c7
Author : Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
Date : 2026-11-24T21:52:41-07:00
Stats : +32/-162 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/hashcat/c/881be3c95e5650182d5fa34a813816fcde8533c7?branch=rawhide
Log:
Update to 8.0.0
---
diff --git a/.gitignore b/.gitignore
index 8775420..0ece8ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/hashcat-*.tar.xz
+/hashcat-8.0.0.tar.gz
diff --git a/hashcat-build-fixes.patch b/hashcat-build-fixes.patch
deleted file mode 100644
index 737994a..0000000
--- a/hashcat-build-fixes.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From d4ebb8d60a87a638c20fa1de1b4560142a69feb5 Mon Sep 17 00:00:00 2001
-From: Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
-Date: Wed, 29 Oct 2025 12:15:25 -0700
-Subject: [PATCH] fixes
-
----
- src/Makefile | 17 +++++------------
- 1 file changed, 5 insertions(+), 12 deletions(-)
-
-diff --git a/src/Makefile b/src/Makefile
-index 72986407c..49cbaf924 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -52,7 +52,7 @@ endif
- ## Makefile flags
- ##
-
--MAKEFLAGS += -l -j 8 -rR --no-print-directory
-+MAKEFLAGS += -l -rR --no-print-directory
-
- ifneq ($(findstring clean,$(MAKECMDGOALS)),)
- MAKEFLAGS += -j 1
-@@ -167,8 +167,6 @@ DEPS_UNRAR_PATH := $(LIBRARY_DEV_ROOT_FOLDER)
- endif
- endif
-
--DEPS_SSE2NEON := deps/sse2neon
--
- ##
- ## Filenames for library and frontend
- ##
-@@ -275,10 +273,7 @@ endif
- endif
-
- ifeq ($(DEBUG),0)
--CFLAGS += -O2
--ifneq ($(UNAME),Darwin)
--LFLAGS += -s
--endif
-+CFLAGS += -DNDEBUG
- else
- ifeq ($(DEBUG),1)
- ifneq ($(UNAME),Darwin)
-@@ -427,7 +422,6 @@ endif # Darwin
-
- ifeq ($(IS_ARM),1)
- CFLAGS_NATIVE += -DSSE2NEON_SUPPRESS_WARNINGS
--CFLAGS_NATIVE += -I$(DEPS_SSE2NEON)
- endif
-
- ifeq ($(UNAME),CYGWIN)
-@@ -589,7 +583,7 @@ endif
-
- .PHONY: install
- ifeq ($(SHARED),1)
--install: install_docs install_shared install_tools install_library install_library_dev install_tunings install_kernels install_modules install_bridges install_hashcat
-+install: install_shared install_library install_library_dev install_tunings install_kernels install_modules install_bridges install_hashcat
- else
- install: install_docs install_shared install_tools install_tunings install_kernels install_modules install_bridges install_hashcat
- endif
-@@ -660,13 +654,13 @@ install_kernels: install_shared
- install_modules: install_shared modules
- $(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)/modules
- $(FIND) modules/ -mindepth 1 -type d -execdir $(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)/modules/{} \;
-- $(FIND) modules/ -mindepth 1 -type f -execdir $(INSTALL) -m 644 {} $(DESTDIR)$(SHARED_FOLDER)/modules/{} \;
-+ $(FIND) modules/ -mindepth 1 -type f -execdir $(INSTALL) -m 755 {} $(DESTDIR)$(SHARED_FOLDER)/modules/{} \;
-
- .PHONY: install_bridges
- install_bridges: install_shared bridges
- $(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)/bridges
- $(FIND) bridges/ -mindepth 1 -type d -execdir $(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)/bridges/{} \;
-- $(FIND) bridges/ -mindepth 1 -type f -execdir $(INSTALL) -m 644 {} $(DESTDIR)$(SHARED_FOLDER)/bridges/{} \;
-+ $(FIND) bridges/ -mindepth 1 -type f -execdir $(INSTALL) -m 755 {} $(DESTDIR)$(SHARED_FOLDER)/bridges/{} \;
-
- .PHONY: install_library
- install_library: $(HASHCAT_LIBRARY)
-@@ -892,7 +886,6 @@ endif
-
- ifeq ($(IS_ARM),1)
- CFLAGS_CROSS_LINUX += -DSSE2NEON_SUPPRESS_WARNINGS
--CFLAGS_CROSS_LINUX += -I$(DEPS_SSE2NEON)
- endif
-
- ##
---
-2.51.0
-
diff --git a/hashcat.spec b/hashcat.spec
index 3569ac3..420d5d3 100644
--- a/hashcat.spec
+++ b/hashcat.spec
@@ -1,57 +1,36 @@
-# hashcat require an ancient version of minizip.
-# On Fedora we can use compatibility package, but
-# on RHEL we must use bundled version.
-%if 0%{?fedora}
-%bcond_without zlib
-%else
-%bcond_with zlib
-%endif
-
-%global makeflags PREFIX=%{_prefix} LIBRARY_FOLDER=%{_libdir} SHARED_ROOT_FOLDER=%{_libdir} DOCUMENT_FOLDER=%{_docdir}/hashcat-doc SHARED=1 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 ENABLE_UNRAR=0 MAINTAINER_MODE=1
-%if %{with zlib}
-%global makeflags %(echo %{makeflags} USE_SYSTEM_ZLIB=1)
-%else
-%global makeflags %(echo %{makeflags} USE_SYSTEM_ZLIB=0)
-%endif
+%global makeflags PREFIX=%{_prefix} LIBRARY_FOLDER=%{_libdir} SHARED_ROOT_FOLDER=%{_libdir} DOCUMENT_FOLDER=%{_docdir}/hashcat-doc SHARED=1 USE_SYSTEM_OPENCL=1 MAINTAINER_MODE=1
Name: hashcat
-Version: 7.1.2
+Version: 8.0.0
Release: %autorelease
License: MIT AND LicenseRef-Fedora-Public-Domain AND BSD-2-Clause AND Apache-2.0
URL: https://github.com/%{name}/%{name}
Summary: Advanced password recovery utility
-# The official upstream tarball contains some non-free components.
-# We cannot use it on Fedora for legal reasons.
-# Use ./make_tarball.sh to generate a new stripped tarball.
-Source0: %{name}-%{version}-clean.tar.xz
-Source1: make_tarball.sh
-Patch0: %{name}-build-fixes.patch
+Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: opencl-headers
-BuildRequires: xxhash-devel
%ifarch aarch64
BuildRequires: sse2neon-devel
%endif
BuildRequires: gcc
BuildRequires: make
+BuildRequires: chrpath
-%if %{with zlib}
-BuildRequires: zlib-ng-compat-devel
-BuildRequires: minizip-compat-devel
-%else
-Provides: bundled(zlib) = 1.2.11
-Provides: bundled(minizip) = 1.2.11
-%endif
-Provides: bundled(lzma-sdk) = 24.09
Provides: bundled(scrypt-jane)
Provides: bundled(yescrypt)
Provides: bundled(libargon2) = 20190702
+Provides: bundled(7zip) = 26.02
Recommends: %{name}-doc
+Recommends: xz-libs%{?_isa}
+Recommends: zlib-ng-compat%{?_isa}
+Recommends: libzstd%{?_isa}
+Recommends: python3
+Recommends: openssl-libs%{?_isa}
# Upstream does not support Big Endian architectures.
# Upstream source code does not longer build for ppc64le: https://bugzilla.redhat.com/show_bug.cgi?id=2407234
@@ -83,40 +62,45 @@ BuildArch: noarch
%prep
%autosetup -p1
-rm -rf deps/{OpenCL-Headers,xxHash,sse2neon}
-%if %{with zlib}
-rm -rf deps/zlib
-%endif
+rm -rf deps/{OpenCL-Headers,litepcie-2026.08,sse2neon}
sed -e 's/\.\/hashcat/hashcat/' -i *.sh
chmod -x *.sh
rm -f modules/.lock
%build
%set_build_flags
-%make_build %{makeflags}
+%make_build %{makeflags} DEBUG=1
%install
%make_install %{makeflags}
-ln -s lib%{name}.so.%{version} %{buildroot}%{_libdir}/lib%{name}.so
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
install -m 0744 -p extra/tab_completion/hashcat.sh %{buildroot}%{_datadir}/bash-completion/completions/%{name}
find %{buildroot}%{_libdir}/%{name}/ -name '.gitkeep' -type f -delete
+find %{buildroot}%{_bindir} -name '*hashcat.pl' -type f -delete
+find %{buildroot}%{_bindir} -name '*hashcat.py' -type f -delete
+find %{buildroot}%{_libdir}/%{name}/modules -name '*.so' -type f -exec chrpath --delete {} \;
+find %{buildroot}%{_libdir}/%{name}/bridges -name '*.so' -type f -exec chrpath --delete {} \;
+find %{buildroot}%{_libdir}/%{name}/feeds -name '*.so' -type f -exec chrpath --delete {} \;
+find %{buildroot}%{_libdir}/%{name} -name '*.so' -type f -exec chmod 0755 {} +
+chrpath --delete %{buildroot}%{_bindir}/%{name}
+rm -rf %{buildroot}%{_docdir}/%{name}-doc/extra
+rm -rf %{buildroot}%{_libdir}/%{name}/extra
%files
%license docs/license.txt
%doc README.md
-%{_datadir}/bash-completion/
-%{_libdir}/lib%{name}.so.%{version}
+%{_libdir}/lib%{name}.so.8{,.*}
%{_libdir}/%{name}/
%{_bindir}/%{name}
+%{_datadir}/bash-completion/completions/%{name}
%files devel
%{_includedir}/%{name}
%{_libdir}/lib%{name}.so
%files doc
-%doc docs/ charsets/ layouts/ masks/ rules/
-%doc example.dict example*.sh
+%doc docs/ charsets/ masks/ rules/ tables/
+%doc example.dict example*.sh example*.hash
%changelog
%autochangelog
diff --git a/make_tarball.sh b/make_tarball.sh
deleted file mode 100755
index c2bafac..0000000
--- a/make_tarball.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/bash
-set -e
-
-NAME="hashcat"
-VERSION="$1"
-
-if [ -z "$VERSION" ]
-then
- echo "Usage: ./make_tarball.sh {version}"
- exit 1
-fi
-
-TARBALL_DIR="$NAME-$VERSION"
-TARBALL_ORIG="$NAME-$VERSION.tar.gz"
-TARBALL_NEW="$NAME-$VERSION-clean.tar.xz"
-
-echo "Downloading upstream tarball..."
-wget "https://github.com/hashcat/hashcat/archive/v$VERSION/$TARBALL_ORIG" -O "$TARBALL_ORIG" 2>/dev/null
-
-echo "Unpacking upstream tarball..."
-tar -xf "$TARBALL_ORIG"
-
-echo "Removing non-free components..."
-rm -rf "$TARBALL_DIR/deps/unrar"
-
-echo "Building a new tarball..."
-tar -cJf "$TARBALL_NEW" "$TARBALL_DIR"
-
-echo "Performing cleanup..."
-rm -f "$TARBALL_ORIG"
-rm -rf "$TARBALL_DIR"
-
-echo "Done."
diff --git a/sources b/sources
index 776ee7a..e5b0889 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hashcat-7.1.2-clean.tar.xz) = 39d525d8f835227a2d9a081ce5b96eabebeff15f10707115f94339f9edd55228885dcd151ace9132e937147318d44447dbb53f8c05b3048f5cb24d620a4f00af
+SHA512 (hashcat-8.0.0.tar.gz) = c81c0e364bf7c27913fe430c8c0bc37f269d3f383e07432b92b1a9ca54ad1f0257c5195295f46e6d85f5c3abf2e057aae4702cfcb8421b288d5efad99fcda06f
diff --git a/tests/core/main.fmf b/tests/core/main.fmf
index 78884f4..f9a6cf1 100644
--- a/tests/core/main.fmf
+++ b/tests/core/main.fmf
@@ -1 +1,2 @@
summary: hashcat cli smoke test
+require: [pocl,ocl-icd,binutils,lld,clang]
diff --git a/tests/core/test.sh b/tests/core/test.sh
index ffd8682..557f0ca 100755
--- a/tests/core/test.sh
+++ b/tests/core/test.sh
@@ -16,4 +16,8 @@ rlJournalStart
rlRun -s "hashcat --hash-info" 0 "hash info"
rlAssertGrep "Hash Info" "$rlRun_LOG"
rlPhaseEnd
+
+ rlPhaseStartTest
+ rlRun -s "hashcat -m 100 -b -d 1"
+ rlPhaseEnd
rlJournalEnd
reply other threads:[~2026-11-25 5:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179558324889.1.5866589049097442450.rpms-hashcat-881be3c95e56@fedoraproject.org \
--to=carlosrodrifernandez@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox