Source: libapache2-mod-perl2
Version: 2.0.9~1624218-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that libapache2-mod-perl2 could not be built reproducibly.

The attached patch deactivate hash key randomization when running
configure in order to have the same code generated accross builds.
Once applied, libapache2-mod-perl2 can be built reproducibly in our
current experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff --git a/debian/changelog b/debian/changelog
index a776b43..2cdba69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libapache2-mod-perl2 (2.0.9~1624218-2.0~reproducible1) UNRELEASED; urgency=low
+
+  * Set PERL_HASH_SEED=0 when running configure to generate
+    identical code accross builds.
+
+ -- Jérémy Bobbio <lu...@debian.org>  Tue, 05 May 2015 16:13:37 +0200
+
 libapache2-mod-perl2 (2.0.9~1624218-2) unstable; urgency=medium
 
   * Add autopkgtest support.
diff --git a/debian/rules b/debian/rules
index a9e2ed8..dcae494 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ PVA     = $(shell perl -MConfig -e'print substr($$Config{vendorarch},1)')
 	dh $@ --parallel --with apache2
 
 override_dh_auto_configure:
-	dh_auto_configure -- \
+	PERL_HASH_SEED=0 dh_auto_configure -- \
 		INSTALLDIRS=vendor \
 		MP_TRACE=0 \
 		MP_USE_DSO=1 \

Attachment: signature.asc
Description: Digital 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