Source: hashcat
Version: 3.00-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that hashcat could not be built reproducibly.
It embeds the current build time into the binary.

The attached patch uses a deterministic timestamp (SOURCE_DATE_EPOCH)
instead.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules
index caaedbb..a4526e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ INSTALL := install -o root -g root -m 755
 	dh $@ 
 
 override_dh_auto_build:
-	dh_auto_build -- PREFIX=/usr
+	dh_auto_build -- PREFIX=/usr COMPTIME=$(SOURCE_DATE_EPOCH)
 
 override_dh_installchangelogs:
 	dh_installchangelogs docs/changes.txt

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to