Source: dist Version: 1:3.5-36-2 Severity: wishlist Tags: patch User: [email protected] Usertags: hostname X-Debbugs-CC: [email protected]
Hi! While working on Debian's “reproducible builds” effort [1], we have noticed that dist doesn't build reproducibly. It embeds the hostname and domainname into a script. The attached patch sets those values to reproducible ones. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules
index 2421376..3785df6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,8 @@ override_dh_auto_configure:
-de \
-D prefix=$(PREFIX) \
-D orgname=/etc/news/organization \
+ -D myhostname=localhost \
+ -D mydomain=localdomain \
-D defeditor=/usr/ae \
-D privlib=/usr/share/$(package) \
-D pager=/bin/more \
signature.asc
Description: OpenPGP digital signature

