summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-11-14 17:14:12 +0800
committerGitHub <noreply@github.com>2020-11-14 10:14:12 +0100
commitec13fe2216a39f9b232eb44ee4ac8f1c01be213d (patch)
tree8e83a96a9d7c7fa59c1f05d6ef06db3e5e09326d /var
parent4a75871d7015c72e7d10b1464859cd5b61c8c840 (diff)
downloadspack-ec13fe2216a39f9b232eb44ee4ac8f1c01be213d.tar.gz
spack-ec13fe2216a39f9b232eb44ee4ac8f1c01be213d.tar.bz2
spack-ec13fe2216a39f9b232eb44ee4ac8f1c01be213d.tar.xz
spack-ec13fe2216a39f9b232eb44ee4ac8f1c01be213d.zip
hashcat: new package at v6.1.1 (#19918)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hashcat/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hashcat/package.py b/var/spack/repos/builtin/packages/hashcat/package.py
new file mode 100644
index 0000000000..782cc52c00
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hashcat/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Hashcat(MakefilePackage):
+ """hashcat is the world's fastest and most advanced password recovery
+ utility, supporting five unique modes of attack for over 300 highly
+ optimized hashing algorithms. hashcat currently supports CPUs, GPUs,
+ and other hardware accelerators on Linux, Windows, and macOS,and has
+ facilities to help enable distributed password cracking."""
+
+ homepage = "https://hashcat.net/hashcat/"
+ url = "https://github.com/hashcat/hashcat/archive/v6.1.1.tar.gz"
+
+ version('6.1.1', sha256='39c140bbb3c0bdb1564bfa9b9a1cff49115a42f4c9c19e9b066b617aea309f80')
+ version('6.1.0', sha256='916f92434e3b36a126be1d1247a95cd3b32b4d814604960a2ca325d4cc0542d1')
+ version('6.0.0', sha256='e8e70f2a5a608a4e224ccf847ad2b8e4d68286900296afe00eb514d8c9ec1285')
+ version('5.1.0', sha256='283beaa68e1eab41de080a58bb92349c8e47a2bb1b93d10f36ea30f418f1e338')
+ version('5.0.0', sha256='7092d98cf0d8b29bd6efe2cf94802442dd8d7283982e9439eafbdef62b0db08f')
+
+ def install(self, spec, prefix):
+ make('SHARED=1', 'PREFIX={0}'.format(prefix), 'install')