Jonas Smedegaard:
> Seems you missed the attachment, though...

Oops. :)

It's also available from
git://git.debian.org/reproducible/libmodule-build-perl.git

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -Nru libmodule-build-perl-0.421000/debian/changelog libmodule-build-perl-0.421000/debian/changelog
--- libmodule-build-perl-0.421000/debian/changelog	2014-09-19 11:10:35.000000000 +0200
+++ libmodule-build-perl-0.421000/debian/changelog	2015-01-08 15:53:11.000000000 +0100
@@ -1,3 +1,9 @@
+libmodule-build-perl (0.421000-2.0~reproducible1) UNRELEASED; urgency=low
+
+  * Add a patch to output data in stable order to make builds reproducible.
+
+ -- Jérémy Bobbio <lu...@debian.org>  Thu, 08 Jan 2015 15:52:19 +0100
+
 libmodule-build-perl (0.421000-2) unstable; urgency=medium
 
   [ gregor herrmann ]
diff -Nru libmodule-build-perl-0.421000/debian/patches/output-data-in-stable-order.patch libmodule-build-perl-0.421000/debian/patches/output-data-in-stable-order.patch
--- libmodule-build-perl-0.421000/debian/patches/output-data-in-stable-order.patch	1970-01-01 01:00:00.000000000 +0100
+++ libmodule-build-perl-0.421000/debian/patches/output-data-in-stable-order.patch	2015-01-08 15:53:11.000000000 +0100
@@ -0,0 +1,16 @@
+Description: output data in a stable order
+ In order to make builds reproducible, we sort keys when dumping
+ data.
+Author: Jérémy Bobbio <lu...@debian.org>
+
+--- libmodule-build-perl-0.421000.orig/lib/Module/Build/Dumper.pm
++++ libmodule-build-perl-0.421000/lib/Module/Build/Dumper.pm
+@@ -12,7 +12,7 @@ use Data::Dumper;
+ sub _data_dump {
+   my ($self, $data) = @_;
+   return ("do{ my "
+-	  . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Dump()
++	  . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Sortkeys(1)->Dump()
+ 	  . '$x; }')
+ }
+ 
diff -Nru libmodule-build-perl-0.421000/debian/patches/series libmodule-build-perl-0.421000/debian/patches/series
--- libmodule-build-perl-0.421000/debian/patches/series	2014-09-19 11:10:35.000000000 +0200
+++ libmodule-build-perl-0.421000/debian/patches/series	2015-01-08 15:53:11.000000000 +0100
@@ -1,2 +1,3 @@
 man-ext
 0001-Allow-loading-from-system-path-when-running-under-au.patch
+output-data-in-stable-order.patch

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