[Reproducible-commits] [libextutils-depends-perl] 174/187: Patch save_config() to sort hash key order for reproducible output. (Closes: #763677)

Maria Valentina Marin Rodrigues akira-guest at moszumanska.debian.org
Wed Jan 21 21:17:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

akira-guest pushed a commit to branch pu/reproducible_builds
in repository libextutils-depends-perl.

commit 866dc870c4bbab15497f3e8937513ce89f173ac4
Author: Niko Tyni <ntyni at debian.org>
Date:   Wed Oct 1 22:47:30 2014 +0300

    Patch save_config() to sort hash key order for reproducible output. (Closes: #763677)
---
 ...eys-in-saved-configuration-for-reproducib.patch | 29 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/0001-Sort-hash-keys-in-saved-configuration-for-reproducib.patch b/debian/patches/0001-Sort-hash-keys-in-saved-configuration-for-reproducib.patch
new file mode 100644
index 0000000..1eead99
--- /dev/null
+++ b/debian/patches/0001-Sort-hash-keys-in-saved-configuration-for-reproducib.patch
@@ -0,0 +1,29 @@
+From cbb18537780f4bef8366f427f34a0b1cdf276d16 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Wed, 1 Oct 2014 22:44:17 +0300
+Subject: [PATCH] Sort hash keys in saved configuration for reproducibility
+
+Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763677
+Bug-Debian: https://bugs.debian.org/763677
+
+Having stable saved configuration helps the recent efforts
+for reproducible builds, see https://wiki.debian.org/ReproducibleBuilds
+---
+ lib/ExtUtils/Depends.pm | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/ExtUtils/Depends.pm b/lib/ExtUtils/Depends.pm
+index 05ba8d4..2e43411 100644
+--- a/lib/ExtUtils/Depends.pm
++++ b/lib/ExtUtils/Depends.pm
+@@ -114,6 +114,7 @@ sub install {
+ sub save_config {
+ 	use Data::Dumper;
+ 	local $Data::Dumper::Terse = 0;
++	local $Data::Dumper::Sortkeys = 1;
+ 	use IO::File;
+ 
+ 	my ($self, $filename) = @_;
+-- 
+2.1.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ba16a78
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Sort-hash-keys-in-saved-configuration-for-reproducib.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/libextutils-depends-perl.git



More information about the Reproducible-commits mailing list