diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ba0db11..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/hashcat-5.1.0.tar.gz -/hashcat-6.0.0.tar.gz -/hashcat-6.1.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 54d774c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# hashcat - -The hashcat package \ No newline at end of file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..f5298be --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Retired EPEL branch. diff --git a/hashcat-build-fixes.patch b/hashcat-build-fixes.patch deleted file mode 100644 index b9c7577..0000000 --- a/hashcat-build-fixes.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 2b730180e108289cea3c6ffb1cbb7fdc72d96a38 Mon Sep 17 00:00:00 2001 -From: Vitaly Zaitsev -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 - diff --git a/hashcat.spec b/hashcat.spec deleted file mode 100644 index 3206a78..0000000 --- a/hashcat.spec +++ /dev/null @@ -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 - 6.1.1-1 -- Updated to version 6.1.1. - -* Tue Jul 28 2020 Fedora Release Engineering - 6.0.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jun 19 2020 Vitaly Zaitsev - 6.0.0-3 -- Backported upstream patch with NVIDIA OpenCL fixes. - -* Thu Jun 18 2020 Vitaly Zaitsev - 6.0.0-2 -- Fixed packaging issues, related to modules. - -* Wed Jun 17 2020 Vitaly Zaitsev - 6.0.0-1 -- Updated to version 6.0.0. - -* Tue Feb 25 2020 Vitaly Zaitsev - 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 - 5.1.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 5.1.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 24 2019 Vitaly Zaitsev - 5.1.0-4 -- Switched to regular build instead of debug. - -* Mon Feb 18 2019 Vitaly Zaitsev - 5.1.0-3 -- Fixed problem with dependencies on EPEL7. - -* Thu Feb 07 2019 Vitaly Zaitsev - 5.1.0-2 -- Moved documentation to a separate package. - -* Wed Feb 06 2019 Vitaly Zaitsev - 5.1.0-1 -- Initial SPEC release. diff --git a/sources b/sources deleted file mode 100644 index df1bc84..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (hashcat-6.1.1.tar.gz) = 788539b488ba55684d6d93ce18f3b05fa822a8cbfcdbcde9c2b54001d8927580dca253e0e9ff9a19f4278045046d732e104054fc743c39f47952ca24d2e93724