Source: kerberos-configs Version: 2.3 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: randomness X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that kerberos-configs could not be built reproducibly. The attached patch removes randomness from the build system. Once applied, kerberos-configs can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff -urNad kerberos-configs.orig/kerberos-configs-2.3/genblob kerberos-configs/kerberos-configs-2.3/genblob --- kerberos-configs.orig/kerberos-configs-2.3/genblob 2015-02-06 00:13:44.314829566 +0000 +++ kerberos-configs/kerberos-configs-2.3/genblob 2015-02-06 00:16:14.332891883 +0000 @@ -5,6 +5,9 @@ our (%domain_map, %realm_map); use Data::Dumper; +# Ensure deterministic output +$Data::Dumper::Sortkeys = 1; + do "krb5confparse.pl"; read_config("krb5.conf.template"); print "no strict; \n BEGIN {\n";