mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: hashcat: Don't embed timestamp, fixing reproducibility.
* gnu/packages/password-utils.scm (hashcat)[arguments]{#:phases}: Remove timestamp, fixing reproducibility. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ed24d6b46c
commit
3c48ef60ad
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
|||
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||
;;; Copyright © 2021 David Dashyan <mail@davie.li>
|
||||
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -1126,6 +1127,11 @@ (define-public hashcat
|
|||
'(#:tests? #f ;no tests
|
||||
#:make-flags (list (string-append "PREFIX=" %output))
|
||||
#:phases (modify-phases %standard-phases
|
||||
;; Don't embed timestamps, for bit-for-bit reproducibility.
|
||||
(add-after 'unpack 'fix-reproducibility
|
||||
(lambda _
|
||||
(substitute* "src/Makefile"
|
||||
(("\\$\\(shell date \\+%s\\)") "0"))))
|
||||
(delete 'configure))))
|
||||
(home-page "https://hashcat.net/hashcat/")
|
||||
(synopsis "Advanced password recovery utility")
|
||||
|
|
Loading…
Reference in a new issue