Compare commits
9 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
084870ed6b | ||
|
|
ee4bdd98c6 | ||
|
|
020b0733e4 |
||
|
|
fac1c6643e |
||
|
|
153a377810 |
||
|
|
c3b3b67841 |
||
|
|
094a93cf6b | ||
|
|
f1eff257a2 |
||
|
|
8541de5093 |
6 changed files with 1 additions and 208 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,3 +0,0 @@
|
|||
/hashcat-5.1.0.tar.gz
|
||||
/hashcat-6.0.0.tar.gz
|
||||
/hashcat-6.1.1.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# hashcat
|
||||
|
||||
The hashcat package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Retired EPEL branch.
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
From 2b730180e108289cea3c6ffb1cbb7fdc72d96a38 Mon Sep 17 00:00:00 2001
|
||||
From: Vitaly Zaitsev <vitaly@easycoding.org>
|
||||
Date: Wed, 17 Jun 2020 10:57:15 +0200
|
||||
Subject: [PATCH] Fedora build patches.
|
||||
|
||||
---
|
||||
src/Makefile | 11 ++++-------
|
||||
1 file changed, 4 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index c2441456..d9143d69 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -40,7 +40,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
|
||||
@@ -186,10 +186,7 @@ CFLAGS_ZLIB += -DIOAPI_NO_64
|
||||
endif
|
||||
|
||||
ifeq ($(DEBUG),0)
|
||||
-CFLAGS += -O2
|
||||
-ifneq ($(UNAME),Darwin)
|
||||
-LFLAGS += -s
|
||||
-endif
|
||||
+CFLAGS += -DNDEBUG
|
||||
else
|
||||
ifeq ($(DEBUG),1)
|
||||
ifneq ($(UNAME),Darwin)
|
||||
@@ -397,7 +394,7 @@ Only Linux, FreeBSD and Darwin can use the 'install' target
|
||||
endif
|
||||
|
||||
ifeq ($(SHARED),1)
|
||||
-install: install_docs install_shared install_library install_library_dev install_kernels install_modules install_hashcat
|
||||
+install: install_shared install_library install_library_dev install_kernels install_modules install_hashcat
|
||||
else
|
||||
install: install_docs install_shared install_kernels install_modules install_hashcat
|
||||
endif
|
||||
@@ -457,7 +454,7 @@ 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/{} \;
|
||||
|
||||
install_library: $(HASHCAT_LIBRARY)
|
||||
$(INSTALL) -m 755 -d $(DESTDIR)$(LIBRARY_FOLDER)
|
||||
--
|
||||
2.26.2
|
||||
|
||||
146
hashcat.spec
146
hashcat.spec
|
|
@ -1,146 +0,0 @@
|
|||
# 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
|
||||
|
||||
%if %{with zlib}
|
||||
%global makeflags %(echo %{makeflags} USE_SYSTEM_ZLIB=1)
|
||||
%else
|
||||
%global makeflags %(echo %{makeflags} USE_SYSTEM_ZLIB=0)
|
||||
%endif
|
||||
|
||||
Name: hashcat
|
||||
Version: 6.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Advanced password recovery utility
|
||||
|
||||
License: MIT and Public Domain
|
||||
URL: https://github.com/%{name}/%{name}
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: %{name}-build-fixes.patch
|
||||
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: opencl-headers
|
||||
BuildRequires: xxhash-devel
|
||||
BuildRequires: gcc
|
||||
|
||||
%if %{with zlib}
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: minizip-compat-devel
|
||||
%else
|
||||
Provides: bundled(zlib) = 1.2.11
|
||||
Provides: bundled(minizip) = 1.2.11
|
||||
%endif
|
||||
|
||||
Requires: bash-completion
|
||||
%if 0%{?fedora}
|
||||
Recommends: mesa-libOpenCL%{?_isa}
|
||||
Recommends: pocl%{?_isa}
|
||||
Recommends: %{name}-doc = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
%endif
|
||||
|
||||
# Upstream does not support Big Endian architectures.
|
||||
ExcludeArch: ppc64 s390x
|
||||
|
||||
%description
|
||||
Hashcat is the world's fastest and most advanced password recovery
|
||||
utility, supporting five unique modes of attack for over 200
|
||||
highly-optimized hashing algorithms. hashcat currently supports
|
||||
CPUs, GPUs, and other hardware accelerators on Linux, Windows,
|
||||
and Mac OS, and has facilities to help enable distributed password
|
||||
cracking.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for %{name}
|
||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
rm -rf deps/{OpenCL-Headers,xxHash}
|
||||
%if %{with zlib}
|
||||
rm -rf deps/zlib
|
||||
%endif
|
||||
sed -e 's/\.\/hashcat/hashcat/' -i *.sh
|
||||
chmod -x *.sh
|
||||
rm -f modules/.lock
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
%make_build %{makeflags}
|
||||
|
||||
%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}
|
||||
|
||||
%files
|
||||
%license docs/license.txt
|
||||
%doc README.md
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
%{_libdir}/lib%{name}.so.%{version}
|
||||
%{_libdir}/%{name}/
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/lib%{name}.so
|
||||
|
||||
%files doc
|
||||
%doc docs/ charsets/ layouts/ masks/ rules/
|
||||
%doc example.dict example*.sh
|
||||
|
||||
%changelog
|
||||
* Fri Jul 31 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.1.1-1
|
||||
- Updated to version 6.1.1.
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.0.0-3
|
||||
- Backported upstream patch with NVIDIA OpenCL fixes.
|
||||
|
||||
* Thu Jun 18 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.0.0-2
|
||||
- Fixed packaging issues, related to modules.
|
||||
|
||||
* Wed Jun 17 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.0.0-1
|
||||
- Updated to version 6.0.0.
|
||||
|
||||
* Tue Feb 25 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 5.1.0-7
|
||||
- Allow to install without mesa-libOpenCL.
|
||||
- Added pocl as a weak dependency on Fedora.
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 24 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 5.1.0-4
|
||||
- Switched to regular build instead of debug.
|
||||
|
||||
* Mon Feb 18 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 5.1.0-3
|
||||
- Fixed problem with dependencies on EPEL7.
|
||||
|
||||
* Thu Feb 07 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 5.1.0-2
|
||||
- Moved documentation to a separate package.
|
||||
|
||||
* Wed Feb 06 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 5.1.0-1
|
||||
- Initial SPEC release.
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (hashcat-6.1.1.tar.gz) = 788539b488ba55684d6d93ce18f3b05fa822a8cbfcdbcde9c2b54001d8927580dca253e0e9ff9a19f4278045046d732e104054fc743c39f47952ca24d2e93724
|
||||
Loading…
Add table
Add a link
Reference in a new issue