[MacPorts] #56283: new portfile: hashcat

MacPorts noreply at macports.org
Fri Apr 13 03:04:55 UTC 2018


#56283: new portfile:  hashcat
----------------------------+--------------------
  Reporter:  gaming-hacker  |      Owner:  (none)
      Type:  submission     |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:  new
      Port:  hashcat        |
----------------------------+--------------------

Comment (by kencu):

 I worked on this a bit for you. This works as is on 10.13, needs a bit
 more tuning to be perfect. Haven't explored older systems at all yet. --
 Ken
 {{{
 # -*- coding: utf-8; mode: _tcl; tab-width: 2; indent-tabs-mode: nil; c
 -basic-offset: 2 -*- vim:fenc=utf-8:ft=tcl:et:sw=2:ts=2:sts=2

 PortSystem              1.0
 PortGroup               github 1.0

 github.setup            hashcat hashcat 4.1.0

 # this is one of those weird git URLs I always have trouble making the
 github PG do
 # Ryan always seems to come up with some incantatation I can never figure
 out
 # https://github.com/hashcat/hashcat/archive/v4.1.0.tar.gz

 master_sites            https://github.com/hashcat/hashcat/archive/
 distfiles               v${version}.tar.gz

 checksums               rmd160  d7f1701ec8cb6b729b7ec21f40e9b84f267d2c50 \
                         sha256
 bd23997153c5a8c8b35da3931ff74a808561399de3f3e07058ff4d2f8617119c

 # might need to download the git submodules before building?
 # not needed on newer clangs that have the opencl headers, I believe
 # not sure just what systems or compilers might need the opencl headers
 # from https://github.com/KhronosGroup/OpenCL-Headers.git

 categories              security
 license                 MIT
 platforms               darwin
 maintainers             {@gaming-hacker}
 description             World's fastest and most advanced password
 recovery utility.

 long_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 macOS, and has
 \
                         facilities to help enable distributed password
 cracking

 homepage                https://hashcat.net/hashcat/

 use_configure           no

 # I haven't tested these parts thoroughly yet
 # it is not needed on 10.13, at least -- possibly on older systems?
 #depends_build           port:gmake
 #build.cmd               ${prefix}/bin/gmake


 build.env-append        PREFIX=${prefix}
 build.target

 destroot.env-append     PREFIX=${prefix}

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/56283#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list