From b6b2a0f8a7269d7709a025296455717ac14956b9 Mon Sep 17 00:00:00 2001 From: Package Retirement Date: Fri, 23 Jun 2023 09:18:42 +0200 Subject: [PATCH] Retired EPEL branch. --- .gitignore | 1 - dead.package | 1 + hashcat-build-fixes.patch | 55 --------------- hashcat.spec | 140 -------------------------------------- make_tarball.sh | 33 --------- sources | 1 - 6 files changed, 1 insertion(+), 230 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 hashcat-build-fixes.patch delete mode 100644 hashcat.spec delete mode 100755 make_tarball.sh delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 8775420..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/hashcat-*.tar.xz 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 ba88c2a..0000000 --- a/hashcat-build-fixes.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 49d6ac344d249941a0592113259a2af82914e319 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 64f54dbf6..c0d587b35 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -43,7 +43,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 -@@ -233,10 +233,7 @@ endif - endif - - ifeq ($(DEBUG),0) --CFLAGS += -O2 --ifneq ($(UNAME),Darwin) --LFLAGS += -s --endif -+CFLAGS += -DNDEBUG - else - ifeq ($(DEBUG),1) - ifneq ($(UNAME),Darwin) -@@ -505,7 +502,7 @@ endif - - .PHONY: install - ifeq ($(SHARED),1) --install: install_docs install_shared install_library install_library_dev install_tunings install_kernels install_modules install_hashcat -+install: install_shared install_library install_library_dev install_tunings install_kernels install_modules install_hashcat - else - install: install_docs install_shared install_tunings install_kernels install_modules install_hashcat - endif -@@ -578,7 +575,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/{} \; - - .PHONY: install_library - install_library: $(HASHCAT_LIBRARY) --- -2.37.2 - diff --git a/hashcat.spec b/hashcat.spec deleted file mode 100644 index b5c04ca..0000000 --- a/hashcat.spec +++ /dev/null @@ -1,140 +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 ENABLE_UNRAR=0 - -%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.2.6 -Release: 1%{?dist} - -License: MIT AND LicenseRef-Fedora-Public-Domain -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 - -BuildRequires: opencl-headers -BuildRequires: xxhash-devel -BuildRequires: gcc -BuildRequires: make - -%if %{with zlib} -BuildRequires: zlib-devel -BuildRequires: minizip-compat-devel -%else -Provides: bundled(zlib) = 1.2.11 -Provides: bundled(minizip) = 1.2.11 -%endif - -%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/ -%{_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 Sep 02 2022 Vitaly Zaitsev - 6.2.6-1 -- Updated to version 6.2.6. - -* Thu Jul 21 2022 Fedora Release Engineering - 6.2.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 6.2.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Sun Nov 21 2021 Vitaly Zaitsev - 6.2.5-1 -- Updated to version 6.2.5. - -* Mon Aug 30 2021 Vitaly Zaitsev - 6.2.4-1 -- Updated to version 6.2.4. - -* Thu Jul 22 2021 Fedora Release Engineering - 6.2.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Sat Jul 17 2021 Vitaly Zaitsev - 6.2.3-1 -- Updated to version 6.2.3. - -* Sun Jun 13 2021 Vitaly Zaitsev - 6.2.2-1 -- Updated to version 6.2.2. - -* Sat May 15 2021 Vitaly Zaitsev - 6.2.1-1 -- Updated to version 6.2.1. 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 deleted file mode 100644 index 403430d..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (hashcat-6.2.6-clean.tar.xz) = 3c7bdf4209d28bf5bc62d43ea4bb44a158a0226769ec9e1e9b92571fdfd0f1f89ee581edddb6582491e5cc8f44becde13b9caf8a169ed766c79bc114dc204a9f