3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01: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:
Maxime Devos 2022-09-03 14:08:24 +02:00 committed by Ludovic Courtès
parent ed24d6b46c
commit 3c48ef60ad
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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 @@ your online accounts makes it necessary.")
'(#: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")