diff --git a/Makefile b/Makefile new file mode 100644 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +include ../Makefile.common diff --git a/abi_used_libs b/abi_used_libs new file mode 100644 --- /dev/null +++ b/abi_used_libs @@ -0,0 +1,3 @@ +libc.so.6 +libdl.so.2 +libpthread.so.0 diff --git a/files/0001-fix-VERSION_TAG-compilation-problem.patch b/files/0001-fix-VERSION_TAG-compilation-problem.patch new file mode 100644 --- /dev/null +++ b/files/0001-fix-VERSION_TAG-compilation-problem.patch @@ -0,0 +1,26 @@ +From 5788fb32f75a9425c9adec469bb2cfd21be8ea9d Mon Sep 17 00:00:00 2001 +From: Pierre-Yves +Date: Mon, 6 Nov 2017 17:35:24 +0100 +Subject: [PATCH] fix VERSION_TAG compilation problem + +Signed-off-by: Pierre-Yves +--- + src/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Makefile b/src/Makefile +index 5519ab9..d588e2e 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -127,7 +127,7 @@ COMPTIME := $(shell date +%s) + # the value will be something like this: "tag: vX.Y.Z, refs/pull/Y/head" + + VERSION_EXPORT := tag: v4.0.0 +-VERSION_TAG := $(shell test -d .git && git describe --tags --dirty=+ || echo "$(VERSION_EXPORT)" | $(SED) 's/.*: v\([\.0-9]*\),.*/v\1/') ++VERSION_TAG := $(shell test -d .git && git describe --tags --dirty=+ || echo "$(VERSION_EXPORT)" | $(SED) 's/.*: v\([\.0-9]*\).*/v\1/') + + ## + ## General compiler and linker options +-- +2.15.0 + diff --git a/package.yml b/package.yml new file mode 100644 --- /dev/null +++ b/package.yml @@ -0,0 +1,21 @@ +name : hashcat +version : 4.0.0 +release : 1 +source : + - https://github.com/hashcat/hashcat/archive/v4.0.0.tar.gz : e14c169d6966830e7b7423e17e678f3333e074ec50dae50bdde40e8e0e8658be +license : MIT +component : security.crypto +libsplit : no +summary : World's fastest and most advanced password recovery utility +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. +builddeps : + - beignet-devel +rundeps : + - ocl-icd +setup : | + %patch -p1 < $pkgfiles/0001-fix-VERSION_TAG-compilation-problem.patch +build : | + %make SHARED=1 PREFIX=/usr +install : | + %make_install SHARED=1 PREFIX=/usr diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml new file mode 100644 --- /dev/null +++ b/pspec_x86_64.xml @@ -0,0 +1,37 @@ + + + hashcat + + Pierre-Yves + pyu@riseup.net + + MIT + security.crypto + World's fastest and most advanced password recovery utility + 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. + + https://solus-project.com/sources/README.Solus + + + hashcat + World's fastest and most advanced password recovery utility + 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. + + security.crypto + + /usr/bin + /usr/lib/lib*.so + /usr/share/doc + /usr/share/hashcat + + + + + 2017-11-06 + 4.0.0 + Packaging update + Pierre-Yves + pyu@riseup.net + + + \ No newline at end of file